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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003cbb1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0xac], ebx
call fcn.10004217
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
sub eax, edi
push 0x18
cdq
pop ecx
idiv ecx
mov dword [esp + 0x98], eax
test eax, eax
je 0x10004d0a
push edi
lea ecx, [esp + 0x14]
call fcn.10008b06
mov byte [esp + 0xac], 1
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
cmovae ecx, dword [esp + 0x10]
lea edx, [esp + 0x10]
cmovae edx, dword [esp + 0x10]
lea eax, [ecx + eax*2]
push edx
lea ecx, [esp + 0x14]
cmovae ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0xa8]
call fcn.1000a155
add esp, 0xc
xor eax, eax
push 0x73
pop ecx
push 0x74
mov word [esp + 0x98], ax
pop eax
push 0x75
mov word [esp + 0x8a], ax
mov word [esp + 0x82], ax
pop eax
push 0x65
mov word [esp + 0x78], ax
pop eax
push 0x6f
mov word [esp + 0x76], cx
mov word [esp + 0x88], cx
pop ecx
push 0x78
pop edx
push 0x68
mov word [esp + 0x86], cx
mov word [esp + 0x80], cx
pop ecx
push 0x66
mov word [esp + 0x84], cx
pop ecx
push 0x70
mov word [esp + 0x74], cx
pop ecx
push 0x2e
mov word [esp + 0x7c], cx
pop ecx
push 0x72
mov word [esp + 0x92], ax
mov word [esp + 0x8c], ax
mov word [esp + 0x96], ax
pop eax
mov word [esp + 0x7a], ax
mov word [esp + 0x8a], ax
push 0x6c
mov word [esp + 0x94], dx
mov word [esp + 0x90], cx
pop eax
lea edx, [esp + 0x70]
lea ecx, [esp + 0x10]
mov word [esp + 0x76], ax
call fcn.1000a19b
test al, al
jne 0x10004cfa
push 0x32
pop eax
push 0x73
mov word [esp + 0x66], ax
pop eax
push 0x6f
pop ecx
push 0x65
mov word [esp + 0x56], ax
mov word [esp + 0x5c], ax
mov word [esp + 0x5a], cx
pop ecx
push 0x78
pop eax
push 0x66
mov word [esp + 0x6c], ax
pop eax
mov word [esp + 0x50], ax
push 0x68
xor eax, eax
mov word [esp + 0x70], ax
pop eax
push 0x33
mov word [esp + 0x58], ax
pop eax
push 0x74
mov word [esp + 0x64], ax
pop eax
push 0x72
mov word [esp + 0x5e], ax
pop eax
mov word [esp + 0x5e], ax
push 0x2e
mov word [esp + 0x6e], cx
mov word [esp + 0x6a], cx
mov word [esp + 0x60], cx
pop eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x10]
mov word [esp + 0x64], ax
call fcn.1000a19b
test al, al
jne 0x10004cf5
push 0x73
pop edx
push 0x2e
pop eax
push 0x70
mov word [esp + 0x48], ax
xor eax, eax
mov word [esp + 0x50], ax
pop eax
push 0x65
pop ecx
push 0x36
mov word [esp + 0x42], ax
pop eax
push 0x34
mov word [esp + 0x44], ax
pop eax
push 0x6f
mov word [esp + 0x46], ax
pop eax
push 0x66
mov word [esp + 0x3c], ax
pop eax
push 0x72
mov word [esp + 0x38], ax
pop eax
mov word [esp + 0x3a], ax
push 0x78
mov word [esp + 0x40], dx
mov word [esp + 0x4e], cx
mov word [esp + 0x3a], dx
pop eax
mov word [esp + 0x46], cx
lea edx, [esp + 0x34]
lea ecx, [esp + 0x10]
mov word [esp + 0x48], ax
call fcn.1000a19b
lea ecx, [esp + 0x10]
test al, al
jne 0x10004cf0
push 0
push 1
mov byte [esp + 0xb4], al
call fcn.10009482
inc ebx
add edi, 0x18
cmp ebx, dword [esp + 0x98]
jb 0x10004ac8
jmp 0x10004d0a
push 3
pop esi
jmp 0x10004d01
push 2
pop esi
jmp 0x10004cfd
xor esi, esi
inc esi
lea ecx, [esp + 0x10]
push 0
push 1
call fcn.10009482
lea ecx, [esp + 0x28]
call fcn.10008c43
mov ecx, dword [esp + 0xa4]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret