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

Disassembly:
push 0xffffffffffffffff
push 0x100c79eb
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x1012c310]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1012c310]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov eax, dword [esp + 0x288]
mov edx, dword [esp + 0x294]
mov edi, dword [esp + 0x290]
mov esi, ecx
mov ecx, dword [esp + 0x284]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
jne 0x1002b1d2
xor al, al
jmp 0x1002b5be
cmp eax, ebx
je 0x1002b5bc
mov eax, dword [esp + 0x28c]
cmp eax, ebx
je 0x1002b5bc
test al, 1
je 0x1002b1f7
sub eax, 1
mov dword [esp + 0x28c], eax
cmp eax, ebx
je 0x1002b1cb
call fcn.1005e730
lea ecx, [esp + 0x40]
mov byte [esp + 0x1f], al
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x17], 1
call fcn.10023700
mov eax, dword [esp + 0x28c]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x27c], ebx
mov dword [esp + 0x18], ebp
jbe 0x1002b5a2
cmp byte [esi + 0x81], 0
je 0x1002b2c0
lea ecx, [ebp + 3]
cmp eax, ecx
jb 0x1002b2c0
mov eax, dword [esp + 0x28]
cmp byte [eax + ebp], 0xfd
jne 0x1002b2c4
cmp byte [eax + ebp + 1], 0xef
jne 0x1002b2c4
movzx ecx, byte [eax + ebp + 2]
add ebp, 2
cmp ecx, 6
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ecx
jae 0x1002b582
add ebp, 1
lea edx, [ecx + ebp]
cmp dword [esp + 0x28c], edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], edx
jb 0x1002b582
test ebx, ebx
je 0x1002b2a6
push ebx
lea edx, [esp + 0x70]
push edx
mov ecx, edi
call fcn.10024990
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
xor ebx, ebx
push ecx
add eax, ebp
push eax
mov ecx, edi
call fcn.10024990
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov ebp, eax
jmp 0x1002b582
mov eax, dword [esp + 0x28]
cmp byte [esp + 0x1f], 0
je 0x1002b305
cmp byte [eax + ebp + 1], 0
jne 0x1002b305
mov cl, byte [eax + ebp]
cmp cl, 0x80
jae 0x1002b305
mov byte [esp + ebx + 0x6c], cl
add ebx, 1
cmp ebx, 0x200
jb 0x1002b2f8
push ebx
lea ecx, [esp + 0x70]
push ecx
mov ecx, edi
call fcn.10024990
xor ebx, ebx
mov dword [esp + 0x2c], 1
jmp 0x1002b57b
mov ecx, dword [esp + 0x38]
add ebp, eax
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x64]
push eax
push 2
push ebp
mov dword [esp + 0x34], ebp
call fcn.1005ec40
cmp dword [esp + 0x2c], 0
jne 0x1002b553
cmp byte [ebp], 0
jne 0x1002b369
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
cmp byte [ecx + edx + 1], 0
jne 0x1002b369
mov byte [esp + ebx + 0x6c], 0
add ebx, 1
cmp ebx, 0x200
jb 0x1002b577
push ebx
lea eax, [esp + 0x70]
push eax
mov ecx, edi
call fcn.10024990
xor ebx, ebx
jmp 0x1002b577
mov eax, dword [esi + 8]
test eax, eax
je 0x1002b54c
cmp byte [esi + 0x81], 0
je 0x1002b52b
cmp eax, 1
jne 0x1002b3bc
cmp dword [esi + 0x10], 0
je 0x1002b54c
test ebx, ebx
je 0x1002b3a3
push ebx
lea ecx, [esp + 0x70]
push ecx
mov ecx, edi
call fcn.10024990
xor ebx, ebx
mov edx, dword [esi + 0x10]
push edx
lea eax, [esi + 0x14]
push eax
mov ecx, edi
call fcn.10024990
mov byte [esp + 0x17], 0
jmp 0x1002b577
cmp eax, 7
jne 0x1002b421
test ebx, ebx
je 0x1002b3d4
push ebx
lea ecx, [esp + 0x70]
push ecx
mov ecx, edi
call fcn.10024990
xor ebx, ebx
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 8]
mov ebp, dword [esi + 0x78]
mov eax, dword [esi + 0x7c]
push ecx
push edi
push 2
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
push edx
push ebp
push 0x4b0
mov ecx, esi
mov dword [esp + 0x4c], eax
mov dword [esi + 8], 0
call fcn.100341e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov dword [esi + 8], eax
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], ecx
mov byte [esp + 0x17], 0
jmp 0x1002b577
cmp eax, 2
jne 0x1002b503
lea ecx, [esp + 0x40]
call fcn.100234b0
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi + 0x78]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x30]
push edx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x44]
push ecx
push 2
push ebp
push eax
push 0x4b0
mov ecx, esi
mov dword [esp + 0x3c], eax
mov dword [esi + 8], 0
call fcn.100341e0
lea ecx, [esp + 0x40]
call fcn.10023500
test eax, eax
je 0x1002b4e7
test ebx, ebx
je 0x1002b489
push ebx
lea edx, [esp + 0x70]
push edx
mov ecx, edi
call fcn.10024990
xor ebx, ebx
lea ecx, [esp + 0x40]
call fcn.10023500
push 0x26
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.100245a0
push 0x23
mov ecx, edi
call fcn.100245a0
push 0x78
mov ecx, edi
call fcn.100245a0
xor ebp, ebp
cmp dword [esp + 0x20], ebp
jle 0x1002b4de
lea esp, [esp]
push edi
push 1
push ebp
lea ecx, [esp + 0x4c]
call fcn.10023530
push eax
mov ecx, esi
call fcn.1002ac50
add ebp, 1
cmp ebp, dword [esp + 0x20]
jl 0x1002b4c0
push 0x3b
mov ecx, edi
call fcn.100245a0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov dword [esi + 8], eax
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], edx
mov byte [esp + 0x17], 0
jmp 0x1002b577
test ebx, ebx
je 0x1002b516
push ebx
lea eax, [esp + 0x70]
push eax
mov ecx, edi
call fcn.10024990
xor ebx, ebx
mov ecx, dword [esp + 0x30]
push ecx
push edi
push ebp
mov ecx, esi
call fcn.1002acd0
mov byte [esp + 0x17], 0
jmp 0x1002b577
test ebx, ebx
je 0x1002b53e
push ebx
lea edx, [esp + 0x70]
push edx
mov ecx, edi
call fcn.10024990
xor ebx, ebx
mov eax, dword [esp + 0x30]
push eax
push edi
push ebp
mov ecx, esi
call fcn.1002acd0
mov byte [esp + 0x17], 0
jmp 0x1002b577
test ebx, ebx
je 0x1002b566
push ebx
lea ecx, [esp + 0x70]
push ecx
mov ecx, edi
call fcn.10024990
xor ebx, ebx
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x64]
push eax
mov ecx, edi
call fcn.10024990
mov ebp, dword [esp + 0x18]
add ebp, 2
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x28c]
cmp ebp, eax
jb 0x1002b232
test ebx, ebx
je 0x1002b5a2
push ebx
lea ecx, [esp + 0x70]
push ecx
mov ecx, edi
call fcn.10024990
lea ecx, [esp + 0x40]
mov dword [esp + 0x27c], 0xffffffff
call fcn.10024140
mov al, byte [esp + 0x17]
jmp 0x1002b5be
mov al, 1
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.10096904
add esp, 0x26c
ret 0x14