Function at 0x1002b41
Capabilities:
Get session user name

Disassembly:
push ebp
mov eax, 0x14a0
lea ebp, [esp - 0x1420]
call fcn.01014b20
mov eax, dword [0x1016020]
push ebx
xor ebx, ebx
push esi
push edi
push 0x30
mov dword [ebp + 0x141c], eax
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp - 8], ebx
mov dword [ebp + 8], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp + 4], ebx
mov dword [ebp], ebx
mov dword [ebp - 4], ebx
mov word [ebp - 0x58], bx
mov word [ebp - 0x56], bx
mov word [ebp - 0x54], bx
mov word [ebp - 0x52], bx
mov word [ebp - 0x50], bx
mov word [ebp - 0x4e], bx
mov word [ebp - 0x4c], bx
mov word [ebp - 0x4a], bx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp - 0x6c], ebx
lea eax, [ebp - 0x3c]
pop ecx
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002bb9
xor edi, edi
inc edi
mov ecx, 0xfe
mov esi, 0xee
mov word [ebp - 0x3c], 0x30
mov word [ebp - 0x3a], bx
mov word [ebp - 0x10], bx
mov dword [ebp - 0x64], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x34], edi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x78], ebx
lea eax, [ebp + 0xc4c]
mov edx, esi
mov byte [eax], bl
inc eax
dec edx
jne 0x1002c03
lea eax, [ebp + 0xa4c]
mov edx, 0x100
mov byte [eax], bl
inc eax
dec edx
jne 0x1002c14
lea eax, [ebp + 0x1220]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002c20
lea eax, [ebp + 0xe28]
mov ecx, 0x1fc
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002c31
lea eax, [ebp + 0x1e28]
push eax
call fcn.0100638c
test eax, eax
jne 0x1002c6a
push 0xa5
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
push 0xcd
jmp 0x1003e63
push ebx
lea eax, [ebp + 0x1e28]
push eax
call fcn.0100f1d5
cmp eax, esi
jbe 0x1002c85
push 0x8e
jmp 0x1003e63
push ebx
lea eax, [ebp + 0x27f4]
push eax
call fcn.0100f1d5
cmp eax, 0x106
jbe 0x1002ca3
push 0x96
jmp 0x1003e63
push esi
lea eax, [ebp + 0x1e28]
push eax
lea eax, [ebp + 0xc4c]
push eax
call fcn.0100f97e
cmp dword [ebp + 0x2e00], edi
jne 0x1002d0f
cmp word [ebp + 0x2e20], 5
jne 0x1002d0f
push ebx
push dword [ebp + 0x142c]
call fcn.0100f1d5
test eax, eax
je 0x1002d05
push ebx
push edi
push 0x1001380
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
je 0x1002d05
push ebx
push edi
push 0x1001370
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
jne 0x1002d0f
push 0xae
jmp 0x1003e63
mov esi, dword [ebp + 0x2e18]
cmp dword [esi + 0xc], edi
jne 0x1002d7f
push ebx
push dword [ebp + 0x1430]
call fcn.0100f1d5
test eax, eax
jne 0x1002d7f
push ebx
push dword [ebp + 0x142c]
call fcn.0100f1d5
test eax, eax
je 0x1002d7f
push ebx
push edi
push 0x1001380
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
je 0x1002d7f
push ebx
push edi
push 0x1001370
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
je 0x1002d7f
push 0x20a
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
cmp dword [esi + 4], ebx
je 0x1002da5
cmp dword [ebp + 0x2e1c], 9
je 0x1002da5
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x4e]
mov dword [ebp + 8], eax
jmp 0x1002dca
push ebx
lea eax, [ebp + 0x2004]
push eax
call fcn.0100f1d5
test eax, eax
jbe 0x1002dca
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x2004]
push eax
call fcn.01005aec
push ebx
lea eax, [ebp + 0x2200]
push eax
call fcn.0100f1d5
test eax, eax
jbe 0x1002def
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x2200]
push eax
call fcn.01005aec
push 0xa
pop edi
push 0x3c
pop esi
push ebx
lea eax, [ebp + 0x2bfc]
push eax
mov dword [ebp + 0x10], edi
mov dword [ebp - 0x40], esi
call fcn.0100f1d5
test eax, eax
jbe 0x1002e96
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x2bfc]
push eax
call dword [sym.imp.msvcrt.dll_wcstol]
add esp, 0xc
mov dword [ebp + 0x10], eax
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 0x22
je 0x1002f1f
cmp dword [ebp - 0xc], ebx
je 0x1002e4d
push ebx
push dword [ebp - 0xc]
call fcn.0100f1d5
test eax, eax
jne 0x1002f1f
cmp dword [ebp + 0x10], 1
jb 0x1002f1f
cmp dword [ebp + 0x10], 0x92784
ja 0x1002f1f
cmp dword [ebp + 0x10], 0x270f
jbe 0x1002e96
mov eax, dword [ebp + 0x10]
xor edx, edx
div esi
mov esi, edx
cmp esi, ebx
je 0x1002e96
push 0x9cb
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
sub dword [ebp + 0x10], esi
cmp dword [ebp + 0x2e1c], 7
je 0x100314e
cmp dword [ebp + 0x2e1c], 8
je 0x100314e
cmp dword [ebp + 0x2e1c], 9
je 0x100314e
push ebx
lea eax, [ebp + 0x2200]
push eax
call fcn.0100f1d5
test eax, eax
jbe 0x1002fb4
push ebx
lea eax, [ebp + 0x2a00]
push eax
call fcn.0100f1d5
test eax, eax
jne 0x1002fb4
movzx eax, word [ebp - 8]
movzx ecx, word [ebp + 8]
imul eax, eax, 0x3c
add eax, ecx
imul eax, eax, 0x3c
xor edx, edx
push 0x3c
pop ecx
div ecx
movzx edx, word [ebp - 0x74]
push 0x3c
pop esi
mov ecx, eax
movzx eax, word [ebp - 0x80]
imul eax, eax, 0x3c
add eax, edx
imul eax, eax, 0x3c
xor edx, edx
div esi
cmp eax, ecx
jb 0x1002f3d
sub eax, ecx
jmp 0x1002f44
push 0x9c8
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
jmp 0x10032fb
sub eax, ecx
add eax, 0x5a0
cmp dword [ebp + 0x2e1c], 1
mov dword [ebp - 0x40], eax
jne 0x1002f60
push 0xa
lea eax, [ebp + 0x1638]
push eax
call fcn.01010846
jmp 0x1002f7f
cmp dword [ebp + 0x2e1c], 2
jne 0x1002f7c
push 0xa
lea eax, [ebp + 0x1638]
push eax
call fcn.01010846
imul eax, eax, 0x3c
jmp 0x1002f7f
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x40], eax
jbe 0x1002faa
cmp dword [ebp + 0x2e1c], 1
je 0x100314e
cmp dword [ebp + 0x2e1c], 2
je 0x100314e
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp + 0x10]
ja 0x100314e
push 0xaf
jmp 0x1003e63
push ebx
lea eax, [ebp + 0x2200]
push eax
call fcn.0100f1d5
test eax, eax
jne 0x100314e
push ebx
lea eax, [ebp + 0x2a00]
push eax
call fcn.0100f1d5
test eax, eax
jbe 0x100314e
mov ecx, 0xfe
lea eax, [ebp + 0x430]
mov edx, ecx
mov byte [eax], bl
inc eax
dec edx
jne 0x1002feb
lea eax, [ebp + 0x38]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1002ff4
push ebx
lea eax, [ebp + 0x2a00]
push eax
call fcn.0100f1d5
cmp eax, 7
jne 0x1003144
cmp word [ebp + 0x2a08], 0x3a
jne 0x1003144
mov edi, dword [sym.imp.msvcrt.dll_wcstok]
push 0xfe
mov esi, 0x100136c
lea eax, [ebp + 0x2a00]
push esi
push eax
call edi
pop ecx
pop ecx
push eax
lea eax, [ebp + 0x430]
push eax
call fcn.0100f97e
push ebx
lea eax, [ebp + 0x430]
push eax
call fcn.0100f1d5
test eax, eax
jbe 0x100306d
push 0xfe
push esi
push ebx
call edi
pop ecx
pop ecx
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.0100f97e
mov esi, dword [sym.imp.msvcrt.dll_wcstol]
push 0xa
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x430]
push eax
call esi
add esp, 0xc
mov edi, eax
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 0x22
je 0x100313a
cmp dword [ebp - 0xc], ebx
je 0x10030ac
push ebx
push dword [ebp - 0xc]
call fcn.0100f1d5
test eax, eax
jne 0x100313a
push 0xa
imul edi, edi, 0x3c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x38]
push eax
call esi
add esp, 0xc
mov esi, eax
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 0x22
je 0x100313a
cmp esi, 0x3b
ja 0x100313a
cmp dword [ebp - 0xc], ebx
je 0x10030e2
push ebx
push dword [ebp - 0xc]
call fcn.0100f1d5
test eax, eax
jne 0x100313a
add edi, esi
mov esi, dword [ebp + 0x2e1c]
cmp esi, 1
mov dword [ebp - 0x40], edi
jne 0x1003102
push 0xa
lea eax, [ebp + 0x1638]
push eax
call fcn.01010846
jmp 0x100311d
cmp esi, 2
jne 0x100311a
push 0xa
lea eax, [ebp + 0x1638]
push eax
call fcn.01010846
imul eax, eax, 0x3c
jmp 0x100311d
mov eax, dword [ebp - 0x70]
cmp edi, eax
jbe 0x1003130
cmp esi, 1
je 0x100314e
cmp esi, 2
je 0x100314e
cmp edi, dword [ebp + 0x10]
ja 0x100314e
push 0xb9
jmp 0x1003e63
push 0xff
jmp 0x1003e63
push 0xb7
jmp 0x1003e63
lea eax, [ebp - 0x78]
push eax
push 0x1001350
push dword [ebp + 0x1434]
push dword [ebp + 0x1428]
call fcn.0100c14b
test eax, eax
jne 0x100318d
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x20001
add eax, 0x40
push eax
call fcn.0101134d
push ebx
call fcn.0100bcb2
xor ebx, ebx
inc ebx
jmp 0x1004b79
cmp dword [ebp - 0x78], ebx
jbe 0x10031b1
push 0x9d0
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call fcn.01010fc1
push ebx
jmp 0x1004b74
push dword [ebp + 0x1428]
call fcn.01012a24
xor esi, esi
inc esi
cmp eax, esi
jne 0x100335f
push ebx
push dword [ebp + 0x142c]
call fcn.0100f1d5
test eax, eax
je 0x100335f
push ebx
push esi
push 0x1001380
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
je 0x100335f
push ebx
push esi
push 0x1001370
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
je 0x100335f
mov edi, dword [ebp + 0x2e18]
push dword [edi + 8]
push dword [ebp + 0x1438]
call fcn.0100f62d
shr eax, 1
push eax
push dword [ebp + 0x1438]
push dword [ebp + 0x1434]
call fcn.0100f62d
shr eax, 1
push eax
push dword [ebp + 0x1434]
push dword [ebp + 0x1428]
call fcn.01012de0
test eax, eax
je 0x1003346
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c3
je 0x1003346
cmp eax, 0x50010001
je 0x100327b
cmp eax, 0xa0010001
je 0x1003346
mov dword [ebp + 0x34], esi
jmp 0x100327e
mov dword [ebp + 0x34], ebx
push ebx
push dword [ebp + 0x142c]
call fcn.0100f1d5
test eax, eax
je 0x1003b7c
cmp dword [edi + 0xc], ebx
mov eax, dword [ebp + 0x142c]
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x28], esi
jne 0x1003336
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
push dword [ebp + 0x20]
push 0x1ab
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push esi
push eax
call fcn.0101120b
add esp, 0x14
push 0xfe
lea eax, [ebp + 0x1220]
push eax
call fcn.0100f9d7
test eax, eax
push ebx
jne 0x1003305
call fcn.0100bcb2
cmp dword [ebp + 0x34], esi
jne 0x10032fb
push dword [ebp + 0x1428]
call fcn.01012c21
mov ebx, 0x80004005
jmp 0x1004b79
lea eax, [ebp + 0x1220]
push eax
call fcn.0100f1d5
test eax, eax
jne 0x100332e
push 0x20a
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
lea eax, [ebp + 0x1220]
jmp 0x100333c
mov eax, dword [ebp + 0x1430]
mov dword [ebp + 0x2c], eax
mov edi, esi
jmp 0x1003b7f
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x20001
add eax, 0x40
push eax
call fcn.0101134d
push ebx
jmp 0x1003eed
push dword [ebp + 0x1428]
call fcn.01012a24
test eax, eax
jne 0x1003561
cmp word [ebp + 0x2e20], 2
jne 0x1003561
mov eax, dword [ebp + 0x2e18]
push dword [eax + 8]
push dword [ebp + 0x1438]
call fcn.0100f62d
shr eax, 1
push eax
push dword [ebp + 0x1438]
push dword [ebp + 0x1434]
call fcn.0100f62d
shr eax, 1
push eax
push dword [ebp + 0x1434]
push dword [ebp + 0x1428]
call fcn.01012de0
test eax, eax
je 0x1003346
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c3
je 0x1003346
cmp eax, 0x50010001
je 0x10033e8
cmp eax, 0xa0010001
je 0x1003346
mov dword [ebp + 0x34], esi
jmp 0x10033eb
mov dword [ebp + 0x34], ebx
push ebx
push dword [ebp + 0x1434]
call fcn.0100f1d5
test eax, eax
jne 0x10034d2
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 0x1434]
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x1003433
push 0x90
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
push ebx
jmp 0x10032e6
mov edi, dword [ebp + 0x1434]
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
push edi
push 0x1ad
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push esi
push eax
call fcn.0101120b
add esp, 0x14
push edi
push 0x1ab
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push esi
push eax
call fcn.0101120b
add esp, 0x14
push dword [ebp + 0x1430]
call fcn.0100f62d
shr eax, 1
push eax
push dword [ebp + 0x1430]
call fcn.0100f9d7
test eax, eax
push ebx
je 0x10032e6
push dword [ebp + 0x1430]
call fcn.0100f1d5
test eax, eax
jne 0x10034c9
push 0x20a
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
mov eax, dword [ebp + 0x1430]
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x2e18]
cmp dword [eax + 0xc], esi
mov edi, dword [ebp + 0x1434]
mov dword [ebp + 0x20], edi
jne 0x1003556
push ebx
push esi
push 0x100134c
push dword [ebp + 0x1430]
call fcn.0100f1ed
test eax, eax
jne 0x10036cd
push edi
push 0x1ab
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push esi
push eax
call fcn.0101120b
add esp, 0x14
push 0x1fc
lea eax, [ebp + 0x1430]
push eax
call fcn.0100fca8
test eax, eax
jne 0x100367a
call fcn.0100efe9
cmp dword [ebp + 0x34], esi
jne 0x1003fb2
push dword [ebp + 0x1428]
call fcn.01012c21
jmp 0x1003fb2
mov eax, dword [ebp + 0x1438]
jmp 0x10036ca
cmp word [ebp + 0x2e20], 3
jne 0x10037c4
mov edi, dword [ebp + 0x2e18]
push dword [edi + 8]
push dword [ebp + 0x1438]
call fcn.0100f62d
shr eax, 1
push eax
push dword [ebp + 0x1438]
push dword [ebp + 0x1434]
call fcn.0100f62d
shr eax, 1
push eax
push dword [ebp + 0x1434]
push dword [ebp + 0x1428]
call fcn.01012de0
test eax, eax
je 0x10037a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c3
je 0x10037a1
cmp eax, 0x50010001
je 0x10035db
cmp eax, 0xa0010001
je 0x10037a1
mov dword [ebp + 0x34], esi
jmp 0x10035de
mov dword [ebp + 0x34], ebx
cmp dword [edi + 0xc], esi
mov eax, dword [ebp + 0x1434]
mov dword [ebp + 0x20], eax
push ebx
jne 0x1003646
push esi
push 0x100134c
push dword [ebp + 0x1430]
call fcn.0100f1ed
test eax, eax
jne 0x10036c4
push dword [ebp + 0x20]
push 0x1ab
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push esi
push eax
call fcn.0101120b
add esp, 0x14
push 0x1fc
lea eax, [ebp + 0x1430]
push eax
call fcn.0100fca8
test eax, eax
jne 0x100367a
call fcn.0100efe9
jmp 0x10032eb
push dword [ebp + 0x1438]
call fcn.0100f1d5
test eax, eax
jne 0x1003556
push dword [ebp + 0x20]
push 0x1ab
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push esi
push eax
call fcn.0101120b
add esp, 0x14
push dword [ebp + 0x1430]
call fcn.0100f62d
shr eax, 1
push eax
push dword [ebp + 0x1430]
call fcn.0100f9d7
test eax, eax
push ebx
je 0x10032e6
push dword [ebp + 0x1430]
call fcn.0100f1d5
test eax, eax
jne 0x10036c4
push 0x20a
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
mov eax, dword [ebp + 0x1430]
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x28], esi
mov edi, esi
push ebx
push dword [ebp + 0x1428]
call fcn.0100f1d5
test eax, eax
jne 0x1003dab
push ebx
push dword [ebp + 0x142c]
call fcn.0100f1d5
test eax, eax
je 0x1003dab
mov edi, dword [ebp + 0x142c]
push ebx
push dword [ebp + 0x1430]
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x28], esi
call fcn.0100f1d5
test eax, eax
je 0x1003da9
push ebx
push esi
push 0x100134c
push dword [ebp + 0x1430]
call fcn.0100f1ed
test eax, eax
jne 0x1003da0
push edi
push 0x1ab
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push esi
push eax
call fcn.0101120b
add esp, 0x14
push 0xfe
lea eax, [ebp + 0x1220]
push eax
call fcn.0100f9d7
test eax, eax
push ebx
je 0x1003eed
lea eax, [ebp + 0x1220]
push eax
call fcn.0100f1d5
test eax, eax
jne 0x1003796
push 0x20a
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
lea eax, [ebp + 0x1220]
jmp 0x1003da6
push 0x1fc
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
call fcn.0100ef64
jmp 0x1003e68
push ebx
push dword [ebp + 0x1428]
call fcn.0100f1d5
test eax, eax
je 0x1003b7c
cmp word [ebp + 0x2e20], 5
je 0x10037f0
cmp word [ebp + 0x2e20], 6
jne 0x1003b7c
mov edi, dword [ebp + 0x2e18]
push dword [edi + 8]
push dword [ebp + 0x1438]
call fcn.0100f62d
shr eax, 1
push eax
push dword [ebp + 0x1438]
push dword [ebp + 0x1434]
call fcn.0100f62d
shr eax, 1
push eax
push dword [ebp + 0x1434]
push dword [ebp + 0x1428]
call fcn.01012de0
test eax, eax
je 0x10037a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c3
je 0x10037a1
cmp eax, 0x50010001
je 0x100385c
cmp eax, 0xa0010001
je 0x10037a1
mov dword [ebp + 0x34], esi
jmp 0x100385f
mov dword [ebp + 0x34], ebx
push ebx
push dword [ebp + 0x142c]
call fcn.0100f1d5
test eax, eax
je 0x10038ba
push ebx
push esi
push 0x1001380
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
je 0x10038ba
push ebx
push esi
push 0x1001370
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
je 0x10038ba
push ebx
push dword [ebp + 0x142c]
call fcn.0100f1d5
test eax, eax
je 0x100392f
mov eax, dword [ebp + 0x142c]
mov dword [ebp + 0x20], eax
jmp 0x100392f
mov eax, dword [ebp + 0x142c]
mov dword [ebp + 0x20], eax
lea eax, [ebp + 0xc4c]
push eax
push 0xca
call fcn.0101132b
push eax
lea eax, [ebp + 0xe28]
push 0x1fc
push eax
call fcn.01001a92
add esp, 0x10
lea eax, [ebp + 0xe28]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call fcn.01010fc1
cmp dword [edi + 0xc], esi
jne 0x100392c
push ebx
push dword [ebp + 0x1430]
call fcn.0100f1d5
test eax, eax
je 0x100392c
push 0xfc
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
mov dword [ebp - 0x44], esi
push ebx
push esi
push dword [ebp + 0x1434]
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
je 0x1003aa6
cmp dword [edi + 0xc], esi
jne 0x1003a90
push ebx
push dword [ebp + 0x142c]
call fcn.0100f1d5
test eax, eax
je 0x1003a1d
push ebx
push esi
push 0x100134c
push dword [ebp + 0x1430]
call fcn.0100f1ed
test eax, eax
jne 0x1003a1d
push ebx
push esi
push 0x1001380
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
je 0x1003a1d
push ebx
push esi
push 0x1001370
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
je 0x1003a1d
push dword [ebp + 0x20]
push 0x1ab
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push esi
push eax
call fcn.0101120b
add esp, 0x14
push 0xfe
lea eax, [ebp + 0x1220]
push eax
call fcn.0100f9d7
test eax, eax
push ebx
je 0x10032e6
lea eax, [ebp + 0x1220]
push eax
call fcn.0100f1d5
test eax, eax
jne 0x1003a15
push 0x20a
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
lea eax, [ebp + 0x1220]
jmp 0x1003a23
mov eax, dword [ebp + 0x1430]
mov dword [ebp + 0x2c], eax
cmp dword [ebp - 0x44], ebx
mov dword [ebp + 0x28], esi
mov edi, esi
je 0x1003b7f
mov ax, word [ebp + 0x2e20]
cmp ax, 2
je 0x10036d2
cmp ax, 3
je 0x10036d2
cmp ax, 5
je 0x10036d2
cmp ax, 6
je 0x10036d2
push ebx
push esi
push 0x1001284
push dword [ebp + 0x1430]
call fcn.0100f1ed
test eax, eax
jne 0x10036d2
mov ecx, dword [ebp + 0x2e18]
cmp dword [ecx + 0xc], esi
sete al
mov edi, eax
jmp 0x1003dab
cmp dword [ebp - 0x44], ebx
jne 0x1003a26
push ebx
push dword [ebp + 0x142c]
call fcn.0100f1d5
jmp 0x1003b34
cmp dword [edi + 0xc], esi
push ebx
jne 0x1003ada
push dword [ebp + 0x142c]
call fcn.0100f1d5
test eax, eax
je 0x1003a1d
push ebx
push esi
push 0x100134c
push dword [ebp + 0x1430]
call fcn.0100f1ed
test eax, eax
je 0x1003b3c
jmp 0x1003a1d
push dword [ebp + 0x1438]
call fcn.0100f1d5
test eax, eax
je 0x1003af4
mov eax, dword [ebp + 0x1438]
jmp 0x1003a23
push ebx
push dword [ebp + 0x142c]
call fcn.0100f1d5
test eax, eax
je 0x1003a26
push ebx
push esi
push 0x1001380
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
je 0x1003a26
push ebx
push esi
push 0x1001370
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
je 0x1003a26
push dword [ebp + 0x20]
push 0x1ab
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push esi
push eax
call fcn.0101120b
add esp, 0x14
lea eax, [ebp + 0x1220]
push 0xfe
push eax
call fcn.0100f9d7
test eax, eax
push ebx
jne 0x10039ec
jmp 0x10032e6
mov edi, dword [ebp - 0x64]
cmp word [ebp + 0x2e20], 5
jne 0x1003ca4
push ebx
push dword [ebp + 0x142c]
call fcn.0100f1d5
test eax, eax
jne 0x1003bac
mov eax, dword [ebp + 0x2e18]
cmp dword [eax + 0xc], ebx
je 0x1003c5e
push ebx
push dword [ebp + 0x142c]
call fcn.0100f1d5
test eax, eax
jne 0x1003bd0
push ebx
push dword [ebp + 0x1430]
call fcn.0100f1d5
test eax, eax
je 0x1003c5e
push ebx
push esi
push 0x1001380
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
jne 0x1003bf1
mov eax, dword [ebp + 0x2e18]
cmp dword [eax + 0xc], ebx
je 0x1003c5e
push ebx
push esi
push 0x1001380
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
jne 0x1003c17
push ebx
push dword [ebp + 0x1430]
call fcn.0100f1d5
test eax, eax
je 0x1003c5e
push ebx
push esi
push 0x1001370
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
jne 0x1003c38
mov eax, dword [ebp + 0x2e18]
cmp dword [eax + 0xc], ebx
je 0x1003c5e
push ebx
push esi
push 0x1001370
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
jne 0x1003cae
push ebx
push dword [ebp + 0x1430]
call fcn.0100f1d5
test eax, eax
jne 0x1003cae
lea eax, [ebp + 0xc4c]
push eax
push 0xca
call fcn.0101132b
push eax
lea eax, [ebp + 0xe28]
push 0x1fc
push eax
call fcn.01001a92
add esp, 0x10
lea eax, [ebp + 0xe28]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call fcn.01010fc1
mov dword [ebp + 0x28], esi
mov dword [ebp - 0x44], esi
jmp 0x1003e3c
cmp word [ebp + 0x2e20], 6
jne 0x1003cce
push ebx
push dword [ebp + 0x142c]
call fcn.0100f1d5
test eax, eax
jne 0x1003cce
push ebx
push dword [ebp + 0x1430]
call fcn.0100f1d5
test eax, eax
jne 0x1003d44
cmp word [ebp + 0x2e20], 5
je 0x1003ce2
cmp word [ebp + 0x2e20], 6
jne 0x1003d03
push ebx
push esi
push 0x1001380
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
jne 0x1003d03
mov eax, dword [ebp + 0x2e18]
cmp dword [eax + 0xc], esi
je 0x1003d44
cmp word [ebp + 0x2e20], 5
je 0x1003d1b
cmp word [ebp + 0x2e20], 6
jne 0x1003a34
push ebx
push esi
push 0x1001370
push dword [ebp + 0x142c]
call fcn.0100f1ed
test eax, eax
jne 0x1003a34
mov eax, dword [ebp + 0x2e18]
cmp dword [eax + 0xc], esi
jne 0x1003a34
lea eax, [ebp + 0xc4c]
push eax
push 0xca
call fcn.0101132b
push eax
lea eax, [ebp + 0xe28]
push 0x1fc
push eax
call fcn.01001a92
add esp, 0x10
lea eax, [ebp + 0xe28]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call fcn.01010fc1
push 0xfc
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
mov dword [ebp + 0x28], esi
mov dword [ebp - 0x44], esi
jmp 0x1003da9
mov eax, dword [ebp + 0x1430]
mov dword [ebp + 0x2c], eax
mov edi, esi
cmp word [ebp + 0x2e20], 5
je 0x1003dbf
cmp word [ebp + 0x2e20], 6
jne 0x1003e3c
cmp dword [ebp + 0x28], esi
jne 0x1003e3c
cmp edi, ebx
jne 0x1003e3c
push dword [ebp + 0x20]
push 0x1ab
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push esi
push eax
call fcn.0101120b
add esp, 0x14
push dword [ebp + 0x1430]
call fcn.0100f62d
shr eax, 1
push eax
push dword [ebp + 0x1430]
call fcn.0100f9d7
test eax, eax
push ebx
je 0x1003eed
push dword [ebp + 0x1430]
call fcn.0100f1d5
test eax, eax
jne 0x1003e33
push 0x20a
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
mov eax, dword [ebp + 0x1430]
mov dword [ebp + 0x2c], eax
cmp dword [ebp + 0x28], ebx
mov dword [ebp - 0x48], ebx
jne 0x1003f29
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x234]
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x1003e7c
push 0x90
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
jmp 0x1003359
lea eax, [ebp + 0x234]
push 0x30
mov dword [ebp + 0x20], eax
call dword [sym.imp.USER32.dll_MessageBeep]
lea eax, [ebp + 0x234]
push eax
push 0x1ad
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push esi
push eax
call fcn.0101120b
add esp, 0x14
lea eax, [ebp + 0x234]
push eax
push 0x1ab
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push esi
push eax
call fcn.0101120b
add esp, 0x14
push 0xfe
lea eax, [ebp + 0x1220]
push eax
call fcn.0100f9d7
test eax, eax
push ebx
jne 0x1003ef7
call fcn.0100bcb2
jmp 0x10032fb
lea eax, [ebp + 0x1220]
push eax
call fcn.0100f1d5
test eax, eax
jne 0x1003f20
push 0x20a
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
lea eax, [ebp + 0x1220]
mov dword [ebp + 0x2c], eax
push dword [ebp + 0x1428]
call fcn.0100bda3
cmp eax, ebx
mov dword [ebp + 0x28], eax
je 0x10040a6
push esi
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x1428]
call fcn.01007e49
test eax, eax
jne 0x1003fc9
cmp dword [ebp - 0x48], ebx
je 0x1003fc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x1003fc9
cmp dword [ebp + 0x34], esi
jne 0x1003f73
push dword [ebp + 0x1428]
call fcn.01012c21
push dword [ebp + 0x28]
call fcn.0100bcb2
lea eax, [ebp + 0x1428]
push eax
call fcn.01001a4e
cmp dword [ebp - 0x48], esi
jne 0x1003fac
push 0xcf
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
mov eax, esi
jmp 0x1004b87
cmp dword [ebp - 0x48], 2
jne 0x1003fbc
mov eax, 0x80004005
jmp 0x1004b87
cmp dword [ebp - 0x48], 3
jne 0x1003fc9
xor eax, eax
jmp 0x1004b87
push 0xee
push 0x1001340
lea eax, [ebp + 0x1e28]
push eax
call fcn.01010072
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
lea edx, [ebp + 0x30]
push edx
mov edi, 0x100126c
push edi
push 0x100124c
lea edx, [ebp + 0x1e28]
push edx
push eax
call dword [ecx + 0x20]
mov esi, 0x80070005
cmp eax, esi
mov dword [ebp + 0x2e20], eax
jne 0x100403e
push 0xbd
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
cmp dword [ebp + 0x34], 1
jne 0x1004037
push dword [ebp + 0x1428]
call fcn.01012c21
mov ebx, esi
jmp 0x1004b71
mov esi, dword [ebp + 0x2e20]
cmp esi, 0x80070050
jne 0x1004133
xor esi, esi
inc esi
cmp dword [ebp + 0x2e0c], ebx
mov dword [ebp - 0x5c], esi
jne 0x10040cc
lea eax, [ebp + 0xc4c]
push eax
push 0x8a
call fcn.0101132b
push eax
lea eax, [ebp + 0xe28]
push 0x1fc
push eax
call fcn.01001a92
add esp, 0x10
lea eax, [ebp + 0xe28]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call fcn.01010fc1
lea eax, [ebp - 0x68]
push eax
call fcn.0100279a
cmp eax, esi
jne 0x10040ae
cmp dword [ebp + 0x34], esi
jmp 0x1004b5f
cmp dword [ebp - 0x68], esi
jne 0x10040cc
cmp dword [ebp + 0x34], esi
jne 0x1004b71
push dword [ebp + 0x1428]
call fcn.01012c21
jmp 0x1004b71
mov eax, dword [ebp + 0x28]
lea edx, [ebp + 0x30]
push edx
push edi
lea edx, [ebp + 0x1e28]
push edx
mov dword [ebp + 0x30], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
cmp esi, 0x8007000d
je 0x10040fe
cmp esi, 0x80041313
je 0x10040fe
cmp esi, 0x80070057
jne 0x1004133
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
lea edx, [ebp + 0x1e28]
push edx
push eax
mov dword [ebp - 0x5c], ebx
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x1004137
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
lea edx, [ebp + 0x30]
push edx
push edi
push 0x100124c
lea edx, [ebp + 0x1e28]
push edx
push eax
call dword [ecx + 0x20]
mov esi, eax
cmp esi, ebx
jge 0x1004156
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x10001
add eax, 0x40
push eax
call fcn.0101134d
jmp 0x1004026
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
lea edx, [ebp + 0x24]
push edx
push 0x1001808
push eax
call dword [ecx]
mov esi, eax
cmp esi, ebx
jge 0x1004189
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x10001
add eax, 0x40
push eax
call fcn.0101134d
jmp 0x10041bb
push 0x7e
pop ecx
xor eax, eax
mov dword [ebp + 0x62c], ebx
lea edi, [ebp + 0x630]
rep stosd dword es:[edi], eax
lea eax, [ebp + 0x62c]
push eax
lea eax, [ebp + 0xa4c]
push eax
lea eax, [ebp + 0x27f4]
push eax
call fcn.010018a0
cmp eax, 1
jne 0x10041c3
mov eax, dword [ebp + 0x24]
jmp 0x100443d
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
lea edx, [ebp + 0xa4c]
push edx
push eax
call dword [ecx + 0x80]
mov edi, eax
cmp edi, ebx
jge 0x1004228
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x10001
push eax
call fcn.0101134d
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x1004203
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je 0x1004210
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 0x34], 1
jne 0x1004221
push dword [ebp + 0x1428]
call fcn.01012c21
mov ebx, edi
jmp 0x1004b71
lea eax, [ebp + 0xa4c]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
cmp eax, ebx
pop ecx
pop ecx
je 0x1004240
mov word [eax], bx
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
lea edx, [ebp + 0xa4c]
push edx
push eax
call dword [ecx + 0x90]
mov edi, eax
cmp edi, ebx
jl 0x10041dc
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
lea edx, [ebp + 0x62c]
push edx
push eax
call dword [ecx + 0x88]
mov edi, eax
cmp edi, ebx
jl 0x10041dc
cmp dword [ebp - 0x44], ebx
jne 0x1004289
cmp dword [ebp + 0x2e00], 1
mov ecx, 0x20c0
je 0x100428e
mov ecx, 0xc0
xor esi, esi
inc esi
cmp dword [ebp + 0x2e08], esi
jne 0x100429c
or ecx, 2
mov eax, dword [ebp + 0x30]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x70]
mov edi, eax
cmp edi, ebx
jge 0x10042c8
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x10001
add eax, 0x40
push eax
call fcn.0101134d
jmp 0x1004338
cmp dword [ebp - 0x44], esi
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
jne 0x10042da
push ebx
push 0x100133c
jmp 0x10042e0
push dword [ebp + 0x2c]
push dword [ebp + 0x20]
push eax
call dword [ecx + 0x78]
mov edi, eax
cmp edi, ebx
jge 0x1004340
cmp edi, 0x80041312
je 0x1004340
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x10001
add eax, 0x40
push eax
call fcn.0101134d
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x1001330
add eax, 0x20
push eax
call fcn.01010fc1
push 0x198
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call fcn.01010fc1
mov eax, dword [ebp + 0x24]
jmp 0x10044ca
mov eax, dword [ebp + 0x2e18]
cmp dword [eax], ebx
je 0x1004368
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp - 0x52]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x56]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp + 0x1c], eax
jmp 0x1004391
push ebx
lea eax, [ebp + 0x23fc]
push eax
call fcn.0100f1d5
test eax, eax
jbe 0x1004391
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x23fc]
push eax
call fcn.01006804
cmp dword [ebp + 0x2e1c], 9
jne 0x10043be
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
push 0x10
push eax
call dword [ecx + 0x70]
push 0xa
lea eax, [ebp + 0x1c2c]
push eax
call fcn.01010846
mov ecx, dword [ebp + 0x30]
mov edx, dword [ecx]
push ebx
push eax
push ecx
call dword [edx + 0x28]
cmp dword [ebp - 0x5c], esi
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
lea edx, [ebp + 0x18]
push edx
jne 0x1004492
push dword [ebp - 0x6c]
push eax
call dword [ecx + 0x18]
mov esi, eax
cmp esi, ebx
jge 0x10043e6
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100441a
xor eax, eax
mov word [ebp + 0x828], bx
mov ecx, 0x88
lea edi, [ebp + 0x82a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x828]
push eax
mov dword [ebp - 0x64], 0x112
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x100445d
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x10001
push eax
call fcn.0101134d
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x100443a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x1004447
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je 0x1004026
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1004026
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
lea edx, [ebp + 0x828]
push edx
push eax
call dword [ecx + 0x50]
mov edi, eax
cmp edi, ebx
jge 0x10044e9
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x10001
add eax, 0x40
push eax
call fcn.0101134d
jmp 0x1004bd8
lea edx, [ebp - 0x6c]
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jge 0x10044e9
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x10001
add eax, 0x40
push eax
call fcn.0101134d
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x10044c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x10044d4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je 0x10044e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 0x34], esi
jmp 0x1004214
cmp dword [ebp + 0x2e04], 1
push 2
mov dword [ebp + 0x2e20], ebx
pop esi
jne 0x10044fe
mov dword [ebp - 0x20], esi
push ebx
lea eax, [ebp + 0x2200]
push eax
call fcn.0100f1d5
test eax, eax
jne 0x100453c
push ebx
lea eax, [ebp + 0x2a00]
push eax
call fcn.0100f1d5
test eax, eax
jne 0x100453c
push ebx
lea eax, [ebp + 0x2bfc]
push eax
call fcn.0100f1d5
test eax, eax
jne 0x100453c
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
jmp 0x1004550
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x1004546
mov dword [ebp - 0x24], eax
mov edi, dword [ebp - 0x40]
cmp edi, ebx
je 0x1004550
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp + 0x2e1c]
cmp ecx, 1
je 0x10045af
cmp ecx, esi
je 0x10045af
cmp edi, dword [ebp + 0x10]
ja 0x10045af
push 0xb9
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x100458a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x1004597
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je 0x10045a4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
inc ebx
cmp dword [ebp + 0x34], ebx
jmp 0x10040b6
lea eax, [ecx - 1]
cmp eax, 8
ja case.default.0x10045bb
jmp dword [eax*4 + 0x1004d05]
xor esi, esi
push ebx
lea eax, [ebp + 0x1638]
inc esi
push eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x18], si
call fcn.0100f1d5
test eax, eax
jbe 0x10045ee
push 0xa
lea eax, [ebp + 0x1638]
push eax
call fcn.01010846
mov dword [ebp - 0x24], eax
push ebx
lea eax, [ebp + 0x2200]
push eax
call fcn.0100f1d5
test eax, eax
ja 0x1004617
push ebx
lea eax, [ebp + 0x2a00]
push eax
call fcn.0100f1d5
test eax, eax
mov dword [ebp - 0x28], 0x5a0
jbe 0x100461a
mov dword [ebp - 0x28], edi
mov ax, word [ebp - 8]
mov word [ebp - 0x2c], ax
mov ax, word [ebp + 8]
mov word [ebp - 0x2a], ax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x34], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x36], ax
mov ax, word [ebp + 0x1c]
mov word [ebp - 0x38], ax
push ebx
lea eax, [ebp + 0x25f8]
push eax
call fcn.0100f1d5
test eax, eax
jbe 0x1004b24
or dword [ebp - 0x20], esi
jmp 0x1004792
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], ax
push ebx
lea eax, [ebp + 0x1638]
push eax
call fcn.0100f1d5
test eax, eax
jbe 0x100468e
push 0xa
lea eax, [ebp + 0x1638]
push eax
call fcn.01010846
imul eax, eax, 0x3c
mov dword [ebp - 0x24], eax
push ebx
lea eax, [ebp + 0x2200]
push eax
call fcn.0100f1d5
test eax, eax
ja 0x10046bb
push ebx
lea eax, [ebp + 0x2a00]
push eax
call fcn.0100f1d5
test eax, eax
mov dword [ebp - 0x28], 0x5a0
jbe 0x1004751
mov dword [ebp - 0x28], edi
jmp 0x1004751
mov ax, word [ebp + 0x14]
mov word [ebp - 0x34], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x36], ax
mov ax, word [ebp + 0x1c]
mov word [ebp - 0x38], ax
mov ax, word [ebp - 8]
mov word [ebp - 0x2c], ax
mov ax, word [ebp + 8]
mov word [ebp - 0x2a], ax
xor esi, esi
push ebx
lea eax, [ebp + 0x1638]
inc esi
push eax
mov dword [ebp - 0x1c], esi
call fcn.0100f1d5
test eax, eax
jbe 0x1004716
push 0xa
lea eax, [ebp + 0x1638]
push eax
call fcn.01010846
mov word [ebp - 0x18], ax
jmp 0x1004779
lea eax, [ebp + 0x1834]
push eax
call fcn.01005c7a
mov word [ebp - 0x16], ax
mov word [ebp - 0x18], si
jmp 0x1004779
push 0xa
lea eax, [ebp + 0x1638]
push eax
mov dword [ebp - 0x1c], esi
call fcn.01010846
mov word [ebp - 0x18], ax
lea eax, [ebp + 0x1834]
push eax
call fcn.01005c7a
mov word [ebp - 0x16], ax
mov ax, word [ebp - 8]
mov word [ebp - 0x2c], ax
mov ax, word [ebp + 8]
mov word [ebp - 0x2a], ax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x34], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x36], ax
mov ax, word [ebp + 0x1c]
mov word [ebp - 0x38], ax
push ebx
lea eax, [ebp + 0x25f8]
push eax
call fcn.0100f1d5
test eax, eax
jbe 0x1004b24
or dword [ebp - 0x20], 1
lea eax, [ebp]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x25f8]
push eax
call fcn.01006804
mov ax, word [ebp + 4]
mov word [ebp - 0x2e], ax
mov ax, word [ebp - 4]
mov word [ebp - 0x30], ax
mov ax, word [ebp]
mov word [ebp - 0x32], ax
jmp 0x1004b24
mov ax, word [ebp - 8]
mov word [ebp - 0x2c], ax
mov ax, word [ebp + 8]
mov word [ebp - 0x2a], ax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x34], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x36], ax
mov ax, word [ebp + 0x1c]
mov word [ebp - 0x38], ax
push ebx
lea eax, [ebp + 0x25f8]
push eax
call fcn.0100f1d5
test eax, eax
jbe 0x1004834
or dword [ebp - 0x20], 1
lea eax, [ebp]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x25f8]
push eax
call fcn.01006804
mov ax, word [ebp + 4]
mov word [ebp - 0x2e], ax
mov ax, word [ebp - 4]
mov word [ebp - 0x30], ax
mov ax, word [ebp]
mov word [ebp - 0x32], ax
push ebx
lea eax, [ebp + 0x1638]
push eax
call fcn.0100f1d5
test eax, eax
jbe 0x10049ea
push 0xa
lea eax, [ebp + 0x1638]
push eax
call fcn.01010846
mov edi, eax
cmp edi, 1
jl 0x10048a5
cmp edi, 0xc
jg 0x10048a5
push ebx
lea eax, [ebp + 0x1834]
push eax
call fcn.0100f1d5
test eax, eax
jne 0x1004877
inc eax
jmp 0x1004888
push 0xa
lea eax, [ebp + 0x1834]
push eax
call fcn.01010846
movzx eax, ax
lea ecx, [eax - 1]
xor eax, eax
inc eax
shl eax, cl
push edi
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], eax
call fcn.010060e3
jmp 0x10049e1
push ebx
push 1
push 0x1f2
call fcn.0101132b
push eax
lea eax, [ebp + 0x1638]
push eax
call fcn.0100f1ed
test eax, eax
jne 0x10048e9
push dword [ebp + 0x1c]
lea eax, [ebp + 0x1a30]
push eax
mov dword [ebp - 0x1c], 3
call fcn.01006156
mov ecx, eax
xor eax, eax
dec ecx
inc eax
shl eax, cl
mov dword [ebp - 0x18], eax
jmp 0x10049d5
push ebx
push 1
push 0x1d7
call fcn.0101132b
push eax
lea eax, [ebp + 0x1638]
push eax
call fcn.0100f1ed
test eax, eax
push 4
pop edi
jne 0x1004919
mov dword [ebp + 0x2e20], 1
jmp 0x10049b7
push ebx
push 1
push 0x1d8
call fcn.0101132b
push eax
lea eax, [ebp + 0x1638]
push eax
call fcn.0100f1ed
test eax, eax
jne 0x100493f
mov dword [ebp + 0x2e20], esi
jmp 0x10049b7
push ebx
push 1
push 0x1d9
call fcn.0101132b
push eax
lea eax, [ebp + 0x1638]
push eax
call fcn.0100f1ed
test eax, eax
jne 0x1004969
mov dword [ebp + 0x2e20], 3
jmp 0x10049b7
push ebx
push 1
push 0x1da
call fcn.0101132b
push eax
lea eax, [ebp + 0x1638]
push eax
call fcn.0100f1ed
test eax, eax
jne 0x100498f
mov dword [ebp + 0x2e20], edi
jmp 0x10049b7
push ebx
push 1
push 0x1db
call fcn.0101132b
push eax
lea eax, [ebp + 0x1638]
push eax
call fcn.0100f1ed
test eax, eax
jne 0x10049b7
mov dword [ebp + 0x2e20], 5
mov ax, word [ebp + 0x2e20]
mov word [ebp - 0x18], ax
lea eax, [ebp + 0x1834]
push eax
mov dword [ebp - 0x1c], edi
call fcn.01005c7a
mov word [ebp - 0x16], ax
lea eax, [ebp + 0x1a30]
push eax
call fcn.01005eb0
mov word [ebp - 0x14], ax
jmp 0x1004b24
lea eax, [ebp + 0x1a30]
push eax
mov dword [ebp - 0x1c], 3
call fcn.01005eb0
mov word [ebp - 0x14], ax
push 0xa
lea eax, [ebp + 0x1834]
push eax
call fcn.01010846
xor edx, edx
movzx eax, ax
inc edx
cmp eax, edx
jbe 0x1004a1e
lea ecx, [eax - 1]
shl edx, cl
mov dword [ebp - 0x18], edx
jmp 0x1004b24
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp + 0x2e18]
cmp dword [eax], ebx
mov ecx, dword [ebp + 0xc]
jne 0x1004a74
mov ax, word [ebp - 0x58]
cmp word [ebp + 0x1c], ax
jne 0x1004a6b
mov ax, word [ebp - 0x56]
cmp ax, cx
ja 0x1004a6d
mov dx, word [ebp - 0x52]
jne 0x1004a5c
cmp word [ebp + 0x14], dx
jb 0x1004a6d
cmp ax, cx
jb 0x1004aca
jne 0x1004a74
cmp word [ebp + 0x14], dx
jbe 0x1004a74
jmp 0x1004aca
jae 0x1004aca
mov dword [ebp - 0x60], 1
movzx eax, word [ebp - 0x50]
movzx edx, word [ebp - 0x4e]
imul eax, eax, 0x3c
add eax, edx
imul eax, eax, 0x3c
xor edx, edx
push 0x3c
pop esi
div esi
movzx edx, word [ebp + 8]
push 0x3c
pop edi
mov esi, eax
movzx eax, word [ebp - 8]
imul eax, eax, 0x3c
add eax, edx
imul eax, eax, 0x3c
xor edx, edx
div edi
cmp eax, esi
jb 0x1004aae
cmp dword [ebp - 0x60], 1
jne 0x1004aca
push 0x228
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
mov ecx, dword [ebp + 0xc]
mov ax, word [ebp - 8]
mov word [ebp - 0x2c], ax
mov ax, word [ebp + 8]
mov word [ebp - 0x2a], ax
mov ax, word [ebp + 0x14]
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x34], ax
mov word [ebp - 0x36], cx
jmp 0x1004b1c
cmp ecx, 8
jne 0x1004af7
mov dword [ebp - 0x1c], 7
cmp ecx, 7
jne 0x1004b0c
mov dword [ebp - 0x1c], 6
jmp 0x1004b0c
mov dword [ebp - 0x1c], 5
mov ax, word [ebp + 0x14]
mov word [ebp - 0x34], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x36], ax
mov ax, word [ebp + 0x1c]
mov word [ebp - 0x38], ax
lea eax, [ebp + 0x1e28]
push eax
call fcn.0100bcc9
test eax, eax
je 0x1004b9f
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x1004b41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x1004b4e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je case.default.0x10045bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 0x34], 1
jne 0x1004b6c
push dword [ebp + 0x1428]
call fcn.01012c21
mov ebx, 0x80004005
push dword [ebp + 0x28]
call fcn.0100bcb2
lea eax, [ebp + 0x1428]
push eax
call fcn.01001a4e
mov eax, ebx
mov ecx, dword [ebp + 0x141c]
pop edi
pop esi
pop ebx
call fcn.0100eec6
add ebp, 0x1420
leave
ret 0x19fc
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
je 0x1004bed
lea eax, [ebp + 0x1e28]
push eax
push 0x89
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x40
push 1
push eax
call fcn.0101120b
add esp, 0x14
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x1004be5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
jmp 0x10041f9
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
push 1
push ebx
push eax
call dword [ecx + 0x18]
mov edi, eax
cmp edi, ebx
lea eax, [ebp + 0x1e28]
jge 0x1004cae
cmp edi, 0x80041315
jne 0x1004c19
push eax
push 0x207
jmp 0x1004c4f
cmp edi, 0x800706b5
jne 0x1004c49
push dword [ebp + 0x1428]
push eax
push 0x208
call fcn.0101132b
push eax
lea eax, [ebp + 0xe28]
push 0x1fc
push eax
call fcn.01001a92
add esp, 0x14
jmp 0x1004c69
push eax
push 0xfb
call fcn.0101132b
push eax
lea eax, [ebp + 0xe28]
push 0x1fc
push eax
call fcn.01001a92
add esp, 0x10
lea eax, [ebp + 0xe28]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01010fc1
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x1004c8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x1004c98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je 0x1004ca5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 0x34], 1
jmp 0x10040b6
push eax
push 0x12e
call fcn.0101132b
push eax
lea eax, [ebp + 0xe28]
push 0x1fc
push eax
call fcn.01001a92
add esp, 0x10
lea eax, [ebp + 0xe28]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call fcn.01010fc1
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x1004cf0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je 0x1004cfd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
jmp 0x1004206