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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100529b4
mov eax, dword fs:[0]
push eax
sub esp, 0x148
push ebx
push esi
push edi
mov eax, dword [0x10065060]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov esi, dword [ebp + 8]
movsx eax, byte [esi + 8]
cmp eax, 7
ja case.default.0x1002f59a
jmp dword [eax*4 + 0x1002f8ea]
lea eax, [edi + 0x7c]
push eax
mov eax, edi
call fcn.1002fc1c
jmp case.default.0x1002f59a
call fcn.1002de10
push edx
push eax
lea ebx, [esp + 0xec]
call fcn.1002ebf4
pop ecx
pop ecx
and dword [esp + 0x160], 0
push eax
mov eax, edi
call fcn.1002fc1c
mov ecx, ebx
call fcn.10001a70
jmp case.default.0x1002f59a
call fcn.1002df66
push edx
push eax
lea esi, [esp + 0xb4]
call fcn.1002ec72
pop ecx
pop ecx
push eax
mov eax, edi
mov dword [esp + 0x164], 1
call fcn.1002fc1c
mov ecx, esi
jmp 0x1002f5d8
push esi
call fcn.1002e0a7
mov al, byte [edi + 0xb4]
push ecx
shr al, 2
push ecx
and al, 1
fstp qword [esp]
push dword [edi + 0xb8]
movzx eax, al
push eax
lea ebx, [esp + 0x12c]
call fcn.1002ecb6
add esp, 0x10
push eax
mov eax, edi
mov dword [esp + 0x164], 2
call fcn.1002fc1c
mov ecx, ebx
jmp 0x1002f5d8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
mov eax, esi
call fcn.1002d9ca
test al, al
je 0x1002f6a0
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x10]
push dword [esp + 0x10]
lea edx, [esp + 0xcc]
call fcn.1002ee20
pop ecx
push eax
mov eax, edi
mov dword [esp + 0x164], 3
call fcn.1002fc1c
lea ecx, [esp + 0xc8]
jmp 0x1002f5d8
push 0x10057ce0
lea ecx, [esp + 0x5c]
call fcn.10001a00
lea eax, [esp + 0x58]
push eax
mov eax, edi
mov dword [esp + 0x164], 4
call fcn.1002fc1c
lea ecx, [esp + 0x58]
jmp 0x1002f5d8
push esi
call fcn.1002e153
movzx eax, al
push eax
lea eax, [esp + 0x104]
push eax
call fcn.1002edfa
pop ecx
pop ecx
push eax
mov eax, edi
mov dword [esp + 0x164], 5
call fcn.1002fc1c
lea ecx, [esp + 0x100]
jmp 0x1002f5d8
push esi
mov ebx, edi
call fcn.1002f90a
jmp case.default.0x1002f59a
lea ebx, [esp + 0x1c]
mov ecx, esi
call fcn.1002e7ab
mov dword [esp + 0x160], 6
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x1002f766
push 0x1005af84
lea ecx, [esp + 0x78]
call fcn.10001a00
lea eax, [esp + 0x74]
push eax
mov eax, edi
mov byte [esp + 0x164], 7
call fcn.1002fc1c
lea ecx, [esp + 0x74]
jmp 0x1002f8c1
push 0x1005af88
lea ecx, [esp + 0x40]
call fcn.10001a00
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x164], 8
call fcn.1002fc61
lea ecx, [esp + 0x3c]
mov byte [esp + 0x160], 6
call fcn.10001a70
mov ebx, dword [esp + 0x14]
push 0
lea eax, [ebx + 0x40]
push eax
lea esi, [ebx + 0x20]
or eax, 0xffffffff
call fcn.10022ff0
lea esi, [esp + 0x14]
lea edi, [esp + 0x1c]
call fcn.10008950
lea esi, [esp + 0x14]
call fcn.1001d180
push dword [ebp + 8]
mov esi, eax
call fcn.1002e71d
mov edx, eax
mov ecx, ebx
mov dword [esp + 0x10], edx
call fcn.1002fc8b
cmp dword [esi + 0x18], 0x10
mov ecx, dword [esi + 0x14]
jb 0x1002f7e7
mov esi, dword [esi + 4]
jmp 0x1002f7ea
add esi, 4
push esi
lea edx, [esp + 0x13c]
call fcn.1002ee20
pop ecx
push eax
mov edi, ebx
mov byte [esp + 0x164], 9
call fcn.1002fc61
lea ecx, [esp + 0x138]
mov byte [esp + 0x160], 6
call fcn.10001a70
lea eax, [ebx + 0x60]
push eax
push dword [ebx + 4]
call fcn.10033d05
pop ecx
pop ecx
push dword [esp + 0x10]
mov ecx, ebx
call fcn.1002f552
lea esi, [esp + 0x14]
call fcn.1001d1b0
lea esi, [esp + 0x34]
lea edi, [esp + 0x1c]
call fcn.1001d380
mov esi, eax
lea edi, [esp + 0x14]
call fcn.10018200
test al, al
jne 0x1002f879
push 0x1005af9c
push dword [ebx + 4]
call fcn.10033b6f
pop ecx
pop ecx
push dword [esp + 0x10]
mov edi, ebx
call fcn.1002fd8d
jmp 0x1002f7b9
push dword [esp + 0x10]
mov edi, ebx
call fcn.1002fd8d
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x34]
sub eax, ecx
lea ecx, [ebx + 0x20]
call fcn.10022e30
push 0x1005af90
lea ecx, [esp + 0x94]
call fcn.10001a00
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x164], 0xa
call fcn.1002fc61
lea ecx, [esp + 0x90]
call fcn.10001a70
lea esi, [esp + 0x1c]
call fcn.10008900
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4