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

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
push 0x10079bbc
call dword [0x100780a8]
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x14], ebx
jne 0x4ae9a1
mov ecx, dword [0x100b7110]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
call edx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.004aa370
push 0x100
call fcn.004c1680
add esp, 4
mov esi, eax
call dword [0x1007805c]
push eax
push 0x10079bb4
push esi
call dword [0x1007823c]
add esp, 0xc
push esi
lea ecx, [esp + 0x24]
call fcn.004aa190
push 0x10079b90
lea ecx, [esp + 0x24]
call fcn.004aa190
push edi
push edi
push 1
push edi
mov edi, dword [esp + 0x30]
push 1
push 0x40000000
push edi
call fcn.004b9c70
mov ecx, dword [0x10090208]
push 0
mov ebp, eax
lea eax, [esp + 0x20]
push eax
push ecx
push 0x1008e008
push ebp
call dword [0x10078094]
push edi
call dword [0x100780a8]
mov ebx, eax
push ebp
mov dword [esp + 0x18], ebx
call dword [0x1007810c]
push edi
call dword [0x100780d4]
test esi, esi
je 0x4ae98c
push esi
call fcn.004c17d0
add esp, 4
test edi, edi
je 0x4ae999
push edi
call fcn.004c17d0
add esp, 4
test ebx, ebx
je 0x4af169
mov edx, dword [ebx + 0x3c]
mov eax, dword [edx + ebx + 0x78]
add eax, ebx
cmp dword [eax + 0x18], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0
jbe 0x4af169
mov edi, dword [0x100780cc]
jmp 0x4ae9d8
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x10]
lea edx, [eax + ecx*4]
mov esi, dword [edx + ebx]
push 0x10079b7c
add esi, ebx
push esi
call edi
test eax, eax
jne 0x4ae9fd
mov esi, 0x10012610
jmp 0x4af0b4
push 0x10079b68
push esi
call edi
test eax, eax
jne 0x4aea13
mov esi, 0x10012620
jmp 0x4af0b4
push 0x10079b4c
push esi
call edi
test eax, eax
jne 0x4aea29
mov esi, 0x10012630
jmp 0x4af0b4
push 0x10079b34
push esi
call edi
test eax, eax
jne 0x4aea3f
mov esi, 0x10013900
jmp 0x4af0b4
push 0x10079b1c
push esi
call edi
test eax, eax
jne 0x4aea55
mov esi, 0x100133a0
jmp 0x4af0b4
push 0x10079b04
push esi
call edi
test eax, eax
jne 0x4aea6b
mov esi, 0x10012830
jmp 0x4af0b4
push 0x10079aec
push esi
call edi
test eax, eax
jne 0x4aea81
mov esi, 0x10012f00
jmp 0x4af0b4
push 0x10079acc
push esi
call edi
test eax, eax
jne 0x4aea97
mov esi, 0x10012b90
jmp 0x4af0b4
push 0x10079aac
push esi
call edi
test eax, eax
jne 0x4aeaad
mov esi, 0x10012640
jmp 0x4af0b4
push 0x10079a88
push esi
call edi
test eax, eax
jne 0x4aeac3
mov esi, 0x10012bf0
jmp 0x4af0b4
push 0x10079a64
push esi
call edi
test eax, eax
jne 0x4aead9
mov esi, 0x10012650
jmp 0x4af0b4
push 0x10079a48
push esi
call edi
test eax, eax
jne 0x4aeaef
mov esi, 0x10012c40
jmp 0x4af0b4
push 0x10079a2c
push esi
call edi
test eax, eax
jne 0x4aeb05
mov esi, 0x10012660
jmp 0x4af0b4
push 0x10079a08
push esi
call edi
test eax, eax
jne 0x4aeb1b
mov esi, 0x10012c80
jmp 0x4af0b4
push 0x100799e4
push esi
call edi
test eax, eax
jne 0x4aeb31
mov esi, 0x10012670
jmp 0x4af0b4
push 0x100799c0
push esi
call edi
test eax, eax
jne 0x4aeb47
mov esi, 0x10012d40
jmp 0x4af0b4
push 0x1007999c
push esi
call edi
test eax, eax
jne 0x4aeb5d
mov esi, 0x10012680
jmp 0x4af0b4
push 0x10079974
push esi
call edi
test eax, eax
jne 0x4aeb73
mov esi, 0x10012690
jmp 0x4af0b4
push 0x1007995c
push esi
call edi
test eax, eax
jne 0x4aeb89
mov esi, 0x100126a0
jmp 0x4af0b4
push 0x10079928
push esi
call edi
test eax, eax
jne 0x4aeb9f
mov esi, 0x10012d90
jmp 0x4af0b4
push 0x100798f4
push esi
call edi
test eax, eax
jne 0x4aebb5
mov esi, 0x10012700
jmp 0x4af0b4
push 0x100798d8
push esi
call edi
test eax, eax
jne 0x4aebcb
mov esi, 0x10012710
jmp 0x4af0b4
push 0x100798bc
push esi
call edi
test eax, eax
jne 0x4aebe1
mov esi, 0x10012720
jmp 0x4af0b4
push 0x100798a4
push esi
call edi
test eax, eax
jne 0x4aebf7
mov esi, 0x10012760
jmp 0x4af0b4
push 0x10079888
push esi
call edi
test eax, eax
jne 0x4aec0d
mov esi, 0x10012770
jmp 0x4af0b4
push 0x10079874
push esi
call edi
test eax, eax
jne 0x4aec23
mov esi, 0x10012780
jmp 0x4af0b4
push 0x10079860
push esi
call edi
test eax, eax
jne 0x4aec39
mov esi, 0x10012790
jmp 0x4af0b4
push 0x10079830
push esi
call edi
test eax, eax
jne 0x4aec4f
mov esi, 0x10012dd0
jmp 0x4af0b4
push 0x10079800
push esi
call edi
test eax, eax
jne 0x4aec65
mov esi, 0x100127b0
jmp 0x4af0b4
push 0x100797d8
push esi
call edi
test eax, eax
jne 0x4aec7b
mov esi, 0x10013440
jmp 0x4af0b4
push 0x100797b0
push esi
call edi
test eax, eax
jne 0x4aec91
mov esi, 0x100127c0
jmp 0x4af0b4
push 0x10079780
push esi
call edi
test eax, eax
jne 0x4aeca7
mov esi, 0x10012e10
jmp 0x4af0b4
push 0x10079750
push esi
call edi
test eax, eax
jne 0x4aecbd
mov esi, 0x100127d0
jmp 0x4af0b4
push 0x10079724
push esi
call edi
test eax, eax
jne 0x4aecd3
mov esi, 0x10013710
jmp 0x4af0b4
push 0x100796f8
push esi
call edi
test eax, eax
jne 0x4aece9
mov esi, 0x10012e80
jmp 0x4af0b4
push 0x100796e0
push esi
call edi
test eax, eax
jne 0x4aecff
mov esi, 0x10012a20
jmp 0x4af0b4
push 0x100796c4
push esi
call edi
test eax, eax
jne 0x4aed15
mov esi, 0x100127e0
jmp 0x4af0b4
push 0x100796a4
push esi
call edi
test eax, eax
jne 0x4aed2b
mov esi, 0x10012810
jmp 0x4af0b4
push 0x10079680
push esi
call edi
test eax, eax
jne 0x4aed41
mov esi, 0x10012820
jmp 0x4af0b4
push 0x100784ec
push esi
call edi
test eax, eax
jne 0x4aed57
mov esi, 0x10013b70
jmp 0x4af0b4
push 0x10079660
push esi
call edi
test eax, eax
jne 0x4aed6d
mov esi, 0x10013cb0
jmp 0x4af0b4
push 0x100784c0
push esi
call edi
test eax, eax
jne 0x4aed83
mov esi, 0x10013cc0
jmp 0x4af0b4
push 0x1007850c
push esi
call edi
test eax, eax
jne 0x4aed99
mov esi, 0x100b7088
jmp 0x4af0b4
push 0x10079638
push esi
call edi
test eax, eax
jne 0x4aedaf
mov esi, 0x10005b20
jmp 0x4af0b4
push 0x10079610
push esi
call edi
test eax, eax
jne 0x4aedc5
mov esi, 0x10006440
jmp 0x4af0b4
push 0x100795f0
push esi
call edi
test eax, eax
jne 0x4aeddb
mov esi, 0x10001760
jmp 0x4af0b4
push 0x100795d4
push esi
call edi
test eax, eax
jne 0x4aedf1
mov esi, 0x10012f50
jmp 0x4af0b4
push 0x100795b4
push esi
call edi
test eax, eax
jne 0x4aee07
mov esi, 0x100128a0
jmp 0x4af0b4
push 0x1007959c
push esi
call edi
test eax, eax
jne 0x4aee1d
mov esi, 0x10012860
jmp 0x4af0b4
push 0x10079580
push esi
call edi
test eax, eax
jne 0x4aee33
mov esi, 0x10012ac0
jmp 0x4af0b4
push 0x10079558
push esi
call edi
test eax, eax
jne 0x4aee49
mov esi, 0x10012730
jmp 0x4af0b4
push 0x1007952c
push esi
call edi
test eax, eax
jne 0x4aee5f
mov esi, 0x10012740
jmp 0x4af0b4
push 0x10079504
push esi
call edi
test eax, eax
jne 0x4aee75
mov esi, 0x10012fd0
jmp 0x4af0b4
push 0x100794dc
push esi
call edi
test eax, eax
jne 0x4aee8b
mov esi, 0x100128c0
jmp 0x4af0b4
push 0x100794ac
push esi
call edi
test eax, eax
jne 0x4aeea1
mov esi, 0x10013020
jmp 0x4af0b4
push 0x1007947c
push esi
call edi
test eax, eax
jne 0x4aeeb7
mov esi, 0x100128d0
jmp 0x4af0b4
push 0x10079460
push esi
call edi
test eax, eax
jne 0x4aeecd
mov esi, 0x1001a040
jmp 0x4af0b4
push 0x1007943c
push esi
call edi
test eax, eax
jne 0x4aeee3
mov esi, 0x100128e0
jmp 0x4af0b4
push 0x1007941c
push esi
call edi
test eax, eax
jne 0x4aeef9
mov esi, 0x10012920
jmp 0x4af0b4
push 0x100793fc
push esi
call edi
test eax, eax
jne 0x4aef0f
mov esi, 0x10012930
jmp 0x4af0b4
push 0x100793dc
push esi
call edi
test eax, eax
jne 0x4aef25
mov esi, 0x10012940
jmp 0x4af0b4
push 0x100793bc
push esi
call edi
test eax, eax
jne 0x4aef3b
mov esi, 0x10013780
jmp 0x4af0b4
push 0x10079390
push esi
call edi
test eax, eax
jne 0x4aef51
mov esi, 0x100130b0
jmp 0x4af0b4
push 0x10079364
push esi
call edi
test eax, eax
jne 0x4aef67
mov esi, 0x10012950
jmp 0x4af0b4
push 0x10079348
push esi
call edi
test eax, eax
jne 0x4aef7d
mov esi, 0x10012960
jmp 0x4af0b4
push 0x1007932c
push esi
call edi
test eax, eax
jne 0x4aef93
mov esi, 0x10012970
jmp 0x4af0b4
push 0x10079310
push esi
call edi
test eax, eax
jne 0x4aefa9
mov esi, 0x10012990
jmp 0x4af0b4
push 0x100792f0
push esi
call edi
test eax, eax
jne 0x4aefbf
mov esi, 0x100129b0
jmp 0x4af0b4
push 0x100792c0
push esi
call edi
test eax, eax
jne 0x4aefd5
mov esi, 0x100129d0
jmp 0x4af0b4
push 0x1007929c
push esi
call edi
test eax, eax
jne 0x4aefeb
mov esi, 0x100129e0
jmp 0x4af0b4
push 0x1007926c
push esi
call edi
test eax, eax
jne 0x4af001
mov esi, 0x10013100
jmp 0x4af0b4
push 0x1007923c
push esi
call edi
test eax, eax
jne 0x4af017
mov esi, 0x100129f0
jmp 0x4af0b4
push 0x10079220
push esi
call edi
test eax, eax
jne 0x4af02d
mov esi, 0x10012a00
jmp 0x4af0b4
push 0x10079200
push esi
call edi
test eax, eax
jne 0x4af040
mov esi, 0x10013140
jmp 0x4af0b4
push 0x100791e0
push esi
call edi
test eax, eax
jne 0x4af053
mov esi, 0x100137b0
jmp 0x4af0b4
push 0x100791bc
push esi
call edi
test eax, eax
jne 0x4af066
mov esi, 0x10013180
jmp 0x4af0b4
push 0x10079198
push esi
call edi
test eax, eax
jne 0x4af079
mov esi, 0x10013810
jmp 0x4af0b4
push 0x1007917c
push esi
call edi
test eax, eax
jne 0x4af08c
mov esi, 0x10012750
jmp 0x4af0b4
push 0x1007915c
push esi
call edi
test eax, eax
jne 0x4af09f
mov esi, 0x100131c0
jmp 0x4af0b4
push 0x1007913c
push esi
call edi
test eax, eax
jne 0x4af151
mov esi, 0x10012a10
test esi, esi
je 0x4af151
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x24]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x1c]
lea edx, [eax + edx*2]
mov eax, dword [esp + 0x14]
movzx edx, word [edx + eax]
lea edx, [ecx + edx*4]
mov ebp, dword [edx + eax]
add ebp, eax
lea eax, [esp + 0x2c]
push 0x1c
push eax
call fcn.004c15e0
add esp, 8
push 0x1c
lea ecx, [esp + 0x30]
push ecx
push ebp
call dword [0x100781fc]
test eax, eax
jbe 0x4af151
test byte [esp + 0x40], 0xf0
je 0x4af151
push 0x28
call fcn.004a8640
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4af137
xor eax, eax
cmp ebp, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], eax
je 0x4af13b
push esi
push ebp
mov ecx, ebx
call fcn.004a8670
jmp 0x4af139
xor ebx, ebx
xor eax, eax
cmp dword [ebx], eax
je 0x4af151
mov eax, dword [ebx + 8]
push 5
lea edx, [ebx + 0x19]
push edx
push eax
call fcn.004c85e0
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add eax, 1
cmp eax, dword [ecx + 0x18]
mov dword [esp + 0x10], eax
jb 0x4ae9d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret