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

Disassembly:
sub esp, 0x18
push ebx
push edi
mov edi, dword [esp + 0x24]
mov ebx, dword [edi + 0x14]
cmp edi, dword [ebx + 0x108]
jne 0x1002bb7f
push 4
push dword [0x1004a36c]
call fcn.10029be0
test eax, eax
jne 0x1002bb62
pop edi
mov eax, 0xfffffc0d
pop ebx
add esp, 0x18
ret 4
mov dword [edi + 0x50], eax
xor ecx, ecx
mov eax, dword [eax]
mov word [eax], cx
mov eax, 0xa
mov word [edi + 0x54], ax
xor eax, eax
pop edi
pop ebx
add esp, 0x18
ret 4
push esi
mov esi, dword [edi + 0x18]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x10]
push eax
push 0
lea eax, [esp + 0x28]
push eax
movzx eax, word [ebx + 0xea]
push eax
push esi
push dword [ebx + 0x10c]
call fcn.10018fc0
test eax, eax
js 0x1002bde0
mov eax, dword [esp + 0x18]
push eax
push eax
call fcn.1000c650
push eax
push ebx
call fcn.1000b180
test eax, eax
js 0x1002bde0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x28]
push dword [ebx + 0x10c]
call fcn.1002a690
test eax, eax
js 0x1002bde0
push ebp
lea eax, [esp + 0x2c]
mov dword [esp + 0x18], 0
push eax
push dword [ebx + 0x34]
push dword [esp + 0x18]
call fcn.1000e470
movzx eax, word [eax]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
push eax
push dword [ebx + 0x38]
push dword [esp + 0x18]
call fcn.1000e470
movzx eax, byte [eax]
mov byte [edi + 0x56], al
lea eax, [esp + 0x2c]
push eax
push dword [ebx + 0x3c]
push dword [esp + 0x18]
call fcn.1000e470
push 4
movzx eax, byte [eax]
mov byte [edi + 0x57], al
mov dword [edi + 0x30], 0xf000f000
mov dword [edi + 0x34], 0xf000f000
push dword [0x1004a36c]
mov dword [esp + 0x18], 0
call fcn.10029be0
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
jne 0x1002bc73
mov esi, 0xfffffc0d
jmp 0x1002bdc0
lea eax, [esp + 0x18]
xor ebp, ebp
push eax
movzx eax, word [ebx + 0xec]
push esi
push eax
push dword [ebx + 0x110]
call fcn.10019680
mov esi, eax
test esi, esi
js 0x1002bdbc
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x20]
call fcn.10010ca0
mov esi, eax
test esi, esi
js 0x1002bdbc
jmp 0x1002bcc0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1002bdfe
lea ecx, [esp + 0x2c]
push ecx
push dword [ebx + 0x78]
push eax
call fcn.1000e470
mov esi, dword [eax]
lea eax, [esp + 0x2c]
push eax
push dword [ebx + 0x64]
push dword [esp + 0x18]
call fcn.1000e470
movzx eax, byte [eax]
cmp eax, 0xb
je 0x1002bcfa
cmp eax, 0xc
jne 0x1002bd23
inc ebp
lea eax, [ebp*4 + 4]
push eax
push dword [esp + 0x18]
push dword [0x1004a36c]
call fcn.1003aef0
test eax, eax
je 0x1002bdf7
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [eax + ebp*4], esi
push dword [ebx + 0x6c]
push dword [esp + 0x14]
call fcn.1000e400
test eax, eax
je 0x1002bd36
mov dword [edi + 0x34], esi
push dword [ebx + 0x74]
push dword [esp + 0x14]
call fcn.1000e400
test eax, eax
je 0x1002bd49
mov dword [edi + 0x30], esi
test dword [ebx + 0x120], 0x2000
jne 0x1002bd8c
mov edx, esi
and esi, 0xfff
shr edx, 0x10
and edx, 0xff
cmp esi, 0x7d1
ja 0x1002bd7e
movzx eax, byte [edi + 0x57]
mov ecx, 0xff
sub ecx, edx
cmp cx, ax
jmp 0x1002bd85
movzx eax, byte [edi + 0x56]
cmp dx, ax
sbb eax, eax
inc eax
test eax, eax
jne 0x1002bde9
push 0
push 0
push dword [esp + 0x20]
call fcn.100111f0
mov esi, eax
test esi, esi
js 0x1002bdbc
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x20]
call fcn.10010ca0
mov esi, eax
test esi, esi
jns 0x1002bcc0
mov ebp, dword [esp + 0x14]
push dword [esp + 0x18]
call fcn.10012040
test eax, eax
js 0x1002bddf
test ebp, ebp
je 0x1002bddd
push ebp
push dword [0x1004a36c]
call fcn.1003af60
mov eax, esi
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x18
ret 4
push edi
push ebx
call fcn.1002b1e0
mov esi, 0xfffffb47
jmp 0x1002bdbc
mov esi, 0xfffffc0d
jmp 0x1002bdbc
test esi, esi
js 0x1002bdbc
push dword [esp + 0x18]
call fcn.10011fa0
mov esi, eax
test esi, esi
js 0x1002bdbc
mov eax, dword [esp + 0x14]
mov dword [edi + 0x50], eax
mov eax, dword [eax]
mov word [eax], bp
xor eax, eax
test ebp, ebp
pop ebp
setne al
shl eax, 3
xor eax, dword [edi + 0x2c]
and eax, 8
xor dword [edi + 0x2c], eax
mov eax, dword [esp + 0x20]
pop esi
mov word [edi + 0x54], ax
xor eax, eax
pop edi
pop ebx
add esp, 0x18
ret 4