Function at 0x4035d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
push esi
push 0x4a50e0
push 0x4a7a88
call fcn.00401334
mov esi, eax
add esp, 8
test esi, esi
je 0x403955
cmp dword [esi], 0
je 0x403955
lea eax, [esp + 0x14]
push edi
push eax
call fcn.0044acca
mov edi, dword [esi]
push edi
mov dword [esp + 0x14], edi
call fcn.00401253
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 8], esi
je 0x4036cd
mov ecx, dword [edi]
push ecx
call fcn.00401226
add esp, 4
test eax, eax
je 0x4036cd
mov eax, dword [edi]
sub esi, 1
push eax
mov dword [esp + 0xc], esi
call fcn.00401cad
add edi, 4
add esp, 4
cmp eax, 1
mov dword [esp + 0xc], edi
jge 0x403657
mov eax, 1
cdq
add eax, dword [0x4888e0]
adc edx, dword [0x4888e4]
cmp edx, dword [esp + 0x1c]
jg 0x403954
jl 0x40367a
cmp eax, dword [esp + 0x18]
ja 0x403954
mov eax, dword [edi]
test eax, eax
je 0x403941
push ebx
push ebp
push eax
call fcn.0040192e
mov ebx, eax
lea edx, [esp + 0x2c]
push edx
push ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call fcn.0040191f
add esp, 0xc
test eax, eax
jl 0x40392a
mov esi, dword [esp + 0x4c]
cmp esi, dword [0x48893c]
mov ebp, dword [esp + 0x48]
jl 0x4036d4
jg 0x4036c6
cmp ebp, dword [0x488938]
jbe 0x4036d4
mov edi, 1
jmp 0x4036d6
mov eax, 0x258
jmp 0x403657
xor edi, edi
mov eax, dword [esp + 0x2e]
and eax, 0xf000
cmp eax, 0x4000
jne 0x403850
push ebx
push str._s_new
xor ebp, ebp
call fcn.004018c0
lea ecx, [esp + 0x60]
mov ebx, eax
push ecx
push ebx
call fcn.0040191f
add esp, 0x10
cmp eax, 0xffffffff
je 0x403756
mov edx, dword [esp + 0x5e]
and edx, 0xf000
cmp edx, 0x4000
jne 0x403756
mov eax, dword [esp + 0x7c]
cmp eax, dword [0x48893c]
mov ecx, 0xc
lea esi, [esp + 0x58]
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
jl 0x403750
jg 0x403747
mov ecx, dword [esp + 0x78]
cmp ecx, dword [0x488938]
jbe 0x403750
mov edi, 1
mov edx, ebx
jmp 0x40375a
xor edi, edi
mov edx, ebx
jmp 0x40375a
mov edx, dword [esp + 0x18]
mov ecx, dword [0x4888e0]
mov eax, dword [0x4888e4]
mov esi, dword [esp + 0x4c]
add ecx, 1
adc eax, 0
cmp esi, eax
jl 0x403845
jg 0x403785
mov eax, dword [esp + 0x48]
cmp eax, ecx
jbe 0x403845
cmp dword [0x4a507c], ebp
je 0x403795
test edi, edi
je 0x403845
push edx
call fcn.0040121c
push ebx
mov esi, eax
call fcn.00401348
add esp, 8
test esi, esi
je 0x40392a
push esi
call fcn.0040167c
add esp, 4
test eax, eax
je 0x40392a
push esi
call fcn.0040167c
add esp, 4
test eax, eax
je 0x40392a
push esi
call fcn.0040167c
add esp, 4
test eax, eax
je 0x40392a
push esi
add ebp, 1
call fcn.0040167c
add esp, 4
test eax, eax
jne 0x4037e1
test ebp, ebp
je 0x40392a
cmp dword [esp + 0x10], 1
jne 0x403820
push ebp
push str.You_have__d_mail_messages._n
push 3
push 0xb
call fcn.00401069
add esp, 0xc
push eax
call fcn.004019c9
add esp, 8
jmp 0x40392a
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
push str.You_have__d_mail_messages_in__s._n
push 4
push 0xb
call fcn.00401069
add esp, 0xc
push eax
call fcn.004019c9
add esp, 0xc
jmp 0x40392a
push ebx
call fcn.00401348
jmp 0x403927
cmp dword [esp + 0x3c], 0
je 0x40392a
mov eax, dword [esp + 0x44]
cmp eax, esi
jg 0x40392a
mov edx, dword [esp + 0x40]
jl 0x403875
cmp edx, ebp
ja 0x40392a
mov ecx, dword [0x4888e4]
cmp eax, ecx
jg 0x40389c
mov eax, dword [0x4888e0]
jl 0x40388a
cmp edx, eax
ja 0x40389c
cmp esi, ecx
jl 0x40392a
jg 0x40389c
cmp ebp, eax
jbe 0x40392a
cmp dword [0x4a507c], 0
je 0x4038af
test edi, edi
je 0x40392a
jmp 0x4038b3
test edi, edi
je 0x4038c6
push str.new
push 6
push 0xb
call fcn.00401069
add esp, 0xc
jmp 0x4038cb
mov eax, 0x47bce9
push eax
call fcn.00401073
mov esi, eax
push fcn.00401348
push esi
call fcn.004013d9
add esp, 0xc
cmp dword [esp + 0x10], 1
jne 0x403905
push esi
push str.You_have__smail._n
push 5
push 0xb
call fcn.00401069
add esp, 0xc
push eax
call fcn.004019c9
add esp, 8
jmp 0x403921
push ebx
push esi
push str.You_have__smail_in__s._n
push 7
push 0xb
call fcn.00401069
add esp, 0xc
push eax
call fcn.004019c9
add esp, 0xc
push esi
call fcn.00401eb5
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x14], eax
mov eax, dword [eax]
test eax, eax
jne 0x403686
pop ebp
pop ebx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [0x4888e0], edx
mov dword [0x4888e4], eax
pop edi
pop esi
add esp, 0x78
ret