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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x591531eb
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0xa4
test eax, eax
je 0x59046669
mov dword [eax], 0
push ebx
mov ebx, dword [esp + 0xb8]
push ebp
push esi
mov esi, dword [esp + 0xc4]
push edi
test ebx, ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], esi
je 0x59046fab
test esi, esi
je 0x59046fab
push str.Content_Type:_multipart_form_data__boundary
push esi
push ebx
call fcn.5900f7b0
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x59046fab
mov edi, str.Content_Type:_multipart_form_data__boundary
or ecx, 0xffffffff
xor eax, eax
push 0x5918986c
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, esi
add edx, ecx
sub eax, edx
lea ebp, [edx + ebx]
push eax
push ebp
mov dword [esp + 0x4c], ebp
call fcn.5900f7b0
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esp + 0x38], eax
je 0x59046fab
push 0x5918a2d4
push esi
push ebx
call fcn.5900f7b0
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x59046fab
mov edi, 0x5918a2d4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x30], eax
add edx, ecx
lea ecx, [esp + 0x10]
add ebx, edx
sub esi, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x30]
push ecx
push edx
push eax
push ebp
push esi
push ebx
mov dword [esp + 0xe0], esi
call fcn.5900d4b0
add esp, 0x18
lea ecx, [esp + 0x54]
mov ebp, eax
call fcn.590acfe0
lea ecx, [esp + 0x90]
mov dword [esp + 0xbc], 0
call fcn.590acfe0
mov eax, dword [0x591638c0]
mov byte [esp + 0xbc], 1
mov dword [esp + 0x28], eax
mov byte [esp + 0xbc], 2
mov dword [esp + 0x20], eax
mov byte [esp + 0xbc], 3
mov dword [esp + 0x1c], eax
mov byte [esp + 0xbc], 4
mov dword [esp + 0x18], eax
mov byte [esp + 0xbc], 5
mov dword [esp + 0x24], eax
mov byte [esp + 0xbc], 6
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0xbc], 7
call fcn.590b4e60
test ebp, ebp
mov byte [esp + 0xbc], 8
je 0x59046de1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x59046de1
mov ecx, dword [0x591638bc]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push ebp
mov byte [esp + 0xc8], 9
call fcn.5900f6b0
add esp, 0xc
test eax, eax
jne 0x5904683e
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
push esi
push ebx
call fcn.5900d4b0
add esp, 0x18
lea ecx, [esp + 0x14]
mov ebp, eax
mov byte [esp + 0xbc], 8
call fcn.590a22e0
jmp 0x59046dd9
mov edx, dword [esp + 0x10]
push 0x5918a2d4
push edx
push ebp
call fcn.5900f7b0
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x59046879
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0xd0]
push edx
push eax
push ecx
jmp 0x59046db6
mov edi, 0x5918a2d4
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
sub edx, esi
test edx, edx
jg 0x590468b5
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0xd0]
push edx
push eax
push ecx
jmp 0x59046db6
mov edx, dword [esp + 0x14]
push str.fFrom
push edx
call fcn.59089b37
add esp, 8
test eax, eax
jne 0x5904690c
mov eax, dword [esp + 0x10]
lea ecx, [esi + ebp]
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x84]
call fcn.590a1d90
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xc4], 0xa
call fcn.590abac0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xbc], 9
call fcn.590a22e0
mov edx, dword [esp + 0x14]
push str.fMessageBody
push edx
call fcn.59089b37
add esp, 8
test eax, eax
jne 0x59046966
mov eax, dword [esp + 0x10]
lea ecx, [esi + ebp]
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x90]
call fcn.590a1d90
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xc4], 0xb
call fcn.590abac0
lea ecx, [esp + 0x88]
mov byte [esp + 0xbc], 9
call fcn.590a22e0
mov edx, dword [esp + 0x14]
push 0x5918e8c8
push edx
call fcn.59089b37
add esp, 8
test eax, eax
jne 0x590469ba
mov eax, dword [esp + 0x10]
lea ecx, [esi + ebp]
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x74]
call fcn.590a1d90
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xc4], 0xc
call fcn.590abac0
lea ecx, [esp + 0x6c]
mov byte [esp + 0xbc], 9
call fcn.590a22e0
mov edx, dword [esp + 0x14]
push 0x5918e8c4
push edx
call fcn.59089b37
add esp, 8
test eax, eax
jne 0x59046a14
mov eax, dword [esp + 0x10]
lea ecx, [esi + ebp]
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x8c]
call fcn.590a1d90
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], 0xd
call fcn.590abac0
lea ecx, [esp + 0x84]
mov byte [esp + 0xbc], 9
call fcn.590a22e0
mov edx, dword [esp + 0x14]
push str.fBcc
push edx
call fcn.59089b37
add esp, 8
test eax, eax
jne 0x59046a68
mov eax, dword [esp + 0x10]
lea ecx, [esi + ebp]
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.590a1d90
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0xe
call fcn.590abac0
lea ecx, [esp + 0x74]
mov byte [esp + 0xbc], 9
call fcn.590a22e0
mov edx, dword [esp + 0x14]
push str.fSubject
push edx
call fcn.59089b37
add esp, 8
test eax, eax
jne 0x59046ac2
mov eax, dword [esp + 0x10]
lea ecx, [esi + ebp]
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xa8]
call fcn.590a1d90
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc4], 0xf
call fcn.590abac0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xbc], 9
call fcn.590a22e0
lea ecx, [esp + 0x14]
call fcn.590a34e0
push str.INPUTFILE
lea ecx, [esp + 0x18]
call fcn.590a3460
cmp eax, 0xffffffff
jne 0x59046b08
push str.FILEINPUT
lea ecx, [esp + 0x18]
call fcn.590a3460
cmp eax, 0xffffffff
jne 0x59046b08
push str.FILEUPLOAD
lea ecx, [esp + 0x18]
call fcn.590a3460
cmp eax, 0xffffffff
je 0x59046d9a
mov edx, dword [esp + 0x10]
push str.filename_
push edx
push ebp
call fcn.5900f7b0
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x59046d9a
mov edi, str.filename_
or ecx, 0xffffffff
xor eax, eax
push 0x59189900
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
dec ecx
add edx, ecx
sub eax, edx
lea edi, [edx + ebp]
push eax
push edi
call fcn.5900f7b0
add esp, 0xc
cmp eax, 0xffffffff
je 0x59046d9a
test eax, eax
je 0x59046d9a
mov ecx, dword [0x591638bc]
mov dword [esp + 0x44], ecx
mov edx, dword [0x591638c0]
mov byte [esp + 0xbc], 0x10
mov dword [esp + 0x34], edx
push eax
push edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc4], 0x11
call fcn.590a1d90
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc4], 0x12
call fcn.590abac0
lea ecx, [esp + 0x64]
mov byte [esp + 0xbc], 0x11
call fcn.590a22e0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59046d78
push 0x5c
lea ecx, [esp + 0x38]
call fcn.590a8810
inc eax
lea ecx, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.590a9950
mov edx, dword [0x591638c0]
mov byte [esp + 0xbc], 0x13
mov dword [esp + 0x4c], edx
push 0x2e
lea ecx, [esp + 0x40]
mov byte [esp + 0xc0], 0x14
call fcn.590a8810
cmp eax, 0xffffffff
je 0x59046c46
inc eax
lea ecx, [esp + 0x3c]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.590a9950
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xc0], 0x15
call fcn.590a77f0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xbc], 0x14
call fcn.590a7660
mov ecx, dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0x74]
call fcn.590a1b80
lea edx, [esp + 0x68]
push 0x59189be8
push edx
mov byte [esp + 0xc4], 0x16
call fcn.590593f0
add esp, 8
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xc0], 0x17
call fcn.590a2460
lea ecx, [esp + 0x68]
mov byte [esp + 0xbc], 0x16
call fcn.590a22e0
mov eax, dword [esp + 0xcc]
test eax, eax
jne 0x59046cd7
mov eax, dword [esp + 0x44]
push 0x180
push 0x8101
push eax
call fcn.5908a6ad
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x59046d45
mov ecx, dword [esp + 0x10]
add ebp, esi
sub ecx, esi
push ecx
push ebp
push edi
call fcn.5908a4bd
push edi
call fcn.5908a3dd
add esp, 0x10
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xa8]
sub eax, esi
lea ecx, [esp + 0xa4]
push eax
push edx
call fcn.590b50a0
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x50]
push eax
call fcn.590a6d60
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x50]
push ecx
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc4], 0x18
call fcn.590ad5f0
mov ecx, dword [esp + 0x94]
lea eax, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x98]
call fcn.590ad5f0
lea ecx, [esp + 0x50]
mov byte [esp + 0xbc], 0x16
call fcn.590a7660
lea ecx, [esp + 0x70]
mov byte [esp + 0xbc], 0x14
call fcn.590a22e0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xbc], 0x13
call fcn.590a7660
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0x11
call fcn.590a7660
lea ecx, [esp + 0x34]
mov byte [esp + 0xbc], 0x10
call fcn.590a7660
lea ecx, [esp + 0x44]
mov byte [esp + 0xbc], 9
call fcn.590a22e0
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x10]
lea eax, [esp + 0x30]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0xd0]
push ecx
push edx
push eax
push ebx
call fcn.5900d4b0
add esp, 0x18
lea ecx, [esp + 0x14]
mov ebp, eax
mov byte [esp + 0xbc], 8
call fcn.590a22e0
mov esi, dword [esp + 0xc8]
test ebp, ebp
jne 0x590467d3
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x59046e24
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
test eax, eax
jne 0x59046e24
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x59046e24
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x59046e24
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x59046e24
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 8]
test eax, eax
je 0x59046f09
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x59046e3a
mov dword [eax], 1
jmp 0x59046f09
lea eax, [esp + 0x48]
push 0
push eax
call fcn.590593f0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x98]
push 1
lea edx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x2c]
push 0
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x70]
push ecx
push edx
push eax
mov byte [esp + 0xf0], 0x19
call fcn.5900c510
add esp, 0x34
test eax, eax
je 0x59046ef8
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x48]
push edi
push esi
push ecx
call fcn.5900c300
add esp, 0xc
test eax, eax
je 0x59046ef8
push 0
lea edx, [esp + 0xa8]
push 0
lea eax, [esp + 0x98]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x60]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x2c]
push 0
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x70]
push eax
push ecx
push 2
push 1
push edx
push edi
push esi
call fcn.5900e5d0
add esp, 0x44
lea ecx, [esp + 0x48]
mov byte [esp + 0xbc], 8
call fcn.590a22e0
lea ecx, [esp + 0xa4]
mov byte [esp + 0xbc], 7
call fcn.590b4e70
lea ecx, [esp + 0x2c]
mov byte [esp + 0xbc], 6
call fcn.590a7660
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 5
call fcn.590a7660
lea ecx, [esp + 0x18]
mov byte [esp + 0xbc], 4
call fcn.590a7660
lea ecx, [esp + 0x1c]
mov byte [esp + 0xbc], 3
call fcn.590a7660
lea ecx, [esp + 0x20]
mov byte [esp + 0xbc], 2
call fcn.590a7660
lea ecx, [esp + 0x28]
mov byte [esp + 0xbc], 1
call fcn.590a7660
lea ecx, [esp + 0x90]
mov byte [esp + 0xbc], 0
call fcn.590acff0
lea ecx, [esp + 0x54]
mov dword [esp + 0xbc], 0xffffffff
call fcn.590acff0
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret