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

Disassembly:
push 0xffffffffffffffff
push 0x4c53ab
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d98f0]
xor eax, esp
push eax
lea eax, [esp + 0x860]
mov dword fs:[0], eax
push 0x33f
call fcn.00466860
push eax
call fcn.0048c410
lea ecx, [esp + 0x1c]
call fcn.00436ec0
xor ebp, ebp
mov dword [esp + 0x868], ebp
cmp byte [0x52725d], 0
mov byte [esp + 0x17], 0
je 0x4ad40b
mov ecx, 0x5238d0
call fcn.0041da00
test al, al
jne 0x4ad3ee
cmp byte [0x527218], al
jne 0x4ad3ee
cmp byte [0x527219], al
jne 0x4ad3ee
mov byte [esp + 0x17], 1
mov eax, dword [0x508868]
cmp eax, ebp
je 0x4ad40b
cmp dword [eax + 0x6c], 1
jne 0x4ad406
mov eax, dword [eax + 0x78]
cmp eax, ebp
jne 0x4ad3f7
jmp 0x4ad40b
mov byte [esp + 0x17], 0
mov esi, dword [0x508868]
mov dword [esp + 0x18], ebp
cmp esi, ebp
je 0x4ad547
mov edi, 1
cmp dword [esi + 0x6c], edi
je 0x4ad431
cmp dword [esi + 0x70], 0
je 0x4ad53c
test byte [esp + 0x18], 7
jne 0x4ad43d
call fcn.00470a60
mov eax, dword [esi + 0x60]
add dword [esp + 0x18], edi
push 0x400
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esi + 0x6c], edi
xor bl, bl
call fcn.0046fc70
lea edx, [esp + 0x2c]
push edx
call fcn.00455760
mov edi, eax
movzx eax, word [edi]
push eax
call fcn.004557e0
test al, al
je 0x4ad479
xor ecx, ecx
mov word [edi], cx
mov bl, 1
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x3c]
push edx
push eax
call fcn.0048c500
call fcn.0048cab0
cmp byte [0x52725d], 0
je 0x4ad4d0
cmp byte [esp + 0x17], 0
jne 0x4ad4a3
test bl, bl
jne 0x4ad53b
lea ecx, [esp + 0x2c]
push ecx
call fcn.00435620
test al, al
je 0x4ad4c1
lea edx, [esp + 0x2c]
push edx
push 0
lea ecx, [esp + 0x24]
call fcn.00436f70
test bl, bl
je 0x4ad53c
lea ecx, [esp + 0x1c]
call fcn.00436800
jmp 0x4ad53c
test bl, bl
jne 0x4ad53b
lea eax, [esp + 0x2c]
push eax
push 0
call fcn.00436420
cmp byte [0x52725c], bl
jne 0x4ad500
lea ecx, [esp + 0x2c]
push ecx
push 0
call fcn.00435930
test al, al
je 0x4ad510
cmp byte [0x52725c], bl
je 0x4ad53c
lea edx, [esp + 0x2c]
push edx
push 0
call fcn.00436930
test al, al
jne 0x4ad53c
lea eax, [esp + 0x2c]
push eax
push 0x202
call fcn.00466860
mov ecx, dword [0x507344]
push eax
push ecx
call fcn.00499df0
add esp, 0xc
mov ecx, 0x5072f4
call fcn.0042caa0
jmp 0x4ad53c
inc ebp
mov esi, dword [esi + 0x78]
test esi, esi
jne 0x4ad41d
lea ecx, [esp + 0x1c]
call fcn.00436800
test ebp, ebp
je 0x4ad6e1
lea edx, [ebp*4]
push edx
call fcn.004b00f7
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4ad58a
mov dword [esp + 0x868], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00436f10
lea eax, [ebx + 4]
jmp 0x4ad793
mov esi, dword [0x508868]
xor ebp, ebp
test esi, esi
je 0x4ad600
cmp dword [esi + 0x6c], 0
je 0x4ad5f9
mov eax, dword [esi + 0x64]
cmp word [eax], 0
je 0x4ad5f9
push eax
call fcn.00455760
movzx eax, word [eax]
push eax
call fcn.004557e0
test al, al
je 0x4ad5f9
test ebp, ebp
je 0x4ad5f5
mov ecx, dword [ebx + ebp*4 - 4]
mov ecx, dword [ecx + 0x60]
mov eax, dword [esi + 0x60]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4ad5ec
test dx, dx
je 0x4ad5e8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ad5ec
add eax, 4
add ecx, 4
test dx, dx
jne 0x4ad5c6
xor eax, eax
jmp 0x4ad5f1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4ad5f9
mov dword [ebx + ebp*4], esi
inc ebp
mov esi, dword [esi + 0x78]
test esi, esi
jne 0x4ad596
push 0x4a8c40
push 4
push ebp
push ebx
call fcn.004b2550
add esp, 0x10
xor esi, esi
test ebp, ebp
jbe 0x4ad6d8
mov edx, dword [ebx + esi*4]
mov eax, dword [edx + 0x60]
cmp word [eax], 0
je 0x4ad6cf
test esi, esi
je 0x4ad665
mov ecx, dword [ebx + esi*4 - 4]
mov ecx, dword [ecx + 0x60]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4ad65c
test dx, dx
je 0x4ad658
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ad65c
add eax, 4
add ecx, 4
test dx, dx
jne 0x4ad636
xor eax, eax
jmp 0x4ad661
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4ad6cf
mov eax, dword [ebx + esi*4]
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x3c]
push edx
push eax
call fcn.0048c500
call fcn.0048cab0
mov ecx, dword [ebx + esi*4]
mov edx, dword [ecx + 0x60]
push 0x400
push edx
lea eax, [esp + 0x34]
push eax
call fcn.0046fc70
lea ecx, [esp + 0x2c]
push ecx
call fcn.00455760
mov edi, eax
movzx edx, word [edi]
push edx
call fcn.004557e0
test al, al
je 0x4ad6ae
xor eax, eax
mov word [edi], ax
cmp byte [0x52725c], 0
je 0x4ad6c5
lea ecx, [esp + 0x2c]
push ecx
push 0
call fcn.00436b40
jmp 0x4ad6cf
lea edx, [esp + 0x2c]
push edx
call fcn.00435970
inc esi
cmp esi, ebp
jb 0x4ad61b
push ebx
call fcn.004b01c1
add esp, 4
mov ecx, 0x508878
call fcn.00444d00
cmp byte [0x52725d], 0
je 0x4ad741
cmp byte [esp + 0x17], 0
je 0x4ad736
xor edi, edi
cmp dword [0x50892c], edi
jbe 0x4ad736
push edi
lea eax, [esp + 0x30]
push eax
mov ecx, 0x508878
call fcn.00444c50
mov esi, eax
push esi
call fcn.00435620
test al, al
je 0x4ad72d
push esi
push 0
lea ecx, [esp + 0x24]
call fcn.00436f70
inc edi
cmp edi, dword [0x50892c]
jb 0x4ad705
lea ecx, [esp + 0x1c]
call fcn.00436800
jmp 0x4ad77d
mov esi, dword [0x50892c]
add esi, 0xffffffff
js 0x4ad77d
lea esp, [esp]
push esi
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x508878
call fcn.00444c50
cmp byte [0x52725c], 0
push eax
je 0x4ad773
push 0
call fcn.00436b40
jmp 0x4ad778
call fcn.00435970
sub esi, 1
jns 0x4ad750
mov dword [esp + 0x868], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00436f10
xor eax, eax
mov ecx, dword [esp + 0x860]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x848]
xor ecx, esp
call fcn.004affec
add esp, 0x858
ret