Function at 0x4ad350
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.0048c3f0
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 0x4ad3fb
mov ecx, 0x5238d0
call fcn.0041da00
test al, al
jne 0x4ad3de
cmp byte [0x527218], al
jne 0x4ad3de
cmp byte [0x527219], al
jne 0x4ad3de
mov byte [esp + 0x17], 1
mov eax, dword [0x508868]
cmp eax, ebp
je 0x4ad3fb
cmp dword [eax + 0x6c], 1
jne 0x4ad3f6
mov eax, dword [eax + 0x78]
cmp eax, ebp
jne 0x4ad3e7
jmp 0x4ad3fb
mov byte [esp + 0x17], 0
mov esi, dword [0x508868]
mov dword [esp + 0x18], ebp
cmp esi, ebp
je 0x4ad537
mov edi, 1
cmp dword [esi + 0x6c], edi
je 0x4ad421
cmp dword [esi + 0x70], 0
je 0x4ad52c
test byte [esp + 0x18], 7
jne 0x4ad42d
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 0x4ad469
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.0048c4e0
call fcn.0048ca90
cmp byte [0x52725d], 0
je 0x4ad4c0
cmp byte [esp + 0x17], 0
jne 0x4ad493
test bl, bl
jne 0x4ad52b
lea ecx, [esp + 0x2c]
push ecx
call fcn.00435620
test al, al
je 0x4ad4b1
lea edx, [esp + 0x2c]
push edx
push 0
lea ecx, [esp + 0x24]
call fcn.00436f70
test bl, bl
je 0x4ad52c
lea ecx, [esp + 0x1c]
call fcn.00436800
jmp 0x4ad52c
test bl, bl
jne 0x4ad52b
lea eax, [esp + 0x2c]
push eax
push 0
call fcn.00436420
cmp byte [0x52725c], bl
jne 0x4ad4f0
lea ecx, [esp + 0x2c]
push ecx
push 0
call fcn.00435930
test al, al
je 0x4ad500
cmp byte [0x52725c], bl
je 0x4ad52c
lea edx, [esp + 0x2c]
push edx
push 0
call fcn.00436930
test al, al
jne 0x4ad52c
lea eax, [esp + 0x2c]
push eax
push 0x202
call fcn.00466860
mov ecx, dword [0x507344]
push eax
push ecx
call fcn.00499dd0
add esp, 0xc
mov ecx, 0x5072f4
call fcn.0042caa0
jmp 0x4ad52c
inc ebp
mov esi, dword [esi + 0x78]
test esi, esi
jne 0x4ad40d
lea ecx, [esp + 0x1c]
call fcn.00436800
test ebp, ebp
je 0x4ad6d1
lea edx, [ebp*4]
push edx
call fcn.004b00f7
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4ad57a
mov dword [esp + 0x868], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00436f10
lea eax, [ebx + 4]
jmp 0x4ad783
mov esi, dword [0x508868]
xor ebp, ebp
test esi, esi
je 0x4ad5f0
cmp dword [esi + 0x6c], 0
je 0x4ad5e9
mov eax, dword [esi + 0x64]
cmp word [eax], 0
je 0x4ad5e9
push eax
call fcn.00455760
movzx eax, word [eax]
push eax
call fcn.004557e0
test al, al
je 0x4ad5e9
test ebp, ebp
je 0x4ad5e5
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 0x4ad5dc
test dx, dx
je 0x4ad5d8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ad5dc
add eax, 4
add ecx, 4
test dx, dx
jne 0x4ad5b6
xor eax, eax
jmp 0x4ad5e1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4ad5e9
mov dword [ebx + ebp*4], esi
inc ebp
mov esi, dword [esi + 0x78]
test esi, esi
jne 0x4ad586
push 0x4a8c20
push 4
push ebp
push ebx
call fcn.004b2550
add esp, 0x10
xor esi, esi
test ebp, ebp
jbe 0x4ad6c8
mov edx, dword [ebx + esi*4]
mov eax, dword [edx + 0x60]
cmp word [eax], 0
je 0x4ad6bf
test esi, esi
je 0x4ad655
mov ecx, dword [ebx + esi*4 - 4]
mov ecx, dword [ecx + 0x60]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4ad64c
test dx, dx
je 0x4ad648
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ad64c
add eax, 4
add ecx, 4
test dx, dx
jne 0x4ad626
xor eax, eax
jmp 0x4ad651
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4ad6bf
mov eax, dword [ebx + esi*4]
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x3c]
push edx
push eax
call fcn.0048c4e0
call fcn.0048ca90
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 0x4ad69e
xor eax, eax
mov word [edi], ax
cmp byte [0x52725c], 0
je 0x4ad6b5
lea ecx, [esp + 0x2c]
push ecx
push 0
call fcn.00436b40
jmp 0x4ad6bf
lea edx, [esp + 0x2c]
push edx
call fcn.00435970
inc esi
cmp esi, ebp
jb 0x4ad60b
push ebx
call fcn.004b01c1
add esp, 4
mov ecx, 0x508878
call fcn.00444d00
cmp byte [0x52725d], 0
je 0x4ad731
cmp byte [esp + 0x17], 0
je 0x4ad726
xor edi, edi
cmp dword [0x50892c], edi
jbe 0x4ad726
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 0x4ad71d
push esi
push 0
lea ecx, [esp + 0x24]
call fcn.00436f70
inc edi
cmp edi, dword [0x50892c]
jb 0x4ad6f5
lea ecx, [esp + 0x1c]
call fcn.00436800
jmp 0x4ad76d
mov esi, dword [0x50892c]
add esi, 0xffffffff
js 0x4ad76d
lea esp, [esp]
push esi
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x508878
call fcn.00444c50
cmp byte [0x52725c], 0
push eax
je 0x4ad763
push 0
call fcn.00436b40
jmp 0x4ad768
call fcn.00435970
sub esi, 1
jns 0x4ad740
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