Function at 0x401d00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56df87
mov eax, dword fs:[0]
push eax
mov eax, 0x128c
call fcn.0054b8b0
mov eax, dword [0x5d80cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1298], esi
xor eax, eax
mov dword [ebp - 0x1290], 1
mov dword [ebp - 0x1288], eax
mov dword [ebp - 0x1274], eax
mov dword [ebp - 0x1278], eax
mov dword [ebp - 0x127c], eax
mov dword [ebp - 0x1280], eax
mov dword [ebp - 0x128c], eax
call fcn.00553480
mov ebx, dword [eax]
mov dword [ebp - 0x1284], ebx
call fcn.00553486
mov ecx, dword [eax]
mov eax, dword [esi]
mov dword [ebp - 0x1270], ecx
test eax, eax
je 0x401d9f
push eax
call fcn.00405507
mov ecx, dword [ebp - 0x1270]
add esp, 4
mov dword [esi], 0
cmp ebx, 1
jle 0x4024e9
mov ebx, 1
lea ecx, [ecx]
mov edi, dword [ecx + ebx*4]
xor esi, esi
jmp 0x401dc0
push dword [esi*4 + section..data]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x401dd8
inc esi
cmp esi, 6
jb 0x401dc0
cmp esi, 5
ja case.default.0x401de1
jmp dword [esi*4 + 0x402518]
inc ebx
cmp ebx, dword [ebp - 0x1284]
jge 0x40216f
mov ecx, dword [ebp - 0x1270]
mov edi, dword [ecx + ebx*4]
test edi, edi
jne 0x401e0f
xor eax, eax
mov dword [ebp - 0x1288], eax
jmp 0x402155
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401e14
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x401e6c
lea esi, [ecx + ecx]
mov eax, esi
call fcn.0054b880
mov eax, esp
mov dword [ebp - 0x1288], eax
test eax, eax
je 0x401e6c
push 0
push 0
push esi
mov esi, eax
mov byte [eax], 0
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove esi, ecx
mov dword [ebp - 0x1288], esi
jmp 0x40214f
xor eax, eax
mov dword [ebp - 0x1288], eax
jmp 0x40214f
inc ebx
cmp ebx, dword [ebp - 0x1284]
jge 0x40216f
mov ecx, dword [ebp - 0x1270]
mov edi, dword [ecx + ebx*4]
test edi, edi
jne 0x401e9e
mov dword [ebp - 0x1274], edi
jmp 0x402155
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401ea3
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x401efb
lea esi, [ecx + ecx]
mov eax, esi
call fcn.0054b880
mov eax, esp
mov dword [ebp - 0x1274], eax
test eax, eax
je 0x401efb
push 0
push 0
push esi
mov esi, eax
mov byte [eax], 0
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove esi, ecx
mov dword [ebp - 0x1274], esi
jmp 0x40214f
mov dword [ebp - 0x1274], 0
jmp 0x40214f
inc ebx
cmp ebx, dword [ebp - 0x1284]
jge 0x40216f
mov ecx, dword [ebp - 0x1270]
mov edi, dword [ecx + ebx*4]
test edi, edi
jne 0x401f2f
mov dword [ebp - 0x1278], edi
jmp 0x402155
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401f34
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x401f8c
lea esi, [ecx + ecx]
mov eax, esi
call fcn.0054b880
mov eax, esp
mov dword [ebp - 0x1278], eax
test eax, eax
je 0x401f8c
push 0
push 0
push esi
mov esi, eax
mov byte [eax], 0
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove esi, ecx
mov dword [ebp - 0x1278], esi
jmp 0x40214f
mov dword [ebp - 0x1278], 0
jmp 0x40214f
inc ebx
cmp ebx, dword [ebp - 0x1284]
jge 0x40216f
mov ecx, dword [ebp - 0x1270]
mov edi, dword [ecx + ebx*4]
test edi, edi
jne 0x401fc0
mov dword [ebp - 0x127c], edi
jmp 0x402155
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401fc5
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x40201d
lea esi, [ecx + ecx]
mov eax, esi
call fcn.0054b880
mov eax, esp
mov dword [ebp - 0x127c], eax
test eax, eax
je 0x40201d
push 0
push 0
push esi
mov esi, eax
mov byte [eax], 0
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove esi, ecx
mov dword [ebp - 0x127c], esi
jmp 0x40214f
mov dword [ebp - 0x127c], 0
jmp 0x40214f
inc ebx
cmp ebx, dword [ebp - 0x1284]
jge 0x40216f
mov ecx, dword [ebp - 0x1270]
mov edi, dword [ecx + ebx*4]
test edi, edi
jne 0x402051
mov dword [ebp - 0x1280], edi
jmp 0x402155
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402056
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x4020ae
lea esi, [ecx + ecx]
mov eax, esi
call fcn.0054b880
mov eax, esp
mov dword [ebp - 0x1280], eax
test eax, eax
je 0x4020ae
push 0
push 0
push esi
mov esi, eax
mov byte [eax], 0
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove esi, ecx
mov dword [ebp - 0x1280], esi
jmp 0x40214f
mov dword [ebp - 0x1280], 0
jmp 0x40214f
inc ebx
cmp ebx, dword [ebp - 0x1284]
jge 0x40216f
mov edi, dword [ebp - 0x1270]
mov edi, dword [edi + ebx*4]
test edi, edi
je 0x40212f
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4020e0
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x40212f
lea esi, [ecx + ecx]
mov eax, esi
call fcn.0054b880
mov eax, esp
mov dword [ebp - 0x128c], eax
test eax, eax
je 0x40212f
push 0
push 0
push esi
mov esi, eax
mov byte [eax], 0
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x402131
xor esi, esi
push 0x57e630
push esi
mov dword [ebp - 0x128c], esi
call fcn.00550bcb
add esp, 8
neg eax
sbb eax, eax
and dword [ebp - 0x1290], eax
mov ecx, dword [ebp - 0x1270]
inc ebx
cmp ebx, dword [ebp - 0x1284]
jl 0x401db0
jmp 0x40216f
push 0x57e634
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x200
lea eax, [ebp - 0xa6c]
push 0
push eax
call fcn.0054ddb0
add esp, 0xc
lea eax, [ebp - 0xa6c]
cmp dword [ebp - 0x1290], 0
push 0x1ff
push eax
je 0x40219e
push 0x65
jmp 0x4021a0
push 0x67
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov edi, dword [ebp - 0x1288]
test edi, edi
je 0x4024e9
cmp dword [ebp - 0x1274], 0
je 0x4024e9
cmp dword [ebp - 0x1278], 0
je 0x4024e9
cmp dword [ebp - 0x127c], 0
je 0x4024e9
cmp dword [ebp - 0x1280], 0
je 0x4024e9
cmp dword [ebp - 0x128c], 0
je 0x4024e9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
xor eax, eax
push edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
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
call ebx
mov esi, eax
xor ecx, ecx
test esi, esi
jle 0x402249
lea edx, [ebp - 0x48]
mov al, byte [ecx + edi]
cmp al, 0x7b
je 0x402244
cmp al, 0x7d
je 0x402244
cmp al, 0x2d
je 0x402244
mov byte [edx], al
inc edx
inc ecx
cmp ecx, esi
jl 0x402232
push 0x800
lea eax, [ebp - 0x86c]
push 0
push eax
call fcn.0054ddb0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x86c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 0x1274]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x86c]
push eax
call edi
push dword [ebp - 0x1278]
lea eax, [ebp - 0x86c]
push eax
call edi
push dword [ebp - 0x127c]
lea eax, [ebp - 0x86c]
push eax
call edi
push dword [ebp - 0x1280]
lea eax, [ebp - 0x86c]
push eax
call edi
push str.AhIZ8sdsl8SZ
lea eax, [ebp - 0x86c]
push eax
call edi
lea eax, [ebp - 0x86c]
push eax
call ebx
mov ebx, eax
test ebx, ebx
jle 0x402364
push 0x6c
call fcn.004054cf
add esp, 4
mov dword [ebp - 0x1290], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x402307
mov ecx, eax
call fcn.004045a0
mov esi, eax
jmp 0x402309
xor esi, esi
push ebx
lea eax, [ebp - 0x86c]
mov dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.00405020
mov ecx, esi
call fcn.00404630
mov ecx, eax
test ecx, ecx
je 0x402345
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x14], eax
jmp 0x402355
call fcn.00550afc
mov dword [eax], 0x16
call fcn.00550a3f
test esi, esi
je 0x402364
push 0x6c
push esi
call fcn.0054b867
add esp, 8
xor eax, eax
xor esi, esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
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
movzx eax, byte [ebp + esi - 0x20]
push eax
lea eax, [ebp - 0x1294]
push str._02x
push eax
call fcn.00402550
add esp, 0xc
lea eax, [ebp - 0x1294]
push eax
lea eax, [ebp - 0x6c]
push eax
call edi
inc esi
cmp esi, 0x10
jl 0x402383
push 0x800
lea eax, [ebp - 0x86c]
push 0
push eax
call fcn.0054ddb0
push 0x800
lea eax, [ebp - 0x126c]
push 0
push eax
call fcn.0054ddb0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x86c]
add esp, 0x18
push 0x57e65c
push eax
call ebx
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x86c]
push eax
call edi
push 0x57e660
lea eax, [ebp - 0x86c]
push eax
call edi
push dword [ebp - 0x1274]
lea eax, [ebp - 0x86c]
push eax
call edi
push 0x57e664
lea eax, [ebp - 0x86c]
push eax
call edi
push dword [ebp - 0x1278]
lea eax, [ebp - 0x86c]
push eax
call edi
push 0x57e668
lea eax, [ebp - 0x86c]
push eax
call edi
push dword [ebp - 0x127c]
lea eax, [ebp - 0x86c]
push eax
call edi
push str.user_info
lea eax, [ebp - 0x86c]
push eax
call edi
push dword [ebp - 0x1280]
lea eax, [ebp - 0x86c]
push eax
call edi
push str.cs
lea eax, [ebp - 0x86c]
push eax
call edi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x86c]
push eax
call edi
lea eax, [ebp - 0x86c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x126c]
push ecx
push eax
lea eax, [ebp - 0x86c]
push eax
call fcn.00405080
add esp, 0xc
lea esi, [eax + 1]
lea eax, [ebp - 0xa6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, esi
push eax
call fcn.0040550c
add esp, 4
mov esi, eax
test esi, esi
je 0x4024eb
lea eax, [ebp - 0xa6c]
push eax
push esi
call ebx
lea eax, [ebp - 0x126c]
push eax
push esi
call edi
mov eax, 1
jmp 0x4024ed
xor esi, esi
xor eax, eax
mov ecx, dword [ebp - 0x1298]
mov dword [ecx], esi
lea esp, [ebp - 0x12a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054b836
mov esp, ebp
pop ebp
ret