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

Disassembly:
sub esp, 0x3f8
push ebp
mov ebp, dword [esp + 0x400]
mov eax, dword [ebp + 4]
push esi
mov esi, dword [eax + 0x2b4]
cmp dword [esi + 0x5ac], 0xffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], esi
mov byte [esp + 0xa], 0
je 0x1002d439
cmp dword [esi + 0x48c], 0
je 0x1002d439
mov ecx, dword [esp + 0x40c]
test ecx, ecx
je 0x1002d445
lea edx, [esi + 0x480]
call fcn.100297e0
mov dword [esp + 0x40c], eax
test eax, eax
jne 0x1002d445
pop esi
mov eax, 6
pop ebp
add esp, 0x3f8
ret
mov eax, dword [esp + 0x40c]
cmp eax, dword [esi + 0xc]
jae 0x1002d42b
push ebx
mov ebx, dword [esp + 0x414]
test ebx, 0x400
je 0x1002d45f
or ebx, 3
mov dword [esp + 0x414], ebx
push edi
mov edi, dword [esp + 0x410]
mov eax, 0x10000
mov dword [ebp + 0xa4], eax
mov dword [ebp + 0xa8], eax
test edi, edi
je 0x1002d58c
mov ecx, dword [edi + 0x10]
mov dword [ebp + 0xa4], ecx
mov edx, dword [edi + 0x14]
mov dword [ebp + 0xa8], edx
mov eax, dword [edi]
mov ecx, dword [eax + 0x214]
mov eax, dword [eax + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x2c]
cmp eax, 0xffffffff
je 0x1002d58c
cmp dword [ecx + 0x8c], 0
je 0x1002d58c
test bl, 8
jne 0x1002d58c
mov ecx, dword [ecx + 0x68]
lea edx, [esp + 0x18]
push edx
lea edx, [ebp + 0x4c]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x420]
push ebx
push edx
push eax
mov eax, dword [esp + 0x38]
push eax
call ecx
add esp, 0x1c
test eax, eax
jne 0x1002d58c
movzx ecx, byte [esp + 0x19]
xor edx, edx
shl ecx, 6
mov word [ebp + 0x6e], dx
movzx edx, byte [esp + 0x18]
mov word [ebp + 0x6c], ax
movsx eax, byte [esp + 0x1a]
mov dword [ebp + 0x18], ecx
shl edx, 6
mov ecx, eax
shl ecx, 6
mov dword [ebp + 0x1c], edx
mov dword [ebp + 0x20], ecx
movsx ecx, byte [esp + 0x1b]
mov edx, ecx
shl edx, 6
mov dword [ebp + 0x24], edx
movzx edx, byte [esp + 0x1c]
shl edx, 6
mov dword [ebp + 0x28], edx
movsx edx, byte [esp + 0x1d]
mov esi, edx
shl esi, 6
mov dword [ebp + 0x2c], esi
movsx esi, byte [esp + 0x1e]
mov edi, esi
shl edi, 6
mov dword [ebp + 0x30], edi
movzx edi, byte [esp + 0x1f]
shl edi, 6
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x48], 0x62697473
test bl, 0x10
je 0x1002d579
pop edi
pop ebx
mov dword [ebp + 0x68], esi
pop esi
mov dword [ebp + 0x64], edx
xor eax, eax
pop ebp
add esp, 0x3f8
ret
pop edi
pop ebx
mov dword [ebp + 0x64], eax
pop esi
mov dword [ebp + 0x68], ecx
xor eax, eax
pop ebp
add esp, 0x3f8
ret
test ebx, 0x4000
je 0x1002d5a4
pop edi
pop ebx
pop esi
mov eax, 6
pop ebp
add esp, 0x3f8
ret
cmp dword [esi + 0x764], 0
je 0x1002d757
mov eax, dword [esp + 0x414]
push eax
lea edi, [esi + 0x7e8]
call fcn.100296d0
movzx ecx, al
add esp, 4
cmp ecx, dword [esi + 0x764]
jb 0x1002d5da
mov al, byte [esi + 0x764]
dec al
mov edi, dword [esi + 0x56c]
movzx edx, al
mov eax, dword [esi + edx*4 + 0x768]
lea ecx, [esi + edx*4 + 0x768]
mov edx, dword [eax + 0x30]
mov esi, dword [eax + 0x40]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x38], eax
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x44]
mov eax, dword [ecx + 0x48]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
cmp edi, esi
je 0x1002d654
mov ecx, dword [ebp + 0xa4]
push esi
push edi
push ecx
call fcn.100010f0
mov edx, dword [ebp + 0xa8]
push esi
push edi
push edx
mov dword [ebp + 0xa4], eax
call fcn.100010f0
add esp, 0x18
mov dword [ebp + 0xa8], eax
mov byte [esp + 0x12], 1
mov edi, dword [esp + 0x410]
xor eax, eax
mov word [ebp + 0x6e], ax
lea eax, [ebp + 0x6c]
xor ecx, ecx
mov dword [esp + 0x24], eax
mov word [eax], cx
mov eax, ebx
and eax, 1
mov dword [esp + 0x50], eax
jne 0x1002d682
mov byte [esp + 0x4c], 1
test bl, 2
je 0x1002d687
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov edx, ebx
sar edx, 0x10
and edx, 0xf
push edx
push eax
push edi
push ecx
mov edi, ebp
lea eax, [esp + 0x78]
mov dword [ebp + 0x48], 0x6f75746c
call fcn.1002b5f0
add esp, 0x10
test ebx, 0x100
je 0x1002d6c0
mov byte [esp + 0x359], 1
mov edi, dword [esp + 0x414]
mov eax, dword [esp + 0x20]
lea esi, [esp + 0x54]
lea edx, [esp + 0x14]
mov ecx, edi
mov byte [esp + 0xaa], 0
call fcn.1002b920
mov dword [esp + 0x28], eax
test eax, eax
jne 0x1002db3b
mov edx, dword [esp + 0x410]
push edi
push edx
lea ebx, [esp + 0x70]
call fcn.1002b660
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
jne 0x1002db3b
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
push edi
push eax
mov ecx, ebx
push ecx
call fcn.1002bc10
mov esi, dword [esp + 0x2c]
mov ebx, eax
push edi
lea ecx, [esp + 0x24]
mov eax, esi
mov dword [esp + 0x38], ebx
call fcn.1002b980
xor edx, edx
add esp, 0x10
cmp ebx, edx
jne 0x1002db3b
mov eax, dword [esi + 0x80]
cmp dword [eax + 0x34], edx
je 0x1002d798
mov dword [ebp + 0x8c], edx
jmp 0x1002d7c0
mov eax, dword [esi + 0x55c]
mov dword [esp + 0x2c], eax
mov ecx, dword [esi + 0x560]
mov dword [esp + 0x30], ecx
mov edx, dword [esi + 0x564]
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0x568]
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x570]
mov edx, dword [esi + 0x574]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jmp 0x1002d65b
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x4b0]
cmp eax, edx
je 0x1002d7c6
mov edx, dword [esp + 0x414]
mov eax, dword [eax + edx*4]
mov ecx, dword [ecx + 0x4b4]
lea edx, [eax + ecx - 1]
mov dword [ebp + 0x8c], edi
mov dword [ebp + 0x88], edx
lea edx, [esp + 0x68]
call fcn.1002b590
mov eax, dword [esi + 0x80]
mov eax, dword [eax + 0x34]
xor ebx, ebx
cmp eax, ebx
je 0x1002d85c
mov ecx, dword [eax]
cmp dword [ecx + 8], ebx
je 0x1002d85c
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x80]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov eax, dword [edx + 0x34]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 8]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x418]
push ebx
push edx
push eax
call ecx
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x58]
add esp, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
cmp eax, ebx
jne 0x1002db3b
test dword [esp + 0x418], 0x400
je 0x1002d8c0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x350]
mov eax, dword [ebp + 0x9c]
mov dword [ebp + 0x20], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 0x28], edx
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x30]
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
pop edi
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x18]
pop ebx
pop esi
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov byte [eax + 8], 1
mov eax, dword [esp + 0x1c]
pop ebp
add esp, 0x3f8
ret
mov eax, dword [esp + 0x350]
mov dword [ebp + 0x28], eax
lea edi, [ebp + 0x18]
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x9c]
mov byte [eax + 8], 0
cmp byte [esi + 0x128], 0
je 0x1002d939
cmp word [esi + 0x14e], bx
jbe 0x1002d939
cmp dword [esi + 0x150], ebx
je 0x1002d939
mov ecx, dword [esi + 0x214]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x418]
lea eax, [esp + 0x18]
push eax
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov eax, dword [ecx + 0x9c]
push 1
push esi
mov byte [esp + 0x27], 1
call eax
movsx ecx, word [esp + 0x28]
movzx edx, word [esp + 0x34]
add esp, 0x14
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], edx
jmp 0x1002d974
mov eax, 0xffff
mov byte [esp + 0x13], 0
cmp word [esi + 0x170], ax
je 0x1002d961
movsx ecx, word [esi + 0x1b8]
movsx edx, word [esi + 0x1b6]
sub edx, ecx
mov dword [edi + 0x1c], edx
jmp 0x1002d974
movsx eax, word [esi + 0xde]
movsx ecx, word [esi + 0xdc]
sub ecx, eax
mov dword [edi + 0x1c], ecx
mov edx, dword [edi + 0x1c]
mov eax, dword [esp + 0x410]
mov dword [ebp + 0x3c], edx
mov dword [ebp + 0x48], 0x6f75746c
mov dword [ebp + 0x7c], ebx
cmp eax, ebx
je 0x1002d99d
cmp word [eax + 0xe], 0x18
jae 0x1002d99d
mov dword [ebp + 0x7c], 0x100
or dword [ebp + 0x7c], 4
mov eax, 0x10000
cmp dword [esp + 0x2c], eax
jne 0x1002d9be
cmp dword [esp + 0x38], eax
jne 0x1002d9be
cmp dword [esp + 0x30], ebx
jne 0x1002d9be
cmp dword [esp + 0x34], ebx
je 0x1002d9d2
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.10002b60
add esp, 8
jmp 0x1002d9d6
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x1002d9e6
test esi, esi
je 0x1002d9f1
push esi
push eax
push ebx
call fcn.10002ac0
add esp, 0xc
mov ecx, dword [edi + 0x10]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0
call fcn.10002b00
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x1c]
add ecx, edx
mov dword [edi + 0x10], ecx
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], eax
call fcn.10002b00
mov eax, dword [esp + 0x50]
add eax, esi
add esp, 0x10
cmp dword [esp + 0x50], 0
mov dword [edi + 0x1c], eax
je 0x1002da58
cmp byte [esp + 0x12], 0
je 0x1002dad4
cmp byte [esp + 0x4c], 0
mov ecx, dword [ebp + 0xa8]
mov esi, dword [ebx + 4]
mov ebx, dword [ebp + 0xa4]
mov dword [esp + 0x14], ecx
je 0x1002da7c
cmp dword [esp + 0xac], 0
jne 0x1002daaf
mov edx, dword [esp + 0x24]
movsx ebp, word [edx + 2]
test ebp, ebp
jle 0x1002daaf
mov eax, dword [esi]
push ebx
push eax
call fcn.10001230
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 4]
push ecx
push edx
mov dword [esi], eax
call fcn.10001230
mov dword [esi + 4], eax
dec ebp
add esp, 0x10
add esi, 8
test ebp, ebp
jg 0x1002da88
mov eax, dword [edi + 0x10]
push ebx
push eax
call fcn.10001230
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0x1c]
push ecx
push edx
mov dword [edi + 0x10], eax
call fcn.10001230
mov ebx, dword [esp + 0x34]
add esp, 0x10
mov dword [edi + 0x1c], eax
lea eax, [esp + 0x58]
push eax
push ebx
call fcn.10002a30
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
sub edx, ecx
mov dword [edi], edx
mov edx, eax
sub edx, dword [esp + 0x64]
add esp, 8
cmp byte [esp + 0x13], 0
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
je 0x1002db24
mov eax, dword [edi + 0x10]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x14], ecx
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x3f8
ret
test byte [esp + 0x418], 0x10
je 0x1002db3b
mov eax, dword [edi + 0x1c]
push eax
push edi
call fcn.10001a80
add esp, 8
mov eax, dword [esp + 0x28]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x3f8
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
test ecx, ecx
jne 0x1002dca2
mov eax, 0x25
ret
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x1002dcad
or edx, 3
test dl, 1
je 0x1002dcc5
xor eax, eax
mov dword [esp + 0x10], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
jmp 0x1002d3d0
test eax, eax
je 0x1002dcb4
push esi
mov esi, dword [eax]
cmp esi, dword [ecx + 4]
pop esi
je 0x1002dcb4
mov eax, 0x23
ret