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

Disassembly:
sub esp, 0x230
mov eax, dword [0x100de040]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x238]
push ebx
push ebp
mov ebp, dword [esp + 0x23c]
push edi
xor ebx, ebx
mov edi, ecx
push 0x1ff
lea ecx, [esp + 0x35]
push ebx
push ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x3c], bl
call fcn.10064e10
add esp, 0xc
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
push ecx
push 1
push ebp
lea edx, [edi + 8]
mov ebp, 0x200
push edx
mov eax, ebp
mov dword [esp + 0x40], ebx
call fcn.10003760
cmp eax, ebx
jl 0x1004ace8
cmp eax, 1
je 0x1004ace8
cmp dword [esp + 0x28], ebp
je 0x1004ab67
mov eax, 0xe00e1001
jmp 0x1004ace8
cmp dword [esp + 0x70], 0xbeda107f
jne 0x1004ab5d
mov ecx, dword [esp + 0x74]
mov eax, ecx
shr eax, 0x10
cmp eax, 1
je 0x1004ab8e
cmp ecx, 2
je 0x1004ab8e
mov eax, 0xe0034001
jmp 0x1004ace8
cmp eax, ebx
jne 0x1004ab97
mov dword [edi + 0x48], ebx
jmp 0x1004abd3
movzx eax, word [esp + 0x74]
mov dword [edi + 0x48], 1
cmp eax, 1
jne 0x1004abd3
mov eax, 0x190
cmp dword [esp + 0x78], eax
jae 0x1004abd3
mov dword [esp + 0x78], eax
mov dword [esp + 0x204], ebp
mov dword [esp + 0x1f8], ebx
mov dword [esp + 0x1fc], ebx
mov dword [esp + 0x200], ebx
mov edi, dword [edi + 0x48]
cmp edi, 1
jne 0x1004ac10
cmp dword [esp + 0x78], 0x180
jb 0x1004ac06
mov eax, dword [esp + 0x184]
cmp eax, 0x1c8
jb 0x1004ac06
mov ecx, dword [esp + 0x1b0]
lea edx, [eax + ecx*4]
cmp dword [esp + 0x188], edx
jae 0x1004ac10
mov eax, 0xe0034000
jmp 0x1004ace8
xor eax, eax
cmp edi, ebx
mov edi, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
jne 0x1004ac3a
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x7c]
call fcn.1004ae60
jmp 0x1004ac48
lea ecx, [esp + 0x10]
push ecx
lea eax, [esp + 0x7c]
call fcn.1004af80
cmp eax, ebx
je 0x1004ac06
cmp esi, ebx
je 0x1004ac5f
mov edx, dword [esi]
or edx, dword [esi + 4]
jne 0x1004ac5f
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x1004ac79
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1004ac72
mov ecx, esi
call fcn.1004ad10
cmp eax, ebx
jne 0x1004ac79
mov eax, 0xe0034002
jmp 0x1004ace8
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x48], 1
jne 0x1004acb1
lea ecx, [esi + 0x10]
cmp ecx, ebx
je 0x1004ac99
mov edx, dword [ecx]
or edx, dword [ecx + 4]
jne 0x1004ac99
mov eax, dword [ecx + 8]
or eax, dword [ecx + 0xc]
je 0x1004acb1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1004acaa
call fcn.1004ad10
cmp eax, ebx
jne 0x1004acb1
mov eax, 0xe0034003
jmp 0x1004ace8
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], edx
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x1c], edx
xor eax, eax
mov ecx, dword [esp + 0x234]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.10062448
add esp, 0x230
ret 8