Function at 0x10021dc0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100894f5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x100cb018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0x18]
push eax
mov dword [ebp - 0x9c], eax
call fcn.10012910
mov edi, eax
add esp, 4
lea eax, [ebp - 0x7c]
mov ecx, dword [edi]
push eax
mov edx, dword [ecx + 0x14]
mov ecx, edi
call edx
mov dword [ebp - 4], 0
cmp dword [ebp - 0x6c], 0
jne 0x10021e48
xor edi, edi
jmp 0x10021e54
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x10]
call eax
movzx edi, ax
push dword [ebp - 0x9c]
mov dword [ebp - 0x98], edi
call fcn.1001bf40
add esp, 4
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
lea ecx, [ebp - 0x4c]
push ecx
push 0x100bb317
push str.0123456789ABCDEFabcdef_Xx
mov ecx, eax
call edx
xor al, al
mov byte [ebp - 0x7d], al
test di, di
je 0x10021f6e
push dword [ebp - 0x88]
push esi
call fcn.10022970
add esp, 8
test al, al
jne 0x10021f6e
lea edi, [esi + 6]
mov dword [ebp - 0x9c], edi
nop dword [eax]
cmp byte [esi + 4], 0
jne 0x10021efd
mov ecx, dword [esi]
test ecx, ecx
je 0x10021ef3
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x10021ed2
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x10021ed2
movzx eax, word [edx]
jmp 0x10021edc
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x10021ef3
mov ecx, dword [ebp - 0x9c]
mov edi, ecx
mov word [ecx], ax
jmp 0x10021ef9
mov dword [esi], 0
mov byte [esi + 4], 1
movzx eax, word [edi]
cmp ax, word [ebp - 0x98]
jne 0x10021f6e
mov ecx, dword [esi]
test ecx, ecx
je 0x10021f48
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x10021f30
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x10021f30
dec dword [eax]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 2]
mov dword [ecx], eax
movzx eax, word [edx]
jmp 0x10021f3a
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x10021f48
xor al, al
jmp 0x10021f50
mov dword [esi], 0
mov al, 1
push dword [ebp - 0x88]
mov byte [esi + 4], al
push esi
mov byte [ebp - 0x7d], 1
call fcn.10022970
add esp, 8
test al, al
je 0x10021eb0
push dword [ebp - 0x88]
mov edi, dword [ebp - 0x84]
push esi
mov dword [ebp - 0xa0], edi
call fcn.10022970
add esp, 8
test al, al
jne 0x100220f0
mov al, byte [esi + 4]
test al, al
jne 0x10021fda
mov ecx, dword [esi]
test ecx, ecx
je 0x10021fce
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x10021fb4
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x10021fb4
movzx eax, word [edx]
jmp 0x10021fbe
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x10021fce
mov word [esi + 6], ax
jmp 0x10021fd4
mov dword [esi], 0
mov byte [esi + 4], 1
mov al, 1
movzx ecx, word [esi + 6]
cmp cx, word [ebp - 0x1e]
jne 0x10022045
mov byte [edi], 0x2b
lea eax, [edi + 1]
mov ecx, dword [esi]
mov dword [ebp - 0xa0], eax
test ecx, ecx
je 0x10022035
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x10022017
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x10022017
dec dword [eax]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 2]
mov dword [ecx], eax
movzx eax, word [edx]
jmp 0x10022021
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x10022035
xor al, al
mov byte [esi + 4], al
jmp 0x100220f0
mov al, 1
mov dword [esi], 0
mov byte [esi + 4], al
jmp 0x100220f0
test al, al
jne 0x10022093
mov ecx, dword [esi]
test ecx, ecx
je 0x10022082
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x10022065
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x10022065
movzx eax, word [edx]
jmp 0x1002206f
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x10022082
mov word [esi + 6], ax
movzx eax, ax
jmp 0x1002208c
movzx eax, word [esi + 6]
mov dword [esi], 0
mov byte [esi + 4], 1
movzx ecx, ax
cmp cx, word [ebp - 0x20]
jne 0x100220f0
mov byte [edi], 0x2d
lea eax, [edi + 1]
mov ecx, dword [esi]
mov dword [ebp - 0xa0], eax
test ecx, ecx
je 0x100220e6
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x100220cc
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x100220cc
dec dword [eax]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 2]
mov dword [ecx], eax
movzx eax, word [edx]
jmp 0x100220d6
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x100220e6
mov byte [esi + 4], 0
jmp 0x100220f0
mov dword [esi], 0
mov byte [esi + 4], 1
cmp word [ebp - 0x98], 0
mov edi, dword [ebp - 0x88]
je 0x100221e4
push edi
push esi
call fcn.10022970
add esp, 8
test al, al
jne 0x100221e4
lea edi, [esi + 6]
mov dword [ebp - 0x9c], edi
nop
cmp byte [esi + 4], 0
jne 0x1002216d
mov ecx, dword [esi]
test ecx, ecx
je 0x10022163
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x10022142
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x10022142
movzx eax, word [edx]
jmp 0x1002214c
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x10022163
mov ecx, dword [ebp - 0x9c]
mov edi, ecx
mov word [ecx], ax
jmp 0x10022169
mov dword [esi], 0
mov byte [esi + 4], 1
movzx eax, word [edi]
cmp ax, word [ebp - 0x98]
jne 0x100221de
mov ecx, dword [esi]
test ecx, ecx
je 0x100221b8
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x100221a0
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x100221a0
dec dword [eax]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 2]
mov dword [ecx], eax
movzx eax, word [edx]
jmp 0x100221aa
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x100221b8
xor al, al
jmp 0x100221c0
mov dword [esi], 0
mov al, 1
push dword [ebp - 0x88]
mov byte [esi + 4], al
push esi
mov byte [ebp - 0x7d], 1
call fcn.10022970
add esp, 8
test al, al
je 0x10022120
mov edi, dword [ebp - 0x88]
mov eax, dword [ebx + 0x14]
and eax, 0xe00
cmp eax, 0x400
jne 0x100221fc
mov byte [ebp - 0x8c], 8
jmp 0x1002221b
cmp eax, 0x800
jne 0x1002220c
mov byte [ebp - 0x8c], 0x10
jmp 0x1002221b
neg eax
sbb al, al
and eax, 0xffffff0a
mov dword [ebp - 0x8c], eax
push edi
push esi
mov byte [ebp - 0x7e], 0
mov byte [ebp - 0x7f], 0
call fcn.10022970
add esp, 8
test al, al
jne 0x1002241b
cmp byte [esi + 4], al
jne 0x1002227a
mov ecx, dword [esi]
test ecx, ecx
je 0x10022270
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x10022256
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x10022256
movzx eax, word [edx]
jmp 0x10022260
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x10022270
mov word [esi + 6], ax
jmp 0x10022276
mov dword [esi], 0
mov byte [esi + 4], 1
movzx eax, word [esi + 6]
cmp ax, word [ebp - 0x4c]
jne 0x1002241b
mov ecx, dword [esi]
mov byte [ebp - 0x7e], 1
test ecx, ecx
je 0x100222cb
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x100222b3
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x100222b3
dec dword [eax]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 2]
mov dword [ecx], eax
movzx eax, word [edx]
jmp 0x100222bd
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x100222cb
xor al, al
jmp 0x100222d3
mov dword [esi], 0
mov al, 1
push edi
push esi
mov byte [esi + 4], al
call fcn.10022970
add esp, 8
test al, al
jne 0x10022407
mov al, byte [esi + 4]
test al, al
jne 0x10022331
mov ecx, dword [esi]
test ecx, ecx
je 0x10022325
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x1002230b
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x1002230b
movzx eax, word [edx]
jmp 0x10022315
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x10022325
mov word [esi + 6], ax
jmp 0x1002232b
mov dword [esi], 0
mov byte [esi + 4], 1
mov al, 1
movzx ecx, word [esi + 6]
cmp cx, word [ebp - 0x1a]
je 0x1002238f
test al, al
jne 0x10022389
mov ecx, dword [esi]
test ecx, ecx
je 0x10022378
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x1002235b
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x1002235b
movzx eax, word [edx]
jmp 0x10022365
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x10022378
mov word [esi + 6], ax
movzx eax, ax
jmp 0x10022382
movzx eax, word [esi + 6]
mov dword [esi], 0
mov byte [esi + 4], 1
movzx ecx, ax
cmp cx, word [ebp - 0x1c]
jne 0x10022407
mov eax, dword [ebp - 0x8c]
test al, al
je 0x100223a1
cmp al, 0x10
jne 0x10022425
mov ecx, dword [esi]
mov byte [ebp - 0x8c], 0x10
mov byte [ebp - 0x7e], 0
test ecx, ecx
je 0x100223f4
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x100223d3
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x100223d3
dec dword [eax]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 2]
mov dword [ecx], eax
movzx eax, word [edx]
jmp 0x100223dd
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x100223f4
xor al, al
mov byte [esi + 4], al
mov eax, dword [ebp - 0x8c]
jmp 0x10022429
mov al, 1
mov dword [esi], 0
mov byte [esi + 4], al
mov eax, dword [ebp - 0x8c]
jmp 0x10022429
mov eax, dword [ebp - 0x8c]
test al, al
jne 0x10022425
mov al, 8
mov dword [ebp - 0x8c], eax
jmp 0x10022429
mov eax, dword [ebp - 0x8c]
test al, al
je 0x10022440
cmp al, 0xa
je 0x10022440
mov edx, 8
mov ecx, 0x16
cmp al, dl
cmove ecx, edx
mov dword [ebp - 0x9c], ecx
jmp 0x1002244a
mov dword [ebp - 0x9c], 0xa
movzx ecx, byte [ebp - 0x7e]
mov eax, 0xf
mov dword [ebp - 0x90], eax
xorps xmm0, xmm0
mov dword [ebp - 0x50], eax
mov eax, ecx
shl cx, 8
movups xmmword [ebp - 0x64], xmm0
or cx, ax
mov dword [ebp - 0x54], 1
mov byte [ebp - 0x64], cl
mov byte [ebp - 0x63], 0
mov eax, dword [ebp - 0x84]
xor edi, edi
push dword [ebp - 0x88]
add eax, 0x1f
mov byte [ebp - 4], 1
push esi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0xa4], eax
call fcn.10022970
add esp, 8
test al, al
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
jne 0x10022727
lea ecx, [esi + 6]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0xa8], ecx
cmp byte [esi + 4], 0
jne 0x1002251d
mov ecx, dword [esi]
test ecx, ecx
je 0x1002250d
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x100224e6
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x100224e6
movzx eax, word [edx]
jmp 0x100224f0
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x1002250d
mov edx, dword [ebp - 0xa8]
mov ecx, edx
mov dword [ebp - 0x94], ecx
mov word [edx], ax
jmp 0x10022519
mov ecx, dword [ebp - 0x94]
mov dword [esi], 0
mov byte [esi + 4], 1
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10044360
lea ecx, [ebp - 0x4c]
sub eax, ecx
sar eax, 1
cmp eax, dword [ebp - 0x9c]
jae 0x100225a5
cmp byte [ebp - 0x7f], 0
mov ecx, dword [ebp - 0xa0]
mov al, byte [eax + str.0123456789ABCDEFabcdef_Xx]
mov byte [ecx], al
jne 0x10022555
cmp al, 0x30
je 0x10022568
cmp ecx, dword [ebp - 0xa4]
jae 0x10022568
inc ecx
mov byte [ebp - 0x7f], 1
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x84]
cmp ecx, 0x10
mov byte [ebp - 0x7e], 1
cmovae eax, edx
cmp byte [eax + edi], 0x7f
je 0x10022690
cmp ecx, 0x10
lea eax, [ebp - 0x64]
cmovae eax, edx
inc byte [eax + edi]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x90], edx
jmp 0x10022687
mov eax, dword [ebp - 0x98]
test ax, ax
je 0x100226f9
cmp byte [esi + 4], 0
jne 0x10022617
mov ecx, dword [esi]
test ecx, ecx
je 0x100225ff
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x100225d6
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x100225d6
movzx eax, word [edx]
jmp 0x100225e0
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x100225ff
mov ecx, dword [ebp - 0x94]
mov byte [esi + 4], 1
mov word [ecx], ax
mov eax, dword [ebp - 0x98]
jmp 0x1002261d
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x98]
mov dword [esi], 0
mov byte [esi + 4], 1
jmp 0x1002261d
mov ecx, dword [ebp - 0x94]
cmp word [ecx], ax
jne 0x100226f9
cmp dword [ebp - 0x90], 0x10
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x84]
cmovae eax, edx
cmp byte [eax + edi], 0
jne 0x10022645
mov byte [ebp - 0x7d], 1
jmp 0x10022690
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebp - 0x90]
jae 0x1002266b
cmp dword [ebp - 0x90], 0x10
lea eax, [ecx + 1]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x64]
cmovae eax, edx
mov word [eax + ecx], 0
jmp 0x1002267d
push 0
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x64]
push 1
call fcn.1001fb90
mov eax, dword [ebp - 0x50]
inc edi
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x100226d1
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x100226b9
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
test eax, eax
jle 0x100226b9
dec eax
mov dword [edx], eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 2]
mov dword [ecx], eax
movzx eax, word [edx]
jmp 0x100226c3
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x100226d1
xor al, al
jmp 0x100226d9
mov dword [esi], 0
mov al, 1
push dword [ebp - 0x88]
mov byte [esi + 4], al
push esi
call fcn.10022970
mov ecx, dword [ebp - 0x94]
add esp, 8
test al, al
je 0x100224c4
mov dword [ebp - 0x94], edi
test edi, edi
je 0x10022727
cmp dword [ebp - 0x90], 0x10
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x84]
cmp byte [eax + edi], 0
jle 0x10022723
inc edi
mov dword [ebp - 0x94], edi
jmp 0x10022727
mov byte [ebp - 0x7d], 1
cmp word [ebp - 0x98], 0
je 0x10022814
push dword [ebp - 0x88]
push esi
call fcn.10022970
add esp, 8
test al, al
jne 0x10022814
lea edi, [esi + 6]
mov dword [ebp - 0xa4], edi
cmp byte [esi + 4], 0
jne 0x100227a2
mov ecx, dword [esi]
test ecx, ecx
je 0x10022798
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x10022777
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x10022777
movzx eax, word [edx]
jmp 0x10022781
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x10022798
mov ecx, dword [ebp - 0xa4]
mov edi, ecx
mov word [ecx], ax
jmp 0x1002279e
mov dword [esi], 0
mov byte [esi + 4], 1
mov eax, dword [ebp - 0x98]
cmp word [edi], ax
jne 0x10022814
mov ecx, dword [esi]
test ecx, ecx
je 0x100227ee
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x100227d6
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
test eax, eax
jle 0x100227d6
dec eax
mov dword [edx], eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 2]
mov dword [ecx], eax
movzx eax, word [edx]
jmp 0x100227e0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x100227ee
xor al, al
jmp 0x100227f6
mov dword [esi], 0
mov al, 1
push dword [ebp - 0x88]
mov byte [esi + 4], al
push esi
mov byte [ebp - 0x7d], 1
call fcn.10022970
add esp, 8
test al, al
je 0x10022755
cmp dword [ebp - 0x68], 0x10
lea ecx, [ebp - 0x7c]
mov edi, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x6c]
cmovae ecx, edi
xor dl, dl
add esi, ecx
cmp byte [ebp - 0x7e], dl
je 0x100228c5
mov edi, dword [ebp - 0x94]
mov al, byte [ebp - 0x7d]
nop word [eax + eax]
test al, al
jne 0x1002289a
test edi, edi
je 0x1002289a
cmp ecx, esi
je 0x1002284e
mov dl, byte [ecx]
lea eax, [ecx + 1]
cmove eax, ecx
dec edi
mov ecx, eax
test dl, dl
jle 0x10022837
cmp dl, 0x7f
je 0x10022837
test edi, edi
je 0x1002287e
cmp dword [ebp - 0x90], 0x10
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x84]
cmp byte [eax + edi], dl
jne 0x10022893
test edi, edi
jne 0x10022837
cmp dword [ebp - 0x90], 0x10
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x84]
cmp byte [eax], dl
jle 0x10022837
mov al, 1
mov byte [ebp - 0x7d], al
jmp 0x10022840
cmp byte [ebp - 0x7f], 0
mov edi, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xa0]
jne 0x100228ad
mov byte [ecx], 0x30
inc ecx
movzx esi, al
mov eax, dword [ebp - 0x8c]
shl si, 8
movzx eax, al
mov byte [ecx], 0
or si, ax
jmp 0x100228d0
mov eax, dword [ebp - 0x8c]
not al
movzx esi, al
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x1002290b
mov edx, dword [ebp - 0x84]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100228fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002295b
push ecx
push edx
call fcn.10059bae
mov edi, dword [ebp - 0x7c]
add esp, 8
mov eax, dword [ebp - 0x68]
cmp eax, 0x10
jb 0x1002293a
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10022930
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002295b
push ecx
push edi
call fcn.10059bae
add esp, 8
mov ax, si
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10059b70
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1006907f
int3