Function at 0x401cc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1290
call fcn.00547ea0
mov eax, dword [0x5c911c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1284], 1
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x127c], eax
push edi
mov dword [ebp - 0x1290], esi
mov dword [ebp - 0x1274], eax
mov dword [ebp - 0x1268], eax
mov dword [ebp - 0x126c], eax
mov dword [ebp - 0x1270], eax
mov dword [ebp - 0x1280], eax
call fcn.0054faff
mov ebx, dword [eax]
mov dword [ebp - 0x1278], ebx
call fcn.0054fb05
mov ecx, dword [eax]
mov eax, dword [esi]
mov dword [ebp - 0x1264], ecx
test eax, eax
je 0x401d47
push eax
call fcn.00404f85
mov ecx, dword [ebp - 0x1264]
add esp, 4
mov dword [esi], 0
cmp ebx, 1
jle 0x402459
mov ebx, 1
jmp 0x401d60
mov edi, dword [ecx + ebx*4]
xor esi, esi
jmp 0x401d70
push dword [esi*4 + section..data]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x401d88
inc esi
cmp esi, 6
jb 0x401d70
cmp esi, 5
ja case.default.0x401d91
jmp dword [esi*4 + 0x40247c]
inc ebx
cmp ebx, dword [ebp - 0x1278]
jge 0x40213c
mov ecx, dword [ebp - 0x1264]
mov eax, dword [ecx + ebx*4]
mov dword [ebp - 0x127c], eax
test eax, eax
jne 0x401dc3
mov dword [ebp - 0x127c], eax
jmp 0x402122
mov ecx, eax
lea edx, [ecx + 2]
jmp 0x401dd0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401dd0
sub ecx, edx
sar ecx, 1
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x401e25
add edi, edi
mov eax, edi
call fcn.00547e70
mov esi, esp
test esi, esi
je 0x401e25
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x127c]
mov byte [esi], 0
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0x127c], eax
jmp 0x40211c
xor eax, eax
mov dword [ebp - 0x127c], eax
jmp 0x40211c
inc ebx
cmp ebx, dword [ebp - 0x1278]
jge 0x40213c
mov ecx, dword [ebp - 0x1264]
mov eax, dword [ecx + ebx*4]
mov dword [ebp - 0x1274], eax
test eax, eax
jne 0x401e5d
mov dword [ebp - 0x1274], eax
jmp 0x402122
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401e62
sub ecx, edx
sar ecx, 1
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x401eb7
add edi, edi
mov eax, edi
call fcn.00547e70
mov esi, esp
test esi, esi
je 0x401eb7
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x1274]
mov byte [esi], 0
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0x1274], eax
jmp 0x40211c
mov dword [ebp - 0x1274], 0
jmp 0x40211c
inc ebx
cmp ebx, dword [ebp - 0x1278]
jge 0x40213c
mov ecx, dword [ebp - 0x1264]
mov eax, dword [ecx + ebx*4]
mov dword [ebp - 0x1268], eax
test eax, eax
jne 0x401ef1
mov dword [ebp - 0x1268], eax
jmp 0x402122
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401ef6
sub ecx, edx
sar ecx, 1
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x401f4b
add edi, edi
mov eax, edi
call fcn.00547e70
mov esi, esp
test esi, esi
je 0x401f4b
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x1268]
mov byte [esi], 0
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0x1268], eax
jmp 0x40211c
mov dword [ebp - 0x1268], 0
jmp 0x40211c
inc ebx
cmp ebx, dword [ebp - 0x1278]
jge 0x40213c
mov ecx, dword [ebp - 0x1264]
mov eax, dword [ecx + ebx*4]
mov dword [ebp - 0x126c], eax
test eax, eax
jne 0x401f85
mov dword [ebp - 0x126c], eax
jmp 0x402122
mov ecx, eax
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401f90
sub ecx, edx
sar ecx, 1
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x401fe5
add edi, edi
mov eax, edi
call fcn.00547e70
mov esi, esp
test esi, esi
je 0x401fe5
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x126c]
mov byte [esi], 0
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0x126c], eax
jmp 0x40211c
mov dword [ebp - 0x126c], 0
jmp 0x40211c
inc ebx
cmp ebx, dword [ebp - 0x1278]
jge 0x40213c
mov ecx, dword [ebp - 0x1264]
mov eax, dword [ecx + ebx*4]
mov dword [ebp - 0x1270], eax
test eax, eax
jne 0x40201f
mov dword [ebp - 0x1270], eax
jmp 0x402122
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402024
sub ecx, edx
sar ecx, 1
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x402079
add edi, edi
mov eax, edi
call fcn.00547e70
mov esi, esp
test esi, esi
je 0x402079
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x1270]
mov byte [esi], 0
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0x1270], eax
jmp 0x40211c
mov dword [ebp - 0x1270], 0
jmp 0x40211c
inc ebx
cmp ebx, dword [ebp - 0x1278]
jge 0x40213c
mov eax, dword [ebp - 0x1264]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x1280], eax
test eax, eax
je 0x4020fc
mov ecx, eax
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4020b0
sub ecx, edx
sar ecx, 1
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x4020fc
add edi, edi
mov eax, edi
call fcn.00547e70
mov esi, esp
test esi, esi
je 0x4020fc
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x1280]
mov byte [esi], 0
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4020fe
xor eax, eax
push 0x578600
push eax
mov dword [ebp - 0x1280], eax
call fcn.0054d24a
add esp, 8
neg eax
sbb eax, eax
and dword [ebp - 0x1284], eax
mov ecx, dword [ebp - 0x1264]
inc ebx
cmp ebx, dword [ebp - 0x1278]
jl 0x401d60
jmp 0x40213c
push 0x578604
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x200
lea eax, [ebp - 0xa60]
mov dword [ebp - 0x1288], 0
push 0
push eax
call fcn.005497d0
add esp, 0xc
lea eax, [ebp - 0xa60]
cmp dword [ebp - 0x1284], 0
push 0x1ff
push eax
je 0x402175
push 0x65
jmp 0x402177
push 0x67
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov ebx, dword [ebp - 0x127c]
test ebx, ebx
je 0x402459
mov edi, dword [ebp - 0x1274]
test edi, edi
je 0x402459
cmp dword [ebp - 0x1268], 0
je 0x402459
cmp dword [ebp - 0x126c], 0
je 0x402459
cmp dword [ebp - 0x1270], 0
je 0x402459
cmp dword [ebp - 0x1280], 0
je 0x402459
xor eax, eax
push ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
xor ecx, ecx
test esi, esi
jle 0x40221f
lea edx, [ebp - 0x3c]
mov al, byte [ecx + ebx]
cmp al, 0x7b
je 0x40221a
cmp al, 0x7d
je 0x40221a
cmp al, 0x2d
je 0x40221a
mov byte [edx], al
inc edx
inc ecx
cmp ecx, esi
jl 0x402208
push 0x800
lea eax, [ebp - 0x860]
push 0
push eax
call fcn.005497d0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x860]
push eax
call ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x860]
push eax
call edi
push dword [ebp - 0x1268]
lea eax, [ebp - 0x860]
push eax
call edi
push dword [ebp - 0x126c]
lea eax, [ebp - 0x860]
push eax
call edi
push dword [ebp - 0x1270]
lea eax, [ebp - 0x860]
push eax
call edi
push str.AhIZ8sdsl8SZ
lea eax, [ebp - 0x860]
push eax
call edi
lea eax, [ebp - 0x860]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404630
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x60], eax
xor esi, esi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
movzx eax, byte [ebp + esi - 0x14]
push eax
lea eax, [ebp - 0x128c]
push str._02x
push eax
call fcn.004024c0
add esp, 0xc
lea eax, [ebp - 0x128c]
push eax
lea eax, [ebp - 0x60]
push eax
call edi
inc esi
cmp esi, 0x10
jl 0x4022e1
push 0x800
lea eax, [ebp - 0x860]
push 0
push eax
call fcn.005497d0
push 0x800
lea eax, [ebp - 0x1260]
push 0
push eax
call fcn.005497d0
add esp, 0x18
lea eax, [ebp - 0x860]
push 0x57862c
push eax
call ebx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x860]
push eax
call edi
push 0x578630
lea eax, [ebp - 0x860]
push eax
call edi
push dword [ebp - 0x1274]
lea eax, [ebp - 0x860]
push eax
call edi
push 0x578634
lea eax, [ebp - 0x860]
push eax
call edi
push dword [ebp - 0x1268]
lea eax, [ebp - 0x860]
push eax
call edi
push 0x578638
lea eax, [ebp - 0x860]
push eax
call edi
push dword [ebp - 0x126c]
lea eax, [ebp - 0x860]
push eax
call edi
push str.user_info
lea eax, [ebp - 0x860]
push eax
call edi
push dword [ebp - 0x1270]
lea eax, [ebp - 0x860]
push eax
call edi
push str.cs
lea eax, [ebp - 0x860]
push eax
call edi
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x860]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x1288]
push 0
push eax
push 0x7ff
lea eax, [ebp - 0x1260]
push eax
lea eax, [ebp - 0x860]
push eax
call esi
push eax
lea eax, [ebp - 0x860]
push eax
call fcn.00404750
add esp, 0x18
lea eax, [ebp - 0xa60]
push eax
call esi
mov ecx, dword [ebp - 0x1288]
add ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x1288], ecx
push eax
call fcn.00404f8a
mov esi, eax
add esp, 4
test esi, esi
je 0x40245b
lea eax, [ebp - 0xa60]
push eax
push esi
call ebx
lea eax, [ebp - 0x1260]
push eax
push esi
call edi
mov eax, 1
jmp 0x40245d
xor esi, esi
xor eax, eax
mov ecx, dword [ebp - 0x1290]
mov dword [ecx], esi
lea esp, [ebp - 0x129c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00547e39
mov esp, ebp
pop ebp
ret