Function at 0x1002c120
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
cmp byte [esi + 0x2e44], 0
mov byte [esi + 0x2e50], 1
jne 0x1002c199
push dword [esp + 0x3c]
call fcn.10029ba0
mov ecx, esi
call fcn.10029dd0
test al, al
je 0x1002cdd2
lea edi, [esi + 0x7c]
mov ecx, esi
lea ebx, [esi + 4]
push edi
push ebx
mov dword [esp + 0x28], ebx
call fcn.10027f70
test al, al
je 0x1002cdd2
lea eax, [esi + 0x90]
mov ecx, esi
push eax
push edi
push ebx
call fcn.10028b50
test al, al
je 0x1002cdd2
cmp byte [esi + 0xb052], 0
jne 0x1002c1a0
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4
lea eax, [esi + 4]
mov dword [esp + 0x20], eax
push ebp
lea ecx, [esi + 0x64]
lea ebx, [esi + 4]
jmp 0x1002c1b0
mov edx, dword [ecx]
mov eax, dword [esi + 0xb0b8]
cmp edx, eax
jb 0x1002c1be
sub edx, eax
cmp dword [esi + 0x68], edx
mov dword [ecx], edx
seta al
mov dword [esi + 0x68], edx
or byte [esi + 0x6c], al
mov eax, dword [ebx]
cmp eax, dword [esi + 0x78]
jl 0x1002c23e
lea edi, [esi + 0x7c]
mov eax, dword [esi + 0x84]
dec eax
add eax, dword [edi]
cmp dword [ebx], eax
jg 0x1002c1f0
jne 0x1002c22c
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x80]
jl 0x1002c22c
cmp byte [esi + 0x8c], 0
jne 0x1002cdca
push edi
push ebx
mov ecx, esi
call fcn.10027f70
test al, al
je 0x1002cdd1
lea eax, [esi + 0x90]
mov ecx, esi
push eax
push edi
push ebx
call fcn.10028b50
test al, al
jne 0x1002c1d6
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4
mov ecx, esi
call fcn.10029dd0
test al, al
je 0x1002cdca
lea ecx, [esi + 0x64]
mov edx, dword [esi + 0x2d2c]
mov eax, edx
mov edi, dword [ecx]
sub eax, edi
mov ecx, dword [esi + 0xb0b8]
cmp eax, ecx
jb 0x1002c256
add eax, ecx
cmp eax, 0x1004
ja 0x1002c29b
cmp edx, edi
je 0x1002c29b
mov ecx, esi
call fcn.1002a340
mov eax, dword [esi + 0x2e4c]
cmp eax, dword [esi + 0x2e40]
jg 0x1002cdd1
jl 0x1002c28e
mov eax, dword [esi + 0x2e48]
cmp eax, dword [esi + 0x2e3c]
ja 0x1002cdd1
cmp byte [esi + 0x2e44], 0
jne 0x1002cdb9
mov eax, dword [ebx + 0xc]
mov ecx, 0x10
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
sub ecx, ebx
mov dword [esp + 0x14], eax
mov edx, dword [eax + ebp]
mov eax, dword [esi + 0x114]
bswap edx
shr edx, cl
and edx, 0xfffe
cmp edx, dword [esi + eax*4 + 0x94]
jae 0x1002c2fe
mov ecx, 0x10
sub ecx, eax
shr edx, cl
movzx edi, byte [edx + esi + 0x118]
add edi, ebx
mov eax, edi
shr eax, 3
add eax, ebp
lea ebp, [esi + 4]
and edi, 7
mov dword [ebp], eax
mov dword [ebp + 4], edi
movzx ecx, word [esi + edx*2 + 0x318]
mov dword [esp + 0x10], eax
jmp 0x1002c36c
mov ebx, 0xf
inc eax
cmp eax, ebx
jae 0x1002c321
lea ecx, [eax + 0x25]
lea ecx, [esi + ecx*4]
mov edi, edi
cmp edx, dword [ecx]
jb 0x1002c31f
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x1002c310
jmp 0x1002c321
mov ebx, eax
mov edi, dword [esi + 8]
mov ecx, 0x10
add edi, ebx
sub ecx, ebx
mov eax, edi
and edi, 7
shr eax, 3
add eax, ebp
mov dword [esi + 8], edi
mov dword [esi + 4], eax
lea ebp, [esi + 4]
sub edx, dword [esi + ebx*4 + 0x90]
shr edx, cl
mov ecx, dword [esi + ebx*4 + 0xd4]
add ecx, edx
mov dword [esp + 0x10], eax
cmp ecx, dword [esi + 0x90]
sbb eax, eax
and eax, ecx
movzx ecx, word [esi + eax*2 + 0x718]
mov eax, dword [esp + 0x10]
movzx ebx, cx
cmp ebx, 0x100
jae 0x1002c3f8
cmp byte [esi + 0x2e38], 0
je 0x1002c3e2
mov edi, dword [esi + 0x64]
lea ecx, [esi + 0x64]
lea eax, [edi + 1]
mov dword [ecx], eax
cmp edi, dword [esi + 0x2db4]
jae 0x1002c3a6
mov edx, dword [esi + 0x2d34]
add edx, edi
mov byte [edx], bl
jmp 0x1002c1a4
mov eax, 1
lea edx, [esi + 0x2db8]
cmp edi, dword [edx]
jb 0x1002c3cb
inc eax
add edx, 4
cmp eax, 0x20
jb 0x1002c3b1
mov edx, dword [esi + 0x2d34]
mov byte [edx], bl
jmp 0x1002c1a4
mov edx, dword [esi + eax*4 + 0x2d34]
sub edx, dword [esi + eax*4 + 0x2db0]
add edx, edi
mov byte [edx], bl
jmp 0x1002c1a4
mov ecx, dword [esi + 0x2d30]
mov eax, dword [esi + 0x64]
mov byte [ecx + eax], bl
lea ecx, [esi + 0x64]
inc dword [ecx]
jmp 0x1002c1a4
cmp ebx, 0x106
jb 0x1002c983
lea ebp, [ebx - 0x106]
cmp ebp, 8
jae 0x1002c481
mov dword [esp + 0x10], eax
add ebp, 2
mov ebx, dword [esp + 0x14]
mov edx, dword [eax + ebx]
mov ecx, 0x10
mov eax, dword [esi + 0xa00]
sub ecx, edi
bswap edx
shr edx, cl
and edx, 0xfffe
cmp edx, dword [esi + eax*4 + 0x980]
jae 0x1002c4d9
mov ecx, 0x10
sub ecx, eax
shr edx, cl
movzx ebx, byte [edx + esi + 0xa04]
add ebx, edi
mov edi, dword [esp + 0x10]
mov eax, ebx
shr eax, 3
add edi, eax
and ebx, 7
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
movzx eax, word [esi + edx*2 + 0xc04]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], edi
jmp 0x1002c555
mov edx, ebp
and ebp, 3
shr edx, 2
or ebp, 4
dec edx
mov ecx, edx
shl ebp, cl
add ebp, 2
test edx, edx
je 0x1002c416
mov ebx, dword [esp + 0x14]
mov ecx, 0x10
sub ecx, edi
add edi, edx
mov eax, dword [eax + ebx]
bswap eax
shr eax, cl
mov ecx, 0x10
movzx eax, ax
sub ecx, edx
shr eax, cl
add ebp, eax
mov eax, edi
shr eax, 3
add dword [esp + 0x10], eax
and edi, 7
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
mov dword [esi + 8], edi
jmp 0x1002c41a
mov ebx, 0xf
inc eax
mov dword [esp + 0x20], ebx
cmp eax, ebx
jae 0x1002c505
lea ecx, [eax + 0x260]
lea ecx, [esi + ecx*4]
cmp edx, dword [ecx]
jb 0x1002c4ff
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x1002c4f0
jmp 0x1002c505
mov ebx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
lea ecx, [edi + ebx]
mov ebx, ecx
and ecx, 7
mov dword [esi + 8], ecx
shr ebx, 3
add ebx, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, 0x10
sub ecx, eax
mov dword [esi + 4], ebx
sub edx, dword [esi + eax*4 + 0x97c]
shr edx, cl
mov ecx, dword [esi + eax*4 + 0x9c0]
add ecx, edx
mov dword [esp + 0x18], ebx
cmp ecx, dword [esi + 0x97c]
mov dword [esp + 0x20], ebx
sbb eax, eax
and eax, ecx
movzx eax, word [esi + eax*2 + 0x1004]
movzx eax, ax
cmp eax, 4
jae 0x1002c565
lea ebx, [eax + 1]
jmp 0x1002c787
mov edi, eax
and eax, 1
shr edi, 1
or eax, 2
dec edi
mov ecx, edi
shl eax, cl
inc eax
mov dword [esp + 0x2c], eax
mov ebx, eax
mov dword [esp + 0x1c], ebx
test edi, edi
je 0x1002c78b
cmp edi, 4
jb 0x1002c748
jbe 0x1002c635
mov edx, dword [esp + 0x10]
mov al, 8
mov ecx, dword [esp + 0x14]
sub al, dl
movzx eax, al
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
cmp edi, 0x24
jbe 0x1002c5e8
mov edx, dword [eax + ecx]
mov eax, dword [eax + ecx + 4]
mov ecx, dword [esp + 0x10]
bswap edx
bswap eax
call fcn.10030990
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x18]
movzx edx, byte [eax + ecx + 8]
mov cl, byte [esp + 0x20]
shr edx, cl
mov ecx, 0x44
or ebx, edx
mov edx, dword [esp + 0x10]
jmp 0x1002c607
mov ebx, dword [eax + ecx]
mov ecx, edx
bswap ebx
shl ebx, cl
mov ecx, dword [esp + 0x14]
movzx eax, byte [eax + ecx + 4]
mov cl, byte [esp + 0x20]
shr eax, cl
mov ecx, 0x24
or ebx, eax
add edx, 0xfffffffc
sub ecx, edi
add edx, edi
shr ebx, cl
mov eax, edx
shl ebx, 4
shr eax, 3
lea ecx, [esi + 4]
add eax, dword [esp + 0x18]
and edx, 7
add ebx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov dword [ecx], eax
mov dword [esp + 0x10], edx
mov dword [ecx + 4], edx
jmp 0x1002c638
lea ecx, [esi + 4]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + ecx]
mov ecx, 0x10
mov eax, dword [esp + 0x10]
sub ecx, eax
bswap edx
shr edx, cl
mov ecx, dword [esi + 0x12ec]
and edx, 0xfffe
cmp edx, dword [esi + ecx*4 + 0x126c]
jae 0x1002c6a5
mov ecx, 0x10
sub ecx, dword [esi + 0x12ec]
shr edx, cl
movzx ecx, byte [edx + esi + 0x12f0]
mov esi, dword [esp + 0x24]
add ecx, eax
mov eax, ecx
shr eax, 3
add eax, dword [esp + 0x20]
and ecx, 7
mov dword [esi], eax
mov eax, esi
mov esi, dword [esp + 0x28]
mov dword [eax + 4], ecx
movzx eax, word [esi + edx*2 + 0x14f0]
jmp 0x1002c72e
lea eax, [ecx + 1]
mov dword [esp + 0x1c], 0xf
cmp eax, 0xf
jae 0x1002c6d9
lea ecx, [eax + 0x49b]
lea ecx, [esi + ecx*4]
mov edi, edi
cmp edx, dword [ecx]
jb 0x1002c6d3
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x1002c6c0
mov eax, dword [esp + 0x1c]
jmp 0x1002c6de
mov dword [esp + 0x1c], eax
jmp 0x1002c6de
mov eax, 0xf
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
add ecx, eax
mov eax, ecx
and ecx, 7
shr eax, 3
add eax, dword [esp + 0x20]
mov dword [esi], eax
mov eax, esi
mov esi, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, 0x10
mov eax, dword [esp + 0x1c]
sub ecx, eax
sub edx, dword [esi + eax*4 + 0x1268]
shr edx, cl
mov ecx, dword [esi + eax*4 + 0x12ac]
add ecx, edx
cmp ecx, dword [esi + 0x1268]
sbb eax, eax
and eax, ecx
movzx eax, word [esi + eax*2 + 0x18f0]
movzx eax, ax
add ebx, eax
mov dword [esp + 0x1c], ebx
cmp edi, 0x1e
jb 0x1002c78b
or ebx, 0xffffffff
add ebp, 2
mov dword [esp + 0x1c], ebx
jmp 0x1002c7ad
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + ecx]
mov ecx, 0x10
sub ecx, edx
bswap eax
shr eax, cl
mov ecx, 0x10
movzx ebx, ax
sub ecx, edi
shr ebx, cl
lea ecx, [edx + edi]
add ebx, dword [esp + 0x2c]
mov eax, ecx
shr eax, 3
add eax, dword [esp + 0x18]
and ecx, 7
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esp + 0x1c], ebx
mov eax, ebx
cmp ebx, 0x100
jbe 0x1002c7ae
inc ebp
mov dword [esp + 0x1c], ebx
cmp eax, 0x2000
jbe 0x1002c7ae
inc ebp
mov dword [esp + 0x1c], ebx
cmp eax, 0x40000
jbe 0x1002c7ae
inc ebp
mov eax, dword [esi + 0x50]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], ebx
cmp byte [esi + 0x2e38], 0
mov dword [esi + 0x5c], ebp
je 0x1002c7f0
push dword [esi + 0xb0b8]
movzx eax, byte [esi + 0x6c]
lea ecx, [esi + 0x2d34]
push eax
lea eax, [esi + 0x64]
push eax
push ebx
push ebp
call fcn.10025cc0
jmp 0x1002c1a1
mov edx, dword [esi + 0x64]
lea ecx, [esi + 0x64]
mov edi, edx
sub edi, ebx
cmp ebx, edx
jbe 0x1002c845
mov eax, dword [esi + 0xb0b8]
add edi, eax
cmp ebx, eax
ja 0x1002c810
cmp byte [esi + 0x6c], 0
jne 0x1002c845
lea ebx, [esi + 4]
test ebp, ebp
je 0x1002c1b0
jmp 0x1002c820
mov eax, dword [esi + 0x2d30]
dec ebp
mov byte [edx + eax], 0
mov edx, dword [ecx]
mov eax, dword [esi + 0xb0b8]
inc edx
cmp edx, eax
jb 0x1002c83a
sub edx, eax
mov dword [ecx], edx
test ebp, ebp
jne 0x1002c820
jmp 0x1002c1a4
mov ebx, dword [esi + 0xb0b8]
lea eax, [ebx - 0x1004]
cmp edi, eax
jae 0x1002c946
cmp edx, eax
jae 0x1002c946
mov eax, dword [esi + 0x2d30]
add edi, eax
lea ebx, [eax + edx]
lea eax, [edx + ebp]
mov dword [ecx], eax
cmp ebp, 8
jb 0x1002c8db
mov edx, ebp
shr edx, 3
cmp dword [esp + 0x1c], ebp
jae 0x1002c8c0
mov al, byte [edi]
sub ebp, 8
mov byte [ebx], al
mov al, byte [edi + 1]
mov byte [ebx + 1], al
mov al, byte [edi + 2]
mov byte [ebx + 2], al
mov al, byte [edi + 3]
mov byte [ebx + 3], al
mov al, byte [edi + 4]
mov byte [ebx + 4], al
mov al, byte [edi + 5]
mov byte [ebx + 5], al
mov al, byte [edi + 6]
mov byte [ebx + 6], al
mov al, byte [edi + 7]
add edi, 8
mov byte [ebx + 7], al
add ebx, 8
sub edx, 1
jne 0x1002c881
jmp 0x1002c8db
mov eax, dword [edi]
sub ebp, 8
mov ecx, dword [edi + 4]
add edi, 8
mov dword [ebx], eax
mov dword [ebx + 4], ecx
add ebx, 8
sub edx, 1
jne 0x1002c8c0
lea ecx, [esi + 0x64]
test ebp, ebp
je 0x1002c1a4
mov al, byte [edi]
mov byte [ebx], al
cmp ebp, 1
jbe 0x1002c1a4
mov al, byte [edi + 1]
mov byte [ebx + 1], al
cmp ebp, 2
jbe 0x1002c1a4
mov al, byte [edi + 2]
mov byte [ebx + 2], al
cmp ebp, 3
jbe 0x1002c1a4
mov al, byte [edi + 3]
mov byte [ebx + 3], al
cmp ebp, 4
jbe 0x1002c1a4
mov al, byte [edi + 4]
mov byte [ebx + 4], al
cmp ebp, 5
jbe 0x1002c1a4
mov al, byte [edi + 5]
mov byte [ebx + 5], al
cmp ebp, 6
jbe 0x1002c1a4
mov al, byte [edi + 6]
mov byte [ebx + 6], al
jmp 0x1002c1a4
test ebp, ebp
je 0x1002c1a4
mov edi, edi
dec ebp
mov eax, edi
cmp edi, ebx
jb 0x1002c959
sub eax, ebx
mov ecx, dword [esi + 0x2d30]
inc edi
mov al, byte [eax + ecx]
mov byte [edx + ecx], al
lea ecx, [esi + 0x64]
mov edx, dword [ecx]
mov ebx, dword [esi + 0xb0b8]
inc edx
cmp edx, ebx
jb 0x1002c978
sub edx, ebx
mov dword [ecx], edx
test ebp, ebp
jne 0x1002c950
jmp 0x1002c1a4
cmp ebx, 0x100
jne 0x1002c9bf
lea eax, [esp + 0x30]
mov ecx, esi
push eax
lea ebx, [esi + 4]
push ebx
call fcn.100280b0
test al, al
je 0x1002cdca
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.10025060
test al, al
je 0x1002cdca
lea ecx, [esi + 0x64]
jmp 0x1002c1b0
cmp ebx, 0x101
jne 0x1002cb26
mov ebp, dword [esi + 0x5c]
lea ecx, [esi + 0x64]
lea ebx, [esi + 4]
test ebp, ebp
je 0x1002c1b0
cmp byte [esi + 0x2e38], 0
je 0x1002ca08
push dword [esi + 0xb0b8]
movzx eax, byte [esi + 0x6c]
lea ecx, [esi + 0x2d34]
push eax
lea eax, [esi + 0x64]
push eax
push dword [esi + 0x48]
push ebp
call fcn.10025cc0
jmp 0x1002c1a1
mov edx, dword [esi + 0x64]
lea ecx, [esi + 0x64]
mov ebx, dword [esi + 0x48]
mov edi, edx
sub edi, ebx
mov dword [esp + 0x2c], ebx
cmp ebx, edx
jbe 0x1002ca55
mov eax, dword [esi + 0xb0b8]
add edi, eax
cmp ebx, eax
ja 0x1002ca30
cmp byte [esi + 0x6c], 0
jne 0x1002ca55
nop
mov eax, dword [esi + 0x2d30]
dec ebp
mov byte [edx + eax], 0
mov edx, dword [ecx]
mov eax, dword [esi + 0xb0b8]
inc edx
cmp edx, eax
jb 0x1002ca4a
sub edx, eax
mov dword [ecx], edx
test ebp, ebp
jne 0x1002ca30
jmp 0x1002c1a4
mov eax, dword [esi + 0xb0b8]
lea ebx, [eax - 0x1004]
cmp edi, ebx
jae 0x1002caf3
cmp edx, ebx
jae 0x1002caf3
mov eax, dword [esi + 0x2d30]
add edi, eax
lea ebx, [eax + edx]
lea eax, [edx + ebp]
mov dword [ecx], eax
cmp ebp, 8
jb 0x1002c8db
mov edx, ebp
shr edx, 3
cmp dword [esp + 0x2c], ebp
jae 0x1002cad6
mov al, byte [edi]
sub ebp, 8
mov byte [ebx], al
mov al, byte [edi + 1]
mov byte [ebx + 1], al
mov al, byte [edi + 2]
mov byte [ebx + 2], al
mov al, byte [edi + 3]
mov byte [ebx + 3], al
mov al, byte [edi + 4]
mov byte [ebx + 4], al
mov al, byte [edi + 5]
mov byte [ebx + 5], al
mov al, byte [edi + 6]
mov byte [ebx + 6], al
mov al, byte [edi + 7]
add edi, 8
mov byte [ebx + 7], al
add ebx, 8
sub edx, 1
jne 0x1002ca95
jmp 0x1002c8db
mov eax, dword [edi]
sub ebp, 8
mov ecx, dword [edi + 4]
add edi, 8
mov dword [ebx], eax
mov dword [ebx + 4], ecx
add ebx, 8
sub edx, 1
jne 0x1002cad6
jmp 0x1002c8d8
dec ebp
mov ebx, edi
cmp edi, eax
jb 0x1002cafc
sub ebx, eax
mov ecx, dword [esi + 0x2d30]
inc edi
mov al, byte [ecx + ebx]
mov byte [edx + ecx], al
lea ecx, [esi + 0x64]
mov edx, dword [ecx]
mov eax, dword [esi + 0xb0b8]
inc edx
cmp edx, eax
jb 0x1002cb1b
sub edx, eax
mov dword [ecx], edx
test ebp, ebp
jne 0x1002caf3
jmp 0x1002c1a4
lea edx, [ebx - 0x102]
lea ecx, [edx + 0x12]
mov ebx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
mov dword [esp + 0x1c], ebx
test edx, edx
je 0x1002cb4e
lea ecx, [ecx]
mov eax, dword [ecx - 4]
lea ecx, [ecx - 4]
mov dword [ecx + 4], eax
sub edx, 1
jne 0x1002cb40
mov eax, dword [ebp + 0xc]
mov ecx, 0x10
mov dword [esi + 0x48], ebx
mov ebp, dword [ebp]
mov edi, dword [esi + 8]
sub ecx, edi
mov edx, dword [eax + ebp]
mov eax, dword [esi + 0x1bd8]
bswap edx
shr edx, cl
and edx, 0xfffe
cmp edx, dword [esi + eax*4 + 0x1b58]
jae 0x1002cbaf
mov ecx, 0x10
sub ecx, eax
shr edx, cl
movzx edi, byte [edx + esi + 0x1bdc]
add edi, dword [esi + 8]
mov eax, edi
shr eax, 3
add eax, ebp
and edi, 7
mov dword [esi + 4], eax
mov dword [esi + 8], edi
movzx ecx, word [esi + edx*2 + 0x1ddc]
mov dword [esp + 0x20], eax
jmp 0x1002cc1d
mov ebp, 0xf
inc eax
cmp eax, ebp
jae 0x1002cbd3
lea ecx, [eax + 0x6d6]
lea ecx, [esi + ecx*4]
cmp edx, dword [ecx]
jb 0x1002cbd1
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x1002cbc2
jmp 0x1002cbd3
mov ebp, eax
mov ebx, dword [esp + 0x1c]
add edi, ebp
mov eax, edi
mov ecx, 0x10
shr eax, 3
and edi, 7
add eax, dword [esi + 4]
sub ecx, ebp
mov dword [esi + 4], eax
mov dword [esi + 8], edi
sub edx, dword [esi + ebp*4 + 0x1b54]
shr edx, cl
mov ecx, dword [esi + ebp*4 + 0x1b98]
add ecx, edx
mov dword [esp + 0x20], eax
cmp ecx, dword [esi + 0x1b54]
sbb eax, eax
and eax, ecx
movzx ecx, word [esi + eax*2 + 0x21dc]
mov eax, dword [esp + 0x20]
movzx ebp, cx
cmp ebp, 8
jae 0x1002cc2a
add ebp, 2
jmp 0x1002cc79
mov edx, ebp
and ebp, 3
shr edx, 2
or ebp, 4
dec edx
mov ecx, edx
shl ebp, cl
add ebp, 2
test edx, edx
je 0x1002cc79
mov ecx, dword [esi + 0x10]
mov ebx, dword [esp + 0x1c]
mov eax, dword [eax + ecx]
mov ecx, 0x10
bswap eax
sub ecx, edi
shr eax, cl
mov ecx, 0x10
movzx eax, ax
sub ecx, edx
shr eax, cl
lea ecx, [edi + edx]
add ebp, eax
mov eax, ecx
shr eax, 3
add eax, dword [esp + 0x20]
and ecx, 7
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
cmp byte [esi + 0x2e38], 0
mov dword [esi + 0x5c], ebp
jne 0x1002c7cf
mov edx, dword [esi + 0x64]
lea ecx, [esi + 0x64]
mov edi, edx
sub edi, ebx
cmp ebx, edx
jbe 0x1002ccd9
mov eax, dword [esi + 0xb0b8]
add edi, eax
cmp ebx, eax
ja 0x1002cca9
cmp byte [esi + 0x6c], 0
jne 0x1002ccd9
lea ebx, [esi + 4]
test ebp, ebp
je 0x1002c1b0
mov eax, dword [esi + 0x2d30]
dec ebp
mov byte [edx + eax], 0
mov edx, dword [ecx]
mov eax, dword [esi + 0xb0b8]
inc edx
cmp edx, eax
jb 0x1002ccce
sub edx, eax
mov dword [ecx], edx
test ebp, ebp
jne 0x1002ccb4
jmp 0x1002c1a4
mov ebx, dword [esi + 0xb0b8]
lea eax, [ebx - 0x1004]
cmp edi, eax
jae 0x1002cd7e
cmp edx, eax
jae 0x1002cd7e
mov eax, dword [esi + 0x2d30]
add edi, eax
lea ebx, [eax + edx]
lea eax, [edx + ebp]
mov dword [ecx], eax
cmp ebp, 8
jb 0x1002c8db
mov edx, ebp
shr edx, 3
cmp dword [esp + 0x1c], ebp
jae 0x1002cd61
lea esp, [esp]
mov al, byte [edi]
sub ebp, 8
mov byte [ebx], al
mov al, byte [edi + 1]
mov byte [ebx + 1], al
mov al, byte [edi + 2]
mov byte [ebx + 2], al
mov al, byte [edi + 3]
mov byte [ebx + 3], al
mov al, byte [edi + 4]
mov byte [ebx + 4], al
mov al, byte [edi + 5]
mov byte [ebx + 5], al
mov al, byte [edi + 6]
mov byte [ebx + 6], al
mov al, byte [edi + 7]
add edi, 8
mov byte [ebx + 7], al
add ebx, 8
sub edx, 1
jne 0x1002cd20
jmp 0x1002c8db
mov eax, dword [edi]
sub ebp, 8
mov ecx, dword [edi + 4]
add edi, 8
mov dword [ebx], eax
mov dword [ebx + 4], ecx
add ebx, 8
sub edx, 1
jne 0x1002cd61
jmp 0x1002c8d8
test ebp, ebp
je 0x1002c1a4
dec ebp
mov eax, edi
cmp edi, ebx
jb 0x1002cd8f
sub eax, ebx
mov ecx, dword [esi + 0x2d30]
inc edi
mov al, byte [ecx + eax]
mov byte [edx + ecx], al
lea ecx, [esi + 0x64]
mov edx, dword [ecx]
mov ebx, dword [esi + 0xb0b8]
inc edx
cmp edx, ebx
jb 0x1002cdae
sub edx, ebx
mov dword [ecx], edx
test ebp, ebp
jne 0x1002cd86
jmp 0x1002c1a4
pop ebp
pop edi
mov byte [esi + 0x2e50], 0
pop esi
pop ebx
add esp, 0x2c
ret 4
mov ecx, esi
call fcn.1002a340
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4