Function at 0x10039cc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051f2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 0x24]
mov dword [ebx], 0x10056a70
mov ecx, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x20], 0x10056a58
call fcn.10038360
mov dword [edi + 4], eax
mov byte [eax + 0x19], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
xor esi, esi
mov dword [eax + 8], eax
mov dword [edi + 8], esi
lea edi, [ebx + 0x34]
mov ecx, edi
mov dword [ebp - 4], esi
mov dword [ebx + 0x30], 0x10056a58
call fcn.10038360
mov dword [edi + 4], eax
mov byte [eax + 0x19], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], esi
mov eax, 0x10056a54
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x6c], esi
mov dword [ebx + 0x70], esi
mov dword [ebx + 0x74], esi
mov dword [ebx + 0x78], esi
mov dword [ebx + 0x7c], esi
mov dword [ebx + 0x80], esi
mov dword [ebx + 0x84], esi
mov dword [ebx + 0x88], esi
mov dword [ebx + 0x8c], esi
mov dword [ebx + 0x90], esi
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x98], esi
mov dword [ebx + 0x9c], esi
mov dword [ebx + 0xa0], esi
mov dword [ebx + 0xa4], esi
mov dword [ebx + 0xa8], esi
mov dword [ebx + 0xac], esi
mov dword [ebx + 0xb0], esi
mov dword [ebx + 0xb4], esi
mov dword [ebx + 0xb8], esi
mov dword [ebx + 0xbc], esi
mov dword [ebx + 0xc0], esi
mov dword [ebx + 0xc4], esi
mov dword [ebx + 0xc8], esi
mov dword [ebx + 4], esi
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x50], esi
mov dword [ebx + 0x54], esi
mov dword [ebx + 0x58], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov byte [ebp - 4], 4
call fcn.100378e0
cmp eax, esi
mov dword [ebx + 8], eax
je 0x10039ee0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10039e20
sub eax, edx
add eax, 0x1f
push eax
call fcn.10041c87
add esp, 4
cmp eax, esi
mov dword [ebx + 0x14], eax
jne 0x10039e51
push 0x1005e97c
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], str.Out_of_memory
call fcn.1004166e
mov ecx, dword [str.multipart_form_data__boundary]
mov edx, eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x10039e60
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0x14]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10039e72
sub eax, esi
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10039e80
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 8]
lea ecx, [ebx + 0x10]
push ecx
push edx
mov ecx, ebx
call fcn.10039410
mov dword [ebx + 0xc], eax
jmp 0x10039ede
xor esi, esi
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0xcc], esi
mov dword [ebx + 0xd0], esi
mov dword [ebx + 0xd4], esi
mov dword [ebx + 0xd8], esi
mov dword [ebx + 0xdc], esi
mov dword [ebx + 0xe0], esi
mov dword [ebx + 0xe4], esi
mov dword [ebx + 0xe8], esi
mov dword [ebx + 0xec], esi
mov dword [ebx + 0xf4], esi
pop edi
mov dword [ebx + 0xf0], 1
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret