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

Disassembly:
sub esp, 0x14
mov edx, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
xor esi, esi
mov ebx, edx
movzx eax, word [edi + 0x72]
dec eax
mov dword [esp + 0x20], eax
movzx eax, word [edi + 0x70]
dec eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x2c], esi
je 0x1002c958
mov ebp, dword [edi + edx*8 + 0x70]
dec edx
mov eax, ebp
mov dword [esp + 0x34], edx
mov ecx, dword [edi + edx*8 + 0x7c]
mov edx, dword [esp + 0x10]
shrd eax, ecx, 1
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x34]
sar ecx, 1
sub dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
sbb eax, ecx
mov ecx, dword [edi + 0x40]
test eax, eax
jg 0x1002c958
jl 0x1002c92d
cmp dword [esp + 0x14], ecx
jae 0x1002c958
cmp byte [edi + 0x3a], 0
je 0x1002c948
movzx eax, byte [esp + 0x40]
and ebp, 1
cdq
cmp eax, ebp
jne 0x1002c958
test edx, edx
jne 0x1002c958
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x1002c953
mov dword [ebp], edx
mov esi, 1
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], eax
je 0x1002c9c6
mov edx, dword [edi + ebx*8 + 0x80]
mov eax, edx
mov ecx, dword [edi + ebx*8 + 0x84]
mov ebp, dword [esp + 0x10]
shrd eax, ecx, 1
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x44]
sar ecx, 1
sub dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
sbb eax, ecx
mov ecx, dword [edi + 0x40]
test eax, eax
jg 0x1002c9c6
jl 0x1002c99d
cmp dword [esp + 0x14], ecx
jae 0x1002c9c6
cmp byte [edi + 0x3a], 0
je 0x1002c9ba
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x14], edx
cdq
cmp eax, dword [esp + 0x14]
jne 0x1002c9c6
test edx, edx
jne 0x1002c9c6
test ebp, ebp
je 0x1002c9c5
lea eax, [ebx + 1]
mov dword [ebp + esi*4], eax
inc esi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1002cb30
movzx eax, word [edi + 0x70]
lea edx, [edi + 0x40]
sub ebx, eax
mov ebp, edx
mov dword [esp + 0x1c], ebx
mov ecx, dword [edi + ebx*8 + 0x7c]
mov eax, dword [edi + ebx*8 + 0x78]
mov edi, dword [esp + 0x10]
shrd eax, ecx, 1
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x28]
sar ecx, 1
sub dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
sbb eax, ecx
mov ecx, dword [edx]
test eax, eax
jg 0x1002ca46
jl 0x1002ca13
cmp dword [esp + 0x14], ecx
jae 0x1002ca46
cmp byte [edi + 0x3a], 0
mov ecx, edx
je 0x1002ca36
mov ecx, dword [edi + ebx*8 + 0x78]
movzx eax, byte [esp + 0x40]
and ecx, 1
cdq
cmp eax, ecx
jne 0x1002ca46
test edx, edx
jne 0x1002ca46
lea ecx, [edi + 0x40]
lea edx, [edi + 0x40]
mov eax, dword [esp + 0x44]
mov ebp, edx
test eax, eax
je 0x1002ca45
mov dword [eax + esi*4], ebx
mov ebp, ecx
inc esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1002cab8
mov edx, dword [edi + ebx*8 + 0x70]
dec ebx
mov eax, edx
mov ecx, dword [edi + ebx*8 + 0x7c]
mov edi, dword [esp + 0x10]
shrd eax, ecx, 1
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x28]
sar ecx, 1
sub dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
sbb eax, ecx
mov ecx, dword [ebp]
test eax, eax
jg 0x1002cab0
jl 0x1002ca84
cmp dword [esp + 0x14], ecx
jae 0x1002cab0
cmp byte [edi + 0x3a], 0
je 0x1002caa1
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x14], edx
cdq
cmp eax, dword [esp + 0x14]
jne 0x1002cab0
test edx, edx
jne 0x1002cab0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002caac
mov dword [eax + esi*4], ebx
inc esi
lea ebp, [edi + 0x40]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x18]
je 0x1002cb24
mov edx, dword [edi + ebx*8 + 0x80]
inc ebx
mov eax, edx
mov ecx, dword [edi + ebx*8 + 0x7c]
mov edi, dword [esp + 0x10]
shrd eax, ecx, 1
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x28]
sar ecx, 1
sub dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
sbb eax, ecx
mov ecx, dword [ebp]
test eax, eax
jg 0x1002cb20
jl 0x1002caf7
cmp dword [esp + 0x14], ecx
jae 0x1002cb20
cmp byte [edi + 0x3a], 0
je 0x1002cb14
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x1c], edx
cdq
cmp eax, dword [esp + 0x1c]
jne 0x1002cb20
test edx, edx
jne 0x1002cb20
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002cb1f
mov dword [eax + esi*4], ebx
inc esi
dec ebx
lea ebp, [edi + 0x40]
movzx eax, word [edi + 0x70]
add ebx, eax
mov eax, dword [esp + 0x30]
jmp 0x1002cb33
lea ebp, [edi + 0x40]
cmp eax, dword [esp + 0x20]
je 0x1002cc80
movzx eax, word [edi + 0x70]
add ebx, eax
mov dword [esp + 0x20], ebx
mov edx, dword [edi + ebx*8 + 0x78]
mov eax, edx
mov ecx, dword [edi + ebx*8 + 0x7c]
mov edi, dword [esp + 0x10]
shrd eax, ecx, 1
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x28]
sar ecx, 1
sub dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
sbb eax, ecx
mov ecx, dword [ebp]
test eax, eax
jg 0x1002cba8
jl 0x1002cb7c
cmp dword [esp + 0x30], ecx
jae 0x1002cba8
cmp byte [edi + 0x3a], 0
je 0x1002cb9c
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x30], edx
cdq
cmp eax, dword [esp + 0x30]
jne 0x1002cba8
test edx, edx
jne 0x1002cba8
lea ebp, [edi + 0x40]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002cba7
mov dword [eax + esi*4], ebx
inc esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1002cc1a
mov edx, dword [edi + ebx*8 + 0x70]
dec ebx
mov eax, edx
mov ecx, dword [edi + ebx*8 + 0x7c]
mov edi, dword [esp + 0x10]
shrd eax, ecx, 1
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x28]
sar ecx, 1
sub dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
sbb eax, ecx
mov ecx, dword [ebp]
test eax, eax
jg 0x1002cc12
jl 0x1002cbe6
cmp dword [esp + 0x30], ecx
jae 0x1002cc12
cmp byte [edi + 0x3a], 0
je 0x1002cc03
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x28], edx
cdq
cmp eax, dword [esp + 0x28]
jne 0x1002cc12
test edx, edx
jne 0x1002cc12
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002cc0e
mov dword [eax + esi*4], ebx
inc esi
lea ebp, [edi + 0x40]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x18]
je 0x1002cc80
mov edx, dword [edi + ebx*8 + 0x80]
inc ebx
mov eax, edx
mov ecx, dword [edi + ebx*8 + 0x7c]
shrd eax, ecx, 1
sar ecx, 1
sub dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
sbb eax, ecx
test eax, eax
jg 0x1002cc80
jl 0x1002cc4d
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp]
jae 0x1002cc80
cmp byte [edi + 0x3a], 0
je 0x1002cc6a
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x28], edx
cdq
cmp eax, dword [esp + 0x28]
jne 0x1002cc80
test edx, edx
jne 0x1002cc80
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002cc75
mov dword [eax + esi*4], ebx
pop edi
lea eax, [esi + 1]
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret