Function at 0x1004cfd0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023e1e4
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x102db074]
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 edx, dword [0x102dfb58]
mov edi, edx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x284], eax
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x1004d034
nop
cmp dword [eax + 0x10], ecx
jge 0x1004d02a
mov eax, dword [eax + 8]
jmp 0x1004d02e
mov edi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1004d020
cmp edi, edx
je 0x1004d03d
cmp ecx, dword [edi + 0x10]
jge 0x1004d03f
mov edi, edx
cmp edi, edx
jne 0x1004d04a
xor al, al
jmp 0x1004d556
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
test esi, esi
je 0x1004d09d
push ecx
push esi
lea ecx, [ebp - 0x174]
call fcn.1004d950
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push dword [eax]
call fcn.100578d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x170]
mov eax, dword [ebp - 0x174]
cmp eax, ecx
je 0x1004d09d
push eax
call fcn.1021bc27
add esp, 4
push str.__id
lea ecx, [ebp - 0x28]
call fcn.100578d0
mov edx, dword [edi + 0x14]
lea ecx, [ebp - 0x70]
mov edx, dword [edx + 0x70]
call fcn.10057950
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10057b70
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x1004d103
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004d0f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004d574
push edx
push ecx
call fcn.1005a226
add esp, 8
push str.__url
lea ecx, [ebp - 0x28]
call fcn.100578d0
mov ebx, dword [edi + 0x14]
lea eax, [ebp - 0xf0]
add ebx, 0x74
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x280], ebx
jne 0x1004d137
xor edx, edx
mov dword [ebp - 0xf4], edx
jmp 0x1004d218
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004d140
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ecx + 1]
lea esi, [eax*4]
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0xf0]
mov edx, esi
push eax
lea ecx, [ebp - 0xf4]
call fcn.1004ecb0
add esp, 8
push 0
push 0
push esi
push dword [ebp - 0xf4]
mov esi, dword [ebp - 0x27c]
push esi
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x1004d20a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1004d20a
mov ebx, dword [ebp - 0x280]
push 0
push 0
push 0
push 0
push esi
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
lea eax, [ebp - 0xf0]
push ecx
push eax
mov edx, esi
lea ecx, [ebp - 0xf4]
call fcn.1004ecb0
add esp, 8
push 0
push 0
push esi
push dword [ebp - 0xf4]
push dword [ebp - 0x27c]
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
test ebx, ebx
jne 0x1004d579
mov edx, dword [ebp - 0xf4]
mov ecx, edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d233
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10057f30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf0]
mov eax, dword [ebp - 0xf4]
cmp eax, ecx
je 0x1004d263
push eax
call fcn.1021bc27
add esp, 4
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x70]
call fcn.100588e0
add esp, 4
lea ecx, [ebp - 0x40]
push eax
call fcn.1004db60
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x1004d2b9
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004d2af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004d593
push edx
push ecx
call fcn.1005a226
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x278]
push eax
call fcn.1004d950
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
push dword [eax]
call fcn.100578d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x274]
mov eax, dword [ebp - 0x278]
cmp eax, ecx
je 0x1004d2fc
push eax
call fcn.1021bc27
add esp, 4
push str.__login
lea ecx, [ebp - 0x28]
call fcn.100578d0
mov edx, dword [edi + 0x14]
lea ecx, [ebp - 0x70]
mov edx, dword [edx + 0x68]
call fcn.10057950
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.10057b70
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x1004d362
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004d358
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004d598
push edx
push ecx
call fcn.1005a226
add esp, 8
push str.__user_type
lea ecx, [ebp - 0x28]
call fcn.100578d0
mov edx, dword [edi + 0x14]
lea ecx, [ebp - 0x70]
mov edx, dword [edx + 0x6c]
call fcn.10057950
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.10057b70
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x1004d3c8
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004d3be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004d59d
push edx
push ecx
call fcn.1005a226
add esp, 8
push ecx
push dword [ebp - 0x284]
lea ecx, [ebp - 0x278]
call fcn.1004d950
mov byte [ebp - 4], 9
mov edx, dword [eax]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004d400
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10057c50
mov eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x274]
cmp eax, ecx
je 0x1004d432
push eax
call fcn.1021bc27
add esp, 4
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmovae eax, dword [ebp - 0x58]
push eax
call esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
push str.open__n
call esi
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 5
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
push 0
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x44]
cmp eax, 0x20
seta bl
cmp edx, 8
jb 0x1004d4c4
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004d4ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004d5a2
push edx
push ecx
call fcn.1005a226
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 0x10
jb 0x1004d50c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004d502
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004d5a7
push edx
push ecx
call fcn.1005a226
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 8
jb 0x1004d554
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004d54a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004d5ac
push edx
push ecx
call fcn.1005a226
add esp, 8
mov al, bl
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.1005a1f2
mov esp, ebp
pop ebp
ret 0xc
call fcn.102179fc
push ecx
mov ecx, dword [ebp - 0xf4]
lea edx, [ebp - 0xf0]
call fcn.1004eca0
add esp, 4
call fcn.10057830
call fcn.102179fc
call fcn.102179fc
call fcn.102179fc
call fcn.102179fc
call fcn.102179fc
call fcn.102179fc
int3