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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x591520ec
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x90
test eax, eax
je 0x590456b9
mov dword [eax], 0
push ebx
mov ebx, dword [esp + 0xa4]
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
test ebx, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebp
je 0x59045e50
test ebp, ebp
je 0x59045e50
push str.Content_Type:_multipart_form_data__boundary
push ebp
push ebx
call fcn.5900f930
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x59045e50
mov edi, str.Content_Type:_multipart_form_data__boundary
or ecx, 0xffffffff
xor eax, eax
push 0x59188854
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ebp
add edx, ecx
sub eax, edx
lea esi, [edx + ebx]
push eax
push esi
mov dword [esp + 0x20], esi
call fcn.5900f930
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x59045e50
push 0x591892bc
push ebp
push ebx
call fcn.5900f930
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x59045e50
mov edi, 0x591892bc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], eax
add edx, ecx
lea ecx, [esp + 0x10]
add ebx, edx
sub ebp, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
push edx
push eax
push esi
push ebp
push ebx
mov dword [esp + 0xcc], ebp
call fcn.5900d630
add esp, 0x18
lea ecx, [esp + 0x54]
mov esi, eax
call fcn.590abbc0
lea ecx, [esp + 0x7c]
mov dword [esp + 0xa8], 0
call fcn.590abbc0
mov eax, dword [0x59162880]
mov byte [esp + 0xa8], 1
mov dword [esp + 0x1c], eax
mov byte [esp + 0xa8], 2
mov dword [esp + 0x3c], eax
mov byte [esp + 0xa8], 3
mov dword [esp + 0x2c], eax
mov byte [esp + 0xa8], 4
mov dword [esp + 0x30], eax
mov byte [esp + 0xa8], 5
mov dword [esp + 0x40], eax
mov byte [esp + 0xa8], 6
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x90]
mov byte [esp + 0xa8], 7
call fcn.590b3a40
test esi, esi
mov byte [esp + 0xa8], 8
je 0x59045ca2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x59045ca2
mov ecx, dword [0x5916287c]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
push esi
mov byte [esp + 0xb4], 9
call fcn.5900f830
add esp, 0xc
test eax, eax
jne 0x59045888
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
push ebp
push ebx
call fcn.5900d630
add esp, 0x18
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0xa8], 8
call fcn.590a0ec0
jmp 0x59045c9a
mov edx, dword [esp + 0x10]
push 0x591892bc
push edx
push esi
call fcn.5900f930
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
jne 0x590458c3
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xbc]
push edx
push eax
push ecx
jmp 0x59045c77
mov edi, 0x591892bc
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebp, ecx
sub edx, ebp
test edx, edx
jg 0x590458ff
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xbc]
push edx
push eax
push ecx
jmp 0x59045c77
mov edx, dword [esp + 0x18]
push str.smsg
push edx
call fcn.59088717
add esp, 8
test eax, eax
jne 0x590459a9
mov eax, dword [esp + 0x10]
lea ecx, [esi + ebp]
sub eax, ebp
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.590a5cf0
push 0x5918d814
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0xa
call fcn.590a7420
cmp eax, 0xffffffff
je 0x5904597c
lea edx, [esp + 0x64]
push eax
push edx
lea ecx, [esp + 0x40]
call fcn.590a8980
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xac], 0xb
call fcn.590a63d0
lea ecx, [esp + 0x64]
mov byte [esp + 0xa8], 0xa
call fcn.590a6240
jmp 0x5904598a
lea eax, [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.590a63d0
push str._hotmail.com
lea ecx, [esp + 0x20]
call fcn.590a6e90
lea ecx, [esp + 0x38]
mov byte [esp + 0xa8], 9
call fcn.590a6240
lea ecx, [esp + 0x18]
call fcn.590a20c0
push str.ATTFILE
lea ecx, [esp + 0x1c]
call fcn.590a2040
cmp eax, 0xffffffff
je 0x59045c5b
mov ecx, dword [esp + 0x10]
push str.filename_
push ecx
push esi
call fcn.5900f930
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x59045c5b
mov edi, str.filename_
or ecx, 0xffffffff
xor eax, eax
push 0x591888e8
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
dec ecx
add edx, ecx
sub eax, edx
lea edi, [edx + esi]
push eax
push edi
call fcn.5900f930
add esp, 0xc
cmp eax, 0xffffffff
je 0x59045c5b
test eax, eax
je 0x59045c5b
mov ecx, dword [0x5916287c]
mov dword [esp + 0x44], ecx
mov edx, dword [0x59162880]
mov byte [esp + 0xa8], 0xc
mov dword [esp + 0x20], edx
push eax
push edi
lea ecx, [esp + 0x7c]
mov byte [esp + 0xb0], 0xd
call fcn.590a0970
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 0xe
call fcn.590aa6a0
lea ecx, [esp + 0x74]
mov byte [esp + 0xa8], 0xd
call fcn.590a0ec0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59045c39
push 0x5c
lea ecx, [esp + 0x24]
call fcn.590a73f0
inc eax
lea ecx, [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.590a8530
mov edx, dword [0x59162880]
mov byte [esp + 0xa8], 0xf
mov dword [esp + 0x4c], edx
push 0x2e
lea ecx, [esp + 0x38]
mov byte [esp + 0xac], 0x10
call fcn.590a73f0
cmp eax, 0xffffffff
je 0x59045b01
inc eax
lea ecx, [esp + 0x34]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.590a8530
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xac], 0x11
call fcn.590a63d0
lea ecx, [esp + 0x78]
mov byte [esp + 0xa8], 0x10
call fcn.590a6240
mov ecx, dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0x90]
call fcn.590a0760
lea edx, [esp + 0x70]
push 0x59188bd0
push edx
mov byte [esp + 0xb0], 0x12
call fcn.59059db0
add esp, 8
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xac], 0x13
call fcn.590a1040
lea ecx, [esp + 0x70]
mov byte [esp + 0xa8], 0x12
call fcn.590a0ec0
mov eax, dword [esp + 0xb8]
test eax, eax
jne 0x59045b95
mov eax, dword [esp + 0x44]
push 0x180
push 0x8101
push eax
call fcn.5908928d
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x59045c03
mov ecx, dword [esp + 0x10]
add esi, ebp
sub ecx, ebp
push ecx
push esi
push edi
call fcn.5908909d
push edi
call fcn.59088fbd
add esp, 0x10
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x94]
sub eax, ebp
lea ecx, [esp + 0x90]
push eax
push edx
call fcn.590b3c80
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x50]
push eax
call fcn.590a5940
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x50]
push ecx
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb0], 0x14
call fcn.590ac1d0
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x84]
call fcn.590ac1d0
lea ecx, [esp + 0x50]
mov byte [esp + 0xa8], 0x12
call fcn.590a6240
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa8], 0x10
call fcn.590a0ec0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 0xf
call fcn.590a6240
lea ecx, [esp + 0x34]
mov byte [esp + 0xa8], 0xd
call fcn.590a6240
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 0xc
call fcn.590a6240
lea ecx, [esp + 0x44]
mov byte [esp + 0xa8], 9
call fcn.590a0ec0
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x10]
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0xbc]
push ecx
push edx
push eax
push ebx
call fcn.5900d630
add esp, 0x18
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0xa8], 8
call fcn.590a0ec0
mov ebp, dword [esp + 0xb4]
test esi, esi
jne 0x5904581d
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 8]
mov ecx, dword [esp + 0x58]
test eax, eax
jne 0x59045ce5
mov edx, dword [esp + 0x30]
mov eax, dword [edx - 8]
test eax, eax
jne 0x59045ce5
mov eax, dword [esp + 0x48]
mov edx, dword [eax - 8]
test edx, edx
jne 0x59045ce5
mov edx, dword [esp + 0x3c]
mov eax, dword [edx - 8]
test eax, eax
jne 0x59045ce5
test ecx, ecx
jne 0x59045ce5
mov eax, dword [esp + 0x40]
mov edx, dword [eax - 8]
test edx, edx
je 0x59045db1
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x59045cfb
mov dword [eax], 1
jmp 0x59045db1
test ecx, ecx
je 0x59045db1
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.59059db0
lea edx, [esp + 0x84]
mov ecx, dword [esp + 0x24]
push 1
lea eax, [esp + 0x60]
push edx
mov edx, dword [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push edx
mov byte [esp + 0xdc], 0x15
call fcn.5900c690
add esp, 0x34
test eax, eax
je 0x59045da0
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
push edi
push esi
push eax
call fcn.5900c480
add esp, 0xc
test eax, eax
je 0x59045da0
push 0
lea ecx, [esp + 0x94]
push 0
lea edx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x60]
push edx
push eax
mov edx, dword [esp + 0x28]
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 2
push 1
push edx
push edi
push esi
call fcn.5900e750
add esp, 0x44
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 8
call fcn.590a0ec0
lea ecx, [esp + 0x90]
mov byte [esp + 0xa8], 7
call fcn.590b3a50
lea ecx, [esp + 0x48]
mov byte [esp + 0xa8], 6
call fcn.590a6240
lea ecx, [esp + 0x40]
mov byte [esp + 0xa8], 5
call fcn.590a6240
lea ecx, [esp + 0x30]
mov byte [esp + 0xa8], 4
call fcn.590a6240
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 3
call fcn.590a6240
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa8], 2
call fcn.590a6240
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 1
call fcn.590a6240
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 0
call fcn.590abbd0
lea ecx, [esp + 0x54]
mov dword [esp + 0xa8], 0xffffffff
call fcn.590abbd0
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret