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

Disassembly:
sub esp, 0xbf0
mov eax, dword [0x10073980]
xor eax, esp
mov dword [esp + 0xbec], eax
mov eax, dword [esp + 0xbf4]
mov ecx, dword [esp + 0xbf8]
mov edx, dword [esp + 0xbfc]
push ebp
xor ebp, ebp
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 8], ebp
cmp eax, ebp
je 0x1002b7af
cmp dword [eax + 0x10], ebp
je 0x1002b7af
cmp ecx, ebp
je 0x1002b7af
cmp edx, ebp
je 0x1002b7af
push ebx
push edi
mov edi, dword [ecx]
cmp edi, ebp
je 0x1002b792
mov ecx, dword [ecx + 4]
cmp ecx, ebp
jle 0x1002b792
mov ebx, dword [edx]
cmp ebx, ebp
je 0x1002b792
mov edx, dword [edx + 4]
cmp edx, ebp
jle 0x1002b792
push esi
mov esi, dword [esp + 0xc10]
cmp esi, ebp
je 0x1002a9c6
cmp esi, dword [eax + 0xc]
jle 0x1002a9d0
mov esi, dword [eax + 0xc]
mov dword [esp + 0xc10], esi
cmp dword [eax + 8], esi
jle 0x1002aa01
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ebp
mov dword [ecx + 4], ebp
mov eax, 0x82010401
pop esi
pop edi
pop ebx
pop ebp
mov ecx, dword [esp + 0xbec]
xor ecx, esp
call fcn.1002d0ef
add esp, 0xbf0
ret
add ecx, edi
mov dword [esp + 0x4c], ecx
mov ecx, eax
sub ecx, dword [eax + 0x30]
add edx, ebx
sub ecx, 0xa4
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x58]
cmp ecx, ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], eax
lea esi, [esp + 0x7c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x88], 1
mov dword [esp + 0x8c], ebp
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], edx
jle 0x1002aa79
cmp dword [eax + 0x5c], 0xffffffff
mov dword [esp + 0x90], ecx
je 0x1002aa6b
mov dword [esp + 0xb0], edi
add edi, ecx
mov dword [esp + 0x10], edi
jmp 0x1002aa8e
mov ecx, dword [eax + 0x50]
add ecx, edi
mov dword [esp + 0xb0], ecx
jmp 0x1002aa8e
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xa0], ebp
mov ebp, dword [eax + 0x68]
mov dword [esp + 0xac], edi
mov dword [esp + 0xb4], 1
test ebp, ebp
jle 0x1002ab02
mov ecx, dword [eax + 0x64]
add ecx, ebx
sub edx, ecx
cmp edx, ebp
jge 0x1002aac3
mov dword [esp + 0x14], 0x82010407
jmp 0x1002ab02
sub ebp, 2
je 0x1002aaf7
sub ebp, 2
je 0x1002aaec
sub ebp, 4
je 0x1002aadd
mov dl, byte [esp + 0xc10]
mov byte [ecx], dl
jmp 0x1002ab02
mov eax, dword [esp + 0xc10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x1002ab02
mov eax, dword [esp + 0xc10]
mov dword [ecx], eax
jmp 0x1002ab02
mov dx, word [esp + 0xc10]
mov word [ecx], dx
mov eax, dword [esp + 0x14]
test eax, eax
jns 0x1002ab1f
mov edx, dword [esp + 0x54]
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [edx + 4], ecx
jmp 0x1002a9e8
xor eax, eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x80], eax
mov dword [esp + 0x18], eax
jmp 0x1002ab40
cmp dword [esp + 0x18], 0
mov ebx, dword [esp + 0x28]
je 0x1002ac9f
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x18], 0
test ecx, ecx
jle 0x1002ac4a
mov eax, edi
sub eax, dword [esi + 0x30]
sub ecx, 2
cdq
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
je 0x1002ac3d
sub ecx, 2
je 0x1002ac2f
sub ecx, 4
je 0x1002ab91
mov ecx, dword [esi + 0x34]
mov byte [ecx], al
jmp 0x1002ac4a
mov ebp, edx
mov ebx, eax
shrd ebx, ebp, 0x10
mov edi, edx
and edi, 0xff0000
xor ecx, ecx
or ecx, ebx
xor ebx, ebx
shr ebp, 0x10
or edi, ebp
shrd ecx, edi, 0x10
or ecx, ebx
mov ebp, edx
shr edi, 0x10
and ebp, 0xff00
or edi, ebp
movzx ebp, byte [esp + 0x60]
shrd ecx, edi, 0x10
or ecx, ebx
mov ebx, eax
shld edx, ebx, 0x10
shl ebx, 0x10
shr edi, 0x10
and eax, 0xff00
or ebx, eax
mov eax, dword [esp + 0x5c]
or edi, ebp
xor ebp, ebp
or edx, ebp
shld edx, ebx, 0x10
shl ebx, 0x10
and eax, 0xff0000
or ebx, eax
mov eax, dword [esp + 0x5c]
or edx, ebp
shld edx, ebx, 0x10
shl ebx, 0x10
and eax, 0xff000000
or ebx, eax
mov eax, dword [esi + 0x34]
or edx, ebp
shrd ecx, edi, 8
shld edx, ebx, 8
shl ebx, 8
shr edi, 8
or ecx, ebx
mov ebx, dword [esp + 0x28]
or edi, edx
mov dword [eax], ecx
mov dword [eax + 4], edi
mov edi, dword [esp + 0x10]
jmp 0x1002ac4a
push eax
call dword [0x10062360]
mov ecx, dword [esi + 0x34]
mov dword [ecx], eax
jmp 0x1002ac4a
push eax
call dword [0x100623a4]
mov edx, dword [esi + 0x34]
mov word [edx], ax
cmp dword [esi + 0xc], 0
jle 0x1002ac7a
cmp edi, dword [esp + 0x4c]
ja 0x1002b6f8
cmp dword [esi + 0x14], 0
jle 0x1002ac7a
mov eax, dword [esi + 0x18]
test eax, eax
jge 0x1002ac72
mov dword [esi + 0x34], edi
sub edi, eax
mov dword [esp + 0x10], edi
jmp 0x1002ac77
add eax, edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], edi
cmp dword [esp + 0x30], 1
jle 0x1002ac9f
mov eax, dword [esi + 4]
test byte [eax + 0x40], 4
je 0x1002ac92
mov eax, dword [eax + 0x14]
add dword [esi - 0x38], eax
jmp 0x1002ac98
mov ecx, dword [ebx + 0x1c]
add dword [esi - 0x38], ecx
mov dword [esi + 0x24], 0
mov ebp, dword [esi + 0xc]
test ebp, ebp
jg 0x1002ad06
mov eax, dword [esp + 0x30]
dec eax
sub esi, 0x5c
mov dword [esp + 0x30], eax
test eax, eax
jle 0x1002b720
mov eax, dword [esi]
cmp dword [eax + 0x10], 0
mov dword [esp + 0x28], eax
jne 0x1002acdb
mov edx, dword [eax + 0x1c]
mov eax, dword [esi + 0x38]
dec dword [esi + 0xc]
add dword [esi + 0x28], edx
mov dword [esp + 0x18], eax
jmp 0x1002b6eb
inc dword [esi + 0x10]
mov ecx, dword [esi + 0x10]
cmp ecx, dword [eax + 0x2c]
jl 0x1002b6eb
mov ecx, dword [eax + 0x1c]
mov edx, dword [esi + 0x38]
dec dword [esi + 0xc]
add dword [esi + 0x28], ecx
mov dword [esi + 0x10], 0
mov dword [esp + 0x18], edx
jmp 0x1002b6eb
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0xc10]
lea ecx, [eax + eax*2]
shl ecx, 6
cmp dword [ecx + ebx + 0xc0], edx
lea ecx, [ecx + ebx + 0xbc]
mov dword [esp + 0x2c], ecx
jle 0x1002ad70
cmp dword [ebx + 0x10], 0
jne 0x1002ad46
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esi + 0x38]
dec ebp
add dword [esi + 0x28], eax
mov dword [esi + 0xc], ebp
mov dword [esp + 0x18], ecx
jmp 0x1002b6eb
inc eax
cmp eax, dword [ebx + 0x2c]
mov dword [esi + 0x10], eax
jl 0x1002b6eb
mov edx, dword [ebx + 0x1c]
mov eax, dword [esi + 0x38]
dec ebp
add dword [esi + 0x28], edx
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], ebp
mov dword [esp + 0x18], eax
jmp 0x1002b6eb
movzx edx, word [ecx + 0x40]
test dl, 2
je 0x1002adab
cmp dword [ebx + 0x10], 0
jne 0x1002ad95
mov ecx, dword [ebx + 0x1c]
mov edx, dword [esi + 0x38]
dec ebp
add dword [esi + 0x28], ecx
mov dword [esi + 0xc], ebp
mov dword [esp + 0x18], edx
jmp 0x1002b6eb
inc eax
cmp eax, dword [ebx + 0x2c]
mov dword [esi + 0x10], eax
jl 0x1002b6eb
mov dword [esi + 0x10], 0
jmp 0x1002ad30
mov eax, dword [esi + 0x28]
mov ebp, dword [ecx + 0x28]
mov ebx, dword [esi + 0x2c]
add ebp, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x40], ebx
test dl, 4
je 0x1002add3
mov ebp, dword [ebp]
mov edx, dword [ecx + 0x10]
add edx, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x40], edx
mov ebx, dword [ecx + 0x54]
test ebx, ebx
jle 0x1002ae30
mov edx, dword [ecx + 0x58]
add edx, eax
mov eax, ebx
sub eax, 2
je 0x1002ae20
sub eax, 2
je 0x1002ae11
sub eax, 4
je 0x1002ae00
movzx eax, byte [edx]
cdq
mov dword [esp + 0x3c], edx
mov ebx, eax
mov dword [esp + 0x34], eax
jmp 0x1002ae37
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x3c], edx
mov ebx, eax
mov dword [esp + 0x34], eax
jmp 0x1002ae37
mov eax, dword [edx]
cdq
mov dword [esp + 0x3c], edx
mov ebx, eax
mov dword [esp + 0x34], eax
jmp 0x1002ae37
movzx eax, word [edx]
cdq
mov dword [esp + 0x3c], edx
mov ebx, eax
mov dword [esp + 0x34], eax
jmp 0x1002ae37
mov ebx, dword [ecx + 0x20]
mov dword [esp + 0x34], ebx
xor edx, edx
cmp ebx, edx
jl 0x1002b712
mov eax, dword [ecx + 0x20]
cmp eax, ebx
jge 0x1002ae50
cmp eax, edx
jg 0x1002b712
cmp ebx, edx
jg 0x1002aeb0
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x10], edx
jne 0x1002ae79
mov eax, dword [esi + 0xc]
dec eax
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x1c]
add eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x28], eax
mov dword [esp + 0x18], ecx
jmp 0x1002b6eb
mov eax, dword [esi + 0x10]
inc eax
cmp eax, dword [ecx + 0x2c]
mov dword [esi + 0x10], eax
jl 0x1002b6eb
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x38]
dec eax
mov dword [esi + 0xc], eax
mov eax, dword [edx + 0x1c]
add eax, dword [esi + 0x28]
mov dword [esi + 0x10], 0
mov dword [esi + 0x28], eax
mov dword [esp + 0x18], ecx
jmp 0x1002b6eb
mov eax, dword [ecx + 8]
cmp eax, 1
jle 0x1002b40a
sub eax, 0x15
je 0x1002b1fd
sub eax, 1
je 0x1002b064
mov edx, dword [ecx + 0x14]
imul edx, ebx
add edx, ebp
cmp edx, dword [esp + 0x40]
jbe 0x1002aee9
mov dword [esp + 0x14], 0x82010407
jmp 0x1002b385
mov ecx, dword [ecx + 0x18]
mov eax, ecx
imul eax, ebx
add eax, edi
cmp eax, dword [esp + 0x4c]
ja 0x1002b37d
sub ecx, 1
je 0x1002b032
sub ecx, 1
je 0x1002b010
sub ecx, 2
je 0x1002aff0
mov dword [esp + 0x24], ebx
lea esp, [esp]
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov edx, eax
mov ebx, eax
mov edi, ecx
shld edi, edx, 0x10
shl edx, 0x10
and ebx, 0xff00
or edx, ebx
xor ebp, ebp
or edi, ebp
shld edi, edx, 0x10
or edi, ebp
mov ebx, eax
shl edx, 0x10
and ebx, 0xff0000
or edx, ebx
shld edi, edx, 0x10
or edi, ebp
mov ebx, eax
shl edx, 0x10
and ebx, 0xff000000
or edx, ebx
shld edi, edx, 8
shl edx, 8
mov ebx, edx
mov edx, edi
mov edi, ecx
shrd eax, edi, 0x10
shr edi, 0x10
xor eax, eax
and edi, 0xff
or eax, ebp
mov dword [esp + 0x78], ecx
movzx ebp, byte [esp + 0x78]
and ecx, 0xff00
or edi, ecx
shrd eax, edi, 0x10
shr edi, 0x10
or edi, ebp
mov ebp, dword [esp + 0x1c]
xor ecx, ecx
or eax, ecx
shrd eax, edi, 8
or ebx, eax
movzx eax, byte [ebp + 7]
shr edi, 8
or edx, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x34], edx
cdq
or ebx, eax
mov eax, dword [esp + 0x34]
or eax, edx
mov dword [edi], ebx
mov dword [edi + 4], eax
add edi, 8
add ebp, 8
sub dword [esp + 0x24], 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebp
jne 0x1002af20
jmp 0x1002b385
mov edx, dword [ebp]
push edx
call dword [0x10062360]
mov dword [edi], eax
add edi, 4
add ebp, 4
sub ebx, 1
jne 0x1002aff0
mov dword [esp + 0x10], edi
jmp 0x1002b385
movzx eax, word [ebp]
push eax
call dword [0x100623a4]
mov word [edi], ax
add edi, 2
add ebp, 2
sub ebx, 1
jne 0x1002b010
mov dword [esp + 0x10], edi
jmp 0x1002b385
cmp ebx, 0x40
jg 0x1002b04c
mov cl, byte [ebp]
mov byte [edi], cl
inc edi
inc ebp
sub ebx, 1
jne 0x1002b037
mov dword [esp + 0x10], edi
jmp 0x1002b385
push ebx
push ebp
push edi
call fcn.10031b60
add esp, 0xc
add ebp, ebx
add edi, ebx
mov dword [esp + 0x10], edi
jmp 0x1002b385
mov dword [esp + 0x24], edx
jmp 0x1002b070
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x1c]
test eax, eax
jne 0x1002b081
mov eax, dword [esp + 0x40]
sub eax, ebp
push eax
push ebp
mov dword [esp + 0x28], eax
call fcn.1002ca60
lea ebx, [eax + eax + 2]
add esp, 8
cmp ebx, dword [esp + 0x20]
mov dword [esp + 0x38], ebx
jg 0x1002b373
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x4c]
lea edx, [eax + ebx]
add edx, edi
cmp edx, dword [esp + 0x4c]
ja 0x1002b37d
sub eax, 2
je 0x1002b198
sub eax, 2
je 0x1002b18d
sub eax, 4
je 0x1002b0d5
mov byte [edi], bl
jmp 0x1002b1a2
mov eax, ebx
cdq
mov edi, eax
mov dword [esp + 0x6c], edi
mov ecx, edx
mov eax, ebx
and eax, 0xff00
cdq
mov ebp, ecx
shld ebp, edi, 0x10
shl edi, 0x10
or eax, edi
or edx, ebp
shld edx, eax, 0x10
shl eax, 0x10
mov edi, eax
mov eax, ebx
and eax, 0xff0000
mov ebp, edx
cdq
or edi, eax
mov eax, dword [esp + 0x6c]
or ebp, edx
shld ebp, edi, 0x10
xor ebx, ebx
or ebp, ebx
shl edi, 0x10
mov edx, eax
and edx, 0xff000000
or edi, edx
shld ebp, edi, 8
shl edi, 8
mov dword [esp + 0x70], ecx
mov ebx, ecx
shrd eax, ecx, 0x10
and ebx, 0xff0000
mov edx, edi
xor edi, edi
or edi, eax
mov eax, dword [esp + 0x70]
shr ecx, 0x10
or ebx, ecx
shrd edi, ebx, 0x10
shr ebx, 0x10
xor ecx, ecx
or edi, ecx
movzx ecx, byte [esp + 0x70]
and eax, 0xff00
or ebx, eax
shrd edi, ebx, 0x10
shr ebx, 0x10
xor eax, eax
or ebx, ecx
or edi, eax
shrd edi, ebx, 8
shr ebx, 8
or edx, edi
mov edi, dword [esp + 0x10]
or ebp, ebx
mov ebx, dword [esp + 0x38]
mov dword [edi + 4], ebp
mov ebp, dword [esp + 0x1c]
mov dword [edi], edx
jmp 0x1002b1a2
push ebx
call dword [0x10062360]
mov dword [edi], eax
jmp 0x1002b1a2
push ebx
call dword [0x100623a4]
mov word [edi], ax
mov edx, dword [esp + 0x2c]
add edi, dword [edx + 0x4c]
cmp ebx, 0x40
mov dword [esp + 0x10], edi
jg 0x1002b1c6
test ebx, ebx
jle 0x1002b1d9
mov eax, ebx
mov cl, byte [ebp]
mov byte [edi], cl
inc edi
inc ebp
sub eax, 1
jne 0x1002b1b8
jmp 0x1002b1d5
push ebx
push ebp
push edi
call fcn.10031b60
add esp, 0xc
add ebp, ebx
add edi, ebx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x20]
sub eax, ebx
add ebp, eax
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], eax
jl 0x1002b070
jmp 0x1002b385
mov dword [esp + 0x24], edx
jmp 0x1002b207
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
jne 0x1002b21a
mov eax, dword [esp + 0x40]
sub eax, ebp
mov dword [esp + 0x20], eax
jmp 0x1002b21e
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x20]
push edx
push ebp
call fcn.10035a2f
mov ebx, eax
add esp, 8
cmp ebx, dword [esp + 0x20]
jge 0x1002b373
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x4c]
inc ebx
lea ecx, [eax + ebx]
add ecx, edi
mov dword [esp + 0x38], ebx
cmp ecx, dword [esp + 0x4c]
ja 0x1002b37d
sub eax, 2
je 0x1002b334
sub eax, 2
je 0x1002b329
sub eax, 4
je 0x1002b271
mov byte [edi], bl
jmp 0x1002b33e
mov eax, ebx
cdq
mov edi, eax
mov dword [esp + 0x64], edi
mov ecx, edx
mov eax, ebx
and eax, 0xff00
cdq
mov ebp, ecx
shld ebp, edi, 0x10
shl edi, 0x10
or eax, edi
or edx, ebp
shld edx, eax, 0x10
shl eax, 0x10
mov edi, eax
mov eax, ebx
and eax, 0xff0000
mov ebp, edx
cdq
or edi, eax
mov eax, dword [esp + 0x64]
or ebp, edx
shld ebp, edi, 0x10
xor ebx, ebx
or ebp, ebx
shl edi, 0x10
mov edx, eax
and edx, 0xff000000
or edi, edx
shld ebp, edi, 8
shl edi, 8
mov dword [esp + 0x68], ecx
mov ebx, ecx
shrd eax, ecx, 0x10
and ebx, 0xff0000
mov edx, edi
xor edi, edi
or edi, eax
mov eax, dword [esp + 0x68]
shr ecx, 0x10
or ebx, ecx
shrd edi, ebx, 0x10
shr ebx, 0x10
xor ecx, ecx
or edi, ecx
movzx ecx, byte [esp + 0x68]
and eax, 0xff00
or ebx, eax
shrd edi, ebx, 0x10
shr ebx, 0x10
xor eax, eax
or ebx, ecx
or edi, eax
shrd edi, ebx, 8
shr ebx, 8
or edx, edi
mov edi, dword [esp + 0x10]
or ebp, ebx
mov ebx, dword [esp + 0x38]
mov dword [edi + 4], ebp
mov ebp, dword [esp + 0x1c]
mov dword [edi], edx
jmp 0x1002b33e
push ebx
call dword [0x10062360]
mov dword [edi], eax
jmp 0x1002b33e
push ebx
call dword [0x100623a4]
mov word [edi], ax
mov edx, dword [esp + 0x2c]
add edi, dword [edx + 0x4c]
push ebx
push ebp
push edi
call fcn.10031b60
mov eax, dword [esp + 0x30]
add ebp, dword [esp + 0x2c]
inc eax
add edi, ebx
add esp, 0xc
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], eax
jl 0x1002b203
jmp 0x1002b385
mov dword [esp + 0x14], 0x82010406
jmp 0x1002b385
mov dword [esp + 0x14], 0x82010402
mov eax, dword [esp + 0x2c]
test byte [eax + 0x40], 4
je 0x1002b399
mov eax, dword [eax + 0x28]
add eax, eax
mov dword [esi + 0x24], eax
jmp 0x1002b39f
sub ebp, dword [esi + 0x28]
mov dword [esi + 0x24], ebp
test dword [esp + 0x14], 0x80000000
jne 0x1002b720
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x10], 0
jne 0x1002b3d3
mov eax, dword [esi + 0xc]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [esi + 0x38]
dec eax
add ecx, dword [esi + 0x28]
mov dword [esi + 0xc], eax
mov dword [esi + 0x28], ecx
mov dword [esp + 0x18], edx
jmp 0x1002b6eb
mov eax, dword [esi + 0x10]
inc eax
cmp eax, dword [ecx + 0x2c]
mov dword [esi + 0x10], eax
jl 0x1002b6eb
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x38]
dec eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x1c]
add ecx, dword [esi + 0x28]
mov dword [esi + 0x10], 0
mov dword [esi + 0x28], ecx
mov dword [esp + 0x18], edx
jmp 0x1002b6eb
cmp dword [esp + 0x30], 0x20
jge 0x1002b702
cmp eax, edx
jne 0x1002b5bd
mov eax, dword [ecx + 0x64]
mov edx, dword [ecx + 0x60]
add eax, dword [esi + 0x28]
sub edx, 2
je 0x1002b44d
sub edx, 2
je 0x1002b449
sub edx, 4
je 0x1002b43a
movzx eax, byte [eax]
jmp 0x1002b450
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
jmp 0x1002b459
mov eax, dword [eax]
jmp 0x1002b450
movzx eax, word [eax]
cdq
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov ecx, dword [ecx + 0x74]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x44]
lea edx, [ecx + edx + 0xa4]
mov ecx, dword [edx + 0x138]
xor eax, eax
cmp ecx, dword [edx + 0x134]
mov dword [esp + 0x28], edx
setg al
dec eax
mov dword [esp + 0x1c], eax
mov eax, ebx
sub eax, ecx
js 0x1002b4bf
cmp eax, dword [edx + 0x2c]
jge 0x1002b4bf
lea ecx, [eax + eax*2]
shl ecx, 6
add ecx, edx
mov dword [esp + 0x38], ecx
mov ecx, dword [ecx + 0x138]
cmp ecx, ebx
jne 0x1002b4bf
mov ebx, dword [esp + 0x38]
cmp ecx, dword [ebx + 0x134]
jg 0x1002b4bb
mov dword [esp + 0x1c], eax
jmp 0x1002b546
mov ebx, dword [esp + 0x44]
mov ecx, dword [edx + 0x2c]
xor eax, eax
cmp ecx, 0x10
jge 0x1002b4ea
test ecx, ecx
jle 0x1002b546
lea ecx, [edx + 0x134]
cmp dword [ecx + 4], ebx
jg 0x1002b4dc
cmp ebx, dword [ecx]
jle 0x1002b4b2
inc eax
add ecx, 0xc0
cmp eax, dword [edx + 0x2c]
jl 0x1002b4d3
jmp 0x1002b546
add ecx, 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
js 0x1002b546
add ecx, eax
sar ecx, 1
lea eax, [ecx + ecx*2]
shl eax, 6
mov ebx, dword [eax + edx + 0x138]
add eax, edx
mov eax, dword [eax + 0x134]
cmp ebx, eax
mov dword [esp + 0x38], eax
jg 0x1002b531
mov eax, dword [esp + 0x44]
cmp eax, ebx
jge 0x1002b52b
mov eax, dword [esp + 0x20]
dec ecx
mov dword [esp + 0x24], ecx
jmp 0x1002b53c
cmp eax, dword [esp + 0x38]
jle 0x1002b542
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
cmp eax, ecx
jle 0x1002b4f7
jmp 0x1002b546
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x1002b562
lea ecx, [eax + eax*2 + 3]
mov eax, dword [esp + 0xc10]
shl ecx, 6
cmp dword [ecx + edx], eax
jle 0x1002b5d9
mov eax, dword [esi]
cmp dword [eax + 0x10], 0
mov dword [esp + 0x28], eax
jne 0x1002b58a
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x38]
dec ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [eax + 0x1c]
add ecx, dword [esi + 0x28]
mov dword [esp + 0x18], edx
mov dword [esi + 0x28], ecx
jmp 0x1002b6eb
mov ecx, dword [esi + 0x10]
inc ecx
cmp ecx, dword [eax + 0x2c]
mov dword [esi + 0x10], ecx
jl 0x1002b6eb
mov ecx, dword [esi + 0xc]
mov eax, dword [eax + 0x1c]
dec ecx
add eax, dword [esi + 0x28]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x10], 0
mov dword [esi + 0x28], eax
mov dword [esp + 0x18], ecx
jmp 0x1002b6eb
mov edx, dword [ecx + 0x74]
mov eax, dword [esp + 0x58]
lea edx, [edx + eax + 0xa4]
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], 0
jmp 0x1002b5e1
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
inc dword [esp + 0x30]
add esi, 0x5c
mov dword [esi + 0xc], ebx
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 0x10], ebx
mov ebx, dword [edx + 0x58]
cmp ebx, eax
mov dword [esi + 0x24], eax
mov dword [esi], edx
mov dword [esi + 0x28], ebp
mov dword [esi + 0x30], edi
jle 0x1002b62f
cmp dword [edx + 0x5c], 0xffffffff
mov dword [esi + 0x14], ebx
je 0x1002b621
mov eax, ebx
neg eax
mov dword [esi + 0x34], edi
add edi, ebx
mov dword [esi + 0x18], eax
mov dword [esp + 0x10], edi
jmp 0x1002b672
mov eax, dword [edx + 0x50]
lea ebx, [eax + edi]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x18], eax
jmp 0x1002b672
mov ebx, dword [ecx + 0x4c]
cmp ebx, eax
jle 0x1002b66f
cmp dword [ecx + 0x50], 0xffffffff
mov dword [esi + 0x14], ebx
je 0x1002b64f
mov dword [esi + 0x34], edi
add edi, ebx
neg ebx
mov dword [esp + 0x10], edi
mov dword [esi + 0x18], ebx
jmp 0x1002b672
mov eax, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x24]
cmp eax, ebx
jl 0x1002b665
sub eax, ebx
mov dword [esi + 0x18], eax
add eax, edi
mov dword [esi + 0x34], eax
jmp 0x1002b672
mov ebx, dword [esi - 0x2c]
add ebx, eax
mov dword [esi + 0x34], ebx
jmp 0x1002b672
mov dword [esi + 0x14], eax
mov eax, dword [edx + 0x68]
mov ebx, dword [esp + 0x40]
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], ebx
mov dword [esi + 4], ecx
mov dword [esi + 0x38], 1
test eax, eax
jle 0x1002b6e1
mov ecx, dword [edx + 0x64]
add ecx, ebp
sub ebx, ecx
cmp ebx, eax
jge 0x1002b6a2
mov dword [esp + 0x14], 0x82010407
jmp 0x1002b6e1
sub eax, 2
je 0x1002b6d6
sub eax, 2
je 0x1002b6cb
sub eax, 4
je 0x1002b6bc
mov dl, byte [esp + 0xc10]
mov byte [ecx], dl
jmp 0x1002b6e1
mov eax, dword [esp + 0xc10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x1002b6e1
mov eax, dword [esp + 0xc10]
mov dword [ecx], eax
jmp 0x1002b6e1
mov dx, word [esp + 0xc10]
mov word [ecx], dx
test dword [esp + 0x14], 0x80000000
jne 0x1002b720
cmp dword [esp + 0x30], 0
jg 0x1002ab40
jmp 0x1002b720
mov dword [esp + 0x14], 0x82010402
jmp 0x1002b720
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x14], 0x82010404
mov dword [esi + 0x24], eax
jmp 0x1002b720
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x14], 0x82010403
mov dword [esi + 0x24], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0x54]
mov dword [esi + 4], edx
test eax, eax
jns 0x1002b784
mov ebx, dword [esp + 0x30]
mov ecx, 1
cmp ebx, ecx
jle 0x1002b784
lea edx, [esp + 0xfc]
lea ebx, [ebx]
mov ebp, dword [edx - 0x20]
test byte [ebp + 0x40], 4
jne 0x1002b774
mov ebp, dword [edx]
add dword [esi + 4], ebp
inc ecx
add edx, 0x5c
cmp ecx, ebx
jl 0x1002b750
mov ecx, dword [esp + 0x50]
sub edi, dword [ecx]
mov dword [ecx + 4], edi
jmp 0x1002a9e8
imul ecx, ecx, 0x5c
mov ecx, dword [esp + ecx + 0x80]
mov edx, dword [ecx + 0x14]
add dword [esi + 4], edx
mov ecx, dword [esp + 0x50]
sub edi, dword [ecx]
mov dword [ecx + 4], edi
jmp 0x1002a9e8
pop edi
pop ebx
mov eax, 0x82010464
pop ebp
mov ecx, dword [esp + 0xbec]
xor ecx, esp
call fcn.1002d0ef
add esp, 0xbf0
ret
mov ecx, dword [esp + 0xbf0]
pop ebp
xor ecx, esp
mov eax, 0x82010464
call fcn.1002d0ef
add esp, 0xbf0
ret