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

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp + 0x164]
push esi
push edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x10], eax
cmp edi, dword [ebp + 0x90]
jne 0x21006d43
lea edx, [ebp + 0x124]
lea ecx, [ebp + 0x120]
mov dword [esp + 0x14], edx
jmp 0x21006d50
mov ecx, dword [ebp + 0x12c]
lea eax, [ecx + 4]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
lea esp, [esp]
test ebx, ebx
mov eax, dword [esp + 0x14]
mov dword [ecx], esi
mov edx, dword [esp + 0x34]
mov byte [esp + 0x20], 1
mov dword [eax], edx
jg 0x21006d9e
mov al, byte [esp + 0x3c]
test al, al
je 0x21006d85
test ebx, ebx
jne 0x2100829e
lea eax, [ebx + 4]
cmp eax, 4
ja case.0x21006d8d.3
jmp dword [eax*4 + 0x210084d8]
mov ecx, dword [esp + 0x2c]
neg ebx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x34]
push edi
push edx
push esi
lea eax, [ebp + 0x100]
push ebx
push eax
call dword [eax]
add esp, 0x14
mov dword [esp + 0x30], eax
inc eax
cmp eax, 0x3d
ja case.default.0x21006dc0
jmp dword [eax*4 + 0x210084ec]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push ebp
xor edx, edx
call fcn.21003a40
add esp, 4
test eax, eax
jne 0x210084d0
mov eax, dword [ebp + 0x90]
mov dword [esp + 0x24], eax
jmp 0x21006fff
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x21006e38
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
lea ecx, [ebp + 0x1a0]
call fcn.21003520
test eax, eax
mov dword [ebp + 0x140], eax
je 0x2100718a
mov ecx, dword [ebp + 0x1ac]
mov dword [ebp + 0x1b0], ecx
mov dword [ebp + 0x148], 0
mov byte [esp + 0x20], 0
mov dword [ebp + 0x144], 0
jmp 0x21006fd9
mov eax, dword [ebp + 0x54]
test eax, eax
je case.default.0x21006dc0
mov edx, dword [ebp + 0x148]
mov ecx, dword [ebp + 0x144]
push 1
push edx
mov edx, dword [ebp + 0x140]
push ecx
mov ecx, dword [ebp + 4]
push edx
push ecx
call eax
add esp, 0x14
lea ecx, [ebp + 0x1a0]
mov dword [ebp + 0x140], 0
call fcn.21002220
jmp 0x21006fff
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push ebp
mov edx, 1
call fcn.21003a40
add esp, 4
test eax, eax
jne 0x210084d0
mov edx, dword [ebp + 0x90]
mov dword [esp + 0x24], edx
jmp 0x21006fff
mov ebx, dword [esp + 0x10]
push 0x24
lea eax, [ebx + 0x84]
push 0x2101b258
push eax
mov byte [ebp + 0x1e9], 0
call fcn.21001eb0
add esp, 0xc
test eax, eax
mov dword [ebp + 0x13c], eax
je 0x2100718a
mov byte [ebx + 0x81], 1
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x21006f60
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ecx
push edx
push edi
push eax
call dword [eax + 0x38]
add esp, 0x10
test eax, eax
je 0x21008355
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x44]
mov esi, dword [esp + 0x34]
sub esi, eax
add eax, edi
lea ecx, [ebp + 0x1a0]
mov edi, edx
call fcn.21003520
test eax, eax
mov dword [ebp + 0x148], eax
je 0x2100718a
mov esi, eax
call fcn.21001e30
mov eax, dword [ebp + 0x1ac]
mov dword [ebp + 0x1b0], eax
mov byte [esp + 0x20], 0
jmp 0x21006f82
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [eax + 0x38]
add esp, 0x10
test eax, eax
je 0x21008355
mov al, byte [ebx + 0x80]
test al, al
je 0x21006fd9
mov eax, dword [ebp + 0x13c]
test eax, eax
je 0x21006fd9
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x44]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
sub esi, eax
add eax, ecx
lea ecx, [ebx + 0x50]
call fcn.21003520
mov esi, eax
test esi, esi
je 0x2100718a
call fcn.21001e30
mov edx, dword [ebp + 0x13c]
mov dword [edx + 0x18], esi
mov eax, dword [ebx + 0x5c]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp + 0x88]
test eax, eax
jne 0x21006fff
mov al, byte [esp + 0x20]
test al, al
je 0x21006fff
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x21006fff
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
push ecx
mov esi, ebp
call fcn.21001cb0
add esp, 4
mov eax, dword [ebp + 0x1e0]
sub eax, 2
je 0x210084cb
dec eax
je 0x210084b7
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x34]
push edx
push eax
push esi
push edi
mov dword [esp + 0x38], esi
call dword [edi]
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov ebx, eax
jmp 0x21006d60
mov eax, dword [ebp + 0x140]
test eax, eax
je 0x21007072
mov ecx, dword [ebp + 0x148]
mov edx, dword [ebp + 0x144]
push 0
push ecx
push edx
push eax
mov eax, dword [ebp + 4]
push eax
call dword [ebp + 0x54]
add esp, 0x14
lea ecx, [ebp + 0x1a0]
call fcn.21002220
mov byte [esp + 0x20], 0
mov eax, dword [ebp + 0x144]
test eax, eax
jne 0x2100708a
mov al, byte [ebp + 0x1e9]
test al, al
je 0x21007151
mov esi, dword [esp + 0x10]
mov bl, byte [esi + 0x81]
mov byte [esi + 0x81], 1
mov eax, dword [ebp + 0x1ec]
test eax, eax
je 0x2100714a
mov eax, dword [ebp + 0x70]
test eax, eax
je 0x2100714a
push 0x24
lea ecx, [esi + 0x84]
push 0x2101b258
push ecx
call fcn.21001eb0
add esp, 0xc
test eax, eax
je 0x2100718a
mov cl, byte [ebp + 0x1e9]
test cl, cl
je 0x210070e5
mov edx, dword [ebp + 0x168]
mov dword [eax + 0x14], edx
mov byte [esi + 0x83], 0
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
mov ecx, dword [ebp + 0x74]
push edx
push eax
push 0
push ecx
call dword [ebp + 0x70]
add esp, 0x14
test eax, eax
je 0x21008362
mov al, byte [esi + 0x83]
test al, al
je 0x2100713a
mov al, byte [esi + 0x82]
test al, al
jne 0x2100714a
mov eax, dword [ebp + 0x6c]
test eax, eax
je 0x2100714a
mov edx, dword [ebp + 4]
push edx
call eax
add esp, 4
test eax, eax
je 0x2100841d
jmp 0x2100714a
mov eax, dword [ebp + 0x144]
test eax, eax
jne 0x2100714a
mov byte [esi + 0x81], bl
mov byte [ebp + 0x1e9], 0
mov eax, dword [ebp + 0x58]
test eax, eax
je 0x21006fd9
mov ecx, dword [ebp + 4]
push ecx
call eax
jmp 0x21006ffc
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
push ebp
call fcn.21003560
add esp, 4
test eax, eax
mov dword [ebp + 0x158], eax
jne 0x2100723f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
push ebp
call fcn.21004720
add esp, 0x10
test eax, eax
mov dword [ebp + 0x15c], eax
je 0x2100718a
mov byte [ebp + 0x160], 0
mov dword [ebp + 0x14c], 0
mov byte [ebp + 0x161], 0
jmp 0x2100723f
mov byte [ebp + 0x160], 1
mov dword [ebp + 0x14c], 0x2101b25c
jmp 0x2100723f
mov byte [ebp + 0x161], 1
mov dword [ebp + 0x14c], 0x2101b264
jmp 0x2100723f
mov dword [ebp + 0x14c], 0x2101b268
jmp 0x2100723f
mov dword [ebp + 0x14c], 0x2101b270
jmp 0x2100723f
mov dword [ebp + 0x14c], 0x2101b278
jmp 0x2100723f
mov dword [ebp + 0x14c], 0x2101b280
jmp 0x2100723f
mov dword [ebp + 0x14c], 0x2101b28c
jmp 0x2100723f
mov dword [ebp + 0x14c], 0x2101b294
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x80]
test al, al
je case.default.0x21006dc0
mov eax, dword [ebp + 0x84]
test eax, eax
je case.default.0x21006dc0
jmp 0x21006fff
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x80]
test cl, cl
je case.default.0x21006dc0
mov eax, dword [ebp + 0x84]
test eax, eax
je case.default.0x21006dc0
mov eax, dword [ebp + 0x14c]
test eax, eax
je 0x21007295
mov eax, 0x2101b2ac
jmp 0x210072a6
cmp dword [esp + 0x30], 0x20
mov eax, str.NOTATION_
je 0x210072a6
mov eax, 0x2101b2b0
lea ebx, [ebp + 0x1a0]
mov ecx, ebx
call fcn.210034e0
test eax, eax
je 0x2100718a
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
push ecx
mov eax, ebx
call fcn.210033e0
add esp, 4
test eax, eax
je 0x2100718a
mov edx, dword [ebp + 0x1b0]
mov dword [ebp + 0x14c], edx
jmp 0x21006fff
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x80]
test cl, cl
je case.default.0x21006dc0
mov edx, dword [ebp + 0x15c]
mov esi, dword [ebp + 0x158]
xor ecx, ecx
mov cl, byte [ebp + 0x160]
push 0
mov ebx, ebp
push ecx
push edx
mov dl, byte [ebp + 0x161]
call fcn.21001d60
add esp, 0xc
test eax, eax
je 0x2100718a
mov eax, dword [ebp + 0x84]
test eax, eax
je case.default.0x21006dc0
mov eax, dword [ebp + 0x14c]
test eax, eax
je case.default.0x21006dc0
mov cl, byte [eax]
cmp cl, 0x28
je 0x2100735f
cmp cl, 0x4e
jne 0x210073dd
cmp byte [eax + 1], 0x4f
jne 0x210073dd
mov eax, dword [ebp + 0x1ac]
cmp eax, dword [ebp + 0x1a8]
jne 0x21007380
lea ebx, [ebp + 0x1a0]
call fcn.210022a0
test al, al
je 0x2100718a
mov ecx, dword [ebp + 0x1ac]
mov byte [ecx], 0x29
mov edx, dword [ebp + 0x1ac]
mov ecx, dword [ebp + 0x1a8]
inc edx
mov eax, edx
cmp eax, ecx
mov dword [ebp + 0x1ac], edx
jne 0x210073b5
lea ebx, [ebp + 0x1a0]
call fcn.210022a0
test al, al
je 0x2100718a
mov edx, dword [ebp + 0x1ac]
mov byte [edx], 0
mov eax, dword [ebp + 0x1ac]
mov ecx, dword [ebp + 0x1b0]
inc eax
mov dword [ebp + 0x1ac], eax
mov dword [ebp + 0x14c], ecx
mov dword [ebp + 0x1b0], eax
mov esi, dword [esp + 0x30]
xor ecx, ecx
cmp esi, 0x24
sete cl
push ecx
push 0
jmp 0x2100752d
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x80]
test al, al
je case.default.0x21006dc0
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + 0x44]
mov eax, dword [esp + 0x34]
mov esi, edx
mov edx, dword [esp + 0x28]
sub eax, ecx
add ecx, edx
xor edx, edx
mov dl, byte [ebp + 0x160]
add esi, 0x50
push edx
push ebp
mov edx, edi
call fcn.210050c0
add esp, 8
test eax, eax
jne 0x210084d0
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x60]
mov ecx, dword [eax + 0x5c]
mov dword [eax + 0x60], ecx
mov eax, dword [ebp + 0x15c]
mov esi, dword [ebp + 0x158]
xor edx, edx
mov dl, byte [ebp + 0x160]
push edi
mov ebx, ebp
push edx
push eax
xor dl, dl
call fcn.21001d60
add esp, 0xc
test eax, eax
je 0x2100718a
mov eax, dword [ebp + 0x84]
test eax, eax
je case.default.0x21006dc0
mov eax, dword [ebp + 0x14c]
test eax, eax
je case.default.0x21006dc0
mov cl, byte [eax]
cmp cl, 0x28
je 0x210074a1
cmp cl, 0x4e
jne 0x2100751f
cmp byte [eax + 1], 0x4f
jne 0x2100751f
mov ecx, dword [ebp + 0x1ac]
cmp ecx, dword [ebp + 0x1a8]
jne 0x210074c2
lea ebx, [ebp + 0x1a0]
call fcn.210022a0
test al, al
je 0x2100718a
mov edx, dword [ebp + 0x1ac]
mov byte [edx], 0x29
mov edx, dword [ebp + 0x1ac]
mov ecx, dword [ebp + 0x1a8]
inc edx
mov eax, edx
cmp eax, ecx
mov dword [ebp + 0x1ac], edx
jne 0x210074f7
lea ebx, [ebp + 0x1a0]
call fcn.210022a0
test al, al
je 0x2100718a
mov eax, dword [ebp + 0x1ac]
mov byte [eax], 0
mov eax, dword [ebp + 0x1ac]
mov ecx, dword [ebp + 0x1b0]
inc eax
mov dword [ebp + 0x1ac], eax
mov dword [ebp + 0x14c], ecx
mov dword [ebp + 0x1b0], eax
mov esi, dword [esp + 0x30]
xor ecx, ecx
cmp esi, 0x26
sete cl
push ecx
push edi
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
mov edx, dword [ebp + 0x14c]
mov eax, dword [ebp + 0x15c]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp + 0x158]
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp + 4]
push eax
push ecx
call dword [ebp + 0x84]
add esp, 0x18
lea ecx, [ebp + 0x1a0]
call fcn.21002220
jmp 0x21006fff
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x80]
test al, al
je case.default.0x21006dc0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x44]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
sub edx, eax
push edx
add eax, esi
push eax
push ecx
push ebp
call fcn.210040d0
mov ecx, dword [ebp + 0x13c]
mov edi, eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x78]
add esp, 0x10
test ecx, ecx
je 0x21007612
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x78]
mov ecx, dword [eax + 0x74]
sub ecx, edx
mov edx, dword [ebp + 0x13c]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x74]
mov dword [eax + 0x78], ecx
mov eax, dword [ebp + 0x88]
test eax, eax
je 0x21007615
mov edx, dword [esp + 0x14]
push 0
mov dword [edx], esi
mov eax, dword [ebp + 0x13c]
mov ecx, dword [ebp + 0x168]
mov edx, dword [eax + 8]
push 0
push 0
push ecx
mov ecx, dword [eax + 4]
push edx
movzx edx, byte [eax + 0x21]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp + 4]
push edx
push eax
push ecx
call dword [ebp + 0x88]
add esp, 0x24
mov byte [esp + 0x20], 0
jmp 0x21007615
mov dword [eax + 0x74], edx
test edi, edi
je 0x21006fd9
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ebx, dword [esp + 0x10]
mov byte [ebp + 0x1e9], 0
mov byte [ebx + 0x81], 1
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x2100767f
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x44]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
sub esi, eax
add eax, ecx
lea ecx, [ebp + 0x1a0]
call fcn.21003520
test eax, eax
mov dword [ebp + 0x144], eax
je 0x2100718a
mov edx, dword [ebp + 0x1ac]
mov dword [ebp + 0x1b0], edx
mov byte [esp + 0x20], 0
jmp 0x21007689
mov dword [ebp + 0x144], 0x2101b258
mov al, byte [ebx + 0x82]
test al, al
jne 0x210076b5
mov eax, dword [ebp + 0x1ec]
test eax, eax
jne 0x210076b5
mov eax, dword [ebp + 0x6c]
test eax, eax
je 0x210076b5
mov ecx, dword [ebp + 4]
push ecx
call eax
add esp, 4
test eax, eax
je 0x2100841d
mov eax, dword [ebp + 0x13c]
test eax, eax
jne 0x210076f0
push 0x24
lea edx, [ebx + 0x84]
push 0x2101b258
push edx
call fcn.21001eb0
add esp, 0xc
test eax, eax
mov dword [ebp + 0x13c], eax
je 0x2100718a
mov dword [eax + 0x18], 0
jmp 0x210076f0
mov ebx, dword [esp + 0x10]
mov al, byte [ebx + 0x80]
test al, al
je 0x21006fd9
mov eax, dword [ebp + 0x13c]
test eax, eax
je 0x21006fd9
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x44]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
sub esi, eax
add eax, ecx
lea ecx, [ebx + 0x50]
call fcn.21003520
mov edx, dword [ebp + 0x13c]
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 0x13c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x2100718a
mov ecx, dword [ebp + 0x168]
mov dword [eax + 0x14], ecx
mov edx, dword [ebx + 0x5c]
mov dword [ebx + 0x60], edx
jmp 0x21006fcf
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x80]
test cl, cl
je case.default.0x21006dc0
mov eax, dword [ebp + 0x13c]
test eax, eax
je case.default.0x21006dc0
mov eax, dword [ebp + 0x88]
test eax, eax
je case.default.0x21006dc0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp + 0x13c]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x10]
push 0
push ecx
mov ecx, dword [eax + 0x14]
push edx
movzx edx, byte [eax + 0x21]
push ecx
push 0
push 0
push edx
jmp 0x21007872
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x80]
test al, al
je case.default.0x21006dc0
mov eax, dword [ebp + 0x13c]
test eax, eax
je case.default.0x21006dc0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ebx, edx
lea ecx, [ebx + 0x50]
call fcn.21003520
mov ecx, dword [ebp + 0x13c]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp + 0x13c]
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x2100718a
mov eax, dword [ebx + 0x5c]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp + 0x5c]
test eax, eax
je 0x2100783e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov dword [ecx], edx
mov eax, dword [ebp + 0x13c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0x14]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp + 4]
push edx
push eax
push ecx
call dword [ebp + 0x5c]
add esp, 0x18
jmp 0x21006fff
mov eax, dword [ebp + 0x88]
test eax, eax
je case.default.0x21006dc0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov eax, dword [ebp + 0x13c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0x14]
push ecx
push edx
push 0
push 0
push 0
mov eax, dword [eax]
mov ecx, dword [ebp + 4]
push eax
push ecx
call dword [ebp + 0x88]
add esp, 0x24
jmp 0x21006fff
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push edi
push eax
call dword [eax + 0x30]
add esp, 0xc
test eax, eax
je 0x210078af
mov dword [ebp + 0x13c], 0
jmp case.default.0x21006dc0
mov ebx, dword [esp + 0x10]
mov al, byte [ebx + 0x80]
test al, al
je 0x2100795a
mov esi, dword [esp + 0x34]
mov eax, edi
mov edi, dword [esp + 0x24]
lea ecx, [ebx + 0x50]
call fcn.21003520
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x2100718a
push 0x24
push esi
push ebx
call fcn.21001eb0
add esp, 0xc
cmp eax, edi
mov dword [ebp + 0x13c], eax
je 0x2100718a
cmp dword [eax], esi
je 0x2100790e
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x5c], eax
mov dword [ebp + 0x13c], edi
jmp case.default.0x21006dc0
mov ecx, dword [ebx + 0x5c]
mov dword [ebx + 0x60], ecx
mov edx, dword [ebp + 0x13c]
mov dword [edx + 0x18], edi
mov eax, dword [ebp + 0x13c]
mov byte [eax + 0x21], 0
cmp dword [ebp + 0x1dc], edi
jne 0x2100793e
cmp dword [ebp + 0x12c], edi
jne 0x2100793e
mov eax, 1
jmp 0x21007940
xor eax, eax
mov ecx, dword [ebp + 0x13c]
mov byte [ecx + 0x22], al
cmp dword [ebp + 0x88], edi
je case.default.0x21006dc0
jmp 0x21006fff
mov edx, dword [ebx + 0x60]
mov dword [ebx + 0x5c], edx
mov dword [ebp + 0x13c], 0
jmp case.default.0x21006dc0
mov ebx, dword [esp + 0x10]
mov al, byte [ebx + 0x80]
test al, al
je 0x21007a22
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
lea ecx, [ebx + 0x50]
call fcn.21003520
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x2100718a
push 0x24
lea eax, [ebx + 0x84]
push esi
push eax
call fcn.21001eb0
add esp, 0xc
cmp eax, edi
mov dword [ebp + 0x13c], eax
je 0x2100718a
cmp dword [eax], esi
je 0x210079d6
mov ecx, dword [ebx + 0x60]
mov dword [ebx + 0x5c], ecx
mov dword [ebp + 0x13c], edi
jmp case.default.0x21006dc0
mov edx, dword [ebx + 0x5c]
mov dword [ebx + 0x60], edx
mov eax, dword [ebp + 0x13c]
mov dword [eax + 0x18], edi
mov ecx, dword [ebp + 0x13c]
mov byte [ecx + 0x21], 1
cmp dword [ebp + 0x1dc], edi
jne 0x21007a06
cmp dword [ebp + 0x12c], edi
jne 0x21007a06
mov eax, 1
jmp 0x21007a08
xor eax, eax
mov edx, dword [ebp + 0x13c]
mov byte [edx + 0x22], al
cmp dword [ebp + 0x88], edi
je case.default.0x21006dc0
jmp 0x21006fff
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x5c], eax
mov dword [ebp + 0x13c], 0
jmp case.default.0x21006dc0
mov ecx, dword [ebp + 0x60]
xor eax, eax
cmp ecx, eax
mov dword [ebp + 0x154], eax
mov dword [ebp + 0x150], eax
je case.default.0x21006dc0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
lea ecx, [ebp + 0x1a0]
call fcn.21003520
test eax, eax
mov dword [ebp + 0x150], eax
je 0x2100718a
mov ecx, dword [ebp + 0x1ac]
mov dword [ebp + 0x1b0], ecx
jmp 0x21006fff
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push edx
push eax
mov eax, dword [esp + 0x2c]
push ecx
push eax
call dword [eax + 0x38]
add esp, 0x10
test eax, eax
je 0x21008355
mov eax, dword [ebp + 0x150]
test eax, eax
je case.default.0x21006dc0
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x44]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
sub esi, eax
add eax, edx
lea ecx, [ebp + 0x1a0]
call fcn.21003520
mov esi, eax
test esi, esi
je 0x2100718a
call fcn.21001e30
mov eax, dword [ebp + 0x1ac]
mov dword [ebp + 0x154], esi
mov dword [ebp + 0x1b0], eax
jmp 0x21006fff
mov eax, dword [ebp + 0x150]
test eax, eax
je 0x21007b5c
mov eax, dword [ebp + 0x60]
test eax, eax
je 0x21007b5c
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x44]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
sub esi, eax
add eax, ebx
lea ecx, [ebp + 0x1a0]
call fcn.21003520
test eax, eax
je 0x2100718a
mov ecx, dword [esp + 0x14]
mov dword [ecx], ebx
mov edx, dword [ebp + 0x154]
push edx
push eax
mov eax, dword [ebp + 0x168]
mov ecx, dword [ebp + 0x150]
mov edx, dword [ebp + 4]
push eax
push ecx
push edx
call dword [ebp + 0x60]
add esp, 0x14
mov byte [esp + 0x20], 0
lea ecx, [ebp + 0x1a0]
call fcn.21002220
jmp 0x21006fd9
mov eax, dword [ebp + 0x154]
test eax, eax
je 0x21007b5c
mov eax, dword [ebp + 0x60]
test eax, eax
je 0x21007b5c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 0x154]
push edx
push 0
jmp 0x21007b3f
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x21007bb0
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x38]
mov esi, ebp
call fcn.21001cb0
add esp, 4
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x40]
push ecx
push ebp
call fcn.21002bb0
add esp, 0x14
test eax, eax
jne 0x210084d0
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x21006fff
pop edi
pop esi
mov dword [ebp + 0x118], 0x210039e0
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, dword [ebp + 0x1d4]
cmp dword [ebp + 0x104], eax
jb 0x21007c7e
test eax, eax
je 0x21007c5e
mov edx, dword [ebp + 0x1d0]
add eax, eax
push eax
push edx
mov dword [ebp + 0x1d4], eax
call dword [ebp + 0x10]
add esp, 8
test eax, eax
je 0x2100718a
mov esi, dword [esp + 0x10]
mov dword [ebp + 0x1d0], eax
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x21007c82
mov ecx, dword [ebp + 0x1d4]
shl ecx, 2
push ecx
push eax
call dword [ebp + 0x10]
add esp, 8
test eax, eax
je 0x2100718a
mov dword [esi + 0xb8], eax
jmp 0x21007c82
push 0x20
mov dword [ebp + 0x1d4], 0x20
call dword [ebp + 0xc]
add esp, 4
test eax, eax
mov dword [ebp + 0x1d0], eax
je 0x2100718a
mov esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x104]
mov edx, dword [ebp + 0x1d0]
mov byte [edx + eax], 0
mov al, byte [esi + 0xa0]
test al, al
je case.default.0x21006dc0
mov eax, ebp
call fcn.21002400
test eax, eax
jl 0x2100718a
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xb4]
mov esi, dword [ecx + 0xb8]
mov dword [esi + edx*4], eax
imul eax, eax, 0x1c
inc dword [ecx + 0xb4]
mov ecx, dword [ecx + 0xa4]
mov dword [eax + ecx], 6
mov eax, dword [ebp + 0x80]
test eax, eax
je case.default.0x21006dc0
jmp 0x21006fff
mov edx, dword [ebp + 0x1d0]
mov eax, dword [ebp + 0x104]
mov cl, byte [eax + edx]
add eax, edx
cmp cl, 0x7c
je 0x21008483
mov ecx, dword [esp + 0x10]
mov byte [eax], 0x2c
mov al, byte [ecx + 0xa0]
test al, al
je case.default.0x21006dc0
mov eax, dword [ebp + 0x80]
test eax, eax
je case.default.0x21006dc0
jmp 0x21006fff
mov edx, dword [ebp + 0x1d0]
mov eax, dword [ebp + 0x104]
mov al, byte [edx + eax]
cmp al, 0x2c
je 0x21008483
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + 0xa0]
test dl, dl
je 0x21007d8e
test al, al
jne 0x21007d8e
mov eax, dword [ecx + 0xb8]
mov edx, dword [ecx + 0xb4]
mov edx, dword [eax + edx*4 - 4]
mov eax, dword [ecx + 0xa4]
imul edx, edx, 0x1c
mov ecx, dword [eax + edx]
add eax, edx
cmp ecx, 3
je 0x21007d8e
mov dword [eax], 5
mov eax, dword [ebp + 0x80]
test eax, eax
je 0x21007d8e
mov byte [esp + 0x20], 0
mov ecx, dword [ebp + 0x1d0]
mov edx, dword [ebp + 0x104]
mov byte [ecx + edx], 0x7c
jmp 0x21006fd9
mov ebx, dword [esp + 0x10]
mov byte [ebx + 0x81], 1
mov eax, dword [ebp + 0x1ec]
test eax, eax
jne 0x21007df3
mov al, byte [ebx + 0x82]
mov byte [ebx + 0x80], al
mov al, byte [ebx + 0x82]
test al, al
jne 0x21006fd9
mov eax, dword [ebp + 0x6c]
test eax, eax
je 0x21006fd9
mov ecx, dword [ebp + 4]
push ecx
call eax
add esp, 4
test eax, eax
je 0x2100841d
jmp 0x21006fd9
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x44]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
sub esi, eax
add eax, ecx
lea ecx, [ebx + 0x50]
call fcn.21003520
mov edi, eax
test edi, edi
je 0x2100718a
push 0
lea edx, [ebx + 0x84]
push edi
push edx
call fcn.21001eb0
mov esi, eax
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebp + 0x110]
add esp, 0xc
test eax, eax
je 0x21007eaa
mov al, byte [ebx + 0x82]
test al, al
je 0x21007e52
mov ecx, dword [ebp + 0x12c]
xor eax, eax
test ecx, ecx
jmp 0x21007e5c
mov cl, byte [ebx + 0x81]
xor eax, eax
test cl, cl
sete al
test eax, eax
je 0x21007eaa
test esi, esi
je 0x21008490
mov al, byte [esi + 0x22]
test al, al
je 0x2100849d
mov al, byte [esi + 0x20]
test al, al
jne 0x210084aa
mov eax, dword [esi + 4]
test eax, eax
je 0x21007ee1
cmp dword [esp + 0x30], 0x3c
sete al
mov ebx, esi
mov esi, ebp
push eax
call fcn.21001b40
add esp, 4
test eax, eax
jne 0x210084d0
jmp 0x21006fff
test esi, esi
jne 0x21007e76
cmp dword [esp + 0x30], 0x3c
mov cl, byte [ebx + 0x82]
mov byte [ebx + 0x80], cl
jne case.default.0x21006dc0
mov eax, dword [ebp + 0x78]
test eax, eax
je case.default.0x21006dc0
mov edx, dword [ebp + 4]
push 1
push edi
push edx
call eax
add esp, 0xc
jmp 0x21006fff
mov eax, dword [ebp + 0x70]
test eax, eax
je 0x21007f3b
mov byte [ebx + 0x83], 0
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
push ecx
push edx
push eax
mov byte [esi + 0x20], 1
mov ecx, dword [ebp + 0x74]
push 0
push ecx
call dword [ebp + 0x70]
add esp, 0x14
test eax, eax
mov byte [esi + 0x20], 0
je 0x21008362
mov al, byte [ebx + 0x83]
test al, al
mov byte [esp + 0x20], 0
jne 0x21007dc4
mov dl, byte [ebx + 0x82]
mov byte [ebx + 0x80], dl
jmp 0x21006fff
mov dl, byte [ebx + 0x82]
mov byte [ebx + 0x80], dl
jmp case.default.0x21006dc0
mov eax, dword [ebp + 0x80]
test eax, eax
je case.default.0x21006dc0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
push ebp
call fcn.21003560
xor ecx, ecx
add esp, 4
cmp eax, ecx
mov dword [ebp + 0x158], eax
je 0x2100718a
mov eax, dword [esp + 0x10]
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb0], ecx
mov byte [eax + 0xa0], 1
jmp 0x21006fff
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0xa0]
test cl, cl
je case.default.0x21006dc0
mov eax, dword [ebp + 0x80]
xor esi, esi
cmp eax, esi
je 0x2100800a
push 0x14
call dword [ebp + 0xc]
add esp, 4
cmp eax, esi
je 0x2100718a
mov edx, dword [esp + 0x30]
xor ecx, ecx
cmp edx, 0x29
mov edx, dword [esp + 0x28]
sete cl
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
push eax
inc ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], edx
mov edx, dword [ebp + 0x158]
mov eax, dword [edx]
mov ecx, dword [ebp + 4]
push eax
push ecx
call dword [ebp + 0x80]
add esp, 0xc
mov byte [esp + 0x20], 0
mov edx, dword [esp + 0x10]
mov byte [edx + 0xa0], 0
jmp 0x21006fd9
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0xa0]
test cl, cl
je case.default.0x21006dc0
mov edx, dword [eax + 0xb8]
mov ecx, dword [eax + 0xb4]
mov ecx, dword [edx + ecx*4 - 4]
mov edx, dword [eax + 0xa4]
imul ecx, ecx, 0x1c
mov dword [ecx + edx], 3
mov eax, dword [ebp + 0x80]
test eax, eax
je case.default.0x21006dc0
jmp 0x21006fff
xor edi, edi
jmp 0x21008076
mov edi, 1
jmp 0x21008076
mov edi, 2
jmp 0x21008076
mov edi, 3
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0xa0]
test cl, cl
je case.default.0x21006dc0
test edi, edi
jne 0x21008096
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
jmp 0x210080a5
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
sub eax, dword [edx + 0x44]
mov dword [esp + 0x20], eax
mov eax, ebp
call fcn.21002400
test eax, eax
jl 0x2100718a
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov esi, eax
mov eax, dword [ebx + 0xa4]
imul esi, esi, 0x1c
mov dword [esi + eax], 4
mov ecx, dword [ebx + 0xa4]
mov dword [ecx + esi + 4], edi
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
push ebp
call fcn.21003560
add esp, 4
test eax, eax
je 0x2100718a
mov edi, dword [eax]
mov edx, dword [ebx + 0xa4]
mov dword [edx + esi + 8], edi
xor ecx, ecx
nop
mov al, byte [ecx + edi]
inc ecx
test al, al
jne 0x21008100
add dword [ebx + 0xa8], ecx
mov eax, dword [ebp + 0x80]
test eax, eax
je case.default.0x21006dc0
jmp 0x21006fff
xor ecx, ecx
jmp 0x21008138
mov ecx, 1
jmp 0x21008138
mov ecx, 2
jmp 0x21008138
mov ecx, 3
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0xa0]
test al, al
je case.default.0x21006dc0
mov eax, dword [ebp + 0x80]
test eax, eax
je 0x21008159
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xb4]
mov esi, dword [eax + 0xb8]
dec edx
mov dword [eax + 0xb4], edx
mov edx, dword [esi + edx*4]
mov esi, dword [eax + 0xa4]
imul edx, edx, 0x1c
mov dword [edx + esi + 4], ecx
mov ecx, dword [eax + 0xb4]
test ecx, ecx
jne 0x21006fd9
mov cl, byte [esp + 0x20]
test cl, cl
jne 0x210081ca
mov ebx, ebp
call fcn.21002600
test eax, eax
je 0x2100718a
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov dword [edx], ecx
mov edx, dword [ebp + 4]
push eax
mov eax, dword [ebp + 0x158]
mov ecx, dword [eax]
push ecx
push edx
call dword [ebp + 0x80]
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov byte [eax + 0xa0], 0
mov dword [eax + 0xa8], 0
jmp 0x21006fd9
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push ebp
call fcn.21004550
add esp, 0xc
test eax, eax
je 0x2100718a
jmp 0x21006fff
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push ebp
call fcn.21004680
add esp, 4
test eax, eax
je 0x2100718a
jmp 0x21006fff
cmp ebx, 0xe
jne case.default.0x21006dc0
jmp 0x21006fff
mov eax, dword [ebp + 0x54]
test eax, eax
je case.default.0x21006dc0
jmp 0x21006fff
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x80]
test al, al
je case.default.0x21006dc0
mov eax, dword [ebp + 0x88]
test eax, eax
je case.default.0x21006dc0
jmp 0x21006fff
mov eax, dword [ebp + 0x60]
test eax, eax
je case.default.0x21006dc0
jmp 0x21006fff
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x80]
test cl, cl
je case.default.0x21006dc0
mov eax, dword [ebp + 0x84]
test eax, eax
je case.default.0x21006dc0
jmp 0x21006fff
mov ecx, dword [esp + 0x38]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov edx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword [ecx], edx
mov eax, 4
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0xc
ret
mov eax, dword [ebp + 0x90]
cmp edi, eax
je 0x21008302
mov ecx, dword [ebp + 0x12c]
mov dl, byte [ecx + 0x14]
test dl, dl
jne 0x21008302
mov edx, dword [esp + 0x38]
pop edi
mov dword [edx], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov cl, byte [ebp + 0x1e8]
test cl, cl
jne 0x2100831d
cmp edi, eax
jne 0x2100831d
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x2c]
push edi
push eax
push eax
add ebp, 0x100
push 0xfffffffffffffffc
push ebp
call dword [ebp]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x21008345
pop edi
pop esi
pop ebp
mov eax, 0x1d
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x38]
pop edi
mov dword [eax], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0x20
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0x15
pop ebx
add esp, 0xc
ret
mov al, byte [ebp + 0x1e9]
test al, al
je 0x21008430
mov esi, dword [esp + 0x10]
mov bl, byte [esi + 0x81]
mov byte [esi + 0x81], 1
mov eax, dword [ebp + 0x1ec]
test eax, eax
je 0x21008430
mov eax, dword [ebp + 0x70]
test eax, eax
je 0x21008430
push 0x24
lea ecx, [esi + 0x84]
push 0x2101b258
push ecx
call fcn.21001eb0
add esp, 0xc
test eax, eax
je 0x2100718a
mov edx, dword [ebp + 0x168]
mov dword [eax + 0x14], edx
mov byte [esi + 0x83], 0
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
mov ecx, dword [ebp + 0x74]
push edx
push eax
push 0
push ecx
call dword [ebp + 0x70]
add esp, 0x14
test eax, eax
je 0x21008362
mov al, byte [esi + 0x83]
test al, al
je 0x2100842a
mov al, byte [esi + 0x82]
test al, al
jne 0x21008430
mov eax, dword [ebp + 0x6c]
test eax, eax
je 0x21008430
mov edx, dword [ebp + 4]
push edx
call eax
add esp, 4
test eax, eax
jne 0x21008430
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x81], bl
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
push ebp
mov dword [ebp + 0x118], fcn.21006cc0
call fcn.21006cc0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp ebx, 0xc
je 0x21008476
xor eax, eax
cmp ebx, 0x1c
sete al
pop edi
pop esi
pop ebp
pop ebx
lea eax, [eax*8 + 2]
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0x11
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0x18
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret