Function at 0x1002eb20
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 0x1002ebb8
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 0x1002ebb8
jl 0x1002eb8d
cmp dword [esp + 0x14], ecx
jae 0x1002ebb8
cmp byte [edi + 0x3a], 0
je 0x1002eba8
movzx eax, byte [esp + 0x40]
and ebp, 1
cdq
cmp eax, ebp
jne 0x1002ebb8
test edx, edx
jne 0x1002ebb8
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x1002ebb3
mov dword [ebp], edx
mov esi, 1
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], eax
je 0x1002ec26
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 0x1002ec26
jl 0x1002ebfd
cmp dword [esp + 0x14], ecx
jae 0x1002ec26
cmp byte [edi + 0x3a], 0
je 0x1002ec1a
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x14], edx
cdq
cmp eax, dword [esp + 0x14]
jne 0x1002ec26
test edx, edx
jne 0x1002ec26
test ebp, ebp
je 0x1002ec25
lea eax, [ebx + 1]
mov dword [ebp + esi*4], eax
inc esi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1002ed90
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 0x1002eca6
jl 0x1002ec73
cmp dword [esp + 0x14], ecx
jae 0x1002eca6
cmp byte [edi + 0x3a], 0
mov ecx, edx
je 0x1002ec96
mov ecx, dword [edi + ebx*8 + 0x78]
movzx eax, byte [esp + 0x40]
and ecx, 1
cdq
cmp eax, ecx
jne 0x1002eca6
test edx, edx
jne 0x1002eca6
lea ecx, [edi + 0x40]
lea edx, [edi + 0x40]
mov eax, dword [esp + 0x44]
mov ebp, edx
test eax, eax
je 0x1002eca5
mov dword [eax + esi*4], ebx
mov ebp, ecx
inc esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1002ed18
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 0x1002ed10
jl 0x1002ece4
cmp dword [esp + 0x14], ecx
jae 0x1002ed10
cmp byte [edi + 0x3a], 0
je 0x1002ed01
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x14], edx
cdq
cmp eax, dword [esp + 0x14]
jne 0x1002ed10
test edx, edx
jne 0x1002ed10
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002ed0c
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 0x1002ed84
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 0x1002ed80
jl 0x1002ed57
cmp dword [esp + 0x14], ecx
jae 0x1002ed80
cmp byte [edi + 0x3a], 0
je 0x1002ed74
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x1c], edx
cdq
cmp eax, dword [esp + 0x1c]
jne 0x1002ed80
test edx, edx
jne 0x1002ed80
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002ed7f
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 0x1002ed93
lea ebp, [edi + 0x40]
cmp eax, dword [esp + 0x20]
je 0x1002eee0
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 0x1002ee08
jl 0x1002eddc
cmp dword [esp + 0x30], ecx
jae 0x1002ee08
cmp byte [edi + 0x3a], 0
je 0x1002edfc
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x30], edx
cdq
cmp eax, dword [esp + 0x30]
jne 0x1002ee08
test edx, edx
jne 0x1002ee08
lea ebp, [edi + 0x40]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002ee07
mov dword [eax + esi*4], ebx
inc esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1002ee7a
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 0x1002ee72
jl 0x1002ee46
cmp dword [esp + 0x30], ecx
jae 0x1002ee72
cmp byte [edi + 0x3a], 0
je 0x1002ee63
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x28], edx
cdq
cmp eax, dword [esp + 0x28]
jne 0x1002ee72
test edx, edx
jne 0x1002ee72
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002ee6e
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 0x1002eee0
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 0x1002eee0
jl 0x1002eead
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp]
jae 0x1002eee0
cmp byte [edi + 0x3a], 0
je 0x1002eeca
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x28], edx
cdq
cmp eax, dword [esp + 0x28]
jne 0x1002eee0
test edx, edx
jne 0x1002eee0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002eed5
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