Function at 0x404870
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x476478]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], 0
mov eax, dword [0x476478]
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
mov eax, dword [0x476478]
mov dword [esi + 8], eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0x10]
lea eax, [ecx + 0x18]
mov dword [ecx], 0x462730
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov dword [eax + 0x10], 0
mov byte [ebp - 4], 3
mov dword [eax + 0x10], 0
mov byte [ebp - 4], 4
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov byte [ebp - 4], 5
mov eax, dword [0x476478]
mov dword [esi + 0x54], eax
mov byte [ebp - 4], 6
lea ecx, [esi + 0x64]
call fcn.00405180
mov byte [ebp - 4], 7
mov eax, dword [0x476478]
mov dword [esi + 0xcc], eax
mov byte [ebp - 4], 8
mov eax, dword [0x476478]
mov dword [esi + 0xd0], eax
mov byte [ebp - 4], 9
mov eax, dword [0x476478]
mov dword [esi + 0xd4], eax
mov byte [ebp - 4], 0xa
lea ebx, [esi + 0xd8]
mov eax, dword [0x476478]
mov dword [ebx], eax
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0xdc]
mov eax, dword [0x476478]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
mov byte [ebp - 4], 0xc
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.AaB03x5fs1045fcc7
mov dword [esi + 0x58], 0
mov dword [esi + 0x50], 0
call edi
push eax
lea ecx, [esi + 0xdc]
mov dword [ebp - 0x18], eax
call fcn.0040a880
test eax, eax
je 0x4049de
mov eax, dword [ebp - 0x18]
lea esi, [eax + eax]
push esi
push str.AaB03x5fs1045fcc7
lea eax, [esi + 2]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
call fcn.00445948
mov ecx, dword [ebp - 0x14]
add esp, 0x10
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [eax - 8], edx
mov eax, dword [ecx]
xor ecx, ecx
mov word [esi + eax], cx
push str.___s_r_nContent_disposition:_form_data__name__s__r_n_r_n
call edi
mov ecx, dword [ebp - 0x10]
mov esi, eax
push esi
mov dword [ebp - 0x18], esi
lea ecx, [ecx + 0xd4]
call fcn.0040a880
test eax, eax
je 0x404a35
mov ecx, dword [ebp - 0x10]
add esi, esi
push esi
push str.___s_r_nContent_disposition:_form_data__name__s__r_n_r_n
lea eax, [esi + 2]
push eax
push dword [ecx + 0xd4]
call fcn.00445948
mov ecx, dword [ebp - 0x10]
add esp, 0x10
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 0xd4]
mov dword [eax - 8], edx
mov eax, dword [ecx + 0xd4]
xor ecx, ecx
mov word [esi + eax], cx
push 0x4615dc
call edi
mov esi, eax
mov ecx, ebx
push esi
mov dword [ebp - 0x18], esi
call fcn.0040a880
test eax, eax
je 0x404a73
add esi, esi
push esi
push 0x4615dc
lea eax, [esi + 2]
push eax
push dword [ebx]
call fcn.00445948
mov eax, dword [ebx]
add esp, 0x10
mov ecx, dword [ebp - 0x18]
mov dword [eax - 8], ecx
xor ecx, ecx
mov eax, dword [ebx]
mov word [esi + eax], cx
push str.___s_r_nContent_disposition:_form_data__name__s___filename__s__r_nContent_Type:__s_r_nContent_Transfer_Encoding:_binary_r_n_r_n
call edi
mov esi, dword [ebp - 0x10]
mov ebx, eax
push ebx
lea ecx, [esi + 0xcc]
call fcn.0040a880
test eax, eax
je 0x404ac8
mov ecx, dword [ebp - 0x10]
lea esi, [ebx + ebx]
push esi
push str.___s_r_nContent_disposition:_form_data__name__s___filename__s__r_nContent_Type:__s_r_nContent_Transfer_Encoding:_binary_r_n_r_n
lea eax, [esi + 2]
push eax
push dword [ecx + 0xcc]
call fcn.00445948
mov ecx, dword [ebp - 0x10]
add esp, 0x10
mov eax, dword [ecx + 0xcc]
mov dword [eax - 8], ebx
mov eax, dword [ecx + 0xcc]
xor ecx, ecx
mov word [esi + eax], cx
mov esi, dword [ebp - 0x10]
push 0x4615dc
call edi
mov edi, eax
lea ebx, [esi + 0xd0]
push edi
mov ecx, ebx
call fcn.0040a880
test eax, eax
je 0x404b22
lea esi, [edi + edi]
push esi
push 0x4615dc
lea eax, [esi + 2]
push eax
push dword [ebx]
call fcn.00445948
mov eax, dword [ebx]
add esp, 0x10
xor ecx, ecx
mov dword [eax - 8], edi
mov eax, dword [ebx]
mov word [esi + eax], cx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret