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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5913f998
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x60
test eax, eax
je 0x590395b6
mov dword [eax], 0
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x78]
push esi
push edi
test ebp, ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
je 0x59039ade
test ebx, ebx
je 0x59039ade
push str.Content_Type:_multipart_form_data__boundary
push ebx
push ebp
call fcn.5900f220
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x59039ade
mov edi, str.Content_Type:_multipart_form_data__boundary
or ecx, 0xffffffff
xor eax, eax
push 0x591732f4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ebx
add edx, ecx
sub eax, edx
lea esi, [edx + ebp]
push eax
push esi
mov dword [esp + 0x30], esi
call fcn.5900f220
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x59039ade
push 0x59173d00
push ebx
push ebp
call fcn.5900f220
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x59039ade
mov edi, 0x59173d00
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], eax
add edx, ecx
lea ecx, [esp + 0x80]
add ebp, edx
sub ebx, edx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
push esi
push ebx
push ebp
call fcn.5900cf20
add esp, 0x18
lea ecx, [esp + 0x40]
mov esi, eax
call fcn.5909fd90
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], 0
call fcn.5909fd90
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 1
call fcn.590a6450
test esi, esi
mov byte [esp + 0x78], 2
je 0x590399e4
mov eax, dword [esp + 0x80]
test eax, eax
je 0x590399e4
mov ecx, dword [0x5914f84c]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
lea eax, [esp + 0x80]
push edx
push eax
push esi
mov byte [esp + 0x84], 3
call fcn.5900f120
add esp, 0xc
test eax, eax
je 0x590399ab
mov edx, dword [esp + 0x80]
push 0x59173d00
push edx
push esi
call fcn.5900f220
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
jne 0x59039732
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x80]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
jmp 0x590399c2
mov edi, 0x59173d00
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
mov ecx, dword [esp + 0x80]
sub ecx, edx
mov dword [esp + 0x28], edx
test ecx, ecx
jg 0x59039770
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x80]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
jmp 0x590399c2
lea ecx, [esp + 0x10]
call fcn.59096290
push str.LOAD
lea ecx, [esp + 0x14]
call fcn.59096210
cmp eax, 0xffffffff
je 0x590399ab
mov eax, dword [esp + 0x80]
push str.filename_
push eax
push esi
call fcn.5900f220
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x590399ab
mov edi, str.filename_
or ecx, 0xffffffff
xor eax, eax
push 0x59173354
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
mov ecx, dword [esp + 0x84]
sub ecx, edx
lea edi, [edx + esi]
push ecx
push edi
call fcn.5900f220
add esp, 0xc
cmp eax, 0xffffffff
je 0x590399ab
test eax, eax
je 0x590399ab
push eax
push edi
lea ecx, [esp + 0x8c]
call fcn.59094b40
mov edx, dword [esp + 0x84]
mov byte [esp + 0x78], 4
mov eax, dword [edx - 8]
test eax, eax
je 0x5903999a
push 0x5c
lea ecx, [esp + 0x88]
call fcn.590961e0
inc eax
lea ecx, [esp + 0x84]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.59097280
mov ecx, dword [0x5914f84c]
mov byte [esp + 0x78], 5
mov dword [esp + 0x2c], ecx
push 0x2e
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 6
call fcn.590961e0
cmp eax, 0xffffffff
je 0x59039885
inc eax
lea edx, [esp + 0x30]
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.59097280
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 7
call fcn.59095210
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 6
call fcn.59095090
lea eax, [esp + 0x34]
push 0x59173628
push eax
call fcn.5904fff0
add esp, 8
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x7c], 8
call fcn.59095210
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 6
call fcn.59095090
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x59039907
mov ecx, dword [esp + 0x84]
push 0x180
push 0x8101
push ecx
call fcn.5907d46d
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x5903997e
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x28]
sub edx, eax
add esi, eax
push edx
push esi
push edi
call fcn.5907d27d
push edi
call fcn.5907d19d
add esp, 0x10
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x28]
sub eax, esi
lea ecx, [esp + 0x60]
push eax
mov eax, dword [esp + 0x68]
push eax
call fcn.590a6690
mov ecx, dword [esp + 0x84]
push ecx
lea ecx, [esp + 0x20]
call fcn.59099b10
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 9
call fcn.590a03a0
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
call fcn.5909a770
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x58]
call fcn.590a03a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 6
call fcn.5909a410
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 5
call fcn.59095090
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 4
call fcn.59095090
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], 3
call fcn.59095090
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x80]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
push ebx
push ebp
call fcn.5900cf20
add esp, 0x18
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x78], 2
call fcn.59095090
test esi, esi
jne 0x590396ba
mov eax, dword [esp + 0x44]
test eax, eax
je 0x59039ab1
mov eax, dword [esp + 0x88]
test eax, eax
je 0x59039a06
mov dword [eax], 1
jmp 0x59039ab1
lea edx, [esp + 0x88]
push 0
push edx
call fcn.5904fff0
lea eax, [esp + 0x58]
push 1
lea ecx, [esp + 0x4c]
mov edx, dword [esp + 0x94]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
mov byte [esp + 0xac], 0xa
call fcn.5900bf80
add esp, 0x34
test eax, eax
je 0x59039aa0
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x88]
push edi
push esi
push eax
call fcn.5900bd70
add esp, 0xc
test eax, eax
je 0x59039aa0
push 0
lea ecx, [esp + 0x64]
push 0
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov ecx, dword [esp + 0x9c]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 2
push 1
push ecx
push edi
push esi
call fcn.5900e040
add esp, 0x44
lea ecx, [esp + 0x88]
mov byte [esp + 0x78], 2
call fcn.59095090
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 1
call fcn.590a6460
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 0
call fcn.5909fda0
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
call fcn.5909fda0
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret