Function at 0x4adcd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4adf6b
sub esp, 0x4c
mov eax, dword [esp + 0x60]
test eax, eax
jge 0x4adcf7
mov ecx, eax
xor edx, edx
jmp 0x4adcfd
mov ecx, eax
xor eax, eax
mov edx, ecx
mov ebx, dword [esp + 0x64]
test ebx, ebx
jge 0x4add09
xor ebp, ebp
jmp 0x4add0f
xor ebx, ebx
mov ebp, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
call fcn.0049ae00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4add37
mov edx, dword [esp + 0x64]
test edx, edx
jne 0x4add59
lea ecx, [0x51238c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x4c
ret
mov dword [esp + 0x44], eax
lea eax, [0x4d74a0]
mov dword [esp], eax
lea eax, [ecx + ecx*2 + 3]
and eax, 0xfffffffc
mov dword [esp + 0x38], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00446de0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
lea edx, [ecx - 1]
movzx ebx, byte [esp + 0x68]
test bl, bl
je 0x4add9b
xor edx, edx
mov ebx, 1
jmp 0x4adda5
mov ecx, 0xffffffff
mov ebx, 0xffffffff
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
jmp 0x4addc2
mov ebp, dword [esp + 0x24]
lea edx, [esi + ebp]
mov eax, edi
mov ecx, dword [esp + 0x28]
mov ebx, ebp
cmp ecx, edx
je 0x4ade7a
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x38]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00465040
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x4ade5e
mov ebx, dword [esp + 0x44]
mov edx, dword [ebx + 8]
mov ebp, dword [ebx]
mov eax, dword [ebx + 0xc]
mov esi, dword [esp + 0x2c]
imul eax, esi
mov ecx, dword [esp + 0x60]
lea edi, [eax + ecx*4]
cmp edx, edi
jb 0x4adf63
cmp edi, eax
jb 0x4adf5c
sub edx, eax
neg edx
sar edx, 0x1f
and edx, eax
add edx, ebp
mov ebp, ecx
shl ecx, 2
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
jmp 0x4adec3
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x4c
ret
lea eax, [0x51238c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x4c
ret
mov byte [ebp + edx + 3], 0xff
add ebp, 4
add ebx, 3
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x60]
mov ebp, dword [esp + 0x34]
cmp ebp, ecx
jge 0x4addb3
mov ebx, dword [esp + 0x30]
lea esi, [ebx + 2]
cmp eax, esi
jbe 0x4adf53
movzx esi, byte [ebx + edi + 2]
cmp ebp, ecx
jae 0x4adf4c
xchg esi, eax
mov byte [edx + ebp], al
xchg esi, eax
lea esi, [ebx + 1]
cmp eax, esi
jbe 0x4adf43
lea esi, [ebp + 1]
movzx edi, byte [ebx + edi + 1]
cmp ecx, esi
jbe 0x4adf3c
xchg edi, eax
mov byte [ebp + edx + 1], al
xchg edi, eax
cmp ebx, eax
jae 0x4adf33
lea esi, [ebp + 2]
mov edi, dword [esp + 0x48]
movzx edi, byte [edi + ebx]
cmp ecx, esi
jbe 0x4adf2c
xchg edi, eax
mov byte [ebp + edx + 2], al
xchg edi, eax
lea esi, [ebp + 3]
cmp ecx, esi
ja 0x4adea0
mov eax, esi
call fcn.0045e460
mov eax, esi
call fcn.0045e460
mov ecx, eax
mov eax, ebx
call fcn.0045e460
mov eax, esi
call fcn.0045e460
mov ecx, eax
mov eax, esi
call fcn.0045e460
mov eax, ebp
call fcn.0045e460
mov ecx, eax
mov eax, esi
call fcn.0045e460
mov ecx, edi
call fcn.0045e4c0
mov ecx, edi
call fcn.0045e4a0
nop
call fcn.0045cfd0
jmp fcn.004adcd0