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

Disassembly:
sub esp, 0xc4
push ebx
push esi
mov esi, dword [esp + 0xd0]
mov ebx, dword [esi + 0x50]
mov ecx, dword [ebx + 0x48]
mov eax, dword [esi + 0x40]
push edi
xor edi, edi
push ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], ebx
call fcn.1001e0b0
add esp, 4
cmp eax, edi
jne 0x10021522
cmp byte [esi + 4], 0
je 0x10020979
cmp byte [esi + 3], 0
je 0x10020979
cmp byte [esi + 6], 0
je 0x10020979
cmp byte [esi + 2], 1
jne 0x10020979
mov dx, word [esi + 0x1c]
cmp dx, word [esi + 0x14]
jne 0x10020979
mov eax, dword [esi + 0x50]
cmp dword [eax + 0x4c], 1
je 0x10020979
movzx ecx, byte [ebx + 8]
mov edx, dword [ebx + 0x44]
lea eax, [ecx + edx + 8]
movzx edx, byte [eax + 2]
xor ecx, ecx
mov ch, byte [eax]
mov cl, byte [eax + 1]
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
cmp ecx, dword [esi + 0x4c]
jne 0x10020979
push ebx
mov ecx, esi
call fcn.100206f0
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0xc4
ret
cmp byte [ebx + 1], 0
push ebp
je 0x100209f6
movzx ebp, word [ebx + 0x14]
mov ecx, dword [esi + 0x4c]
xor esi, esi
cmp ebp, edi
mov dword [esp + 0x3c], ecx
jle 0x100209db
mov edi, dword [ebx + 0x44]
movzx ecx, word [ebx + 0xe]
jmp 0x100209a0
movzx eax, byte [ecx + edi + 1]
mov ah, byte [ecx + edi]
movzx ebx, byte [eax + edi + 2]
xor edx, edx
mov dh, byte [eax + edi]
add eax, edi
mov dl, byte [eax + 1]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, eax
cmp edx, dword [esp + 0x3c]
je 0x100209d5
add esi, 1
add ecx, 2
cmp esi, ebp
jl 0x100209a0
mov ebx, dword [esp + 0x14]
xor edi, edi
mov eax, dword [ebx + 0x48]
movzx ecx, word [eax + 0x22]
cmp cx, di
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
jne 0x100209fc
call fcn.100044a0
jmp 0x10020a03
movzx esi, word [esi + 0x10]
jmp 0x100209db
add ecx, 1
mov word [eax + 0x22], cx
movzx ecx, word [ebx + 0x14]
lea eax, [esi - 1]
lea edx, [eax + 3]
cmp edx, ecx
mov dword [esp + 0x24], eax
jle 0x10020a1c
lea eax, [ecx - 2]
mov dword [esp + 0x24], eax
cmp eax, edi
jge 0x10020a26
xor eax, eax
mov dword [esp + 0x24], eax
mov ebp, eax
add eax, eax
mov dword [esp + 0x38], eax
xor esi, esi
movzx eax, word [ebx + 0x14]
cmp ebp, eax
jge 0x10020a58
movzx eax, word [ebx + 0xe]
add eax, dword [esp + 0x38]
mov ecx, dword [ebx + 0x44]
add eax, ecx
xor edx, edx
mov dh, byte [eax]
mov dl, byte [eax + 1]
lea eax, [edx + ecx]
mov dword [esp + esi + 0x88], eax
jmp 0x10020a6d
jne 0x10020b54
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 8]
mov edx, dword [eax + 0x44]
lea eax, [ecx + edx + 8]
movzx ecx, byte [eax + 1]
mov ch, byte [eax]
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov edi, ecx
test edi, edi
mov dword [esp + esi + 0xa8], ecx
je 0x10020b4a
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
push 0
lea ecx, [esp + 0x40]
push ecx
push edi
push eax
call fcn.1001dec0
add esp, 0x10
test eax, eax
jne 0x10020aff
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
je 0x10020ac4
mov ecx, dword [ecx + 0x38]
lea ebx, [ecx + eax + 0x30]
jmp 0x10020ac6
xor ebx, ebx
cmp edi, 1
setne cl
sub cl, 1
lea edx, [eax + 0x30]
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x44], edx
and ecx, 0x64
mov dword [ebx + 0x4c], edi
mov byte [ebx + 8], cl
cmp byte [ebx], al
mov dword [esp + esi + 0x54], ebx
jne 0x10020aff
mov edx, dword [esp + 0x14]
push edx
call fcn.10004cc0
add esp, 4
test eax, eax
mov edi, eax
jne 0x100214c5
mov eax, dword [esp + esi + 0x54]
add dword [esp + 0x20], 1
add dword [esp + 0x38], 2
mov word [eax + 0x10], bp
movzx edx, byte [eax + 2]
add edx, dword [esp + 0x1c]
movzx ecx, word [eax + 0x14]
mov dword [esp + esi + 0x9c], edi
add esi, 4
lea eax, [edx + ecx + 1]
add ebp, 1
cmp esi, 0xc
mov dword [esp + 0x1c], eax
jge 0x10020b54
mov ebx, dword [esp + 0x14]
jmp 0x10020a30
mov edi, 0xb
jmp 0x100214c5
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
movzx ecx, word [ebx + 0x14]
mov dl, byte [ebx + 0x12]
add esi, 1
and esi, 0xfffffffe
add ecx, esi
neg dl
sbb edx, edx
and edx, esi
lea eax, [edx + ecx*8 + 0x108]
test eax, eax
jle 0x10020bbc
mov ebp, dword [0x100593ac]
test ebp, ebp
mov edi, dword [0x100593b8]
je 0x10020b90
test edi, edi
jg 0x10020bbc
push eax
call fcn.10041469
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x10020bc6
test ebp, ebp
je 0x10020ba9
test edi, edi
jg 0x10020bbc
add edi, 1
mov dword [0x100593b8], edi
mov dword [0x100593ac], 1
mov edi, 7
jmp 0x100214c5
movzx ecx, word [ebx + 0x14]
lea eax, [eax + esi*4]
mov dword [esp + 0x2c], eax
lea eax, [eax + esi*4]
mov dword [esp + 0x74], eax
mov eax, 1
lea ecx, [ecx]
mov edx, dword [esp + eax*4 + 0x70]
lea edx, [edx + ecx + 0x58]
mov dword [esp + eax*4 + 0x74], edx
add eax, 1
cmp eax, 3
jl 0x10020be0
cmp byte [ebx + 0x12], 0
mov eax, dword [esp + 0x7c]
lea eax, [ecx + eax + 0x58]
mov dword [esp + 0x50], eax
je 0x10020c0f
lea eax, [eax + ecx*4]
add eax, ecx
mov dword [esp + 0x48], eax
mov ebp, dword [esp + 0x20]
xor edi, edi
test ebp, ebp
jle 0x10020c64
lea esp, [esp]
movzx ecx, word [ebx + 0x14]
mov edx, dword [esp + edi*4 + 0x74]
lea esi, [edx + ecx]
mov edx, dword [esp + edi*4 + 0x54]
mov eax, esi
sub eax, ecx
mov dword [esi + 0x44], eax
movzx ecx, word [ebx + 0x14]
add ecx, 0x54
push ecx
mov ecx, dword [edx + 0x44]
push ecx
push eax
mov dword [esp + edi*4 + 0xa8], esi
call fcn.10041060
movzx edx, word [ebx + 0x14]
mov eax, esi
sub eax, edx
add edi, 1
add esp, 0xc
cmp edi, ebp
mov dword [esi + 0x44], eax
jl 0x10020c20
mov edx, dword [esp + 0xd8]
mov cl, byte [edx + 4]
movzx eax, cl
add eax, eax
xor ebx, ebx
add eax, eax
cmp byte [edx + 6], bl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], eax
je 0x10020c90
test cl, cl
mov dword [esp + 0x40], 1
jne 0x10020c94
mov dword [esp + 0x40], ebx
xor edx, edx
cmp ebp, ebx
mov dword [esp + 0x18], edx
jle 0x10020ea5
jmp 0x10020cb4
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + edx*4 + 0x9c]
movzx ecx, word [edi + 0x14]
movzx esi, byte [edi + 2]
mov eax, dword [esp + 0x1c]
add ecx, esi
test ecx, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x10], 0
jle 0x10020db4
mov ecx, dword [esp + 0x2c]
sub ecx, eax
lea ebp, [eax + ebx*4]
mov dword [esp + 0x3c], ecx
lea ebx, [ebx]
movzx eax, byte [edi + 2]
sub eax, 1
mov ecx, dword [esp + 0x10]
js 0x10020d18
lea edx, [edi + eax*8 + 0x18]
movzx esi, word [edx + 4]
cmp esi, ecx
jg 0x10020d0e
je 0x10020d85
sub ecx, 1
sub eax, 1
sub edx, 8
test eax, eax
jge 0x10020d01
movzx edx, word [edi + 0xe]
mov eax, dword [edi + 0x44]
add edx, eax
lea ecx, [edx + ecx*2]
movzx edx, byte [ecx + 1]
mov dh, byte [ecx]
add eax, edx
mov dword [ebp], eax
push eax
lea esi, [esp + 0xb8]
mov eax, edi
call fcn.100049b0
movzx eax, word [esp + 0xd6]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
add esp, 4
mov dword [ecx + ebp], eax
cmp byte [edx + 0x12], 0
je 0x10020d91
mov al, byte [esp + 0x18]
mov ecx, dword [esp + 0x48]
mov byte [ecx + ebx], al
movzx ecx, byte [edi + 2]
xor eax, eax
test ecx, ecx
jle 0x10020d91
mov esi, dword [ebp]
lea edx, [edi + 0x18]
cmp dword [edx], esi
je 0x10020d89
add eax, 1
add edx, 8
cmp eax, ecx
jl 0x10020d75
jmp 0x10020d91
mov eax, dword [edx]
jmp 0x10020d2c
mov edx, dword [esp + 0x48]
mov byte [edx + ebx], 0xff
mov eax, dword [esp + 0x10]
add eax, 1
add ebx, 1
add ebp, 4
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
jl 0x10020cf0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x20]
add eax, 0xffffffff
cmp edx, eax
jge 0x10020e94
mov ebp, dword [esp + edx*4 + 0x88]
mov ebx, dword [esp + 0x14]
push ebp
lea esi, [esp + 0xb8]
mov eax, ebx
call fcn.100049b0
movzx esi, word [esp + 0xd6]
add esp, 4
cmp dword [esp + 0x40], 0
je 0x10020e05
mov eax, dword [esp + 0x24]
mov ecx, esi
push eax
mov esi, ebx
call fcn.10005290
add esp, 4
jmp 0x10020e90
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
mov dword [ecx + edx*4], esi
mov ecx, dword [esp + 0x50]
push esi
lea ebx, [ecx + eax]
add eax, esi
push ebp
push ebx
mov dword [esp + 0x50], eax
call fcn.10041060
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
add ebx, edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], ebx
add esp, 0xc
cmp byte [edx + 0x12], 0
mov ebx, ecx
je 0x10020e51
mov eax, dword [esp + 0x48]
mov byte [eax + ebx], 0xff
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
mov esi, dword [esp + 0x18]
call fcn.10005290
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
sub dword [eax + ebx*4], edx
add esp, 4
cmp byte [edi + 4], 0
jne 0x10020e89
movzx eax, byte [edi + 8]
mov ecx, dword [edi + 0x44]
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + ebx*4]
mov eax, dword [eax + ecx + 8]
mov dword [edx], eax
add ebx, 1
mov dword [esp + 0x30], ebx
mov edx, dword [esp + 0x18]
add edx, 1
cmp edx, dword [esp + 0x20]
mov dword [esp + 0x18], edx
jl 0x10020cb0
mov ecx, dword [esp + 0x34]
movzx edx, word [ecx + 0x16]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
lea esi, [edx + eax - 0xc]
xor ecx, ecx
xor ebp, ebp
xor eax, eax
test edi, edi
jle 0x10020eff
mov ebx, dword [esp + 0x40]
jmp 0x10020ed0
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + ecx*4]
lea eax, [eax + edx + 2]
cmp eax, esi
jle 0x10020ef8
sub eax, edx
test ebx, ebx
mov dword [esp + ebp*4 + 0x60], eax
mov dword [esp + ebp*4 + 0x88], ecx
je 0x10020ef3
sub ecx, 1
xor eax, eax
add ebp, 1
add ecx, 1
cmp ecx, edi
jl 0x10020ed0
mov dword [esp + ebp*4 + 0x88], edi
add ebp, 1
mov dword [esp + ebp*4 + 0x5c], eax
lea edi, [ebp - 1]
test edi, edi
mov dword [esp + 0x4c], ebp
jle 0x10020f92
jmp 0x10020f20
mov eax, dword [esp + edi*4 + 0x84]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + edi*4 + 0x60]
mov esi, dword [esp + edi*4 + 0x5c]
sub eax, 1
mov ecx, eax
sub ecx, dword [esp + 0x40]
add ecx, 1
test edx, edx
je 0x10020f5a
mov ebp, esi
sub ebp, dword [ebx + eax*4]
mov ebx, dword [ebx + ecx*4]
sub ebp, 2
lea ebx, [ebx + edx + 2]
cmp ebx, ebp
jg 0x10020f7f
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebx + ecx*4]
add dword [esp + edi*4 + 0x84], 0xffffffff
lea edx, [edx + ecx + 2]
mov ecx, 0xfffffffe
sub ecx, dword [ebx + eax*4]
mov eax, dword [esp + edi*4 + 0x84]
add esi, ecx
add eax, 0xffffffff
jmp 0x10020f36
mov dword [esp + edi*4 + 0x60], edx
mov dword [esp + edi*4 + 0x5c], esi
sub edi, 1
test edi, edi
jg 0x10020f20
mov ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0xd8]
mov eax, dword [edx + 0x44]
movzx ecx, byte [eax]
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x3c], ecx
jle 0x1002103f
lea ecx, [ecx]
cmp ebx, dword [esp + 0x20]
jge 0x10020ff2
mov esi, dword [esp + ebx*4 + 0x54]
mov eax, dword [esi + 0x48]
mov edx, dword [esp + ebx*4 + 0xa8]
push eax
mov dword [esp + ebx*4 + 0x78], esi
mov dword [esp + 0x14], esi
mov dword [esp + ebx*4 + 0x64], edx
mov dword [esp + ebx*4 + 0x58], 0
call fcn.1001e0b0
add dword [esp + 0x2c], 1
mov edi, eax
add esp, 4
test edi, edi
jne 0x100214b8
jmp 0x10021027
mov ecx, dword [esp + ebx*4 + 0x5c]
lea eax, [esp + ebx*4 + 0x60]
push 0
push ecx
push eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.1001f850
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x100214b8
mov esi, dword [esp + 0x10]
add dword [esp + 0x28], 1
mov dword [esp + ebx*4 + 0x74], esi
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10004e20
add ebx, 1
add esp, 4
cmp ebx, ebp
jl 0x10020fb0
cmp ebx, dword [esp + 0x20]
jge 0x1002107d
mov esi, dword [esp + ebx*4 + 0x54]
push esi
call fcn.1001fdf0
mov edi, eax
add esp, 4
test edi, edi
jne 0x100214b8
test esi, esi
je 0x1002106c
mov edx, dword [esi + 0x48]
push edx
call fcn.10017750
add esp, 4
mov dword [esp + ebx*4 + 0x54], 0
add ebx, 1
cmp ebx, dword [esp + 0x20]
jl 0x10021045
lea eax, [ebp - 1]
xor ecx, ecx
test eax, eax
jle 0x100210f1
lea eax, [esp + ecx*4 + 0x60]
mov dword [esp + 0x4c], eax
mov eax, dword [eax]
lea ebx, [ecx + 1]
cmp ebx, ebp
mov dword [esp + 0x10], eax
mov edi, eax
mov edx, ecx
mov dword [esp + 0x18], ebx
mov eax, ebx
jge 0x100210e8
mov esi, dword [esp + eax*4 + 0x60]
cmp esi, edi
jae 0x100210b1
mov edx, eax
mov edi, esi
add eax, 1
cmp eax, ebp
jl 0x100210a5
cmp edx, ecx
jle 0x100210e8
mov edi, dword [esp + edx*4 + 0x60]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + ecx*4 + 0x74]
lea eax, [esp + edx*4 + 0x60]
lea ecx, [esp + ecx*4 + 0x74]
mov dword [ebx], edi
mov edi, dword [esp + edx*4 + 0x74]
mov ebx, dword [esp + 0x18]
lea edx, [esp + edx*4 + 0x74]
mov dword [ecx], edi
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [edx], esi
mov ecx, ebx
lea eax, [ebp - 1]
cmp ecx, eax
jl 0x10021086
mov ebp, dword [esp + 0x28]
xor esi, esi
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x18], esi
jle 0x100213b1
jmp 0x10021110
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + esi*4 + 0x88]
mov ebp, dword [esp + esi*4 + 0x74]
lea eax, [edx + ebx*4]
lea edx, [ecx + ebx*4]
push edx
mov ecx, edi
sub ecx, ebx
push ecx
push ebp
call fcn.1000c6c0
mov edx, dword [esp + 0x40]
add esp, 0xc
cmp byte [edx + 0x12], 0
je 0x100211e3
cmp ebx, edi
jge 0x100211e3
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x48]
mov al, byte [ebx + eax]
cmp al, 0xff
je 0x10021171
movzx edx, al
mov eax, dword [esp + edx*4 + 0x9c]
mov edx, dword [eax + 0x4c]
cmp edx, dword [ebp + 0x4c]
je 0x100211c2
movzx eax, byte [ebp + 2]
sub eax, 1
js 0x1002119b
lea edx, [ebp + eax*8 + 0x18]
mov edi, edi
movzx esi, word [edx + 4]
cmp esi, ecx
jg 0x10021191
je 0x1002122e
sub ecx, 1
sub eax, 1
sub edx, 8
test eax, eax
jge 0x10021180
movzx edx, word [ebp + 0xe]
mov eax, dword [ebp + 0x44]
add edx, eax
lea ecx, [edx + ecx*2]
movzx edx, byte [ecx + 1]
mov dh, byte [ecx]
add edx, eax
mov eax, edx
mov edi, ebp
call fcn.1001e7a0
mov edi, eax
test edi, edi
jne 0x100214b8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ebx, 1
add ecx, 1
cmp ebx, dword [esp + eax*4 + 0x88]
mov dword [esp + 0x10], ecx
jl 0x10021154
mov esi, eax
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + esi*4 + 0x88]
add ecx, 0xffffffff
cmp esi, ecx
jge 0x1002139c
cmp ebx, dword [esp + 0x30]
jge 0x1002139c
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + ebx*4]
add ecx, dword [esp + 0x38]
cmp byte [ebp + 4], 0
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + ebx*4]
mov dword [esp + 0x10], ecx
jne 0x10021235
mov eax, dword [ebp + 0x44]
mov edx, dword [esi]
mov dword [eax + 8], edx
xor eax, eax
jmp 0x100212a6
mov edx, dword [edx]
jmp 0x100211af
cmp dword [esp + 0x40], 0
je 0x10021293
mov eax, dword [eax + ebx*4 - 4]
sub ebx, 1
push eax
lea esi, [esp + 0xb8]
mov eax, ebp
call fcn.100049b0
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push eax
mov eax, dword [esp + 0x28]
lea esi, [ecx + edi]
mov ecx, dword [esp + 0xd0]
push ecx
push 0
push esi
call fcn.100201a0
mov ecx, dword [esp + 0x30]
add edi, ecx
add esp, 0x20
mov dword [esp + 0x44], edi
xor eax, eax
jmp 0x100212a6
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
sub esi, 4
add eax, edx
add edx, ecx
mov dword [esp + 0x44], edx
mov edi, dword [esp + 0x14]
push 4
push ecx
mov ecx, dword [esp + 0x2c]
push esi
call fcn.10020520
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100214b8
mov edi, dword [esp + 0x14]
movzx eax, byte [edi + 2]
sub eax, 1
mov ecx, dword [esp + 0x24]
js 0x100212fb
lea edx, [edi + eax*8 + 0x18]
lea esp, [esp]
movzx esi, word [edx + 4]
cmp esi, ecx
jg 0x100212f1
je 0x10021414
sub ecx, 1
sub eax, 1
sub edx, 8
test eax, eax
jge 0x100212e0
movzx edx, word [edi + 0xe]
mov eax, dword [edi + 0x44]
add edx, eax
lea esi, [edx + ecx*2]
xor ecx, ecx
mov ch, byte [esi]
mov cl, byte [esi + 1]
add eax, ecx
mov ecx, dword [ebp + 0x4c]
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov byte [eax + 3], cl
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x12], 0
je 0x10021390
cmp dword [esp + 0x40], 0
jne 0x10021390
movzx eax, byte [edi + 2]
sub eax, 1
mov ecx, dword [esp + 0x24]
js 0x1002136b
lea edx, [edi + eax*8 + 0x18]
nop
movzx esi, word [edx + 4]
cmp esi, ecx
jg 0x10021361
je 0x1002141b
sub ecx, 1
sub eax, 1
sub edx, 8
test eax, eax
jge 0x10021350
movzx edx, word [edi + 0xe]
mov eax, dword [edi + 0x44]
add edx, eax
lea esi, [edx + ecx*2]
movzx edx, byte [esi + 1]
mov dh, byte [esi]
add edx, eax
mov eax, edx
call fcn.1001e7a0
mov edi, eax
test edi, edi
jne 0x100214b8
mov esi, dword [esp + 0x18]
add ebx, 1
add dword [esp + 0x24], 1
add esi, 1
cmp esi, dword [esp + 0x28]
mov dword [esp + 0x18], esi
jl 0x10021110
mov ebp, dword [esp + 0x28]
test byte [esp + 0x3c], 8
jne 0x100213d3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + eax*4 + 0x98]
mov edx, dword [ecx + 0x44]
mov eax, dword [esp + ebp*4 + 0x70]
mov ecx, dword [eax + 0x44]
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov edi, dword [esp + 0x14]
movzx eax, byte [edi + 2]
movzx edx, word [edi + 0x14]
mov ecx, dword [esp + 0x24]
add edx, eax
cmp ecx, edx
jne 0x10021422
movzx ecx, byte [edi + 8]
mov edx, dword [edi + 0x44]
mov eax, dword [esp + ebp*4 + 0x5c]
lea ecx, [ecx + edx + 8]
mov edx, eax
shr edx, 0x18
mov byte [ecx], dl
mov edx, eax
shr edx, 0x10
mov byte [ecx + 1], dl
mov edx, eax
shr edx, 8
mov byte [ecx + 2], dl
mov byte [ecx + 3], al
jmp 0x1002147d
mov eax, dword [edx]
jmp 0x10021310
mov edx, dword [edx]
jmp 0x1002137f
add eax, 0xffffffff
js 0x1002144b
lea edx, [edi + eax*8 + 0x18]
jmp 0x10021430
movzx esi, word [edx + 4]
cmp esi, ecx
jg 0x10021441
je 0x1002152c
sub ecx, 1
sub eax, 1
sub edx, 8
test eax, eax
jge 0x10021430
movzx edx, word [edi + 0xe]
mov eax, dword [edi + 0x44]
add edx, eax
lea ecx, [edx + ecx*2]
movzx edx, byte [ecx + 1]
mov dh, byte [ecx]
add eax, edx
mov ecx, dword [esp + ebp*4 + 0x5c]
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov byte [eax + 3], cl
xor ebx, ebx
test ebp, ebp
jle 0x1002149d
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + ebx*4 + 0x74]
call fcn.10020460
mov edi, eax
test edi, edi
jne 0x100214b8
add ebx, 1
cmp ebx, ebp
jl 0x10021487
mov esi, dword [esp + 0x14]
call fcn.10020460
mov edi, eax
test edi, edi
jne 0x100214b8
push eax
push esi
call fcn.10021910
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.100417c0
add esp, 4
mov ebx, dword [esp + 0x20]
xor esi, esi
test ebx, ebx
pop ebp
jle 0x100214eb
mov eax, dword [esp + esi*4 + 0x50]
test eax, eax
je 0x100214e4
mov ecx, dword [eax + 0x48]
push ecx
call fcn.10017750
add esp, 4
add esi, 1
cmp esi, ebx
jl 0x100214d0
mov ebx, dword [esp + 0x24]
xor esi, esi
test ebx, ebx
jle 0x10021510
mov eax, dword [esp + esi*4 + 0x70]
test eax, eax
je 0x10021509
mov edx, dword [eax + 0x48]
push edx
call fcn.10017750
add esp, 4
add esi, 1
cmp esi, ebx
jl 0x100214f5
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x48]
push ecx
call fcn.10017750
mov eax, edi
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0xc4
ret
mov eax, dword [edx]
jmp 0x1002145f