Function at 0x40b780
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536e90
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x593e04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0042f8d4
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x50]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401680
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 4], 0
call fcn.004058e0
push str.setting.ini
push eax
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 1
call fcn.00405270
add esp, 0x10
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b807
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0041eb0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b821
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x10], ecx
cmp byte [ebp + 8], 0
mov byte [ebp - 4], 4
je 0x40bac7
lea ecx, [ebp - 0x10]
push ecx
push 0x3ee
mov ecx, esi
call fcn.00425996
push str.newline
push 0x546ee0
lea ecx, [ebp - 0x10]
call fcn.00404770
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push edx
push eax
push str.PassList
push ecx
call edi
lea edx, [ebp - 0x10]
push edx
push 0x3f9
mov ecx, esi
call fcn.00425996
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
push eax
push ecx
push str.ThreadCount
push edx
call edi
push 0x3fc
mov ecx, esi
call fcn.0042685c
mov eax, dword [eax + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x40b8d6
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push ecx
push 0x548204
push str.ServerTopDomain
push edx
jmp 0x40b8e8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
push 0x547db0
push str.ServerTopDomain
push ecx
call edi
push 0x3fd
mov ecx, esi
call fcn.0042685c
mov edx, dword [eax + 0x20]
push 0
push 0
push 0xf0
push edx
call ebx
cmp eax, 1
jne 0x40b91e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
push 0x548204
push str.ServerMail
push ecx
jmp 0x40b930
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push edx
push 0x547db0
push str.ServerMail
push eax
call edi
push 0x3fe
mov ecx, esi
call fcn.0042685c
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf0
push ecx
call ebx
cmp eax, 1
jne 0x40b966
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push edx
push 0x548204
push str.ServerSmtp
push eax
jmp 0x40b978
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push ecx
push 0x547db0
push str.ServerSmtp
push edx
call edi
push 0x3ff
mov ecx, esi
call fcn.0042685c
mov eax, dword [eax + 0x20]
push 0
push 0
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x40b9ae
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push ecx
push 0x548204
push str.IsSendTestMail
push edx
jmp 0x40b9c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
push 0x547db0
push str.IsSendTestMail
push ecx
call edi
lea edx, [ebp - 0x10]
push edx
push 0x400
mov ecx, esi
call fcn.00425996
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
push eax
push ecx
push str.TestMailBox
push edx
call edi
push 0x3ec
mov ecx, esi
call fcn.0042685c
mov eax, dword [eax + 0x20]
push 0
push 0
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x40ba19
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push ecx
push 0x548204
push str.UserIsBeforeAt
push edx
jmp 0x40ba2b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
push 0x547db0
push str.UserIsBeforeAt
push ecx
call edi
push 0x3ed
mov ecx, esi
call fcn.0042685c
mov edx, dword [eax + 0x20]
push 0
push 0
push 0xf0
push edx
call ebx
cmp eax, 1
jne 0x40ba61
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
push 0x548204
push str.UserIsFullMail
push ecx
jmp 0x40ba73
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push edx
push 0x547db0
push str.UserIsFullMail
push eax
call edi
push 0x3f4
mov ecx, esi
call fcn.0042685c
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf0
push ecx
call ebx
cmp eax, 1
jne 0x40baae
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push edx
push 0x548204
push str.IsSaveResultToFile
push eax
call edi
jmp 0x40c14a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push ecx
push 0x547db0
push str.IsSaveResultToFile
push edx
call edi
jmp 0x40c14a
mov eax, dword [ecx - 8]
mov edi, dword [ebp - 0x14]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, 0x64
or eax, edx
jge 0x40bae9
push 0x64
lea ecx, [ebp - 0x10]
call fcn.004012f0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push 0x64
push ecx
push 0x547db0
push str.ServerTopDomain
push eax
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051dd0f
add esp, 8
test eax, eax
js 0x40c1ca
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x40c1ca
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x10]
push 0x548204
push edx
call fcn.0051dbdb
add esp, 8
test eax, eax
sete al
push 0x3fc
mov ecx, esi
test al, al
je 0x40bb66
call fcn.0042685c
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
jmp 0x40bb78
call fcn.0042685c
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov edi, dword [ebp - 0x14]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x64
or eax, ecx
jge 0x40bba3
push 0x64
lea ecx, [ebp - 0x10]
call fcn.004012f0
mov edx, dword [ebp - 0x10]
push edi
push 0x64
push edx
mov edx, dword [ebp - 0x18]
push 0x548204
push str.ServerMail
push edx
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051dd0f
add esp, 8
test eax, eax
js 0x40c1ca
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x40c1ca
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x10]
push 0x548204
push edx
call fcn.0051dbdb
add esp, 8
test eax, eax
sete al
push 0x3fd
mov ecx, esi
test al, al
je 0x40bc1a
call fcn.0042685c
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
jmp 0x40bc2c
call fcn.0042685c
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov edi, dword [ebp - 0x14]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x64
or eax, ecx
jge 0x40bc57
push 0x64
lea ecx, [ebp - 0x10]
call fcn.004012f0
mov edx, dword [ebp - 0x10]
push edi
push 0x64
push edx
mov edx, dword [ebp - 0x18]
push 0x547db0
push str.ServerSmtp
push edx
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051dd0f
add esp, 8
test eax, eax
js 0x40c1ca
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x40c1ca
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x10]
push 0x548204
push edx
call fcn.0051dbdb
add esp, 8
test eax, eax
sete al
push 0x3fe
mov ecx, esi
test al, al
je 0x40bcce
call fcn.0042685c
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
jmp 0x40bce0
call fcn.0042685c
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov edi, dword [ebp - 0x14]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x4b000
or eax, ecx
jge 0x40bd10
push 0x4b000
lea ecx, [ebp - 0x10]
call fcn.004012f0
mov edx, dword [ebp - 0x10]
push edi
push 0x4b000
push edx
mov edx, dword [ebp - 0x18]
push 0x547140
push str.PassList
push edx
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051dd0f
add esp, 8
test eax, eax
js 0x40c1ca
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x40c1ca
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
push 0x546ee0
mov byte [eax + ecx], 0
push str.newline
lea ecx, [ebp - 0x10]
call fcn.00404770
mov edx, dword [ebp - 0x10]
push edx
push 0x3ee
mov ecx, esi
call fcn.00426906
mov ecx, esi
call fcn.00408da0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov edi, dword [ebp - 0x14]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x64
or eax, ecx
jge 0x40bda3
push 0x64
lea ecx, [ebp - 0x10]
call fcn.004012f0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
push edi
push 0x64
push edx
push 0x548188
push str.ThreadCount
push eax
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051dd0f
add esp, 8
test eax, eax
js 0x40c1ca
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x40c1ca
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x10]
push edx
push 0x3f9
mov ecx, esi
call fcn.00426906
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov edi, dword [ebp - 0x14]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x64
or eax, ecx
jge 0x40be1a
push 0x64
lea ecx, [ebp - 0x10]
call fcn.004012f0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
push edi
push 0x64
push edx
push 0x547db0
push str.IsSendTestMail
push eax
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051dd0f
add esp, 8
test eax, eax
js 0x40c1ca
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x40c1ca
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x10]
push 0x548204
push edx
call fcn.0051dbdb
add esp, 8
test eax, eax
sete al
push 0x3ff
mov ecx, esi
test al, al
je 0x40be91
call fcn.0042685c
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
jmp 0x40bea3
call fcn.0042685c
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov edi, dword [ebp - 0x14]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x64
or eax, ecx
jge 0x40bece
push 0x64
lea ecx, [ebp - 0x10]
call fcn.004012f0
mov edx, dword [ebp - 0x10]
push edi
push 0x64
push edx
mov edx, dword [ebp - 0x18]
push 0x547140
push str.TestMailBox
push edx
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051dd0f
add esp, 8
test eax, eax
js 0x40c1ca
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x40c1ca
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x10]
push edx
push 0x400
mov ecx, esi
call fcn.00426906
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov edi, dword [ebp - 0x14]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x64
or eax, ecx
jge 0x40bf45
push 0x64
lea ecx, [ebp - 0x10]
call fcn.004012f0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
push edi
push 0x64
push edx
push 0x548204
push str.UserIsBeforeAt
push eax
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051dd0f
add esp, 8
test eax, eax
js 0x40c1ca
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x40c1ca
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x10]
push 0x548204
push edx
call fcn.0051dbdb
add esp, 8
test eax, eax
sete al
push 0x3ec
mov ecx, esi
test al, al
je 0x40bfbc
call fcn.0042685c
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
jmp 0x40bfce
call fcn.0042685c
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.004040f0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov edi, dword [ebp - 0x14]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x64
or eax, ecx
jge 0x40c000
push 0x64
lea ecx, [ebp - 0x10]
call fcn.004012f0
mov edx, dword [ebp - 0x10]
push edi
push 0x64
push edx
mov edx, dword [ebp - 0x18]
push 0x548204
push str.UserIsFullMail
push edx
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051dd0f
add esp, 8
test eax, eax
js 0x40c1ca
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x40c1ca
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x10]
push 0x548204
push edx
call fcn.0051dbdb
add esp, 8
test eax, eax
sete al
push 0x3ed
mov ecx, esi
test al, al
je 0x40c077
call fcn.0042685c
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
jmp 0x40c089
call fcn.0042685c
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov edi, dword [ebp - 0x14]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x64
or eax, ecx
jge 0x40c0b4
push 0x64
lea ecx, [ebp - 0x10]
call fcn.004012f0
mov edx, dword [ebp - 0x10]
push edi
push 0x64
push edx
mov edx, dword [ebp - 0x18]
push 0x548204
push str.IsSaveResultToFile
push edx
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051dd0f
add esp, 8
test eax, eax
js 0x40c1ca
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x40c1ca
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x10]
push 0x548204
push edx
call fcn.0051dbdb
add esp, 8
test eax, eax
sete al
push 0x3f4
mov ecx, esi
test al, al
je 0x40c12b
call fcn.0042685c
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
jmp 0x40c13d
call fcn.0042685c
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.00404080
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c16d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c190
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c1b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401000
int3