Function at 0x1008106
Capabilities:
Check for time delay via gettickcount
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [0x100c048]
or dword [ebp - 0x218], 0xffffffff
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x22c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.msvcrt.dll_printf]
or dword [0x100c030], 0xffffffff
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 8]
push 0x16
mov dword [0x100c3f0], eax
mov eax, dword [ebp + 0xc]
pop ecx
mov dword [0x100c3ec], eax
xor eax, eax
push 0x15
lea edi, [ebp - 0x284]
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x2e4]
push 0xa
rep stosd dword es:[edi], eax
push 0x1002178
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x234], 2
mov dword [ebp - 0x2e4], 0x54
call esi
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [0x100c3f0], 2
mov edi, eax
jge 0x10081b9
push 0xa
push 0xa
push 0x10018b8
jmp 0x10081e4
xor ecx, ecx
inc ecx
call fcn.01006088
call fcn.010060af
movsx eax, byte [eax]
push eax
push 0x1001b50
call dword [sym.imp.msvcrt.dll_strchr]
test eax, eax
pop ecx
pop ecx
jne 0x10081f0
push 0xa
push 0xa
push 0x100187c
push 0x1003948
call esi
jmp 0x10083b2
mov esi, dword [sym.imp.msvcrt.dll_sprintf]
push edi
push 0x1001c54
push 0x100c3a8
call esi
push edi
push 0x1001c44
push 0x100c328
call esi
push edi
push 0x1001c34
push 0x100c368
call esi
push edi
push 0x1001c20
push 0x100c1e0
call esi
push edi
push 0x1001c10
push 0x100c1a0
call esi
push edi
push 0x1001c00
push 0x100c160
call esi
add esp, 0x48
call fcn.010060af
movsx eax, byte [eax + 1]
cmp eax, 0x5a
jg 0x1008321
je 0x10083b7
cmp eax, 0x4d
jg 0x100829e
je 0x100833f
cmp eax, 0x3f
je 0x10083e6
cmp eax, 0x44
je 0x1008369
cmp eax, 0x47
je 0x100835c
cmp eax, 0x4b
jne 0x100839e
mov dword [ebp - 0x258], 0xd
push ebx
jmp 0x10083d7
sub eax, 0x50
je 0x100837a
dec eax
dec eax
je 0x10083c8
sub eax, 3
jne 0x100839e
or byte [ebp - 0x253], 0x20
xor eax, eax
lea edi, [ebp - 0x290]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x290]
push 0x1007fbf
lea esi, [ebp - 0x284]
mov dword [ebp - 0x258], 4
mov dword [ebp - 0x25c], eax
call fcn.0100619a
cmp eax, ebx
je 0x10083e6
cmp dword [ebp - 0x290], ebx
jne 0x10083e2
push 0xa
push 0xa
push 0x1001848
push 0x1003948
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0x10
xor eax, eax
jmp 0x10083e2
cmp eax, 0x70
jg 0x100838b
je 0x100837a
sub eax, 0x64
je 0x1008369
sub eax, 3
je 0x100835c
sub eax, 4
je 0x100828e
dec eax
dec eax
jne 0x100839e
lea eax, [ebp - 0x2e4]
mov dword [ebp - 0x258], 5
mov dword [ebp - 0x25c], eax
push 0x1007ec8
jmp 0x10083d7
mov dword [ebp - 0x258], ebx
push 0x1007d90
jmp 0x10083d7
mov dword [ebp - 0x258], 1
push 0x1007b48
jmp 0x10083d7
mov dword [ebp - 0x258], 6
push 0x1007e33
jmp 0x10083d7
cmp eax, 0x72
je 0x10083c8
cmp eax, 0x75
je 0x10082b8
cmp eax, 0x7a
je 0x10083b7
push 0xa
push 0xa
push 0x100182c
push 0x1003948
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0x10
jmp 0x10083e6
mov dword [ebp - 0x258], 8
push 0x10080b0
jmp 0x10083d7
mov dword [ebp - 0x258], 2
push 0x1007c99
lea esi, [ebp - 0x284]
call fcn.0100619a
cmp eax, ebx
jne 0x1008408
xor ecx, ecx
call fcn.01006088
call fcn.010060af
push eax
call dword [sym.imp.msvcrt.dll__strupr]
pop ecx
push eax
call fcn.010058c7
or eax, 0xffffffff
jmp 0x1009d75
cmp dword [ebp - 0x258], 4
jne 0x1008425
push 0x10047b0
call fcn.01005101
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
push 0x10047a8
push ebx
push 0x22
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
mov edi, 0x100c3a8
push edi
push ebx
push 1
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
test byte [ebp - 0x254], 1
jne 0x1008474
call fcn.0100532c
test byte [ebp - 0x253], 0x10
je 0x100849d
push ebx
push 0x2000
push 0x40
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x258]
cmp eax, 6
jg 0x10092ce
mov edi, 0x2710
je 0x1008b65
mov ecx, eax
sub ecx, ebx
je 0x1008892
dec ecx
je 0x1008ea6
dec ecx
je 0x10086a7
dec ecx
dec ecx
jne 0x10092f0
push ebx
push ebx
push 0x100c368
lea ebx, [ebp - 0x284]
call fcn.01005d0a
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0x10047a4
push 0
push 0x22
push 0
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
xor edi, edi
push edi
push edi
push 0x23
push edi
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, edi
jl 0x1009bbb
push edi
push 0x100
push 0x12
push edi
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push edi
push edi
push 0x2e
push edi
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, edi
jl 0x1009bbb
push edi
mov edi, 0x2710
push edi
push 6
push 0
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0
push edi
push 7
push 0
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
mov eax, ebx
lea ebx, [ebp - 0x214]
mov dword [ebp - 0x224], 1
call fcn.01006936
mov esi, eax
test esi, esi
jl 0x1009bbb
mov eax, ebx
push eax
call dword [section..data]
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0x1001c66
push 0x1001c68
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x214]
call dword [0x100c018]
mov esi, eax
test esi, esi
jl 0x1009b89
push dword [ebp - 0x274]
push dword [ebp - 0x218]
call dword [0x100c01c]
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x254]
test al, 0x20
mov ecx, dword [ebp - 0x284]
jne 0x100864a
mov ecx, dword [ebp - 0x274]
and eax, 8
shl eax, 2
push eax
lea eax, [ebp - 0x290]
push eax
push fcn.01005a77
push ecx
push dword [ebp - 0x284]
push dword [ebp - 0x218]
call dword [0x100c014]
mov esi, eax
test esi, esi
jl 0x1009b89
push dword [ebp - 0x218]
xor eax, eax
push dword [ebp - 0x214]
call fcn.010069ca
mov esi, eax
test esi, esi
jl 0x1009bbb
lea ebx, [ebp - 0x284]
call fcn.010066b2
jmp 0x1008b56
cmp dword [ebp - 0x264], ebx
jne 0x10086b9
push 0x1004790
jmp 0x100935b
mov edi, dword [sym.imp.msvcrt.dll_printf]
push 0xa
push 0x1004770
call edi
push 0xa
push dword [ebp - 0x264]
push 0x1004754
call edi
add esp, 0x14
cmp dword [ebp - 0x230], ebx
je 0x1008715
push 0xa
push dword [ebp - 0x230]
push 0x1004738
call edi
add esp, 0xc
push ebx
push dword [ebp - 0x230]
lea eax, [ebp - 0x214]
push 0x13
push ebx
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
mov eax, dword [ebp - 0x27c]
cmp eax, ebx
mov esi, 0x1004724
jne 0x1008726
mov eax, esi
push 0xa
push eax
push 0x1004708
call edi
mov eax, dword [ebp - 0x278]
add esp, 0xc
cmp eax, ebx
jne 0x100873f
mov eax, esi
push 0xa
push eax
push 0x10046ec
call edi
mov eax, dword [ebp - 0x284]
add esp, 0xc
cmp eax, ebx
je 0x100878d
cmp eax, 0x1001c64
jne 0x100875f
mov eax, esi
push 0xa
push eax
push 0x10046d0
call edi
add esp, 0xc
push dword [ebp - 0x284]
lea eax, [ebp - 0x214]
push ebx
push 0x71
push ebx
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
push 0x10046cc
push ebx
push 0x22
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
push 0xa
push 0x1002178
call edi
pop ecx
pop ecx
lea eax, [ebp - 0x284]
lea ebx, [ebp - 0x214]
call fcn.01006936
mov esi, eax
test esi, esi
jl 0x1009bbb
xor edi, edi
cmp dword [ebp - 0x26c], edi
jne 0x100882f
push 0x10046b0
mov dword [ebp - 0x224], 1
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
push dword [ebp - 0x250]
mov eax, ebx
push eax
call dword [0x100c004]
push edi
push dword [ebp - 0x214]
call fcn.010069ca
mov esi, eax
cmp esi, edi
jl 0x1009bbb
push 0xa
push 0xa
push 0x1003938
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
jmp 0x1009cb3
cmp dword [ebp - 0x268], edi
push dword [ebp - 0x26c]
je 0x1008853
push dword [ebp - 0x268]
push 0x1004690
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
jmp 0x1008860
push 0x1004660
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
pop ecx
push fcn.01005a77
push dword [ebp - 0x268]
push dword [ebp - 0x26c]
call dword [0x100c024]
push 0xa
push 0xa
push 0x1003938
mov esi, eax
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
cmp esi, edi
jmp 0x1008b5a
push ebx
push 0x100c058
push 0x100c1a0
lea ebx, [ebp - 0x284]
call fcn.01005d0a
mov esi, eax
test esi, esi
jl 0x1009bbb
mov esi, dword [sym.imp.msvcrt.dll_printf]
push 0xa
pop ebx
push ebx
push 0x1004640
call esi
push ebx
push dword [ebp - 0x284]
push 0x1004628
call esi
xor edi, edi
add esp, 0x14
cmp dword [ebp - 0x280], edi
je 0x10088ef
push ebx
push dword [ebp - 0x280]
push 0x1004610
call esi
add esp, 0xc
push ebx
push dword [ebp - 0x274]
push 0x10045f8
call esi
add esp, 0xc
cmp dword [ebp - 0x25c], edi
je 0x1008919
push ebx
push dword [ebp - 0x25c]
push 0x10045e0
call esi
add esp, 0xc
push 0x10047a4
push edi
push 0x22
xor ebx, ebx
push edi
lea eax, [ebp - 0x214]
inc ebx
push eax
mov dword [ebp - 0x224], ebx
call dword [0x100c00c]
mov esi, eax
cmp esi, edi
jl 0x1009bbb
push dword [ebp - 0x274]
lea eax, [ebp - 0x214]
push 0
push ebx
push 0
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
xor edi, edi
push edi
push edi
push 0x23
push edi
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, edi
jl 0x1009bbb
push edi
push edi
push 0x2e
push edi
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, edi
jl 0x1009bbb
push edi
push edi
push 0x2d
push edi
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, edi
jl 0x1009bbb
push edi
push edi
push 0x36
push edi
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, edi
jl 0x1009bbb
push edi
mov edi, 0x2710
push edi
push 6
push 0
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0
push edi
push 7
push 0
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0
push ebx
push 0x41
push 0
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0
push 0x200
push 0x3c
push 0
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0
push 0x80
push 5
push 0
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0
push edi
push 0xa
push 0
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
lea eax, [ebp - 0x284]
lea ebx, [ebp - 0x214]
call fcn.01006936
mov esi, eax
test esi, esi
jl 0x1009bbb
mov eax, ebx
push eax
call dword [section..data]
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0x1001c66
push 0x1001c68
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x214]
call dword [0x100c018]
mov esi, eax
test esi, esi
jl 0x1009b89
test byte [ebp - 0x253], 2
mov eax, 0x100
je 0x1008afc
add eax, 8
test byte [ebp - 0x253], 4
je 0x1008b0a
or eax, 0x800
push eax
push fcn.01005a77
push dword [ebp - 0x260]
push dword [ebp - 0x25c]
push dword [ebp - 0x26c]
push dword [ebp - 0x280]
push dword [ebp - 0x284]
push dword [ebp - 0x218]
call fcn.010063e0
mov esi, eax
test esi, esi
jl 0x1009b89
push dword [ebp - 0x218]
xor eax, eax
push dword [ebp - 0x214]
call fcn.010069ca
mov esi, eax
test esi, esi
jl 0x1009bbb
jmp 0x1009cb3
test byte [ebp - 0x254], 1
jne 0x1008b8a
push 0x11
push 0x1001414
push 0x1001348
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
je 0x1009376
push ebx
push 0x100c058
push 0x100c1e0
lea ebx, [ebp - 0x284]
call fcn.01005d0a
mov esi, eax
test esi, esi
jl 0x1009bbb
mov esi, dword [sym.imp.msvcrt.dll_printf]
push 0xa
pop ebx
push ebx
push 0x10045c4
call esi
push ebx
push dword [ebp - 0x284]
push 0x1004628
call esi
add esp, 0x14
cmp dword [ebp - 0x280], 0
je 0x1008be6
push ebx
push dword [ebp - 0x280]
push 0x1004610
call esi
add esp, 0xc
push ebx
push dword [ebp - 0x274]
push 0x10045f8
call esi
add esp, 0xc
push 0x10045b8
push 0
push 0x22
push 0
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x224], 1
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0x105
lea eax, [ebp - 0x10c]
push eax
push 0
push 1
push 0
push dword [ebp - 0x214]
call dword [0x100c010]
mov esi, eax
test esi, esi
jl 0x1009bbb
push dword [ebp - 0x274]
lea eax, [ebp - 0x214]
push 0
push 1
push 0
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
xor ebx, ebx
push ebx
push ebx
push 0x2e
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbb
push ebx
push ebx
push 0x23
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbb
push ebx
push 0x100
push 0x12
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push ebx
push ebx
push 0x2d
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbb
push ebx
push ebx
push 0x36
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbb
push ebx
push edi
push 6
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push ebx
push edi
push 7
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push ebx
push 1
push 0x41
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push ebx
push 0x1000
push 0x3c
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push ebx
push 0x80
push 5
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push ebx
push edi
push 0xa
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
lea eax, [ebp - 0x284]
lea ebx, [ebp - 0x214]
call fcn.01006936
mov esi, eax
test esi, esi
jl 0x1009bbb
mov eax, ebx
push eax
call dword [section..data]
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0x1001c66
push 0x1001c68
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x214]
call dword [0x100c018]
mov esi, eax
test esi, esi
jl 0x1009b89
mov ecx, 0x100
xor ebx, ebx
xor eax, eax
test dword [ebp - 0x254], ecx
je 0x1008e19
mov eax, ecx
test byte [ebp - 0x253], 2
je 0x1008e25
or eax, 8
push eax
push fcn.01005a77
push dword [ebp - 0x260]
push dword [ebp - 0x25c]
push dword [ebp - 0x26c]
push dword [ebp - 0x280]
push dword [ebp - 0x284]
push dword [ebp - 0x218]
call fcn.010063e0
mov esi, eax
cmp esi, 0xfffffb38
jne 0x1009269
push dword [ebp - 0x218]
xor eax, eax
push dword [ebp - 0x214]
call fcn.010069ca
or dword [ebp - 0x218], 0xffffffff
lea eax, [ebp - 0x10c]
push eax
push ebx
push 1
push ebx
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x214], ebx
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbb
xor ebx, ebx
test byte [ebp - 0x254], 8
mov dword [ebp - 0x21c], ebx
je 0x1008ebf
mov dword [ebp - 0x21c], 0x20
test byte [ebp - 0x254], 2
je 0x1008ecf
or dword [ebp - 0x21c], 0x40
test byte [ebp - 0x253], 0x20
jne 0x1008edf
or byte [ebp - 0x21c], 0x80
push 0x100c220
push 0x100c058
push 0x100c328
lea ebx, [ebp - 0x284]
call fcn.01005d0a
mov esi, eax
test esi, esi
jl 0x1009b89
cmp dword [ebp - 0x280], 0
jne 0x1008f1a
or byte [ebp - 0x253], 0x20
and byte [ebp - 0x21c], 0x7f
mov esi, dword [sym.imp.msvcrt.dll_printf]
push 0xa
pop ebx
push ebx
push 0x1004590
call esi
push ebx
push dword [ebp - 0x284]
push 0x1004574
call esi
add esp, 0x14
cmp dword [ebp - 0x280], 0
je 0x1008f56
push ebx
push dword [ebp - 0x280]
push 0x1004558
call esi
add esp, 0xc
push ebx
push dword [ebp - 0x274]
push 0x100453c
call esi
add esp, 0xc
cmp dword [ebp - 0x270], 0
je 0x1008f81
push ebx
push dword [ebp - 0x270]
push 0x1004520
call esi
add esp, 0xc
push 0x10047a4
push 0
push 0x22
push 0
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x224], 1
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
xor ebx, ebx
push ebx
push ebx
push 0x23
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbb
push ebx
push ebx
lea eax, [ebp - 0x220]
push eax
push 0x17
push ebx
push dword [ebp - 0x214]
call dword [0x100c010]
mov esi, eax
cmp esi, ebx
jl 0x1009bbb
mov eax, dword [ebp - 0x220]
push ebx
push 0x64
lea eax, [eax + eax*4]
pop ecx
shl eax, 1
xor edx, edx
div ecx
push eax
push 0x20
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
mov eax, dword [ebp - 0x220]
push ebx
push 0x64
pop ecx
xor edx, edx
div ecx
push eax
push 0x1f
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push ebx
push 0x100
push 0x12
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push ebx
push ebx
push 0x2e
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbb
push ebx
push ebx
push 0x2d
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbb
push ebx
push ebx
push 0x36
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbb
push ebx
push edi
push 6
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push ebx
push edi
push 7
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push ebx
push edi
push 0xa
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push ebx
push 1
push 0x41
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
lea eax, [ebp - 0x284]
lea ebx, [ebp - 0x214]
call fcn.01006936
mov esi, eax
test esi, esi
jl 0x1009bbb
mov eax, ebx
push eax
call dword [section..data]
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0x1001c66
push 0x1001c68
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x214]
call dword [0x100c018]
mov esi, eax
test esi, esi
jl 0x1009b89
lea eax, [ebp - 0x284]
call fcn.0100668f
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x2cc], eax
lea eax, [ebp - 0x2e4]
push eax
mov dword [ebp - 0x2d4], 0x11
mov dword [ebp - 0x298], fcn.01005a77
call dword [0x100c02c]
mov esi, eax
test esi, esi
jl 0x1009b89
push dword [ebp - 0x218]
xor eax, eax
push dword [ebp - 0x214]
call fcn.010069ca
mov esi, eax
test esi, esi
jl 0x1009bbb
lea ebx, [ebp - 0x284]
call fcn.010066b2
mov esi, eax
test esi, esi
jl 0x1009bbb
mov esi, dword [sym.imp.msvcrt.dll_printf]
push 0xa
pop ebx
push ebx
push ebx
push 0x1004514
call esi
push ebx
push 0x10044d0
call esi
push ebx
push 0x100448c
call esi
push ebx
push 0x1004448
call esi
push ebx
push ebx
push 0x100441c
call esi
add esp, 0x30
jmp 0x1009cb3
cmp esi, ebx
jl 0x1009b89
push dword [ebp - 0x218]
xor eax, eax
push dword [ebp - 0x214]
mov dword [ebp - 0x22c], esi
call fcn.010069ca
mov esi, eax
test esi, esi
jl 0x1009bbb
mov esi, dword [sym.imp.msvcrt.dll_printf]
push 0xa
pop ebx
push ebx
push 0x1004414
call esi
push ebx
push 0x10044d0
call esi
push ebx
push 0x100448c
call esi
push ebx
push 0x10043d8
call esi
push ebx
push ebx
push 0x100441c
call esi
add esp, 0x2c
jmp 0x1009cb3
mov ecx, eax
sub ecx, 8
je 0x1009968
dec ecx
je 0x10097a5
dec ecx
dec ecx
je 0x1009717
dec ecx
dec ecx
je 0x1009661
cmp eax, 5
jne case.0x10093a6.11
push ebx
push ebx
push 0x2d
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
push ebx
push ebx
push 0x36
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
push ebx
push 1
push 0x41
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
cmp dword [ebp - 0x284], ebx
jne 0x1009380
push 0x10043c4
mov esi, dword [sym.imp.msvcrt.dll_printf]
push 0x10019fc
call esi
push 0xa
push 0xa
push 0x1003938
call esi
add esp, 0x14
mov esi, 0xfffffc15
jmp 0x1009bbd
push 0xa
push 0x10043a4
call dword [sym.imp.msvcrt.dll_printf]
mov eax, dword [ebp - 0x2d4]
dec eax
cmp eax, 0x12
pop ecx
pop ecx
ja case.0x10093a6.11
movzx eax, byte [eax + 0x1009da6]
jmp dword [eax*4 + 0x1009d82]
push dword [ebp - 0x284]
lea eax, [ebp - 0x220]
mov esi, eax
mov dword [ebp - 0x264], eax
call fcn.01006036
jmp case.0x10093a6.11
mov esi, dword [sym.imp.msvcrt.dll_printf]
push 0xa
push dword [ebp - 0x284]
push 0x100438c
call esi
push 0xa
push dword [ebp - 0x2ac]
push dword [ebp - 0x2b0]
push dword [ebp - 0x2dc]
push 0x1004370
call esi
push 0xa
push dword [ebp - 0x2a0]
push dword [ebp - 0x2a4]
push dword [ebp - 0x2a8]
push 0x100434c
call esi
add esp, 0x34
jmp case.0x10093a6.11
push 0xa
push dword [ebp - 0x284]
push 0x1004330
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
jmp case.0x10093a6.11
push ebx
push ebx
push 0x100c3a8
lea ebx, [ebp - 0x284]
call fcn.01005d0a
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0xa
push dword [ebp - 0x284]
push 0x10042f4
jmp 0x1009598
push ebx
push ebx
push 0x100c3a8
lea ebx, [ebp - 0x284]
call fcn.01005d0a
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0xa
push dword [ebp - 0x284]
push 0x10042dc
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
cmp dword [ebp - 0x2b8], 0
jne 0x10095a1
push 0xa
push dword [ebp - 0x2b0]
push 0x10042c4
jmp 0x1009598
push ebx
push ebx
push 0x100c3a8
lea ebx, [ebp - 0x284]
call fcn.01005d0a
mov esi, eax
test esi, esi
jl 0x1009bbb
mov esi, dword [sym.imp.msvcrt.dll_printf]
push 0xa
push dword [ebp - 0x284]
push 0x10042dc
call esi
push 0xa
push dword [ebp - 0x2ac]
push dword [ebp - 0x2b0]
push 0x10042ac
call esi
add esp, 0x1c
jmp 0x10095a1
push ebx
push ebx
push 0x100c3a8
lea ebx, [ebp - 0x284]
call fcn.01005d0a
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0xa
push dword [ebp - 0x284]
push 0x1004294
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
cmp dword [ebp - 0x280], 0
je 0x10095a1
push 0xa
push dword [ebp - 0x280]
push 0x100427c
jmp 0x1009598
push ebx
push ebx
push 0x100c3a8
lea ebx, [ebp - 0x284]
call fcn.01005d0a
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0xa
push dword [ebp - 0x284]
push 0x10042dc
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
cmp dword [ebp - 0x280], 0
je 0x10095a1
push 0xa
push dword [ebp - 0x280]
push 0x1004264
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
xor ebx, ebx
push 0xa
push 0x1002178
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
pop ecx
push 0x10047a4
push ebx
push 0x22
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
push ebx
push ebx
push 0x23
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
push ebx
push ebx
push 0xa
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
lea eax, [ebp - 0x284]
lea ebx, [ebp - 0x214]
call fcn.01006936
mov esi, eax
test esi, esi
jl 0x1009bbb
cmp dword [ebp - 0x2d4], 0x13
jne 0x1009644
push dword [ebp - 0x280]
push dword [ebp - 0x284]
call fcn.010079a2
jmp 0x100994a
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x2c4], eax
jmp 0x100993d
push ebx
push ebx
mov dword [ebp - 0x220], ebx
push edi
lea ebx, [ebp - 0x284]
call fcn.01005d0a
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x284]
xor edi, edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x10096ab
mov esi, 0xfffffda6
jmp 0x1009bbb
mov ebx, dword [sym.imp.msvcrt.dll_printf]
push 0xa
push 0xa
push 0x1004244
call ebx
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x254]
and eax, 0x1000
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0100a775
test eax, eax
je 0x1009703
push 0xa
push 0x1002178
call ebx
cmp dword [ebp - 0x220], edi
pop ecx
pop ecx
je 0x1009cb3
mov esi, 0xfffffb4a
jmp 0x1009bbb
xor eax, eax
inc eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x288], eax
jmp 0x1009bbb
mov eax, dword [ebp - 0x284]
cmp eax, ebx
mov esi, dword [ebp - 0x268]
jne 0x100972c
mov eax, 0x1001c64
push 0x104
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.msvcrt.dll__fullpath]
add esp, 0xc
test eax, eax
jne 0x1009750
mov esi, 0xfffffc01
jmp 0x1009bbd
mov ecx, dword [ebp - 0x254]
test ch, ch
jns 0x1009774
mov eax, dword [ebp - 0x284]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x10c]
and eax, ecx
push eax
call fcn.010073fa
jmp 0x1009784
test ch, 0x40
je 0x1009793
lea ecx, [ebp - 0x10c]
call fcn.01006d00
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
jmp 0x1009cb5
push esi
lea eax, [ebp - 0x10c]
and ecx, 4
push eax
call fcn.0100718b
jmp 0x1009784
mov esi, dword [sym.imp.msvcrt.dll_printf]
push 0xa
push 0x1004224
call esi
push 0xa
push dword [ebp - 0x284]
push 0x1004628
call esi
add esp, 0x14
push 0x10046cc
push ebx
push 0x22
xor edi, edi
push ebx
lea eax, [ebp - 0x214]
inc edi
push eax
mov dword [ebp - 0x224], edi
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
push ebx
push ebx
push 0x23
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
push ebx
push ebx
push 0x2d
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
push ebx
push ebx
push 0x36
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
push ebx
push edi
push 0x41
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
push ebx
push 0x40
push 0x3c
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
push ebx
push 0x10
push 5
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
push ebx
push ebx
lea eax, [ebp - 0x220]
push eax
push 0x17
push ebx
push dword [ebp - 0x214]
call dword [0x100c010]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
mov eax, dword [ebp - 0x220]
imul eax, eax, 0x1e
push ebx
push 0x64
pop ecx
xor edx, edx
div ecx
push eax
push 0x20
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
mov eax, dword [ebp - 0x220]
push ebx
push 0x64
lea eax, [eax + eax*4]
pop ecx
shl eax, 2
xor edx, edx
div ecx
push eax
push 0x1f
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbd
lea eax, [ebp - 0x284]
lea ebx, [ebp - 0x214]
call fcn.01006936
mov esi, eax
test esi, esi
jl 0x1009bbb
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x2c8], eax
lea eax, [ebp - 0x2e4]
push eax
call dword [0x100c02c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0xa
push 0x1002178
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
pop ecx
jmp 0x1009cb3
push ebx
push 0x100c058
push 0x100c160
lea ebx, [ebp - 0x284]
call fcn.01005d0a
mov esi, eax
test esi, esi
jl 0x1009bbb
mov esi, dword [sym.imp.msvcrt.dll_printf]
push 0xa
push 0x1004208
call esi
push 0xa
push dword [ebp - 0x284]
push 0x1004628
call esi
xor ebx, ebx
add esp, 0x14
cmp dword [ebp - 0x280], ebx
je 0x10099c5
push 0xa
push dword [ebp - 0x280]
push 0x1004610
call esi
add esp, 0xc
push 0x10041fc
push ebx
push 0x22
xor edi, edi
push ebx
lea eax, [ebp - 0x214]
inc edi
push eax
mov dword [ebp - 0x224], edi
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbb
xor ebx, ebx
push ebx
push ebx
push 0x23
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbb
push ebx
push ebx
push 0x2d
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbb
push ebx
push ebx
push 0x36
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
cmp esi, ebx
jl 0x1009bbb
push ebx
push edi
push 0x41
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push ebx
push 0x40
push 0x3c
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
push ebx
push 0x10
push 5
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x220]
push eax
push 0x17
push edi
push dword [ebp - 0x214]
call dword [0x100c010]
mov esi, eax
cmp esi, edi
jl 0x1009bbb
mov eax, dword [ebp - 0x220]
imul eax, eax, 0x1e
push edi
push 0x64
pop ecx
xor edx, edx
div ecx
push eax
push 0x20
push edi
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
mov eax, dword [ebp - 0x220]
push edi
push 0x64
lea eax, [eax + eax*4]
pop ecx
shl eax, 2
xor edx, edx
div ecx
push eax
push 0x1f
push edi
lea eax, [ebp - 0x214]
push eax
call dword [0x100c00c]
mov esi, eax
test esi, esi
jl 0x1009bbb
lea eax, [ebp - 0x284]
lea ebx, [ebp - 0x214]
call fcn.01006936
mov esi, eax
test esi, esi
jl 0x1009bbb
mov eax, ebx
push eax
call dword [section..data]
mov esi, eax
test esi, esi
jl 0x1009bbb
push 0x1001c66
push 0x1001c68
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x214]
call dword [0x100c018]
mov esi, eax
test esi, esi
jl 0x1009b89
push edi
push fcn.01005a77
push dword [ebp - 0x280]
push dword [ebp - 0x284]
push dword [ebp - 0x218]
call fcn.01006445
mov esi, eax
test esi, esi
jge 0x1009b9e
push dword [ebp - 0x218]
mov eax, esi
push dword [ebp - 0x214]
call fcn.010069ca
jmp 0x1009bbb
push dword [ebp - 0x218]
xor eax, eax
push dword [ebp - 0x214]
call fcn.010069ca
mov esi, eax
test esi, esi
jge 0x1009c6d
xor ebx, ebx
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x228]
call fcn.01005a4d
cmp dword [ebp - 0x224], ebx
je 0x1009bf0
push 0xa
push 0xa
push 0x1003938
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
cmp dword [ebp - 0x288], ebx
je 0x1009c17
push dword [ebp - 0x21c]
push dword [ebp - 0x228]
push 0x1001504
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
jmp 0x1009d61
push 0x200
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x22c]
push eax
push 0x46
push 0xffffffffffffffff
push dword [ebp - 0x214]
mov dword [ebp - 0x22c], esi
mov byte [ebp - 0x208], bl
call dword [0x100c010]
push dword [ebp - 0x21c]
lea eax, [ebp - 0x208]
push dword [ebp - 0x228]
push eax
push esi
push 0x1001540
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0x14
jmp 0x1009d61
mov esi, dword [sym.imp.msvcrt.dll_printf]
push 0xa
pop ebx
push ebx
push 0x10041f0
call esi
push ebx
push ebx
push 0x10041b8
call esi
push ebx
push 0x1004414
call esi
push ebx
push 0x10044d0
call esi
push ebx
push 0x100448c
call esi
push ebx
push 0x10043d8
call esi
push ebx
push ebx
push 0x100441c
call esi
add esp, 0x40
xor ebx, ebx
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x228]
call fcn.01005a4d
mov esi, dword [ebp - 0x22c]
cmp esi, ebx
je 0x1009d45
push 0x200
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x22c]
push eax
push 0x46
push 0xffffffffffffffff
push dword [ebp - 0x214]
mov dword [ebp - 0x22c], esi
mov byte [ebp - 0x208], bl
call dword [0x100c010]
cmp dword [ebp - 0x224], ebx
je 0x1009d21
push 0xa
push 0xa
push 0x1003938
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
push dword [ebp - 0x21c]
lea eax, [ebp - 0x208]
push dword [ebp - 0x228]
push eax
push esi
push 0x1001580
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0x14
jmp 0x1009d5f
push dword [ebp - 0x21c]
push dword [ebp - 0x228]
push 0x10015c4
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
xor esi, esi
push 0xa
push 0xa
push 0x1003938
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01009e31
leave
ret