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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5914b94b
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x78
test eax, eax
je 0x590100b6
mov dword [eax], 0
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
mov ebp, dword [esp + 0x94]
push esi
push edi
test ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebp
je 0x590107e5
test ebp, ebp
je 0x590107e5
mov edi, 0x5918a2dc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5918a2dc
push ebp
push ebx
call fcn.5900d550
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
je 0x590107e5
mov edi, 0x5918a2dc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
add edx, esi
xor esi, esi
add edx, ebx
cmp byte [edx], 0xd
je 0x59010158
mov ecx, dword [esp + 0x1c]
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x40], eax
mov edi, 0x5918a2dc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x40]
not ecx
dec ecx
sub eax, ecx
cmp esi, eax
jge 0x59010158
mov al, byte [esi + edx + 1]
inc esi
cmp al, 0xd
jne 0x59010136
mov edi, 0x5918a2dc
or ecx, 0xffffffff
xor eax, eax
mov edx, ebp
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x1c]
not ecx
dec ecx
sub edx, eax
sub edx, ecx
cmp esi, edx
jge 0x590107e5
test esi, esi
jle 0x590107e5
mov eax, dword [0x591638c0]
mov dword [esp + 0x10], eax
mov edi, str.Cookie:_User
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x90], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Cookie:_User
push ebp
push ebx
call fcn.5900d550
mov edx, eax
add esp, 0x10
cmp edx, 0xffffffff
je 0x59010228
mov edi, str.Cookie:_User
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
xor edx, edx
add ecx, ebx
test ebp, ebp
jle 0x590101e8
mov al, byte [ecx + edx]
cmp al, 0x3b
je 0x590101e8
cmp al, 0xd
je 0x590101e8
cmp al, 0xa
je 0x590101e8
inc edx
cmp edx, ebp
jl 0x590101d4
push edx
push ecx
lea ecx, [esp + 0x44]
call fcn.590a7110
lea ecx, [esp + 0x3c]
mov byte [esp + 0x90], 1
push ecx
lea ecx, [esp + 0x14]
call fcn.590a77f0
push str._htc.net.cn
lea ecx, [esp + 0x14]
call fcn.590a82b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x90], 0
call fcn.590a7660
push str.Content_Type:_multipart_form_data__boundary
push ebp
push ebx
call fcn.5900f7b0
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
jne 0x59010258
push 0x5918a2fc
push ebp
push ebx
call fcn.5900f7b0
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x590107d1
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, ebp
add edx, ecx
sub eax, edx
lea esi, [edx + ebx]
push eax
push esi
mov dword [esp + 0x40], esi
call fcn.5900f7b0
or edi, 0xffffffff
add esp, 0xc
cmp eax, edi
mov dword [esp + 0x2c], eax
jne 0x5901029a
mov dword [esp + 0x90], edi
jmp 0x590107dc
push 0x5918a2d4
push ebp
push ebx
call fcn.5900f7b0
mov edx, eax
add esp, 0xc
cmp edx, edi
jne 0x590102bb
mov dword [esp + 0x90], edi
jmp 0x590107dc
mov edi, 0x5918a2d4
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 + 0x14]
add ebx, edx
sub ebp, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x28]
push ecx
push edx
push eax
push esi
push ebp
push ebx
call fcn.5900d4b0
add esp, 0x18
lea ecx, [esp + 0x58]
mov esi, eax
call fcn.590acfe0
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 2
call fcn.590acfe0
lea ecx, [esp + 0x78]
mov byte [esp + 0x90], 3
call fcn.590b4e60
test esi, esi
mov byte [esp + 0x90], 4
je 0x59010697
mov eax, dword [esp + 0x14]
test eax, eax
je 0x59010697
mov ecx, dword [0x591638bc]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
push esi
mov byte [esp + 0x9c], 5
call fcn.5900f6b0
add esp, 0xc
test eax, eax
jne 0x5901037d
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
jmp 0x59010672
mov edx, dword [esp + 0x14]
push 0x5918a2d4
push edx
push esi
call fcn.5900f7b0
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
jne 0x590103b0
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
jmp 0x59010672
mov edi, 0x5918a2d4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edx
mov dword [esp + 0x1c], edx
test ecx, ecx
jle 0x5901065e
lea ecx, [esp + 0x18]
call fcn.590a34e0
push str.ATTACHMENT
lea ecx, [esp + 0x1c]
call fcn.590a3460
cmp eax, 0xffffffff
je 0x5901065e
mov eax, dword [esp + 0x14]
push str.filename_
push eax
push esi
call fcn.5900f7b0
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x5901065e
mov edi, str.filename_
or ecx, 0xffffffff
xor eax, eax
push 0x59189900
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
mov ecx, dword [esp + 0x18]
sub ecx, edx
lea edi, [edx + esi]
push ecx
push edi
call fcn.5900f7b0
add esp, 0xc
cmp eax, 0xffffffff
je 0x5901065e
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.590a1d90
mov edx, dword [0x591638c0]
mov byte [esp + 0x90], 6
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x24]
mov byte [esp + 0x90], 7
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5901063c
push 0xfde9
push eax
lea ecx, [esp + 0x28]
call fcn.590abac0
lea eax, [esp + 0x20]
push eax
call fcn.5900bc70
add esp, 4
lea ecx, [esp + 0x20]
push 0x5c
call fcn.590a8810
inc eax
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.590a9950
mov edx, dword [0x591638c0]
mov byte [esp + 0x90], 8
mov dword [esp + 0x3c], edx
push 0x2e
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 9
call fcn.590a8810
cmp eax, 0xffffffff
je 0x5901050b
inc eax
lea ecx, [esp + 0x30]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.590a9950
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x94], 0xa
call fcn.590a77f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x90], 9
call fcn.590a7660
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x50]
call fcn.590a1b80
lea edx, [esp + 0x48]
push 0x59189be8
push edx
mov byte [esp + 0x98], 0xb
call fcn.590593f0
add esp, 8
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 0xc
call fcn.590a2460
lea ecx, [esp + 0x48]
mov byte [esp + 0x90], 0xb
call fcn.590a22e0
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x590105a0
mov eax, dword [esp + 0x24]
push 0x180
push 0x8101
push eax
call fcn.5908a6ad
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x59010609
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
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 + 0x1c]
mov edx, dword [esp + 0x7c]
sub eax, ecx
push eax
push edx
lea ecx, [esp + 0x80]
call fcn.590b50a0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x40]
push eax
call fcn.590a6d60
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0x98], 0xd
call fcn.590ad5f0
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.590ad5f0
lea ecx, [esp + 0x40]
mov byte [esp + 0x90], 0xb
call fcn.590a7660
lea ecx, [esp + 0x4c]
mov byte [esp + 0x90], 9
call fcn.590a22e0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x90], 8
call fcn.590a7660
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 7
call fcn.590a7660
lea ecx, [esp + 0x20]
mov byte [esp + 0x90], 6
call fcn.590a7660
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 5
call fcn.590a22e0
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x14]
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
push ebp
push ebx
call fcn.5900d4b0
add esp, 0x18
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x90], 4
call fcn.590a22e0
test esi, esi
jne 0x5901032f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x590106d7
xor esi, esi
test ecx, ecx
jle 0x590106c9
mov ax, word [eax + esi*2]
push eax
call fcn.5908abf0
add esp, 4
test eax, eax
je 0x590106c5
mov eax, dword [esp + 0x10]
inc esi
cmp esi, dword [eax - 8]
jl 0x590106a8
jmp 0x590106c9
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jne 0x590106d7
lea ecx, [esp + 0x10]
call fcn.590a73d0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x5901079e
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x590106f9
mov dword [eax], 1
jmp 0x5901079e
lea eax, [esp + 0x38]
push 0
push eax
call fcn.590593f0
lea ecx, [esp + 0x70]
mov eax, dword [esp + 0x18]
push 1
lea edx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push ecx
mov byte [esp + 0xc4], 0xe
call fcn.5900c510
add esp, 0x34
test eax, eax
je 0x5901078d
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
push edi
push esi
push edx
call fcn.5900c300
add esp, 0xc
test eax, eax
je 0x5901078d
push 0
lea eax, [esp + 0x7c]
push 0
lea ecx, [esp + 0x70]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x64]
push ecx
push edx
mov ecx, dword [esp + 0x4c]
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 2
push 1
push ecx
push edi
push esi
call fcn.5900e5d0
add esp, 0x44
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 4
call fcn.590a22e0
lea ecx, [esp + 0x78]
mov byte [esp + 0x90], 3
call fcn.590b4e70
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 2
call fcn.590acff0
lea ecx, [esp + 0x58]
mov byte [esp + 0x90], 0
call fcn.590acff0
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.590a7660
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret