Function at 0x405490
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x6c], edx
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
xor eax, eax
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x54], eax
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ecx
xor edi, edi
mov dword [ebp - 0x4c], ebx
lea edx, [ebp - 0x9c]
mov dword [ebp - 0x60], ebx
mov ecx, esi
mov dword [ebp - 0x50], eax
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x48], edi
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x5c], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x64], eax
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x74], xmm0
call fcn.004080a0
test eax, eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x88], eax
jne 0x40552e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Error_reading__s__error:0x_X
push 1
call fcn.00408d60
add esp, 0x10
jmp 0x40621b
mov ecx, eax
mov dword [ebp - 0x68], eax
test ecx, ecx
je 0x406168
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov edi, dword [ecx]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
mov eax, str.hostname
mov esi, dword [edi]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40558d
test dx, dx
je 0x405589
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40558d
add eax, 4
add ecx, 4
test dx, dx
jne 0x405567
xor eax, eax
jmp 0x405592
sbb eax, eax
or eax, 1
test eax, eax
jne 0x405706
mov edi, dword [edi + 8]
test edi, edi
je 0x405c94
mov esi, edi
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4055b0
sub esi, ecx
lea eax, [esi*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
inc dword [0x4de7b4]
mov edx, eax
mov dword [ebp - 0x50], edx
test edx, edx
jne 0x40560b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_allocating_memory:0x_X
push 1
call fcn.00408d60
add esp, 0xc
push str.Cannot_set_hostname
push 2
call fcn.00408d60
mov esi, dword [ebp - 0x50]
add esp, 8
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x50], esi
jmp 0x406157
xor ecx, ecx
test esi, esi
je 0x405c94
cmp esi, 4
jb 0x4056f0
lea eax, [edi - 1]
lea edx, [edx + esi*2]
add eax, esi
add edx, 0xfffffffe
cmp dword [ebp - 0x50], eax
ja 0x405636
cmp edx, edi
jae 0x4056ec
cmp esi, 0x20
jb 0x4056ab
mov eax, esi
lea edx, [edi + 0x10]
and eax, 0x1f
mov ebx, esi
mov dword [ebp - 0x70], eax
sub ebx, eax
mov eax, dword [ebp - 0x50]
add eax, 0x20
movq xmm0, qword [edx - 0x10]
lea eax, [eax + 0x40]
punpcklbw xmm0, xmm0
lea edx, [edx + 0x20]
psraw xmm0, 8
add ecx, 0x20
movups xmmword [eax - 0x60], xmm0
movq xmm0, qword [edx - 0x28]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [eax - 0x50], xmm0
movq xmm0, qword [edx - 0x20]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [eax - 0x40], xmm0
movq xmm0, qword [edx - 0x18]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [eax - 0x30], xmm0
cmp ecx, ebx
jb 0x405650
cmp dword [ebp - 0x70], 4
jb 0x4056dc
mov edx, dword [ebp - 0x50]
mov eax, esi
and eax, 0xfffffffc
nop dword [eax]
nop word [eax + eax]
movd xmm0, dword [ecx + edi]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movq qword [edx + ecx*2], xmm0
add ecx, 4
cmp ecx, eax
jb 0x4056c0
jmp 0x4056df
mov edx, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x4c]
cmp ecx, esi
jae 0x405c94
jmp 0x4056f0
mov edx, dword [ebp - 0x50]
nop
movsx ax, byte [ecx + edi]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x4056f0
mov edi, dword [ebp - 0x48]
jmp 0x406157
mov ecx, esi
mov eax, str.encryptedUsername
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405736
test dx, dx
je 0x405732
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405736
add eax, 4
add ecx, 4
test dx, dx
jne 0x405710
xor eax, eax
jmp 0x40573b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x405a48
mov ecx, dword [edi + 8]
lea edx, [ebp - 0x60]
call fcn.00405350
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], edx
test edx, edx
je 0x4058bb
mov edi, edx
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x405763
sub esi, ecx
lea eax, [esi*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
inc dword [0x4de7b4]
mov ebx, eax
mov dword [ebp - 0x48], ebx
test ebx, ebx
jne 0x4057b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_allocating_memory:0x_X
push 1
call fcn.00408d60
add esp, 0xc
push str.Cannot_set_login
push 2
call fcn.00408d60
add esp, 8
mov dword [ebp - 0x48], ebx
jmp 0x40589e
xor ecx, ecx
test esi, esi
je 0x40589e
cmp esi, 4
jb 0x405890
lea eax, [edi - 1]
add eax, esi
lea edx, [esi - 1]
lea edx, [ebx + edx*2]
cmp ebx, eax
ja 0x4057e2
cmp edx, edi
jae 0x405890
cmp esi, 0x20
jb 0x405860
mov edx, dword [ebp - 0x4c]
mov ebx, esi
mov eax, dword [ebp - 0x48]
and ebx, 0x1f
mov edi, esi
add edx, 0x10
sub edi, ebx
add eax, 0x20
movq xmm0, qword [edx - 0x10]
lea eax, [eax + 0x40]
punpcklbw xmm0, xmm0
lea edx, [edx + 0x20]
psraw xmm0, 8
add ecx, 0x20
movups xmmword [eax - 0x60], xmm0
movq xmm0, qword [edx - 0x28]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [eax - 0x50], xmm0
movq xmm0, qword [edx - 0x20]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [eax - 0x40], xmm0
movq xmm0, qword [edx - 0x18]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [eax - 0x30], xmm0
cmp ecx, edi
jb 0x405800
mov edi, dword [ebp - 0x4c]
cmp ebx, 4
mov ebx, dword [ebp - 0x48]
jb 0x40588a
mov eax, esi
and eax, 0xfffffffc
nop word [eax + eax]
movd xmm0, dword [ecx + edi]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movq qword [ebx + ecx*2], xmm0
add ecx, 4
cmp ecx, eax
jb 0x405870
cmp ecx, esi
jae 0x40589e
nop
movsx ax, byte [ecx + edi]
mov word [ebx + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x405890
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
dec dword [0x4de7b4]
xor ebx, ebx
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x60], ebx
jmp 0x406157
mov edi, dword [edi + 8]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4058c3
sub esi, ecx
xor ebx, ebx
test edi, edi
je 0x405a31
lea eax, [esi*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
inc dword [0x4de7b4]
mov edx, eax
mov dword [ebp - 0x48], edx
test edx, edx
jne 0x405910
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_allocating_memory:0x_X
push 1
call fcn.00408d60
add esp, 0xc
jmp 0x405a13
xor ecx, ecx
test esi, esi
je 0x405a0e
cmp esi, 4
jb 0x405a00
lea eax, [edi - 1]
lea edx, [edx + esi*2]
add eax, esi
add edx, 0xfffffffe
cmp dword [ebp - 0x48], eax
ja 0x40593b
cmp edx, edi
jae 0x4059f5
cmp esi, 0x20
jb 0x4059bb
mov eax, esi
lea edx, [edi + 0x10]
and eax, 0x1f
mov ebx, esi
mov dword [ebp - 0x70], eax
sub ebx, eax
mov eax, dword [ebp - 0x48]
add eax, 0x20
nop dword [eax]
movq xmm0, qword [edx - 0x10]
lea eax, [eax + 0x40]
punpcklbw xmm0, xmm0
lea edx, [edx + 0x20]
psraw xmm0, 8
add ecx, 0x20
movups xmmword [eax - 0x60], xmm0
movq xmm0, qword [edx - 0x28]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [eax - 0x50], xmm0
movq xmm0, qword [edx - 0x20]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [eax - 0x40], xmm0
movq xmm0, qword [edx - 0x18]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [eax - 0x30], xmm0
cmp ecx, ebx
jb 0x405960
cmp dword [ebp - 0x70], 4
jb 0x4059ec
mov edx, dword [ebp - 0x48]
mov eax, esi
and eax, 0xfffffffc
nop dword [eax]
nop word [eax + eax]
movd xmm0, dword [ecx + edi]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movq qword [edx + ecx*2], xmm0
add ecx, 4
cmp ecx, eax
jb 0x4059d0
jmp 0x4059ef
mov edx, dword [ebp - 0x48]
cmp ecx, esi
jae 0x405a0e
jmp 0x405a00
mov edx, dword [ebp - 0x48]
nop dword [eax + eax]
movsx ax, byte [ecx + edi]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x405a00
mov ebx, 1
test ebx, ebx
jne 0x405a40
push str.Cannot_set_raw_login
push 2
call fcn.00408d60
mov edi, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0x48], edi
jmp 0x406154
push str.NULL_parameter
push 2
call fcn.00408d60
add esp, 8
mov edi, dword [ebp - 0x48]
jmp 0x406154
mov ecx, esi
mov eax, str.encryptedPassword
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405a76
test dx, dx
je 0x405a72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405a76
add eax, 4
add ecx, 4
test dx, dx
jne 0x405a50
xor eax, eax
jmp 0x405a7b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x405bfb
mov ecx, dword [edi + 8]
lea edx, [ebp - 0x60]
call fcn.00405350
mov ebx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], ebx
test ebx, ebx
je 0x405c94
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x405aa1
sub esi, ecx
lea eax, [esi*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
inc dword [0x4de7b4]
mov edi, eax
mov dword [ebp - 0x58], edi
test edi, edi
jne 0x405af6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_allocating_memory:0x_X
push 1
call fcn.00408d60
add esp, 0xc
push str.Cannot_set_data
push 2
call fcn.00408d60
add esp, 8
mov dword [ebp - 0x58], edi
jmp 0x405bde
xor eax, eax
test esi, esi
je 0x405bde
cmp esi, 4
jb 0x405bd0
lea ecx, [ebx - 1]
add ecx, esi
lea edx, [esi - 1]
lea edx, [edi + edx*2]
cmp edi, ecx
ja 0x405b20
cmp edx, ebx
jae 0x405bd0
cmp esi, 0x20
jb 0x405ba0
mov edx, dword [ebp - 0x4c]
mov ebx, esi
mov ecx, dword [ebp - 0x58]
and ebx, 0x1f
mov edi, esi
add edx, 0x10
sub edi, ebx
add ecx, 0x20
nop
movq xmm0, qword [edx - 0x10]
lea ecx, [ecx + 0x40]
punpcklbw xmm0, xmm0
lea edx, [edx + 0x20]
psraw xmm0, 8
add eax, 0x20
movups xmmword [ecx - 0x60], xmm0
movq xmm0, qword [edx - 0x28]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [ecx - 0x50], xmm0
movq xmm0, qword [edx - 0x20]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [ecx - 0x40], xmm0
movq xmm0, qword [edx - 0x18]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [ecx - 0x30], xmm0
cmp eax, edi
jb 0x405b40
mov edi, dword [ebp - 0x58]
cmp ebx, 4
mov ebx, dword [ebp - 0x4c]
jb 0x405bca
mov ecx, esi
and ecx, 0xfffffffc
nop word [eax + eax]
movd xmm0, dword [eax + ebx]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movq qword [edi + eax*2], xmm0
add eax, 4
cmp eax, ecx
jb 0x405bb0
cmp eax, esi
jae 0x405bde
nop
movsx cx, byte [eax + ebx]
mov word [edi + eax*2], cx
inc eax
cmp eax, esi
jb 0x405bd0
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
dec dword [0x4de7b4]
xor ebx, ebx
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x60], ebx
jmp 0x406157
mov ecx, esi
mov eax, str.timeCreated
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405c28
test dx, dx
je 0x405c24
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405c28
add eax, 4
add ecx, 4
test dx, dx
jne 0x405c02
xor eax, eax
jmp 0x405c2d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x405c4d
push dword [edi + 8]
call fcn.004b3d5c
mov edi, dword [ebp - 0x48]
add esp, 4
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
jmp 0x406157
mov ecx, esi
mov eax, str.timeLastUsed
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405c7a
test dx, dx
je 0x405c76
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405c7a
add eax, 4
add ecx, 4
test dx, dx
jne 0x405c54
xor eax, eax
jmp 0x405c7f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x405c9c
push dword [edi + 8]
call fcn.004b3d5c
add esp, 4
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
mov edi, dword [ebp - 0x48]
jmp 0x406157
mov eax, str.timesUsed
mov cx, word [eax]
cmp cx, word [esi]
jne 0x405cc7
test cx, cx
je 0x405cc3
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x405cc7
add eax, 4
add esi, 4
test cx, cx
jne 0x405ca1
xor eax, eax
jmp 0x405ccc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x405c94
push dword [edi + 8]
call fcn.004b3d5c
mov edi, dword [ebp - 0x58]
add esp, 4
mov dword [ebp - 0x8c], eax
test edi, edi
je 0x405e80
mov edx, dword [0x4db45c]
xor ebx, ebx
xorps xmm0, xmm0
mov dword [ebp - 0x3c], ebx
xor esi, esi
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x54], ebx
movups xmmword [ebp - 0x14], xmm0
test edx, edx
jne 0x405d6d
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x405d3a
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
push eax
push str.Cannot_load_ad_lib:0x_X
push 1
call fcn.00408d60
add esp, 0xc
jmp 0x405e86
push str.SystemFunction007
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
mov dword [0x4db45c], edx
test edx, edx
jne 0x405d6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_get_h_function:0x_X
push 1
call fcn.00408d60
add esp, 0xc
jmp 0x405e57
mov ecx, edi
mov dword [ebp - 0x40], edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405d75
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
mov word [ebp - 0x44], ax
add eax, 2
mov word [ebp - 0x42], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
call edx
test eax, eax
jns 0x405dbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_get_hash:0x_X
push 1
call fcn.00408d60
add esp, 0xc
jmp 0x405e53
mov edi, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
lea eax, [ebp - 0x3c]
push eax
push 0
push 1
push 0x10
lea eax, [ebp - 0x14]
push eax
call edi
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x405df3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_get_size_of_base64_string:0x_X
push 1
call fcn.00408d60
add esp, 0xc
jmp 0x405e53
add eax, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
inc dword [0x4de7b4]
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x405e23
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_allocate_memory_for_base64_string:0x_X
push 1
call fcn.00408d60
add esp, 0xc
jmp 0x405e53
lea ecx, [ebp - 0x3c]
push ecx
push eax
push 1
push 0x10
lea eax, [ebp - 0x14]
push eax
call edi
test eax, eax
jne 0x405e4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_convert_to_base64:0x_X
push 1
call fcn.00408d60
add esp, 0xc
jmp 0x405e53
mov ebx, 1
test esi, esi
je 0x405e5e
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x54], esi
test ebx, ebx
jne 0x405ee9
test esi, esi
je 0x405e80
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
dec dword [0x4de7b4]
mov dword [ebp - 0x54], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Cannot_get_ph
push 2
call fcn.00408d60
push dword [ebp - 0x78]
mov edi, dword [ebp - 0x48]
lea ecx, [ebp - 0x38]
push dword [ebp - 0x7c]
mov edx, dword [ebp - 0x8c]
push dword [ebp - 0x80]
inc dword [ebp - 0x5c]
push dword [ebp - 0x84]
push 0
push edi
push dword [ebp - 0x50]
push str.Firefox
call fcn.00408ef0
add esp, 0x28
test eax, eax
je 0x406082
cmp dword [ebp - 0x6c], 0
jne 0x405ffa
push str.NULL_List
push 1
call fcn.00408d60
add esp, 8
jmp 0x406082
push dword [ebp - 0x78]
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x38]
push dword [ebp - 0x7c]
inc dword [ebp - 0x5c]
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push esi
push dword [ebp - 0x48]
push dword [ebp - 0x50]
push str.Firefox
call fcn.00408ef0
add esp, 0x20
test eax, eax
je 0x405fdd
cmp dword [ebp - 0x6c], 0
jne 0x405f3a
push str.NULL_List
push 1
call fcn.00408d60
add esp, 8
jmp 0x405fda
mov ebx, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0xc
push 0x40
call ebx
inc dword [0x4de7b4]
mov edi, eax
test edi, edi
jne 0x405f63
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_creating_a_new_list_entry:0x_X
jmp 0x405fd0
push 0x24
push 0x40
call ebx
inc dword [0x4de7b4]
mov ecx, eax
mov dword [edi], ecx
test ecx, ecx
je 0x405fc4
movups xmm0, xmmword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 4], 0
jne 0x405fa8
inc dword [ecx]
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x54], esi
jmp 0x40609a
mov eax, dword [ecx + 8]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x54], esi
mov dword [eax + 8], edi
inc dword [ecx]
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x48]
jmp 0x40609a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_copying_list_value:0x_X
push 1
call fcn.00408d60
add esp, 0xc
mov dword [ebp - 0x54], esi
mov ebx, dword [ebp - 0x70]
inc dword [ebp - 0x64]
push str.Cannot_add_new_login
push 1
mov dword [ebp - 0x5c], ebx
call fcn.00408d60
mov edi, dword [ebp - 0x48]
jmp 0x406097
push 0xc
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
inc dword [0x4de7b4]
mov esi, eax
test esi, esi
jne 0x40601d
call ebx
push eax
push str.Error_creating_a_new_list_entry:0x_X
jmp 0x406078
push 0x24
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
inc dword [0x4de7b4]
mov ecx, eax
mov dword [esi], ecx
test ecx, ecx
je 0x406070
movups xmm0, xmmword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 4], 0
jne 0x40605d
inc dword [ecx]
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
jmp 0x40609a
mov eax, dword [ecx + 8]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [eax + 8], esi
inc dword [ecx]
mov dword [ecx + 8], esi
jmp 0x40609a
call ebx
push eax
push str.Error_copying_list_value:0x_X
push 1
call fcn.00408d60
add esp, 0xc
mov eax, dword [ebp - 0x70]
inc dword [ebp - 0x64]
push str.Cannot_add_new_login
push 1
mov dword [ebp - 0x5c], eax
call fcn.00408d60
add esp, 8
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4060b9
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
dec dword [0x4de7b4]
mov dword [ebp - 0x50], 0
jmp 0x4060bf
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x4060d1
push edi
call esi
dec dword [0x4de7b4]
xor edi, edi
mov dword [ebp - 0x48], edi
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x406110
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4060e0
sub ecx, edx
mov eax, ebx
sar ecx, 1
add ecx, ecx
je 0x406100
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4060f5
push ebx
call esi
dec dword [0x4de7b4]
mov dword [ebp - 0x58], 0
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x406154
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406120
sub ecx, edx
mov eax, esi
sar ecx, 1
add ecx, ecx
je 0x406140
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x406135
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
dec dword [0x4de7b4]
mov dword [ebp - 0x54], 0
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x68]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x68], ecx
test ecx, ecx
jne 0x405556
mov dword [ebp - 0x68], 1
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x406183
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
dec dword [0x4de7b4]
test edi, edi
je 0x406198
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
call edi
dec dword [0x4de7b4]
jmp 0x40619e
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x4061d9
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4061b0
sub ecx, edx
mov eax, esi
sar ecx, 1
add ecx, ecx
je 0x4061d0
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4061c5
push esi
call edi
dec dword [0x4de7b4]
test ebx, ebx
je 0x4061e6
push ebx
call edi
dec dword [0x4de7b4]
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40621b
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4061f2
sub ecx, edx
mov eax, ebx
sar ecx, 1
add ecx, ecx
je 0x406212
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x406207
push ebx
call edi
dec dword [0x4de7b4]
mov edi, dword [ebp - 0x94]
mov ebx, edi
mov edx, dword [ebp - 0x90]
test ebx, ebx
je 0x406319
mov esi, dword [edi + 4]
mov ebx, edi
test esi, esi
je 0x406319
mov ebx, dword [ebp - 0x88]
mov eax, ebx
test eax, eax
je 0x40625b
nop word [eax + eax]
cmp esi, eax
je 0x406293
mov eax, dword [eax + 8]
test eax, eax
jne 0x406250
push str.Entry_not_found_in_the_list
push 2
call fcn.00408d60
add esp, 8
push dword [ebp - 0x64]
push dword [ebp - 0x5c]
push str.Firefox___Number_of_logins_processed:__d__discarded:__d
push 3
call fcn.00408d60
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, dword [ebp - 0x68]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4062a0
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4062ad
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
cmp ebx, esi
jne 0x4062ba
mov eax, dword [esi + 8]
mov dword [ebp - 0x88], eax
cmp edi, esi
jne 0x4062c1
mov edi, dword [esi + 4]
mov eax, dword [esi]
test eax, eax
je 0x4062f8
push eax
test edx, edx
je 0x4062e6
call edx
add esp, 4
test eax, eax
jne 0x4062f8
push str.Cannot_free_element_value_memory_using_callback
push 2
call fcn.00408d60
add esp, 8
jmp 0x4062f8
call dword [sym.imp.KERNEL32.dll_LocalFree]
dec dword [0x4de7b4]
mov dword [esi], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
dec dword [0x4de7b4]
mov edx, dword [ebp - 0x90]
test edi, edi
jne 0x406231
mov ebx, edi
jmp 0x40631f
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x40626a
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x40625b
cmp edi, eax
je 0x406345
mov eax, dword [eax + 8]
test eax, eax
jne 0x406335
jmp 0x40625b
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x406352
mov eax, dword [ebx + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x40635f
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebx]
test eax, eax
je 0x40639e
push eax
test edx, edx
je 0x406390
call edx
add esp, 4
test eax, eax
jne 0x40639e
push str.Cannot_free_element_value_memory_using_callback
push 2
call fcn.00408d60
add esp, 8
push ebx
call esi
dec dword [0x4de7b4]
jmp 0x40626a
call esi
dec dword [0x4de7b4]
mov dword [ebx], 0
push ebx
call esi
dec dword [0x4de7b4]
jmp 0x40626a