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

Disassembly:
push 0xffffffffffffffff
push 0x5de47e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov edi, 7
cmp dword [esi + 0x28], ebx
jne 0x461933
mov ecx, dword [esi + 0x3c]
sub ecx, dword [esi + 0x38]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], ebx
je 0x461933
mov dword [esp + 0x1c], ebx
mov ecx, dword [esi + 0x3c]
sub ecx, dword [esi + 0x38]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x18], ecx
jb 0x461728
call fcn.00579468
mov eax, dword [esi + 0x38]
add eax, dword [esp + 0x1c]
lea ecx, [esp + 0x7c]
push eax
call fcn.00460af0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xa0]
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0xec], ebx
mov word [ecx + 4], dx
call fcn.00439be0
mov ecx, esi
call fcn.00461130
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 1
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x5f3528
mov word [ecx + 4], dx
call fcn.00439ce0
mov ecx, esi
call fcn.00461130
xor edx, edx
cmp dword [esp + 0xcc], 0xfde9
mov dword [esp + 0x20], ebx
jne 0x4617d8
lea eax, [esp + 0x20]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xc0]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00439be0
mov ecx, esi
call fcn.004614b0
jmp 0x461807
lea ecx, [esp + 0x20]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xc0]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00439be0
mov ecx, esi
call fcn.00460f10
mov ebp, dword [esp + 0x20]
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov eax, ebp
mov word [ecx + 4], dx
lea edx, [eax + 2]
mov dword [esp + 0x30], esp
mov dword [esp + 0x30], edx
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x461830
sub eax, dword [esp + 0x30]
sar eax, 1
push eax
push ebp
call fcn.00439ce0
mov ecx, esi
call fcn.00461130
push ebp
call fcn.00579478
mov ecx, dword [esi + 0x3c]
sub ecx, dword [esi + 0x38]
mov ebp, dword [esp + 0x1c]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add esp, 4
lea ecx, [edx + eax - 1]
sub esp, 0x1c
cmp ebp, ecx
mov ecx, esp
mov dword [esp + 0x30], esp
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
jne 0x461898
xor edx, edx
push ebx
mov word [ecx + 4], dx
push 0x5f3524
jmp 0x4618a5
xor eax, eax
push 1
mov word [ecx + 4], ax
push 0x5f3520
call fcn.00439ce0
mov ecx, esi
call fcn.00461130
cmp dword [esp + 0xb0], 8
mov dword [esp + 0xc4], 0xffffffff
jb 0x4618d6
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.00506f70
add esp, 4
xor edx, edx
cmp dword [esp + 0x94], 8
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], dx
jb 0x461908
mov eax, dword [esp + 0x80]
push eax
call fcn.00506f70
add esp, 4
mov ecx, dword [esi + 0x3c]
sub ecx, dword [esi + 0x38]
add dword [esp + 0x1c], 0x3c
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
inc ebp
add ecx, edx
mov dword [esp + 0x18], ebp
cmp ebp, ecx
jb 0x461704
cmp dword [esi + 0x28], 1
jne 0x461d1f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xf
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.____903923bdb_r_n
mov word [ecx + 4], dx
call fcn.00439ce0
mov ecx, esi
call fcn.00461130
mov ecx, dword [esi + 0x3c]
sub ecx, dword [esi + 0x38]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], ebx
je 0x461d1f
mov dword [esp + 0x1c], ebx
mov ecx, dword [esi + 0x3c]
sub ecx, dword [esi + 0x38]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x18], ecx
jb 0x4619b0
call fcn.00579468
mov eax, dword [esi + 0x38]
add eax, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
push eax
call fcn.00460af0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x26
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.Content_Disposition:_form_data__name_
mov dword [esp + 0xe8], 1
mov word [ecx + 4], dx
call fcn.00439ce0
mov ecx, esi
call fcn.00461130
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x64]
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov word [ecx + 4], ax
call fcn.00439be0
mov ecx, esi
call fcn.00461130
cmp dword [esp + 0x78], ebx
jne 0x461b3c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 5
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.__r_n_r_n
mov word [ecx + 4], ax
call fcn.00439ce0
mov ecx, esi
call fcn.00461130
cmp dword [esp + 0xcc], 0xfde9
jne 0x461ae8
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
push 0xfde9
lea ecx, [esp + 0x28]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x88]
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0xf4], 2
mov word [ecx + 4], dx
call fcn.00439be0
mov ecx, esi
call fcn.00460c10
mov ecx, dword [esp + 0x28]
mov ebp, 0x10
cmp dword [esp + 0x3c], ebp
jae 0x461ac1
lea ecx, [esp + 0x28]
dec eax
push eax
push ecx
mov ecx, esi
call fcn.00460980
mov byte [esp + 0xc4], 1
cmp dword [esp + 0x3c], ebp
jb 0x461b14
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00506f70
add esp, 4
jmp 0x461b14
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x80]
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00439be0
mov ecx, esi
call fcn.00461130
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 2
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x5f349c
mov word [ecx + 4], dx
call fcn.00439ce0
mov ecx, esi
call fcn.00461130
cmp dword [esp + 0x78], 1
jne 0x461c53
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xd
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.___filename_
mov word [ecx + 4], ax
call fcn.00439ce0
mov ecx, esi
call fcn.00461130
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x80]
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00439be0
mov ecx, esi
call fcn.00461130
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 3
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x5f3478
mov word [ecx + 4], dx
call fcn.00439ce0
mov ecx, esi
call fcn.00461130
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x1d
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.Content_Type:_image_pjpeg_r_n_r_n
mov word [ecx + 4], ax
call fcn.00439ce0
mov ecx, esi
call fcn.00461130
cmp dword [esp + 0x74], 8
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
jae 0x461c02
lea eax, [esp + 0x60]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.004608d0
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
push eax
push ebp
mov ecx, esi
call fcn.00460980
push ebp
call fcn.00579478
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push 2
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x5f349c
mov word [ecx + 4], dx
call fcn.00439ce0
mov ecx, esi
call fcn.00461130
mov ecx, dword [esi + 0x3c]
sub ecx, dword [esi + 0x38]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax - 1]
sub esp, 0x1c
cmp dword [esp + 0x34], ecx
mov ecx, esp
mov dword [esp + 0x30], esp
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
jne 0x461c92
xor edx, edx
push 0x11
mov word [ecx + 4], dx
push str.____903923bdb___r_n
jmp 0x461c9f
xor eax, eax
push 0xf
mov word [ecx + 4], ax
push str.____903923bdb_r_n
call fcn.00439ce0
mov ecx, esi
call fcn.00461130
mov ebp, 8
mov dword [esp + 0xc4], 0xffffffff
cmp dword [esp + 0x74], ebp
jb 0x461cce
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00506f70
add esp, 4
xor edx, edx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], dx
cmp dword [esp + 0x58], ebp
jb 0x461cf0
mov eax, dword [esp + 0x44]
push eax
call fcn.00506f70
add esp, 4
mov ecx, dword [esi + 0x3c]
sub ecx, dword [esi + 0x38]
mov ebp, dword [esp + 0x18]
add dword [esp + 0x1c], 0x3c
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
inc ebp
add ecx, edx
mov dword [esp + 0x18], ebp
cmp ebp, ecx
jb 0x46198c
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.005792fc
add esp, 0xb4
ret 4