Function at 0x1002cc80
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 0x1002cd18
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 0x1002cd18
jl 0x1002cced
cmp dword [esp + 0x14], ecx
jae 0x1002cd18
cmp byte [edi + 0x3a], 0
je 0x1002cd08
movzx eax, byte [esp + 0x40]
and ebp, 1
cdq
cmp eax, ebp
jne 0x1002cd18
test edx, edx
jne 0x1002cd18
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x1002cd13
mov dword [ebp], edx
mov esi, 1
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], eax
je 0x1002cd86
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 0x1002cd86
jl 0x1002cd5d
cmp dword [esp + 0x14], ecx
jae 0x1002cd86
cmp byte [edi + 0x3a], 0
je 0x1002cd7a
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x14], edx
cdq
cmp eax, dword [esp + 0x14]
jne 0x1002cd86
test edx, edx
jne 0x1002cd86
test ebp, ebp
je 0x1002cd85
lea eax, [ebx + 1]
mov dword [ebp + esi*4], eax
inc esi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1002cef0
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 0x1002ce06
jl 0x1002cdd3
cmp dword [esp + 0x14], ecx
jae 0x1002ce06
cmp byte [edi + 0x3a], 0
mov ecx, edx
je 0x1002cdf6
mov ecx, dword [edi + ebx*8 + 0x78]
movzx eax, byte [esp + 0x40]
and ecx, 1
cdq
cmp eax, ecx
jne 0x1002ce06
test edx, edx
jne 0x1002ce06
lea ecx, [edi + 0x40]
lea edx, [edi + 0x40]
mov eax, dword [esp + 0x44]
mov ebp, edx
test eax, eax
je 0x1002ce05
mov dword [eax + esi*4], ebx
mov ebp, ecx
inc esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1002ce78
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 0x1002ce70
jl 0x1002ce44
cmp dword [esp + 0x14], ecx
jae 0x1002ce70
cmp byte [edi + 0x3a], 0
je 0x1002ce61
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x14], edx
cdq
cmp eax, dword [esp + 0x14]
jne 0x1002ce70
test edx, edx
jne 0x1002ce70
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002ce6c
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 0x1002cee4
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 0x1002cee0
jl 0x1002ceb7
cmp dword [esp + 0x14], ecx
jae 0x1002cee0
cmp byte [edi + 0x3a], 0
je 0x1002ced4
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x1c], edx
cdq
cmp eax, dword [esp + 0x1c]
jne 0x1002cee0
test edx, edx
jne 0x1002cee0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002cedf
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 0x1002cef3
lea ebp, [edi + 0x40]
cmp eax, dword [esp + 0x20]
je 0x1002d040
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 0x1002cf68
jl 0x1002cf3c
cmp dword [esp + 0x30], ecx
jae 0x1002cf68
cmp byte [edi + 0x3a], 0
je 0x1002cf5c
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x30], edx
cdq
cmp eax, dword [esp + 0x30]
jne 0x1002cf68
test edx, edx
jne 0x1002cf68
lea ebp, [edi + 0x40]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002cf67
mov dword [eax + esi*4], ebx
inc esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1002cfda
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 0x1002cfd2
jl 0x1002cfa6
cmp dword [esp + 0x30], ecx
jae 0x1002cfd2
cmp byte [edi + 0x3a], 0
je 0x1002cfc3
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x28], edx
cdq
cmp eax, dword [esp + 0x28]
jne 0x1002cfd2
test edx, edx
jne 0x1002cfd2
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002cfce
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 0x1002d040
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 0x1002d040
jl 0x1002d00d
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp]
jae 0x1002d040
cmp byte [edi + 0x3a], 0
je 0x1002d02a
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x28], edx
cdq
cmp eax, dword [esp + 0x28]
jne 0x1002d040
test edx, edx
jne 0x1002d040
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002d035
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