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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x738156
mov eax, dword fs:[0]
push eax
sub esp, 0x140
push ebx
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebx + 0x184]
xor esi, esi
lea edx, [esp + 0x2c]
mov ecx, edi
mov byte [eax], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.004b97c6
test al, al
jne 0x4adf39
push 0x7c1f80
lea ecx, [esp + 0x50]
mov dword [ebx + 0x2c], 7
call fcn.0040182d
push 0x7c2088
lea ecx, [esp + 0x90]
mov dword [esp + 0x15c], esi
call fcn.0040182d
mov byte [esp + 0x158], 1
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [ebx + 0x270]
push 0x36
add eax, 0x1b8
push eax
call fcn.004b699b
push esi
push 1
lea ecx, [esp + 0x94]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0x54]
call fcn.00401f4f
jmp 0x4ae88d
mov eax, dword [ebp + 0xc]
call fcn.004f17f5
cmp eax, esi
mov dword [esp + 0x48], eax
jne 0x4ae026
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x158], 2
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x90]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
call fcn.004b0652
mov ecx, dword [ebx + 0x184]
lea eax, [esp + 0x8c]
push eax
call fcn.004ba2e3
cmp byte [0x8b5003], 0
mov dword [ebx + 0x2c], 7
je 0x4ae01a
push 0x7c20b8
lea ecx, [esp + 0x70]
call fcn.0040182d
push 0x7c1730
lea ecx, [esp + 0x50]
mov byte [esp + 0x15c], 3
call fcn.0040182d
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x160], 4
mov eax, dword [ebx + 0x270]
push 1
add eax, 0x1b8
push eax
call fcn.004b699b
push esi
push 1
lea ecx, [esp + 0x54]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0x74]
call fcn.00401f4f
lea esi, [esp + 0x8c]
jmp 0x4ae888
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.0054108a
mov dword [esp + 0x20], eax
add esp, 8
lea eax, [edi + 0xa4]
call fcn.004f17f5
cmp eax, dword [esp + 0x48]
je 0x4ae089
push 0x7c1f80
lea ecx, [esp + 0x50]
mov dword [ebx + 0x2c], 7
call fcn.0040182d
push 0x7c213c
lea ecx, [esp + 0x90]
mov dword [esp + 0x15c], 5
call fcn.0040182d
mov byte [esp + 0x158], 6
jmp 0x4adf00
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0x158], 7
xor eax, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
cmp dword [esp + 0x48], esi
mov byte [esp + 0x158], 8
mov dword [esp + 0x28], esi
jbe 0x4ae1da
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
push 0
pop eax
adc eax, esi
cmp eax, edx
ja 0x4ae102
jb 0x4ae0f2
cmp ecx, dword [esp + 0x2c]
jae 0x4ae102
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
jmp 0x4ae114
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x28], eax
jb 0x4ae123
call fcn.0054b876
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x184]
mov edi, dword [eax + 4]
push dword [esp + 0x28]
add edi, dword [esp + 0x20]
add esi, 0xa4
call fcn.005326e4
mov esi, eax
push 5
xor eax, eax
mov eax, dword [esp + 0x28]
pop ecx
repe cmpsd dword [esi], dword es:[edi]
je 0x4ae17c
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x3c]
jmp 0x4ae1a8
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0xb4]
call fcn.004b0652
mov eax, dword [esp + 0x18]
add dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
inc dword [esp + 0x28]
add dword [esp + 0x1c], 0x14
call fcn.004f17f5
xor esi, esi
cmp dword [esp + 0x28], eax
mov dword [esp + 0x48], eax
jb 0x4ae0d5
mov eax, dword [esp + 0x40]
cmp byte [ebp + 0x10], 0
je 0x4ae455
mov ecx, dword [ebx + 0x184]
lea eax, [esp + 0x38]
push eax
call fcn.004ba2e3
mov ecx, dword [ebx + 0x184]
lea eax, [esp + 0xb0]
push eax
call fcn.004ba365
cmp dword [esp + 0x3c], esi
je 0x4ae360
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x3c]
sar eax, 4
mov dword [esp + 0x18], eax
je 0x4ae360
cmp byte [0x8b5003], 0
mov dword [ebx + 0x2c], 7
mov edi, 0x1b8
je 0x4ae359
mov eax, dword [ebp + 0xc]
call fcn.004f17f5
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push 0x7c1730
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], eax
call fcn.0040182d
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.0044e956
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0044e956
push eax
lea eax, [esp + 0x10c]
push 0x7c2170
push eax
mov byte [esp + 0x174], 0xb
call fcn.00407154
add esp, 0x1c
push 0x7b8548
push eax
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x164], 0xc
call fcn.0040710d
add esp, 0xc
mov byte [esp + 0x158], 0xd
push dword [esp + 0x1c]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0042c91b
add esp, 0xc
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x160], 0xe
mov eax, dword [ebx + 0x270]
push 1
add eax, edi
push eax
call fcn.004b699b
push esi
push 1
lea ecx, [esp + 0x74]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0x94]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0x100]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0xc8]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0xe4]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x160], 8
call fcn.00401f4f
push 0x35
jmp 0x4ae442
cmp byte [0x8b5003], 0
mov dword [ebx + 0x2c], 1
mov edi, 0x1b8
je 0x4ae440
mov eax, dword [ebp + 0xc]
call fcn.004f17f5
push 0x7c1730
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], eax
call fcn.0040182d
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.0044e956
push eax
lea eax, [esp + 0xcc]
push 0x7c21e4
push eax
mov byte [esp + 0x16c], 0x10
call fcn.00407154
add esp, 0x14
push 0x7c21c4
push eax
lea eax, [esp + 0xe4]
push eax
mov byte [esp + 0x164], 0x11
call fcn.0040710d
add esp, 0xc
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x160], 0x12
mov eax, dword [ebx + 0x270]
push 1
add eax, edi
push eax
call fcn.004b699b
push esi
push 1
lea ecx, [esp + 0xe4]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0xc8]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0x100]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x160], 8
call fcn.00401f4f
push 0x34
mov eax, dword [ebx + 0x270]
add eax, edi
push eax
call fcn.004b6947
jmp 0x4ae840
cmp dword [esp + 0x3c], esi
mov byte [esp + 0x17], 0
mov byte [esp + 0x23], 0
mov edi, 0x1b8
je 0x4ae56b
sub eax, dword [esp + 0x3c]
sar eax, 4
je 0x4ae56b
mov eax, dword [ebx + 0x184]
add eax, 0xc8
mov dword [esp + 0x18], eax
call fcn.004f17f5
test eax, eax
je 0x4ae551
push dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
call fcn.004b1b1c
test al, al
pop ecx
je 0x4ae551
mov eax, dword [ebx + 0x184]
add eax, 0xc8
push eax
mov eax, dword [ebp + 0xc]
call fcn.004b1b1c
test al, al
pop ecx
je 0x4ae570
lea eax, [esp + 0x38]
mov byte [esp + 0x17], 1
mov byte [esp + 0x23], 1
call fcn.004a8af2
cmp byte [0x8b5003], 0
je 0x4ae570
push 0x7c2218
lea ecx, [esp + 0x70]
call fcn.0040182d
push 0x7c1730
lea ecx, [esp + 0x50]
mov byte [esp + 0x15c], 0x13
call fcn.0040182d
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x160], 0x14
mov eax, dword [ebx + 0x270]
push 1
add eax, edi
push eax
call fcn.004b699b
push esi
push 1
lea ecx, [esp + 0x54]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x160], 8
call fcn.00401f4f
jmp 0x4ae570
mov eax, dword [ebx + 0x184]
push dword [ebp + 0xc]
add eax, 0xc8
mov byte [esp + 0x1b], 0
call fcn.004b03df
jmp 0x4ae570
mov byte [esp + 0x17], 1
mov ecx, dword [ebx + 0x184]
lea eax, [esp + 0x38]
push eax
call fcn.004ba2e3
mov ecx, dword [ebx + 0x184]
lea eax, [esp + 0xb0]
push eax
call fcn.004ba365
cmp byte [esp + 0x17], 0
je 0x4ae6cb
cmp byte [0x8b5003], 0
mov dword [ebx + 0x2c], 1
je 0x4ae679
mov eax, dword [ebp + 0xc]
call fcn.004f17f5
push 0x7c1730
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], eax
call fcn.0040182d
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.0044e956
push eax
lea eax, [esp + 0xcc]
push 0x7c21e4
push eax
mov byte [esp + 0x16c], 0x16
call fcn.00407154
add esp, 0x14
push 0x7c21c4
push eax
lea eax, [esp + 0xe4]
push eax
mov byte [esp + 0x164], 0x17
call fcn.0040710d
add esp, 0xc
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x160], 0x18
mov eax, dword [ebx + 0x270]
push 1
add eax, edi
push eax
call fcn.004b699b
push esi
push 1
lea ecx, [esp + 0xe4]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0xc8]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0x100]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x160], 8
call fcn.00401f4f
mov eax, dword [ebx + 0x270]
push 0x34
add eax, edi
push eax
call fcn.004b6947
sub esp, 0x20
mov eax, 0x4aa4ee
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], esi
mov eax, esp
mov dword [esp + 0x38], esp
sub esp, 0x10
mov dword [esp + 0x84], ebx
mov edi, esp
lea esi, [esp + 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.004b1798
push 0
lea eax, [ebx + 0x30]
push eax
call fcn.0045d776
xor esi, esi
jmp 0x4ae82f
cmp byte [0x8b5003], 0
mov dword [ebx + 0x2c], 7
je 0x4ae812
mov eax, dword [ebp + 0xc]
call fcn.004f17f5
cmp dword [esp + 0x3c], esi
mov dword [esp + 0x1c], eax
jne 0x4ae6f7
mov dword [esp + 0x18], esi
jmp 0x4ae706
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x3c]
sar eax, 4
mov dword [esp + 0x18], eax
push 0x7c1730
lea ecx, [esp + 0x70]
call fcn.0040182d
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x134]
push eax
call fcn.0044e956
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.0044e956
push eax
lea eax, [esp + 0x10c]
push 0x7c2170
push eax
mov byte [esp + 0x174], 0x1b
call fcn.00407154
add esp, 0x1c
push 0x7b8548
push eax
lea eax, [esp + 0xc8]
push eax
mov byte [esp + 0x164], 0x1c
call fcn.0040710d
add esp, 0xc
mov byte [esp + 0x158], 0x1d
push dword [esp + 0x1c]
push eax
lea eax, [esp + 0xe4]
push eax
call fcn.0042c91b
add esp, 0xc
push eax
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x160], 0x1e
mov eax, dword [ebx + 0x270]
push 1
add eax, edi
push eax
call fcn.004b699b
push esi
push 1
lea ecx, [esp + 0xe4]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0xc8]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0x100]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0x11c]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0x138]
call fcn.00401f4f
push esi
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x160], 8
call fcn.00401f4f
mov eax, dword [ebx + 0x270]
push 0x35
add eax, edi
push eax
call fcn.004b6947
mov eax, dword [ebp + 0x14]
mov byte [ebx + 0x180], 0
mov byte [eax], 1
cmp byte [esp + 0x23], 0
je 0x4ae840
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004adb60
cmp dword [esp + 0x3c], esi
je 0x4ae853
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x3c]
sar eax, 4
jne 0x4ae86f
cmp dword [esp + 0xb4], esi
je 0x4ae878
mov eax, dword [esp + 0xb8]
sub eax, dword [esp + 0xb4]
sar eax, 4
je 0x4ae878
push 4
mov eax, ebx
call fcn.004ab02a
lea esi, [esp + 0x38]
call fcn.00487f20
lea esi, [esp + 0xb0]
call fcn.00487f20
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10