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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x591479a2
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x9c
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x5904f42d
mov dword [eax], 0
mov esi, dword [esp + 0xbc]
mov ebx, dword [esp + 0xc0]
test esi, esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x84], ebx
je 0x5904ff97
test ebx, ebx
je 0x5904ff97
push 0x5917ae30
push ebx
push esi
call fcn.5900f390
mov edx, eax
or ebp, 0xffffffff
add esp, 0xc
cmp edx, ebp
je 0x5904ff97
mov edi, 0x5917ae30
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
lea ecx, [esp + 0x34]
sub ebx, edx
add esi, edx
push ebx
push esi
call fcn.590998b0
lea eax, [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
push 0x5917a4c4
push ecx
mov dword [esp + 0xc0], 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0
call fcn.5907afc0
mov edx, dword [esp + 0x10]
mov byte [esp + 0xb4], 2
mov eax, dword [edx - 8]
test eax, eax
jne 0x5904f4e5
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 1
call fcn.59099e00
jmp 0x5904ff87
mov eax, dword [0x59155850]
mov dword [esp + 0x2c], eax
mov byte [esp + 0xb4], 4
mov dword [esp + 0x14], eax
mov byte [esp + 0xb4], 5
mov dword [esp + 0x28], eax
mov byte [esp + 0xb4], 6
mov dword [esp + 0x24], eax
mov byte [esp + 0xb4], 7
mov dword [esp + 0x1c], eax
mov byte [esp + 0xb4], 8
mov dword [esp + 0x20], eax
mov byte [esp + 0xb4], 9
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xb4], 0xa
call fcn.590a4b00
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 0xb
call fcn.590a4b00
mov edx, dword [esp + 0x10]
mov bl, 0xc
mov byte [esp + 0xb4], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x5904fc21
mov edi, 0x5917a06c
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x5917a06c
call fcn.5908e200
add esp, 0xc
test eax, eax
jne 0x5904f61b
mov edi, 0x5917a06c
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.5909bff0
lea ecx, [esp + 0x78]
mov byte [esp + 0xb8], bl
push ecx
call fcn.5900abf0
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0xb8], 0xe
call fcn.5909e880
lea ecx, [esp + 0x74]
mov byte [esp + 0xb4], 0x10
call fcn.59099e00
mov edx, dword [esp + 0x40]
mov eax, dword [edx - 8]
test eax, eax
je 0x5904f60b
lea eax, [esp + 0x40]
lea ecx, [esp + 0x2c]
push eax
call fcn.5909f310
lea ecx, [esp + 0x40]
mov byte [esp + 0xb4], bl
call fcn.5909f180
mov edi, str.mail.tos
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push str.mail.tos
call fcn.5908e200
add esp, 0xc
test eax, eax
jne 0x5904f6f4
mov edi, str.mail.tos
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov edx, esp
mov dword [esp + 0x34], esp
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.5909bff0
lea eax, [esp + 0x58]
mov byte [esp + 0xb8], bl
push eax
call fcn.5900abf0
add esp, 8
mov eax, dword [esp + 0x54]
mov byte [esp + 0xb4], 0x12
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904f69a
push 0xfde9
push eax
lea ecx, [esp + 0x2c]
call fcn.590a35e0
jmp 0x5904f6a4
push eax
lea ecx, [esp + 0x28]
call fcn.5909f4e0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904f6e4
lea ecx, [esp + 0x70]
push eax
push ecx
call fcn.5900b5b0
add esp, 8
lea edx, [esp + 0x70]
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0xb8], 0x13
call fcn.5909f310
lea ecx, [esp + 0x70]
mov byte [esp + 0xb4], 0x12
call fcn.5909f180
lea ecx, [esp + 0x54]
mov byte [esp + 0xb4], bl
call fcn.59099e00
mov edi, 0x59179f0c
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
dec ecx
push ecx
push eax
push 0x59179f0c
call fcn.5908e200
add esp, 0xc
test eax, eax
jne 0x5904f7ca
push str.mail.ccs
call fcn.5908146d
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.5909bff0
lea edx, [esp + 0x6c]
mov byte [esp + 0xb8], bl
push edx
call fcn.5900abf0
add esp, 8
mov eax, dword [esp + 0x68]
mov byte [esp + 0xb4], 0x15
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904f770
push 0xfde9
push eax
lea ecx, [esp + 0x24]
call fcn.590a35e0
jmp 0x5904f77a
push eax
lea ecx, [esp + 0x20]
call fcn.5909f4e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904f7ba
push eax
lea eax, [esp + 0x50]
push eax
call fcn.5900b5b0
add esp, 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb4], 0x16
push ecx
lea ecx, [esp + 0x20]
call fcn.5909f310
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb4], 0x15
call fcn.5909f180
lea ecx, [esp + 0x68]
mov byte [esp + 0xb4], bl
call fcn.59099e00
mov edi, 0x59179e74
mov ecx, ebp
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x59179e74
call fcn.5908e200
add esp, 0xc
test eax, eax
jne 0x5904f8a0
push str.mail.bcs
call fcn.5908146d
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.5909bff0
lea edx, [esp + 0x68]
mov byte [esp + 0xb8], bl
push edx
call fcn.5900abf0
add esp, 8
mov eax, dword [esp + 0x64]
mov byte [esp + 0xb4], 0x18
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904f846
push 0xfde9
push eax
lea ecx, [esp + 0x28]
call fcn.590a35e0
jmp 0x5904f850
push eax
lea ecx, [esp + 0x24]
call fcn.5909f4e0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904f890
push eax
lea eax, [esp + 0x48]
push eax
call fcn.5900b5b0
add esp, 8
lea ecx, [esp + 0x44]
mov byte [esp + 0xb4], 0x19
push ecx
lea ecx, [esp + 0x24]
call fcn.5909f310
lea ecx, [esp + 0x44]
mov byte [esp + 0xb4], 0x18
call fcn.5909f180
lea ecx, [esp + 0x64]
mov byte [esp + 0xb4], bl
call fcn.59099e00
mov edi, str.mail.subject
mov ecx, ebp
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push str.mail.subject
call fcn.5908e200
add esp, 0xc
test eax, eax
jne 0x5904f979
mov edi, str.mail.subject
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.5909bff0
lea ecx, [esp + 0x70]
mov byte [esp + 0xb8], bl
push ecx
call fcn.5900abf0
add esp, 8
mov eax, dword [esp + 0x6c]
mov byte [esp + 0xb4], 0x1b
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904f91f
push 0xfde9
push eax
lea ecx, [esp + 0x20]
call fcn.590a35e0
jmp 0x5904f929
push eax
lea ecx, [esp + 0x1c]
call fcn.5909f4e0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904f969
lea edx, [esp + 0x5c]
push eax
push edx
call fcn.5900b5b0
add esp, 8
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0xb8], 0x1c
call fcn.5909f310
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb4], 0x1b
call fcn.5909f180
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb4], bl
call fcn.59099e00
mov edi, str.mail.content
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push str.mail.content
call fcn.5908e200
add esp, 0xc
test eax, eax
jne 0x5904fa3f
mov edi, str.mail.content
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov edx, esp
mov dword [esp + 0x34], esp
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.5909bff0
lea eax, [esp + 0x5c]
mov byte [esp + 0xb8], bl
push eax
call fcn.5900abf0
add esp, 8
mov eax, dword [esp + 0x58]
mov byte [esp + 0xb4], 0x1e
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904fa2f
push 0xfde9
push eax
lea ecx, [esp + 0x1c]
call fcn.590a35e0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.5900b5b0
add esp, 8
lea eax, [esp + 0x50]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0xb8], 0x1f
call fcn.5909f310
lea ecx, [esp + 0x50]
mov byte [esp + 0xb4], 0x1e
call fcn.5909f180
lea ecx, [esp + 0x58]
mov byte [esp + 0xb4], bl
call fcn.59099e00
mov edi, str.mail.textcontent
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push str.mail.textcontent
call fcn.5908e200
add esp, 0xc
test eax, eax
jne 0x5904fb26
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
jne 0x5904fb26
mov edi, 0x5917f5f8
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.5909bff0
lea ecx, [esp + 0x84]
mov byte [esp + 0xb8], bl
push ecx
call fcn.5900abf0
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0xb8], 0x21
call fcn.5909f4e0
lea ecx, [esp + 0x80]
mov byte [esp + 0xb4], bl
call fcn.59099e00
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x5904fb26
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
call fcn.5909f310
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x60]
push ecx
push edx
call fcn.5900ad50
add esp, 8
lea eax, [esp + 0x60]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0xb8], 0x22
call fcn.5909f310
lea ecx, [esp + 0x60]
mov byte [esp + 0xb4], bl
call fcn.5909f180
mov edi, str.mail.from
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push str.mail.from
call fcn.5908e200
add esp, 0xc
test eax, eax
jne 0x5904fbd2
mov edi, str.mail.from
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov edx, esp
mov dword [esp + 0x34], esp
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.5909bff0
lea eax, [esp + 0x80]
mov byte [esp + 0xb8], bl
push eax
call fcn.5900abf0
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0xb8], 0x24
call fcn.5909e880
lea ecx, [esp + 0x7c]
mov byte [esp + 0xb4], 0x26
call fcn.59099e00
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x5904fbc2
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x2c]
push edx
call fcn.5909f310
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb4], bl
call fcn.5909f180
lea eax, [esp + 0x48]
lea ecx, [esp + 0x88]
push eax
push 0x5917a4c4
push ecx
lea ecx, [esp + 0x40]
call fcn.5907afc0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 0x27
call fcn.59099f80
lea ecx, [esp + 0x88]
mov byte [esp + 0xb4], bl
call fcn.59099e00
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
jne 0x5904f576
lea ecx, [esp + 0x28]
call fcn.5909eef0
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 8]
test eax, eax
jne 0x5904fd39
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5904fd39
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x5904fd39
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
jne 0x5904fd39
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x5904fd39
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5904fd39
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 0xb
call fcn.590a4b10
lea ecx, [esp + 0x9c]
mov byte [esp + 0xb4], 0xa
call fcn.590a4b10
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 9
call fcn.5909f180
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 8
call fcn.5909f180
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 7
call fcn.5909f180
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 6
call fcn.5909f180
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 5
call fcn.5909f180
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 4
call fcn.5909f180
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 2
call fcn.5909f180
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 1
call fcn.59099e00
jmp 0x5904ff87
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x5904fe03
mov dword [eax], 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 0xb
call fcn.590a4b10
lea ecx, [esp + 0x9c]
mov byte [esp + 0xb4], 0xa
call fcn.590a4b10
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 9
call fcn.5909f180
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 8
call fcn.5909f180
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 7
call fcn.5909f180
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 6
call fcn.5909f180
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 5
call fcn.5909f180
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 4
call fcn.5909f180
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 2
call fcn.5909f180
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 1
call fcn.59099e00
jmp 0x5904ff87
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.590543e0
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xa4]
push 1
lea eax, [esp + 0x98]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push edx
mov byte [esp + 0xe8], 0x2a
call fcn.5900c0f0
add esp, 0x34
test eax, eax
je 0x5904fec7
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x38]
push edi
push esi
push eax
call fcn.5900bee0
add esp, 0xc
test eax, eax
je 0x5904fec7
mov eax, dword [esp + 0x28]
push 0
push 0
lea ecx, [esp + 0xa4]
push 0
lea edx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
push 2
push 1
push ecx
push edi
push esi
call fcn.5900e1b0
add esp, 0x44
lea ecx, [esp + 0x38]
mov byte [esp + 0xb4], bl
call fcn.59099e00
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 0xb
call fcn.590a4b10
lea ecx, [esp + 0x9c]
mov byte [esp + 0xb4], 0xa
call fcn.590a4b10
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 9
call fcn.5909f180
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 8
call fcn.5909f180
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 7
call fcn.5909f180
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 6
call fcn.5909f180
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 5
call fcn.5909f180
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 4
call fcn.5909f180
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 2
call fcn.5909f180
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 1
call fcn.59099e00
lea ecx, [esp + 0x34]
mov dword [esp + 0xb4], ebp
call fcn.59099e00
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa8
ret