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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4adcda
sub esp, 0x74
mov eax, 0
mov dword [esp + 0x70], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [0x5219e4]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004aacb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x4ad99a
mov dword [esp + 0x50], ebp
mov dword [esp + 0x28], edi
test byte [esi], al
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ecx, [0x4adcf0]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebp
lea ecx, [esp + 0x64]
mov dword [esp + 0x70], ecx
mov byte [esp + 0x27], 1
mov ecx, dword [esp + 0x78]
mov ebx, dword [ecx + 0x33c]
test ebx, ebx
je 0x4ad915
cmp ebx, 1
je 0x4ad883
xor esi, esi
xor ebx, ebx
jmp 0x4adcc8
mov dword [esp + 0x60], esi
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 1
call fcn.004add40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
test ebp, ebp
jne 0x4ad8e3
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebx
xor edx, edx
jmp 0x4adbdf
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
call eax
add esp, 0x74
ret
lea eax, [0x4e0bc0]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.004091e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
call fcn.004add40
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x4ad9bf
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
call eax
add esp, 0x74
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x74
ret
mov dword [esp + 0x54], ebp
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
jmp 0x4ada41
mov eax, dword [edi + 0x14]
mov dword [esp], esi
lea edx, [ecx + 0x3c]
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0x300
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
inc ecx
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
test ebp, ebp
jne 0x4ada94
test eax, eax
jne 0x4ada94
mov eax, dword [esp + 0x38]
cmp eax, 0x64
jne 0x4ad9f1
mov eax, dword [0x5be060]
mov ecx, dword [0x5be064]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
call eax
add esp, 0x74
ret
test eax, eax
je 0x4adae5
mov esi, dword [0x5be054]
cmp dword [0x5be050], eax
je 0x4adaad
mov esi, 1
jmp 0x4adae7
mov dword [esp + 0x58], edx
mov dword [esp + 0x3c], eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
call fcn.00403590
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x3c]
jmp 0x4adae7
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4adb6c
test ebp, ebp
jne 0x4adaf8
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x4adb36
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x521b74]
mov dword [esp + 0x84], eax
lea eax, [0x5215c4]
mov dword [esp + 0x88], eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
call eax
add esp, 0x74
ret
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
call eax
add esp, 0x74
ret
mov eax, dword [eax + 0x10]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004090e0
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x521b74]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
call eax
add esp, 0x74
ret
mov edi, dword [esp + 0x2c]
lea edx, [edi + 1]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
cmp edx, 7
jge 0x4adcb2
mov dword [esp + 0x2c], edx
lea eax, [0x4e0bc0]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.004091e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
mov byte [esp + 0x10], 0
call fcn.004add40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
test edx, edx
jne 0x4adc80
test esi, esi
je 0x4adbc4
mov edx, dword [esp + 0x78]
mov dword [esp], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
call fcn.004b1060
jmp 0x4adbc4
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebp
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
call eax
add esp, 0x74
ret
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
mov edx, ebx
mov ebx, dword [esp + 0x54]
mov ebp, ebx
mov ebx, esi
jmp 0x4ad9bf
call fcn.0045d2c0
jmp fcn.004ad780