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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59142172
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 0x5904b09d
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 0x5904bc07
test ebx, ebx
je 0x5904bc07
push 0x59173d00
push ebx
push esi
call fcn.5900f220
mov edx, eax
or ebp, 0xffffffff
add esp, 0xc
cmp edx, ebp
je 0x5904bc07
mov edi, 0x59173d00
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.59094b40
lea eax, [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
push 0x59173390
push ecx
mov dword [esp + 0xc0], 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0
call fcn.59076280
mov edx, dword [esp + 0x10]
mov byte [esp + 0xb4], 2
mov eax, dword [edx - 8]
test eax, eax
jne 0x5904b155
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 1
call fcn.59095090
jmp 0x5904bbf7
mov eax, dword [0x5914f850]
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.5909fd90
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 0xb
call fcn.5909fd90
mov edx, dword [esp + 0x10]
mov bl, 0xc
mov byte [esp + 0xb4], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x5904b891
mov edi, 0x59172f38
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x59172f38
call fcn.59089490
add esp, 0xc
test eax, eax
jne 0x5904b28b
mov edi, 0x59172f38
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.59097280
lea ecx, [esp + 0x78]
mov byte [esp + 0xb8], bl
push ecx
call fcn.5900aa80
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0xb8], 0xe
call fcn.59099b10
lea ecx, [esp + 0x74]
mov byte [esp + 0xb4], 0x10
call fcn.59095090
mov edx, dword [esp + 0x40]
mov eax, dword [edx - 8]
test eax, eax
je 0x5904b27b
lea eax, [esp + 0x40]
lea ecx, [esp + 0x2c]
push eax
call fcn.5909a5a0
lea ecx, [esp + 0x40]
mov byte [esp + 0xb4], bl
call fcn.5909a410
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.59089490
add esp, 0xc
test eax, eax
jne 0x5904b364
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.59097280
lea eax, [esp + 0x58]
mov byte [esp + 0xb8], bl
push eax
call fcn.5900aa80
add esp, 8
mov eax, dword [esp + 0x54]
mov byte [esp + 0xb4], 0x12
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904b30a
push 0xfde9
push eax
lea ecx, [esp + 0x2c]
call fcn.5909e870
jmp 0x5904b314
push eax
lea ecx, [esp + 0x28]
call fcn.5909a770
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904b354
lea ecx, [esp + 0x70]
push eax
push ecx
call fcn.5900b440
add esp, 8
lea edx, [esp + 0x70]
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0xb8], 0x13
call fcn.5909a5a0
lea ecx, [esp + 0x70]
mov byte [esp + 0xb4], 0x12
call fcn.5909a410
lea ecx, [esp + 0x54]
mov byte [esp + 0xb4], bl
call fcn.59095090
mov edi, 0x59172dd8
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 0x59172dd8
call fcn.59089490
add esp, 0xc
test eax, eax
jne 0x5904b43a
push str.mail.ccs
call fcn.5907c6fd
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.59097280
lea edx, [esp + 0x6c]
mov byte [esp + 0xb8], bl
push edx
call fcn.5900aa80
add esp, 8
mov eax, dword [esp + 0x68]
mov byte [esp + 0xb4], 0x15
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904b3e0
push 0xfde9
push eax
lea ecx, [esp + 0x24]
call fcn.5909e870
jmp 0x5904b3ea
push eax
lea ecx, [esp + 0x20]
call fcn.5909a770
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904b42a
push eax
lea eax, [esp + 0x50]
push eax
call fcn.5900b440
add esp, 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb4], 0x16
push ecx
lea ecx, [esp + 0x20]
call fcn.5909a5a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb4], 0x15
call fcn.5909a410
lea ecx, [esp + 0x68]
mov byte [esp + 0xb4], bl
call fcn.59095090
mov edi, 0x59172d40
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 0x59172d40
call fcn.59089490
add esp, 0xc
test eax, eax
jne 0x5904b510
push str.mail.bcs
call fcn.5907c6fd
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.59097280
lea edx, [esp + 0x68]
mov byte [esp + 0xb8], bl
push edx
call fcn.5900aa80
add esp, 8
mov eax, dword [esp + 0x64]
mov byte [esp + 0xb4], 0x18
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904b4b6
push 0xfde9
push eax
lea ecx, [esp + 0x28]
call fcn.5909e870
jmp 0x5904b4c0
push eax
lea ecx, [esp + 0x24]
call fcn.5909a770
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904b500
push eax
lea eax, [esp + 0x48]
push eax
call fcn.5900b440
add esp, 8
lea ecx, [esp + 0x44]
mov byte [esp + 0xb4], 0x19
push ecx
lea ecx, [esp + 0x24]
call fcn.5909a5a0
lea ecx, [esp + 0x44]
mov byte [esp + 0xb4], 0x18
call fcn.5909a410
lea ecx, [esp + 0x64]
mov byte [esp + 0xb4], bl
call fcn.59095090
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.59089490
add esp, 0xc
test eax, eax
jne 0x5904b5e9
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.59097280
lea ecx, [esp + 0x70]
mov byte [esp + 0xb8], bl
push ecx
call fcn.5900aa80
add esp, 8
mov eax, dword [esp + 0x6c]
mov byte [esp + 0xb4], 0x1b
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904b58f
push 0xfde9
push eax
lea ecx, [esp + 0x20]
call fcn.5909e870
jmp 0x5904b599
push eax
lea ecx, [esp + 0x1c]
call fcn.5909a770
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904b5d9
lea edx, [esp + 0x5c]
push eax
push edx
call fcn.5900b440
add esp, 8
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0xb8], 0x1c
call fcn.5909a5a0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb4], 0x1b
call fcn.5909a410
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb4], bl
call fcn.59095090
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.59089490
add esp, 0xc
test eax, eax
jne 0x5904b6af
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.59097280
lea eax, [esp + 0x5c]
mov byte [esp + 0xb8], bl
push eax
call fcn.5900aa80
add esp, 8
mov eax, dword [esp + 0x58]
mov byte [esp + 0xb4], 0x1e
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904b69f
push 0xfde9
push eax
lea ecx, [esp + 0x1c]
call fcn.5909e870
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.5900b440
add esp, 8
lea eax, [esp + 0x50]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0xb8], 0x1f
call fcn.5909a5a0
lea ecx, [esp + 0x50]
mov byte [esp + 0xb4], 0x1e
call fcn.5909a410
lea ecx, [esp + 0x58]
mov byte [esp + 0xb4], bl
call fcn.59095090
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.59089490
add esp, 0xc
test eax, eax
jne 0x5904b796
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
jne 0x5904b796
mov edi, 0x591776a8
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.59097280
lea ecx, [esp + 0x84]
mov byte [esp + 0xb8], bl
push ecx
call fcn.5900aa80
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0xb8], 0x21
call fcn.5909a770
lea ecx, [esp + 0x80]
mov byte [esp + 0xb4], bl
call fcn.59095090
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x5904b796
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
call fcn.5909a5a0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x60]
push ecx
push edx
call fcn.5900abe0
add esp, 8
lea eax, [esp + 0x60]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0xb8], 0x22
call fcn.5909a5a0
lea ecx, [esp + 0x60]
mov byte [esp + 0xb4], bl
call fcn.5909a410
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.59089490
add esp, 0xc
test eax, eax
jne 0x5904b842
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.59097280
lea eax, [esp + 0x80]
mov byte [esp + 0xb8], bl
push eax
call fcn.5900aa80
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0xb8], 0x24
call fcn.59099b10
lea ecx, [esp + 0x7c]
mov byte [esp + 0xb4], 0x26
call fcn.59095090
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x5904b832
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x2c]
push edx
call fcn.5909a5a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb4], bl
call fcn.5909a410
lea eax, [esp + 0x48]
lea ecx, [esp + 0x88]
push eax
push 0x59173390
push ecx
lea ecx, [esp + 0x40]
call fcn.59076280
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 0x27
call fcn.59095210
lea ecx, [esp + 0x88]
mov byte [esp + 0xb4], bl
call fcn.59095090
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
jne 0x5904b1e6
lea ecx, [esp + 0x28]
call fcn.5909a180
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 8]
test eax, eax
jne 0x5904b9a9
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5904b9a9
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x5904b9a9
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
jne 0x5904b9a9
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x5904b9a9
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5904b9a9
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 0xb
call fcn.5909fda0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xb4], 0xa
call fcn.5909fda0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 9
call fcn.5909a410
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 8
call fcn.5909a410
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 7
call fcn.5909a410
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 6
call fcn.5909a410
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 5
call fcn.5909a410
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 4
call fcn.5909a410
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 2
call fcn.5909a410
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 1
call fcn.59095090
jmp 0x5904bbf7
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x5904ba73
mov dword [eax], 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 0xb
call fcn.5909fda0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xb4], 0xa
call fcn.5909fda0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 9
call fcn.5909a410
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 8
call fcn.5909a410
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 7
call fcn.5909a410
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 6
call fcn.5909a410
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 5
call fcn.5909a410
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 4
call fcn.5909a410
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 2
call fcn.5909a410
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 1
call fcn.59095090
jmp 0x5904bbf7
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.5904fff0
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.5900bf80
add esp, 0x34
test eax, eax
je 0x5904bb37
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x38]
push edi
push esi
push eax
call fcn.5900bd70
add esp, 0xc
test eax, eax
je 0x5904bb37
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.5900e040
add esp, 0x44
lea ecx, [esp + 0x38]
mov byte [esp + 0xb4], bl
call fcn.59095090
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 0xb
call fcn.5909fda0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xb4], 0xa
call fcn.5909fda0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 9
call fcn.5909a410
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 8
call fcn.5909a410
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 7
call fcn.5909a410
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 6
call fcn.5909a410
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 5
call fcn.5909a410
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 4
call fcn.5909a410
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 2
call fcn.5909a410
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 1
call fcn.59095090
lea ecx, [esp + 0x34]
mov dword [esp + 0xb4], ebp
call fcn.59095090
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa8
ret