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

Disassembly:
push 0xffffffffffffffff
push 0x4c671b
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4da8f0]
xor eax, esp
push eax
lea eax, [esp + 0x860]
mov dword fs:[0], eax
push 0x33f
call fcn.004671c0
push eax
call fcn.0048d240
lea ecx, [esp + 0x1c]
call fcn.00437350
xor ebp, ebp
mov dword [esp + 0x868], ebp
cmp byte [0x52826d], 0
mov byte [esp + 0x17], 0
je 0x4ae40b
mov ecx, 0x5248e0
call fcn.0041db80
test al, al
jne 0x4ae3ee
cmp byte [0x528228], al
jne 0x4ae3ee
cmp byte [0x528229], al
jne 0x4ae3ee
mov byte [esp + 0x17], 1
mov eax, dword [0x509878]
cmp eax, ebp
je 0x4ae40b
cmp dword [eax + 0x6c], 1
jne 0x4ae406
mov eax, dword [eax + 0x78]
cmp eax, ebp
jne 0x4ae3f7
jmp 0x4ae40b
mov byte [esp + 0x17], 0
mov esi, dword [0x509878]
mov dword [esp + 0x18], ebp
cmp esi, ebp
je 0x4ae547
mov edi, 1
cmp dword [esi + 0x6c], edi
je 0x4ae431
cmp dword [esi + 0x70], 0
je 0x4ae53c
test byte [esp + 0x18], 7
jne 0x4ae43d
call fcn.004717e0
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.004709a0
lea edx, [esp + 0x2c]
push edx
call fcn.004560f0
mov edi, eax
movzx eax, word [edi]
push eax
call fcn.00456170
test al, al
je 0x4ae479
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.0048d330
call fcn.0048d8e0
cmp byte [0x52826d], 0
je 0x4ae4d0
cmp byte [esp + 0x17], 0
jne 0x4ae4a3
test bl, bl
jne 0x4ae53b
lea ecx, [esp + 0x2c]
push ecx
call fcn.00435ac0
test al, al
je 0x4ae4c1
lea edx, [esp + 0x2c]
push edx
push 0
lea ecx, [esp + 0x24]
call fcn.00437400
test bl, bl
je 0x4ae53c
lea ecx, [esp + 0x1c]
call fcn.00436c90
jmp 0x4ae53c
test bl, bl
jne 0x4ae53b
lea eax, [esp + 0x2c]
push eax
push 0
call fcn.004368b0
cmp byte [0x52826c], bl
jne 0x4ae500
lea ecx, [esp + 0x2c]
push ecx
push 0
call fcn.00435dc0
test al, al
je 0x4ae510
cmp byte [0x52826c], bl
je 0x4ae53c
lea edx, [esp + 0x2c]
push edx
push 0
call fcn.00436dc0
test al, al
jne 0x4ae53c
lea eax, [esp + 0x2c]
push eax
push 0x202
call fcn.004671c0
mov ecx, dword [0x508354]
push eax
push ecx
call fcn.0049ac10
add esp, 0xc
mov ecx, 0x508304
call fcn.0042cce0
jmp 0x4ae53c
inc ebp
mov esi, dword [esi + 0x78]
test esi, esi
jne 0x4ae41d
lea ecx, [esp + 0x1c]
call fcn.00436c90
test ebp, ebp
je 0x4ae6e1
lea edx, [ebp*4]
push edx
call fcn.004b1137
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4ae58a
mov dword [esp + 0x868], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004373a0
lea eax, [ebx + 4]
jmp 0x4ae793
mov esi, dword [0x509878]
xor ebp, ebp
test esi, esi
je 0x4ae600
cmp dword [esi + 0x6c], 0
je 0x4ae5f9
mov eax, dword [esi + 0x64]
cmp word [eax], 0
je 0x4ae5f9
push eax
call fcn.004560f0
movzx eax, word [eax]
push eax
call fcn.00456170
test al, al
je 0x4ae5f9
test ebp, ebp
je 0x4ae5f5
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 0x4ae5ec
test dx, dx
je 0x4ae5e8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ae5ec
add eax, 4
add ecx, 4
test dx, dx
jne 0x4ae5c6
xor eax, eax
jmp 0x4ae5f1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4ae5f9
mov dword [ebx + ebp*4], esi
inc ebp
mov esi, dword [esi + 0x78]
test esi, esi
jne 0x4ae596
push 0x4a9c40
push 4
push ebp
push ebx
call fcn.004b3590
add esp, 0x10
xor esi, esi
test ebp, ebp
jbe 0x4ae6d8
mov edx, dword [ebx + esi*4]
mov eax, dword [edx + 0x60]
cmp word [eax], 0
je 0x4ae6cf
test esi, esi
je 0x4ae665
mov ecx, dword [ebx + esi*4 - 4]
mov ecx, dword [ecx + 0x60]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4ae65c
test dx, dx
je 0x4ae658
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ae65c
add eax, 4
add ecx, 4
test dx, dx
jne 0x4ae636
xor eax, eax
jmp 0x4ae661
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4ae6cf
mov eax, dword [ebx + esi*4]
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x3c]
push edx
push eax
call fcn.0048d330
call fcn.0048d8e0
mov ecx, dword [ebx + esi*4]
mov edx, dword [ecx + 0x60]
push 0x400
push edx
lea eax, [esp + 0x34]
push eax
call fcn.004709a0
lea ecx, [esp + 0x2c]
push ecx
call fcn.004560f0
mov edi, eax
movzx edx, word [edi]
push edx
call fcn.00456170
test al, al
je 0x4ae6ae
xor eax, eax
mov word [edi], ax
cmp byte [0x52826c], 0
je 0x4ae6c5
lea ecx, [esp + 0x2c]
push ecx
push 0
call fcn.00436fd0
jmp 0x4ae6cf
lea edx, [esp + 0x2c]
push edx
call fcn.00435e00
inc esi
cmp esi, ebp
jb 0x4ae61b
push ebx
call fcn.004b1201
add esp, 4
mov ecx, 0x509888
call fcn.00445300
cmp byte [0x52826d], 0
je 0x4ae741
cmp byte [esp + 0x17], 0
je 0x4ae736
xor edi, edi
cmp dword [0x50993c], edi
jbe 0x4ae736
push edi
lea eax, [esp + 0x30]
push eax
mov ecx, 0x509888
call fcn.00445250
mov esi, eax
push esi
call fcn.00435ac0
test al, al
je 0x4ae72d
push esi
push 0
lea ecx, [esp + 0x24]
call fcn.00437400
inc edi
cmp edi, dword [0x50993c]
jb 0x4ae705
lea ecx, [esp + 0x1c]
call fcn.00436c90
jmp 0x4ae77d
mov esi, dword [0x50993c]
add esi, 0xffffffff
js 0x4ae77d
lea esp, [esp]
push esi
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x509888
call fcn.00445250
cmp byte [0x52826c], 0
push eax
je 0x4ae773
push 0
call fcn.00436fd0
jmp 0x4ae778
call fcn.00435e00
sub esi, 1
jns 0x4ae750
mov dword [esp + 0x868], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004373a0
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.004b102c
add esp, 0x858
ret