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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x591524eb
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
mov esi, dword [esp + 0x9c]
test esi, esi
push edi
je 0x5904017d
mov dword [esi], 0
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
test ebp, ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
je 0x59040878
test ebx, ebx
je 0x59040878
mov edi, 0x5918986c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5918986c
push ebx
push ebp
call fcn.5900d550
add esp, 0x10
cmp eax, 0xffffffff
jne 0x590401dd
push esi
push 0
push 0
push 0
push ebx
push ebp
call fcn.59016830
add esp, 0x18
jmp 0x59040878
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.590a1d90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
xor edi, edi
push 0x59187bc8
push ecx
mov dword [esp + 0x9c], edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], edi
call fcn.590a67d0
mov byte [esp + 0x90], 1
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x59040263
lea eax, [esp + 0x20]
lea ecx, [esp + 0x44]
push eax
push 0x59187bc8
push ecx
lea ecx, [esp + 0x24]
inc edi
call fcn.590a67d0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 2
call fcn.590a2460
lea ecx, [esp + 0x44]
mov byte [esp + 0x90], 1
call fcn.590a22e0
cmp edi, 4
jl 0x59040215
jmp 0x5904026c
cmp edi, 4
jl 0x59040842
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x59040842
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.590a18b0
lea ecx, [esp + 0x48]
mov byte [esp + 0x94], 1
push ecx
call fcn.5900b260
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 4
call fcn.590a2460
lea ecx, [esp + 0x44]
mov byte [esp + 0x90], 1
call fcn.590a22e0
mov edx, dword [esp + 0x10]
push str.NULL
push edx
call fcn.59089b37
add esp, 8
test eax, eax
je 0x59040842
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
call fcn.590a6d60
push str._mail.china.com
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 5
call fcn.590a82b0
push str.Content_Type:_multipart_form_data__boundary
push ebx
push ebp
call fcn.5900f7b0
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x5904082f
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
add edx, ecx
mov ecx, ebx
sub ecx, edx
lea esi, [edx + ebp]
push ecx
push esi
mov dword [esp + 0x44], esi
call fcn.5900f7b0
or edi, 0xffffffff
add esp, 0xc
cmp eax, edi
mov dword [esp + 0x2c], eax
je 0x59040367
push 0x5918a2d4
push ebx
push ebp
call fcn.5900f7b0
mov edx, eax
add esp, 0xc
cmp edx, edi
jne 0x59040395
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 1
call fcn.590a7660
lea ecx, [esp + 0x10]
mov byte [esp + 0x90], 0
call fcn.590a22e0
mov dword [esp + 0x90], edi
jmp 0x5904086f
mov edi, 0x5918a2d4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], eax
add edx, ecx
mov ecx, dword [esp + 0x2c]
add ebp, edx
sub ebx, edx
mov dword [esp + 0x14], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
push ecx
push esi
push ebx
push ebp
call fcn.5900d4b0
add esp, 0x18
lea ecx, [esp + 0x78]
mov esi, eax
call fcn.590acfe0
lea ecx, [esp + 0x58]
mov byte [esp + 0x90], 6
call fcn.590acfe0
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 7
call fcn.590b4e60
test esi, esi
mov byte [esp + 0x90], 8
je 0x59040735
mov eax, dword [esp + 0x14]
test eax, eax
je 0x59040735
mov edx, dword [0x591638bc]
mov dword [esp + 0x28], edx
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
push ecx
push esi
mov byte [esp + 0x9c], 9
call fcn.5900f6b0
add esp, 0xc
test eax, eax
jne 0x59040457
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
jmp 0x59040710
mov eax, dword [esp + 0x14]
push 0x5918a2d4
push eax
push esi
call fcn.5900f7b0
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
jne 0x5904048a
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
jmp 0x59040710
mov edi, 0x5918a2d4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
dec ecx
add edx, ecx
sub eax, edx
mov dword [esp + 0x40], edx
test eax, eax
jg 0x590404c2
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
jmp 0x59040710
lea ecx, [esp + 0x28]
call fcn.590a34e0
push str.UPLOADFILENAME
lea ecx, [esp + 0x2c]
call fcn.590a3460
cmp eax, 0xffffffff
je 0x590406fc
mov edx, dword [esp + 0x14]
push str.filename_
push edx
push esi
call fcn.5900f7b0
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x590406fc
mov edi, str.filename_
or ecx, 0xffffffff
xor eax, eax
push 0x59189900
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
add edx, ecx
sub eax, edx
lea edi, [edx + esi]
push eax
push edi
call fcn.5900f7b0
add esp, 0xc
cmp eax, 0xffffffff
je 0x590406fc
test eax, eax
je 0x590406fc
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.590a1d90
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x90], 0xa
mov eax, dword [ecx - 8]
test eax, eax
je 0x590406eb
push 0x5c
lea ecx, [esp + 0x28]
call fcn.590a3430
inc eax
lea edx, [esp + 0x34]
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.590a44d0
mov eax, dword [0x591638bc]
mov byte [esp + 0x90], 0xb
mov dword [esp + 0x44], eax
push 0x2e
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 0xc
call fcn.590a3430
cmp eax, 0xffffffff
je 0x590405d3
inc eax
lea ecx, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.590a44d0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x94], 0xd
call fcn.590a2460
lea ecx, [esp + 0x48]
mov byte [esp + 0x90], 0xc
call fcn.590a22e0
lea edx, [esp + 0x4c]
push 0x59189be8
push edx
call fcn.590593f0
add esp, 8
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 0xe
call fcn.590a2460
lea ecx, [esp + 0x4c]
mov byte [esp + 0x90], 0xc
call fcn.590a22e0
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x59040652
mov eax, dword [esp + 0x24]
push 0x180
push 0x8101
push eax
call fcn.5908a6ad
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x590406c9
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
sub ecx, eax
add esi, eax
push ecx
push esi
push edi
call fcn.5908a4bd
push edi
call fcn.5908a3dd
add esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x6c]
sub eax, ecx
push eax
push edx
lea ecx, [esp + 0x70]
call fcn.590b50a0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x30]
push eax
call fcn.590a6d60
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x80]
mov byte [esp + 0x98], 0xf
call fcn.590ad5f0
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x30]
push eax
call fcn.590a79c0
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x60]
call fcn.590ad5f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 0xc
call fcn.590a7660
lea ecx, [esp + 0x44]
mov byte [esp + 0x90], 0xb
call fcn.590a22e0
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], 0xa
call fcn.590a22e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 9
call fcn.590a22e0
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
push ebx
push ebp
call fcn.5900d4b0
add esp, 0x18
lea ecx, [esp + 0x28]
mov esi, eax
mov byte [esp + 0x90], 8
call fcn.590a22e0
test esi, esi
jne 0x59040409
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x590407fc
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x59040757
mov dword [eax], 1
jmp 0x590407fc
lea ecx, [esp + 0x3c]
push 0
push ecx
call fcn.590593f0
lea edx, [esp + 0x60]
mov ecx, dword [esp + 0x24]
push 1
lea eax, [esp + 0x64]
push edx
mov edx, dword [esp + 0x4c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push edx
mov byte [esp + 0xc4], 0x10
call fcn.5900c510
add esp, 0x34
test eax, eax
je 0x590407eb
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x3c]
push edi
push esi
push eax
call fcn.5900c300
add esp, 0xc
test eax, eax
je 0x590407eb
push 0
lea ecx, [esp + 0x6c]
push 0
lea edx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x64]
push edx
push eax
mov edx, dword [esp + 0x50]
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.5900e5d0
add esp, 0x44
lea ecx, [esp + 0x3c]
mov byte [esp + 0x90], 8
call fcn.590a22e0
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 7
call fcn.590b4e70
lea ecx, [esp + 0x58]
mov byte [esp + 0x90], 6
call fcn.590acff0
lea ecx, [esp + 0x78]
mov byte [esp + 0x90], 5
call fcn.590acff0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 1
call fcn.590a7660
jmp 0x59040853
push esi
push 0
push 0
push 0
push ebx
push ebp
call fcn.59016830
add esp, 0x18
lea ecx, [esp + 0x10]
mov byte [esp + 0x90], 0
call fcn.590a22e0
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.590a22e0
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x84
ret