Function at 0x4118a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561972
mov eax, dword fs:[0]
push eax
sub esp, 0xa38
mov eax, dword [0x5bbd60]
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 eax, dword [ebp + 8]
mov dword [ebp - 0xa2c], eax
mov dword [ebp - 4], 2
mov ecx, dword [0x5ca470]
mov al, byte [ecx + 0x15]
xor ebx, ebx
test al, al
je 0x411943
mov esi, 0x10
cmp dword [ebp + 0x20], esi
jb 0x411903
mov edx, dword [ebp + 0xc]
push edx
call fcn.00427ab5
add esp, 4
mov edi, 0xf
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
cmp dword [ebp + 0x3c], esi
jb 0x411922
mov eax, dword [ebp + 0x28]
push eax
call fcn.00427ab5
add esp, 4
mov dword [ebp + 0x3c], edi
mov dword [ebp + 0x38], ebx
mov byte [ebp + 0x28], bl
cmp dword [ebp + 0x58], esi
jb 0x41193c
mov ecx, dword [ebp + 0x44]
push ecx
call fcn.00427ab5
add esp, 4
mov al, 1
jmp 0x4122da
mov eax, dword [ebp + 0xc]
mov edi, 0x10
cmp dword [ebp + 0x20], edi
jae 0x411953
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0xa38]
call fcn.00404c00
mov byte [ebp - 4], 3
cmp dword [ebp + 0x3c], edi
jb 0x411973
mov edx, dword [ebp + 0x28]
cmp edx, ebx
jne 0x411976
xor eax, eax
jmp 0x411989
lea edx, [ebp + 0x28]
mov eax, edx
lea esi, [eax + 1]
jmp 0x411980
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411980
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0xa38]
call fcn.00408ad0
lea edx, [ebp - 0xa3c]
push edx
lea ecx, [ebp - 0xa38]
call fcn.00411720
push 0xff
lea eax, [ebp - 0x10f]
push ebx
mov byte [ebp - 4], 4
push eax
mov byte [ebp - 0x110], 0
call fcn.0052cb80
lea eax, [ebp - 0x110]
add esp, 0xc
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4119d0
mov ecx, dword [str.username]
mov edx, dword [0x5917fc]
mov dword [eax], ecx
mov cx, word [0x591800]
mov dword [eax + 4], edx
mov word [eax + 8], cx
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], edi
jae 0x4119ff
lea eax, [ebp + 0xc]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411a01
lea edi, [ebp - 0x110]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x411a11
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x110]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x411a30
mov edx, dword [str.userpass]
mov ecx, dword [0x591808]
mov dword [eax], edx
mov dx, word [0x59180c]
mov dword [eax + 4], ecx
mov cl, byte [0x59180e]
mov word [eax + 8], dx
mov byte [eax + 0xa], cl
mov eax, dword [ebp - 0xa3c]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411a65
lea edi, [ebp - 0x110]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x411a77
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x110]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x411a94
mov edx, dword [str.typelogin]
mov ecx, dword [0x591814]
mov dword [eax], edx
mov edx, dword [0x591818]
mov dword [eax + 4], ecx
push 0x7ff
mov dword [eax + 8], edx
lea eax, [ebp - 0x90f]
push 0
push eax
mov byte [ebp - 0x910], 0
call fcn.0052cb80
mov edi, dword [ebp - 0xa2c]
add edi, 0x10
push edi
lea edx, [ebp - 0x910]
lea ecx, [ebp - 0x110]
call fcn.0040f640
mov ebx, 0xf
lea eax, [ebp - 0x910]
add esp, 0x10
mov dword [ebp - 0x950], ebx
mov dword [ebp - 0x954], 0
mov byte [ebp - 0x964], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411b13
sub eax, ecx
push eax
lea ecx, [ebp - 0x910]
push ecx
lea ecx, [ebp - 0x964]
call fcn.00403690
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0xa2c]
mov eax, dword [esi + 0x110]
cmp dword [eax - 4], 1
jle 0x411b54
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esi + 0x110]
call fcn.00404db0
mov esi, dword [esi + 0x110]
mov eax, esi
mov dword [ebp - 0x934], ebx
mov dword [ebp - 0x938], 0
mov byte [ebp - 0x948], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411b76
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x948]
call fcn.00403690
mov byte [ebp - 4], 6
push ebx
push 0x59181c
lea ecx, [ebp - 0x92c]
mov dword [ebp - 0x918], ebx
mov dword [ebp - 0x91c], 0
mov byte [ebp - 0x92c], 0
call fcn.00403690
lea eax, [ebp - 0x964]
push eax
lea ecx, [ebp - 0x948]
push ecx
lea edx, [ebp - 0x92c]
lea ecx, [ebp - 0xa30]
mov byte [ebp - 4], 7
call fcn.00410090
cmp dword [ebp - 0x918], 0x10
jb 0x411bf3
mov edx, dword [ebp - 0x92c]
push edx
call fcn.00427ab5
add esp, 4
mov dword [ebp - 0x918], ebx
mov dword [ebp - 0x91c], 0
mov byte [ebp - 0x92c], 0
cmp dword [ebp - 0x934], 0x10
jb 0x411c22
mov eax, dword [ebp - 0x948]
push eax
call fcn.00427ab5
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x934], esi
mov dword [ebp - 0x938], 0
mov byte [ebp - 0x948], 0
mov bl, 0xb
mov byte [ebp - 4], bl
cmp dword [ebp - 0x950], 0x10
jb 0x411c5b
mov ecx, dword [ebp - 0x964]
push ecx
call fcn.00427ab5
add esp, 4
mov ecx, dword [ebp - 0xa30]
cmp dword [ecx - 4], 1
mov dword [ebp - 0x950], esi
mov dword [ebp - 0x954], 0
mov byte [ebp - 0x964], 0
jle 0x411c93
mov edx, dword [ecx - 0xc]
push edx
lea ecx, [ebp - 0xa30]
call fcn.00404db0
mov ecx, dword [ebp - 0xa30]
push edi
lea edi, [ebp - 0xa28]
call fcn.0040f910
add esp, 4
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 0x10
jb 0x411cb0
mov edx, dword [eax]
jmp 0x411cb2
mov edx, eax
test edx, edx
jne 0x411cba
xor eax, eax
jmp 0x411cc9
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411cc0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0xa30]
call fcn.00404f50
mov byte [ebp - 4], bl
cmp dword [ebp - 0xa14], 0x10
jb 0x411cf1
mov eax, dword [ebp - 0xa28]
push eax
call fcn.00427ab5
add esp, 4
mov esi, dword [ebp - 0xa30]
cmp dword [esi - 4], 1
jle 0x411d12
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [ebp - 0xa30]
call fcn.00404db0
mov esi, dword [ebp - 0xa30]
sub esp, 0x1c
mov ecx, esp
mov ebx, 0xf
mov eax, esi
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], 0
mov dword [ebp - 0xa34], esp
mov byte [ecx], 0
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411d34
sub eax, edi
push eax
push esi
call fcn.00403690
lea ecx, [ebp - 0xa0c]
call fcn.00410470
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x9e0], 0
jbe 0x412019
mov eax, dword [ebp - 0x9f0]
mov esi, 0x10
cmp dword [ebp - 0x9dc], esi
jae 0x411d79
lea eax, [ebp - 0x9f0]
push ecx
mov ecx, esp
mov dword [ebp - 0xa34], esp
push eax
call fcn.00404c00
mov edx, dword [0x5ca470]
push edx
call fcn.00403210
mov eax, dword [ebp - 0x9d4]
cmp dword [ebp - 0x9c0], esi
jae 0x411da8
lea eax, [ebp - 0x9d4]
push eax
lea ecx, [ebp - 0xa34]
call fcn.00404c00
mov byte [ebp - 4], 0xe
mov ecx, dword [0x5ca470]
lea eax, [ebp - 0xa34]
add ecx, 0x1c
push eax
call fcn.00404960
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xa34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411df3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x9b8]
cmp dword [ebp - 0x9a4], esi
jae 0x411e07
lea eax, [ebp - 0x9b8]
push eax
lea ecx, [ebp - 0xa34]
call fcn.00404c00
mov byte [ebp - 4], 0xf
mov ecx, dword [0x5ca470]
lea edx, [ebp - 0xa34]
add ecx, 0x20
push edx
call fcn.00404960
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xa34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x9f8], esi
jb 0x411e68
mov eax, dword [ebp - 0xa0c]
mov edx, eax
test eax, eax
jne 0x411e6e
jmp 0x411e7c
lea edx, [ebp - 0xa0c]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411e73
sub eax, esi
mov ebx, dword [ebp - 0xa2c]
push eax
push edx
mov ecx, ebx
call fcn.00404f50
mov esi, dword [ebp + 0xc]
mov edi, 0x10
cmp dword [ebp + 0x20], edi
jae 0x411e9b
lea esi, [ebp + 0xc]
lea ecx, [ebx + 4]
test esi, esi
jne 0x411ea6
xor eax, eax
jmp 0x411ebe
mov eax, esi
lea edi, [eax + 1]
jmp 0x411eb0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411eb0
sub eax, edi
mov edi, 0x10
push eax
push esi
call fcn.00404f50
mov esi, dword [ebp - 0x99c]
cmp dword [ebp - 0x988], edi
jae 0x411ed9
lea esi, [ebp - 0x99c]
lea ecx, [ebx + 8]
test esi, esi
jne 0x411ee4
xor eax, eax
jmp 0x411efe
mov eax, esi
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411ef0
sub eax, edi
mov edi, 0x10
push eax
push esi
call fcn.00404f50
mov esi, dword [ebp - 0x980]
cmp dword [ebp - 0x96c], edi
jae 0x411f19
lea esi, [ebp - 0x980]
lea ecx, [ebx + 0xc]
test esi, esi
jne 0x411f24
xor eax, eax
jmp 0x411f3e
mov eax, esi
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411f30
sub eax, edi
mov edi, 0x10
push eax
push esi
call fcn.00404f50
lea esi, [ebp - 0xa0c]
call fcn.00410790
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xa30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xa3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411fc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x20], edi
jb 0x411fd3
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00427ab5
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
cmp dword [ebp + 0x3c], edi
jb 0x411ff4
mov edx, dword [ebp + 0x28]
push edx
call fcn.00427ab5
add esp, 4
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x38], ebx
mov byte [ebp + 0x28], bl
cmp dword [ebp + 0x58], edi
jb 0x41193c
mov eax, dword [ebp + 0x44]
push eax
call fcn.00427ab5
add esp, 4
mov al, 1
jmp 0x4122da
mov esi, dword [ebp - 0xa30]
cmp dword [esi - 4], 1
jle 0x41203a
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [ebp - 0xa30]
call fcn.00404db0
mov esi, dword [ebp - 0xa30]
sub esp, 0x1c
mov ecx, esp
mov eax, esi
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], 0
mov dword [ebp - 0xa34], esp
mov byte [ecx], 0
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412057
sub eax, edi
push eax
push esi
call fcn.00403690
lea ecx, [ebp - 0xa44]
call fcn.00411570
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0xa40]
cmp dword [edx - 0xc], 0
je 0x41214b
cmp dword [ebp - 0xa44], 0
je 0x4121e2
lea ecx, [ebp - 0xa34]
call fcn.00405100
mov bl, 0x11
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xa44]
push eax
lea ecx, [ebp - 0xa34]
push 0x59182c
push ecx
call fcn.004079e0
add esp, 0xc
lea ecx, [ebp - 0xa2c]
call fcn.00405100
push str.Login__
lea ecx, [ebp - 0xa2c]
mov byte [ebp - 4], 0x12
call fcn.00408bd0
mov esi, dword [ebp - 0xa34]
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [ebp - 0xa2c]
call fcn.00408ad0
push 0x591838
lea ecx, [ebp - 0xa2c]
call fcn.00408bd0
mov eax, dword [ebp - 0xa40]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xa2c]
call fcn.00408ad0
mov edi, dword [ebp - 0xa2c]
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4121c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4121c2
call fcn.00427b27
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x412165
push 0x80004005
call fcn.00405090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xa2c], eax
push 0x1b
push str.Login
lea ecx, [ebp - 0xa2c]
mov byte [ebp - 4], 0x13
call fcn.00408ad0
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xa2c]
call fcn.00408ad0
push 5
push 0x591858
lea ecx, [ebp - 0xa2c]
call fcn.00408ad0
mov esi, dword [ebp - 0xa2c]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0x10
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4121e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xa40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412208
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0xa0c]
call fcn.00410790
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xa30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412239
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xa3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41225f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412285
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 0x10
cmp dword [ebp + 0x20], esi
jb 0x41229b
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00427ab5
add esp, 4
xor edi, edi
mov ebx, 0xf
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x1c], edi
mov byte [ebp + 0xc], 0
cmp dword [ebp + 0x3c], esi
jb 0x4122bd
mov edx, dword [ebp + 0x28]
push edx
call fcn.00427ab5
add esp, 4
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x38], edi
mov byte [ebp + 0x28], 0
cmp dword [ebp + 0x58], esi
jb 0x4122d8
mov eax, dword [ebp + 0x44]
push eax
call fcn.00427ab5
add esp, 4
xor al, al
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.00527d0f
mov esp, ebp
pop ebp
ret 0x58