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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x591543d2
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 0x59054cad
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 0x59055817
test ebx, ebx
je 0x59055817
push 0x591892bc
push ebx
push esi
call fcn.5900f930
mov edx, eax
or ebp, 0xffffffff
add esp, 0xc
cmp edx, ebp
je 0x59055817
mov edi, 0x591892bc
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.590a0970
lea eax, [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
push 0x59188924
push ecx
mov dword [esp + 0xc0], 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0
call fcn.59082010
mov edx, dword [esp + 0x10]
mov byte [esp + 0xb4], 2
mov eax, dword [edx - 8]
test eax, eax
jne 0x59054d65
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 1
call fcn.590a0ec0
jmp 0x59055807
mov eax, dword [0x59162880]
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.590abbc0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 0xb
call fcn.590abbc0
mov edx, dword [esp + 0x10]
mov bl, 0xc
mov byte [esp + 0xb4], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x590554a1
mov edi, 0x59188470
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x59188470
call fcn.590952c0
add esp, 0xc
test eax, eax
jne 0x59054e9b
mov edi, 0x59188470
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.590a30b0
lea ecx, [esp + 0x78]
mov byte [esp + 0xb8], bl
push ecx
call fcn.5900b190
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0xb8], 0xe
call fcn.590a5940
lea ecx, [esp + 0x74]
mov byte [esp + 0xb4], 0x10
call fcn.590a0ec0
mov edx, dword [esp + 0x40]
mov eax, dword [edx - 8]
test eax, eax
je 0x59054e8b
lea eax, [esp + 0x40]
lea ecx, [esp + 0x2c]
push eax
call fcn.590a63d0
lea ecx, [esp + 0x40]
mov byte [esp + 0xb4], bl
call fcn.590a6240
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.590952c0
add esp, 0xc
test eax, eax
jne 0x59054f74
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.590a30b0
lea eax, [esp + 0x58]
mov byte [esp + 0xb8], bl
push eax
call fcn.5900b190
add esp, 8
mov eax, dword [esp + 0x54]
mov byte [esp + 0xb4], 0x12
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59054f1a
push 0xfde9
push eax
lea ecx, [esp + 0x2c]
call fcn.590aa6a0
jmp 0x59054f24
push eax
lea ecx, [esp + 0x28]
call fcn.590a65a0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59054f64
lea ecx, [esp + 0x70]
push eax
push ecx
call fcn.5900bb50
add esp, 8
lea edx, [esp + 0x70]
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0xb8], 0x13
call fcn.590a63d0
lea ecx, [esp + 0x70]
mov byte [esp + 0xb4], 0x12
call fcn.590a6240
lea ecx, [esp + 0x54]
mov byte [esp + 0xb4], bl
call fcn.590a0ec0
mov edi, 0x5918831c
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 0x5918831c
call fcn.590952c0
add esp, 0xc
test eax, eax
jne 0x5905504a
push str.mail.ccs
call fcn.5908850e
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.590a30b0
lea edx, [esp + 0x6c]
mov byte [esp + 0xb8], bl
push edx
call fcn.5900b190
add esp, 8
mov eax, dword [esp + 0x68]
mov byte [esp + 0xb4], 0x15
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59054ff0
push 0xfde9
push eax
lea ecx, [esp + 0x24]
call fcn.590aa6a0
jmp 0x59054ffa
push eax
lea ecx, [esp + 0x20]
call fcn.590a65a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5905503a
push eax
lea eax, [esp + 0x50]
push eax
call fcn.5900bb50
add esp, 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb4], 0x16
push ecx
lea ecx, [esp + 0x20]
call fcn.590a63d0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb4], 0x15
call fcn.590a6240
lea ecx, [esp + 0x68]
mov byte [esp + 0xb4], bl
call fcn.590a0ec0
mov edi, 0x59188284
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 0x59188284
call fcn.590952c0
add esp, 0xc
test eax, eax
jne 0x59055120
push str.mail.bcs
call fcn.5908850e
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.590a30b0
lea edx, [esp + 0x68]
mov byte [esp + 0xb8], bl
push edx
call fcn.5900b190
add esp, 8
mov eax, dword [esp + 0x64]
mov byte [esp + 0xb4], 0x18
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x590550c6
push 0xfde9
push eax
lea ecx, [esp + 0x28]
call fcn.590aa6a0
jmp 0x590550d0
push eax
lea ecx, [esp + 0x24]
call fcn.590a65a0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59055110
push eax
lea eax, [esp + 0x48]
push eax
call fcn.5900bb50
add esp, 8
lea ecx, [esp + 0x44]
mov byte [esp + 0xb4], 0x19
push ecx
lea ecx, [esp + 0x24]
call fcn.590a63d0
lea ecx, [esp + 0x44]
mov byte [esp + 0xb4], 0x18
call fcn.590a6240
lea ecx, [esp + 0x64]
mov byte [esp + 0xb4], bl
call fcn.590a0ec0
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.590952c0
add esp, 0xc
test eax, eax
jne 0x590551f9
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.590a30b0
lea ecx, [esp + 0x70]
mov byte [esp + 0xb8], bl
push ecx
call fcn.5900b190
add esp, 8
mov eax, dword [esp + 0x6c]
mov byte [esp + 0xb4], 0x1b
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5905519f
push 0xfde9
push eax
lea ecx, [esp + 0x20]
call fcn.590aa6a0
jmp 0x590551a9
push eax
lea ecx, [esp + 0x1c]
call fcn.590a65a0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x590551e9
lea edx, [esp + 0x5c]
push eax
push edx
call fcn.5900bb50
add esp, 8
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0xb8], 0x1c
call fcn.590a63d0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb4], 0x1b
call fcn.590a6240
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb4], bl
call fcn.590a0ec0
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.590952c0
add esp, 0xc
test eax, eax
jne 0x590552bf
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.590a30b0
lea eax, [esp + 0x5c]
mov byte [esp + 0xb8], bl
push eax
call fcn.5900b190
add esp, 8
mov eax, dword [esp + 0x58]
mov byte [esp + 0xb4], 0x1e
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x590552af
push 0xfde9
push eax
lea ecx, [esp + 0x1c]
call fcn.590aa6a0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.5900bb50
add esp, 8
lea eax, [esp + 0x50]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0xb8], 0x1f
call fcn.590a63d0
lea ecx, [esp + 0x50]
mov byte [esp + 0xb4], 0x1e
call fcn.590a6240
lea ecx, [esp + 0x58]
mov byte [esp + 0xb4], bl
call fcn.590a0ec0
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.590952c0
add esp, 0xc
test eax, eax
jne 0x590553a6
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
jne 0x590553a6
mov edi, 0x5918e84c
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.590a30b0
lea ecx, [esp + 0x84]
mov byte [esp + 0xb8], bl
push ecx
call fcn.5900b190
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0xb8], 0x21
call fcn.590a65a0
lea ecx, [esp + 0x80]
mov byte [esp + 0xb4], bl
call fcn.590a0ec0
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x590553a6
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
call fcn.590a63d0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x60]
push ecx
push edx
call fcn.5900b2f0
add esp, 8
lea eax, [esp + 0x60]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0xb8], 0x22
call fcn.590a63d0
lea ecx, [esp + 0x60]
mov byte [esp + 0xb4], bl
call fcn.590a6240
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.590952c0
add esp, 0xc
test eax, eax
jne 0x59055452
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.590a30b0
lea eax, [esp + 0x80]
mov byte [esp + 0xb8], bl
push eax
call fcn.5900b190
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0xb8], 0x24
call fcn.590a5940
lea ecx, [esp + 0x7c]
mov byte [esp + 0xb4], 0x26
call fcn.590a0ec0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x59055442
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x2c]
push edx
call fcn.590a63d0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb4], bl
call fcn.590a6240
lea eax, [esp + 0x48]
lea ecx, [esp + 0x88]
push eax
push 0x59188924
push ecx
lea ecx, [esp + 0x40]
call fcn.59082010
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 0x27
call fcn.590a1040
lea ecx, [esp + 0x88]
mov byte [esp + 0xb4], bl
call fcn.590a0ec0
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
jne 0x59054df6
lea ecx, [esp + 0x28]
call fcn.590a5fb0
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 8]
test eax, eax
jne 0x590555b9
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x590555b9
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x590555b9
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
jne 0x590555b9
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x590555b9
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x590555b9
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 0xb
call fcn.590abbd0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xb4], 0xa
call fcn.590abbd0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 9
call fcn.590a6240
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 8
call fcn.590a6240
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 7
call fcn.590a6240
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 6
call fcn.590a6240
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 5
call fcn.590a6240
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 4
call fcn.590a6240
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 2
call fcn.590a6240
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 1
call fcn.590a0ec0
jmp 0x59055807
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x59055683
mov dword [eax], 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 0xb
call fcn.590abbd0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xb4], 0xa
call fcn.590abbd0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 9
call fcn.590a6240
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 8
call fcn.590a6240
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 7
call fcn.590a6240
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 6
call fcn.590a6240
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 5
call fcn.590a6240
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 4
call fcn.590a6240
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 2
call fcn.590a6240
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 1
call fcn.590a0ec0
jmp 0x59055807
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.59059db0
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.5900c690
add esp, 0x34
test eax, eax
je 0x59055747
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x38]
push edi
push esi
push eax
call fcn.5900c480
add esp, 0xc
test eax, eax
je 0x59055747
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.5900e750
add esp, 0x44
lea ecx, [esp + 0x38]
mov byte [esp + 0xb4], bl
call fcn.590a0ec0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 0xb
call fcn.590abbd0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xb4], 0xa
call fcn.590abbd0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 9
call fcn.590a6240
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 8
call fcn.590a6240
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 7
call fcn.590a6240
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 6
call fcn.590a6240
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 5
call fcn.590a6240
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 4
call fcn.590a6240
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 2
call fcn.590a6240
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 1
call fcn.590a0ec0
lea ecx, [esp + 0x34]
mov dword [esp + 0xb4], ebp
call fcn.590a0ec0
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa8
ret