Function at 0x100222ea
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e439
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push esi
mov dword [ebp - 0x3c], 0xfb0b0297
mov dword [ebp - 0x90], 0xf4caa5d7
mov dword [ebp - 0x140], 5
mov dword [ebp - 0x1a4], 0xfffffff6
mov dword [ebp - 0x5c], 0
jmp 0x1002233e
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x10022354
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x1fc], 0xfffffffb
jmp 0x10022337
mov dword [ebp - 0x3c], 2
jmp 0x10022364
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x10022535
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x148], 0x8f492357
mov dword [ebp - 0x10], 2
jmp 0x1002238f
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x10022530
mov dword [ebp - 0x30], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x30], eax
jge 0x100223bd
mov dword [ebp - 0x114], 1
jmp 0x100223c4
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x30], 0
ja 0x100223d6
mov dword [ebp - 0xbc], 1
jmp 0x100223dd
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xbc], eax
jne 0x100223f4
mov dword [ebp - 0xc8], 1
jmp 0x100223fb
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xc8], eax
jl 0x1002240f
mov dword [ebp - 0x80], 1
jmp 0x10022413
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0x80]
jl 0x1002242a
mov dword [ebp - 0xf0], 1
jmp 0x10022431
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xf0], eax
je 0x1002244e
cmp dword [ebp - 0x30], 0
je 0x1002244e
mov dword [ebp - 0x88], 1
jmp 0x10022455
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x88]
jge 0x1002246c
mov dword [ebp - 0xd0], 1
jmp 0x10022473
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x10022496
or eax, 0xffffffff
jne 0x10022496
and dword [ebp - 0x124], 0
jmp 0x100224a0
mov dword [ebp - 0x124], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x30], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1fc]
cmp dword [ebp - 0x10], eax
jne 0x100224fa
mov dword [ebp - 0x110], 1
jmp 0x10022501
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x110], eax
jge 0x10022518
mov dword [ebp - 0x98], 1
jmp 0x1002251f
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x148], eax
jmp 0x10022388
jmp 0x1002235d
push 0x757e
lea eax, [ebp - 0x140]
push eax
push 1
call fcn.10021d99
add esp, 0xc
mov dword [ebp - 0x18c], 0xffffffff
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x10022575
push 0x52d
push 1
push 0x38f5
call fcn.10021dfa
add esp, 0xc
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x1002258b
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, dword [0x10733964]
and eax, 1
jne 0x100225bf
mov eax, dword [0x10733964]
or eax, 1
mov dword [0x10733964], eax
and dword [ebp - 4], 0
mov ecx, 0x10733990
call fcn.10016e2d
push 0x1007fd8d
call fcn.10066a96
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10733867]
test eax, eax
je 0x10022626
mov ecx, 0x10733990
call fcn.10024cb6
movzx eax, al
test eax, eax
jne 0x10022626
push dword [ebp + 8]
lea eax, [ebp - 0xd8]
push eax
mov ecx, 0x10733990
call fcn.10016e05
lea eax, [ebp - 0x1a0]
push eax
mov ecx, 0x10733990
call fcn.10016df7
push eax
lea ecx, [ebp - 0xd8]
call fcn.10016e1a
movzx eax, al
test eax, eax
je 0x10022626
lea ecx, [ebp - 0xd8]
call fcn.10024cbf
mov eax, dword [eax + 4]
jmp 0x10023010
push 1
lea ecx, [ebp - 0x48]
call fcn.10016cb0
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0xfffffffd
mov dword [ebp - 0x20], 9
mov dword [ebp - 0x188], 7
mov dword [ebp - 0x184], 7
mov dword [ebp - 0x180], 7
mov dword [ebp - 0x17c], 7
lea ecx, [ebp - 0x6d]
call fcn.10008a83
push eax
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x210]
call fcn.10016d2c
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x174]
call fcn.10016cf2
mov byte [ebp - 4], 2
mov dword [ebp - 0x68], 0xedc0
mov dword [ebp - 0xb4], 0x8d3fd905
mov dword [ebp - 0x64], 0x4211fa8b
mov dword [ebp - 0x60], 0
jmp 0x100226cb
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x100226e4
push dword [ebp - 0x60]
lea ecx, [ebp - 0x48]
call fcn.10016d1d
mov dword [eax], 5
jmp 0x100226c4
push 0
lea ecx, [ebp - 0x48]
call fcn.10016d1d
or dword [eax], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x10022701
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x10022d03
mov dword [ebp - 0x50], 0xfc657863
push 4
lea ecx, [ebp - 0x168]
call fcn.10016cb0
mov byte [ebp - 4], 3
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x1c], 0
jmp 0x10022741
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x10022757
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1f0], 0x26a9d9e1
jmp 0x1002273a
mov dword [ebp - 0x1c], 0
jmp 0x10022767
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x10022783
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x168]
call fcn.10016d1d
mov dword [eax], 0x2f5a260d
jmp 0x10022760
push 0
lea ecx, [ebp - 0x48]
call fcn.10016d1d
cmp dword [eax], 0
jne 0x1002279e
mov dword [ebp - 0xe0], 1
jmp 0x100227a5
and dword [ebp - 0xe0], 0
mov dword [ebp - 0x20], 0xaeac7609
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xd850
jl 0x100227c7
mov dword [ebp - 0xa0], 1
jmp 0x100227ce
and dword [ebp - 0xa0], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
call fcn.10016d1d
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [eax]
jg 0x100227ef
mov dword [ebp - 0xf8], 1
jmp 0x100227f6
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0xef6e229e
jae 0x1002280e
mov dword [ebp - 0xa8], 1
jmp 0x10022815
and dword [ebp - 0xa8], 0
push 0
lea ecx, [ebp - 0x48]
call fcn.10016d1d
mov ecx, dword [ebp - 0xa8]
cmp ecx, dword [eax]
jl 0x10022835
mov dword [ebp - 0xb0], 1
jmp 0x1002283c
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0xb0]
jge 0x10022856
mov dword [ebp - 0x108], 1
jmp 0x1002285d
and dword [ebp - 0x108], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
call fcn.10016d1d
mov ecx, dword [ebp - 0x108]
cmp ecx, dword [eax]
jg 0x1002287e
mov dword [ebp - 0xb8], 1
jmp 0x10022885
and dword [ebp - 0xb8], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
call fcn.10016d1d
mov eax, dword [eax]
cmp eax, dword [ebp - 0xb8]
jle 0x100228a6
mov dword [ebp - 0xe8], 1
jmp 0x100228ad
and dword [ebp - 0xe8], 0
push 1
lea ecx, [ebp - 0x174]
call fcn.10016d1d
mov ecx, dword [ebp - 0xe8]
cmp ecx, dword [eax]
jge 0x100228d0
mov dword [ebp - 0xc0], 1
jmp 0x100228d7
and dword [ebp - 0xc0], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
call fcn.10016d1d
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc0]
jle 0x100228f8
mov dword [ebp - 0x100], 1
jmp 0x100228ff
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x68], eax
mov esi, dword [ebp - 0x68]
push 4
pop eax
shl eax, 1
sub esi, dword [ebp + eax - 0x1f0]
push 0
lea ecx, [ebp - 0x48]
call fcn.10016d1d
cmp esi, dword [eax]
jg 0x1002292e
mov dword [ebp - 0x78], 1
jmp 0x10022932
and dword [ebp - 0x78], 0
push 0
lea ecx, [ebp - 0x168]
call fcn.10016d1d
mov ecx, dword [ebp - 0x78]
mov dword [eax], ecx
mov dword [ebp - 0x20], 0
jmp 0x10022954
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x10022cef
mov dword [ebp - 0x118], 0x707d
mov dword [ebp - 0x144], 0xffffffff
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0xcc], 0xe1b4adc
mov dword [ebp - 0x13c], 1
mov dword [ebp - 0x134], 4
mov dword [ebp - 0x1dc], 0x2a2ca01d
mov dword [ebp - 0x120], 0xf42b3fdf
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
push 1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.10021e53
add esp, 0x30
mov dword [ebp - 0x38], 0
jmp 0x10022a06
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jg 0x10022cea
push 1
lea ecx, [ebp - 0x15c]
call fcn.10016cb0
mov byte [ebp - 4], 4
mov dword [ebp - 0x150], 0xfffffff6
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x24], 0
jmp 0x10022a42
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x10022a5e
push dword [ebp - 0x24]
lea ecx, [ebp - 0x15c]
call fcn.10016d1d
mov dword [eax], 0x61dbfa2f
jmp 0x10022a3b
mov dword [ebp - 0x24], 0
jmp 0x10022a6e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x10022a84
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x208], 0xfd598c55
jmp 0x10022a67
push 0
lea ecx, [ebp - 0x15c]
call fcn.10016d1d
mov dword [eax], 0xd8c20e5e
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x6c]
inc ecx
mov dword [ebp - 0x6c], ecx
test eax, eax
jne 0x10022c8e
push dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
call fcn.10016d1d
cmp dword [eax], 1
jae 0x10022ac2
mov dword [ebp - 0x7c], 1
jmp 0x10022ac6
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x150], eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
call fcn.10016d1d
cmp dword [eax], 0
je 0x10022af4
cmp dword [ebp - 0x134], 0
je 0x10022af4
mov dword [ebp - 0x84], 1
jmp 0x10022afb
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x84], eax
jg 0x10022b12
mov dword [ebp - 0x14c], 1
jmp 0x10022b19
and dword [ebp - 0x14c], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x1f0]
mov dword [ebp - 0x1a8], eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
call fcn.10016d1d
mov ecx, dword [ebp - 0x13c]
cmp dword [eax], ecx
jl 0x10022b4d
mov dword [ebp - 0x8c], 1
jmp 0x10022b54
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
add eax, 0x906c
sub eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x50]
jge 0x10022b73
mov dword [ebp - 0x94], 1
jmp 0x10022b7a
and dword [ebp - 0x94], 0
push 0
lea ecx, [ebp - 0x48]
call fcn.10016d1d
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [eax]
jne 0x10022b9a
mov dword [ebp - 0x9c], 1
jmp 0x10022ba1
and dword [ebp - 0x9c], 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
call fcn.10016d1d
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9c]
je 0x10022bc2
mov dword [ebp - 0xa4], 1
jmp 0x10022bc9
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0xa4], eax
jg 0x10022be0
mov dword [ebp - 0x11c], 1
jmp 0x10022be7
and dword [ebp - 0x11c], 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
call fcn.10016d1d
cmp dword [ebp - 0xcc], 0xfffffff9
jae 0x10022c07
mov dword [ebp - 0xac], 1
jmp 0x10022c0e
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0x74], 0xfffffffb
jle 0x10022c2c
mov dword [ebp - 0xc4], 1
jmp 0x10022c33
and dword [ebp - 0xc4], 0
push 0
lea ecx, [ebp - 0x15c]
call fcn.10016d1d
mov ecx, dword [ebp - 0xc4]
sub ecx, dword [eax]
jne 0x10022c51
cmp dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x10022c75
mov eax, 0xf6b910f8
test eax, eax
je 0x10022c75
mov dword [ebp - 0xd4], 1
jmp 0x10022c7c
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0
jb 0x10022c8e
and dword [ebp - 0xdc], 0
jmp 0x10022c98
mov dword [ebp - 0xdc], 1
push dword [ebp - 0x38]
lea ecx, [ebp - 0x174]
call fcn.10016d1d
mov eax, dword [eax]
cmp eax, dword [ebp - 0xdc]
jl 0x10022cbc
mov dword [ebp - 0xe4], 1
jmp 0x10022cc3
and dword [ebp - 0xe4], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xe4]
mov dword [ebp + eax - 0x208], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x15c]
call fcn.10016d18
jmp 0x100229ff
jmp 0x1002294d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x168]
call fcn.10016d18
jmp 0x100226fa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x174]
call fcn.10016d18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10016d18
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x230]
push eax
call fcn.10015267
pop ecx
pop ecx
mov dword [ebp - 4], 5
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1b0], 0xffffffff
mov dword [ebp - 0x1e0], 8
mov dword [ebp - 0x1b8], 2
mov dword [ebp - 0x1d8], 0x891f782a
mov dword [ebp - 0x198], 0x629aa810
mov dword [ebp - 0x190], 0xffffffff
push 1
lea ecx, [ebp - 0x1d4]
call fcn.10016cb0
mov byte [ebp - 4], 6
mov dword [ebp - 0x128], 0xf5fa
push 0x27fe
push 1
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10022084
add esp, 0x10
mov dword [ebp - 0x4c], 0
jmp 0x10022dc3
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x10022dd9
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x218], 0xcd9d
jmp 0x10022dbc
lea eax, [ebp - 0x128]
push eax
push 1
call fcn.100220f9
pop ecx
pop ecx
mov byte [ebp - 0x31], 0
push 1
lea eax, [ebp - 0x31]
push eax
call fcn.10022137
pop ecx
pop ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1d4]
call fcn.10016d18
lea eax, [ebp - 0x230]
push eax
call fcn.1001db76
pop ecx
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x28], 6
mov dword [ebp - 0xf4], 0xffffffff
mov dword [ebp - 0x54], 0
jmp 0x10022e3d
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x10022e50
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x58], 0x25b0
jmp 0x10022e36
mov dword [ebp - 0x28], 0xfffffffc
jmp 0x10022e60
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffff3
je 0x10022f53
mov dword [ebp - 0x14], 0x45db34e6
mov dword [ebp - 0x130], 0x310c13fe
mov dword [ebp - 0x14], 0
jmp 0x10022e8b
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10022e9f
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x58], 0
je 0x10022e9d
jmp 0x10022e9f
jmp 0x10022e84
mov dword [ebp - 0x14], 0
jmp 0x10022eaf
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10022f4e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp + ecx*4 - 0x58]
cmp dword [ebp + eax*4 - 0x58], ecx
jg 0x10022ed5
mov dword [ebp - 0xec], 1
jmp 0x10022edc
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0xfffffff9
jle 0x10022efd
mov dword [ebp - 0xfc], 1
jmp 0x10022f04
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x58]
cmp dword [ebp - 0xfc], eax
jg 0x10022f1f
mov dword [ebp - 0x104], 1
jmp 0x10022f26
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x2c], 0
push 0x696a
push 1
lea eax, [ebp - 0x2c]
push eax
call fcn.10022177
add esp, 0xc
jmp 0x10022ea8
jmp 0x10022e59
mov dword [ebp - 0x28], 0
jmp 0x10022f63
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jg 0x10022fa5
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x10022f83
push 0x50c2
push 1
call fcn.100221ce
pop ecx
pop ecx
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x10022fa3
push 1
push 0x45f2
push 0x1830
call fcn.1002220e
add esp, 0xc
jmp 0x10022f5c
movzx eax, byte [0x10733867]
test eax, eax
je 0x10022fc1
mov ecx, 0x10733990
call fcn.10024cb6
movzx eax, al
test eax, eax
jne 0x10022fef
push dword [ebp + 8]
mov ecx, 0x10733990
call fcn.10024c78
mov ecx, dword [ebp - 0x10c]
mov dword [eax], ecx
push 0x10733867
push 0x70af
push 0x7099
push 1
call fcn.10022279
add esp, 0x10
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x138], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10016aea
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret