Function at 0x1002daf0
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 0x1002db88
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 0x1002db88
jl 0x1002db5d
cmp dword [esp + 0x14], ecx
jae 0x1002db88
cmp byte [edi + 0x3a], 0
je 0x1002db78
movzx eax, byte [esp + 0x40]
and ebp, 1
cdq
cmp eax, ebp
jne 0x1002db88
test edx, edx
jne 0x1002db88
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x1002db83
mov dword [ebp], edx
mov esi, 1
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], eax
je 0x1002dbf6
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 0x1002dbf6
jl 0x1002dbcd
cmp dword [esp + 0x14], ecx
jae 0x1002dbf6
cmp byte [edi + 0x3a], 0
je 0x1002dbea
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x14], edx
cdq
cmp eax, dword [esp + 0x14]
jne 0x1002dbf6
test edx, edx
jne 0x1002dbf6
test ebp, ebp
je 0x1002dbf5
lea eax, [ebx + 1]
mov dword [ebp + esi*4], eax
inc esi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1002dd60
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 0x1002dc76
jl 0x1002dc43
cmp dword [esp + 0x14], ecx
jae 0x1002dc76
cmp byte [edi + 0x3a], 0
mov ecx, edx
je 0x1002dc66
mov ecx, dword [edi + ebx*8 + 0x78]
movzx eax, byte [esp + 0x40]
and ecx, 1
cdq
cmp eax, ecx
jne 0x1002dc76
test edx, edx
jne 0x1002dc76
lea ecx, [edi + 0x40]
lea edx, [edi + 0x40]
mov eax, dword [esp + 0x44]
mov ebp, edx
test eax, eax
je 0x1002dc75
mov dword [eax + esi*4], ebx
mov ebp, ecx
inc esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1002dce8
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 0x1002dce0
jl 0x1002dcb4
cmp dword [esp + 0x14], ecx
jae 0x1002dce0
cmp byte [edi + 0x3a], 0
je 0x1002dcd1
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x14], edx
cdq
cmp eax, dword [esp + 0x14]
jne 0x1002dce0
test edx, edx
jne 0x1002dce0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002dcdc
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 0x1002dd54
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 0x1002dd50
jl 0x1002dd27
cmp dword [esp + 0x14], ecx
jae 0x1002dd50
cmp byte [edi + 0x3a], 0
je 0x1002dd44
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x1c], edx
cdq
cmp eax, dword [esp + 0x1c]
jne 0x1002dd50
test edx, edx
jne 0x1002dd50
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002dd4f
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 0x1002dd63
lea ebp, [edi + 0x40]
cmp eax, dword [esp + 0x20]
je 0x1002deb0
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 0x1002ddd8
jl 0x1002ddac
cmp dword [esp + 0x30], ecx
jae 0x1002ddd8
cmp byte [edi + 0x3a], 0
je 0x1002ddcc
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x30], edx
cdq
cmp eax, dword [esp + 0x30]
jne 0x1002ddd8
test edx, edx
jne 0x1002ddd8
lea ebp, [edi + 0x40]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002ddd7
mov dword [eax + esi*4], ebx
inc esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1002de4a
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 0x1002de42
jl 0x1002de16
cmp dword [esp + 0x30], ecx
jae 0x1002de42
cmp byte [edi + 0x3a], 0
je 0x1002de33
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x28], edx
cdq
cmp eax, dword [esp + 0x28]
jne 0x1002de42
test edx, edx
jne 0x1002de42
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002de3e
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 0x1002deb0
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 0x1002deb0
jl 0x1002de7d
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp]
jae 0x1002deb0
cmp byte [edi + 0x3a], 0
je 0x1002de9a
movzx eax, byte [esp + 0x40]
and edx, 1
mov dword [esp + 0x28], edx
cdq
cmp eax, dword [esp + 0x28]
jne 0x1002deb0
test edx, edx
jne 0x1002deb0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002dea5
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