Function at 0x4048c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52365f
mov eax, dword fs:[0]
push eax
mov eax, 0xc690
call fcn.004e6bd0
mov eax, dword [0x592bb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp + 0x20]
call fcn.004071b0
push eax
call fcn.00404850
add esp, 4
mov dword [ebp - 0xc448], eax
mov dword [ebp - 0xc444], edx
mov eax, dword [ebp - 0xc448]
and eax, dword [ebp - 0xc444]
cmp eax, 0xffffffff
jne 0x404945
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
jmp 0x405291
push 1
lea ecx, [ebp - 0xc4d4]
call fcn.00417310
mov byte [ebp - 4], 2
push 0x581268
lea ecx, [ebp - 0xc378]
call fcn.00407770
mov byte [ebp - 4], 3
push 0x50
lea ecx, [ebp - 0xc378]
push ecx
lea ecx, [ebp - 0xc4d4]
call fcn.00417b80
movzx edx, al
test edx, edx
jne 0x4049ce
lea ecx, [ebp - 0xc4d4]
call fcn.00417da0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc378]
call fcn.00407540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4d4]
call fcn.00417410
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
jmp 0x405291
push str.MD5_0be63cda3bf42193e4303db2c5ac3138
lea ecx, [ebp - 0xc390]
call fcn.00407770
mov byte [ebp - 4], 4
push 1
push 2
lea ecx, [ebp - 0xc604]
call fcn.00407b50
mov byte [ebp - 4], 5
push 1
push 2
lea ecx, [ebp - 0xc69c]
call fcn.00407b50
mov byte [ebp - 4], 6
push 0x5812a4
lea eax, [ebp - 0xc390]
push eax
push 0x5812a8
lea ecx, [ebp - 0xc604]
push ecx
call fcn.0040e3a0
add esp, 8
push eax
call fcn.0040e9a0
add esp, 8
push eax
call fcn.0040e3a0
add esp, 8
push 0x5812ac
lea edx, [ebp + 8]
push edx
push str.Content_Disposition:_form_data__name_file___filename_
lea eax, [ebp - 0xc604]
push eax
call fcn.0040e3a0
add esp, 8
push eax
call fcn.0040e9a0
add esp, 8
push eax
call fcn.0040e3a0
add esp, 8
push str.Content_Type:_application_octet_stream_r_n
lea ecx, [ebp - 0xc604]
push ecx
call fcn.0040e3a0
add esp, 8
push str.Content_Transfer_Encoding:_binary_r_n
lea edx, [ebp - 0xc604]
push edx
call fcn.0040e3a0
add esp, 8
push 0x581338
lea eax, [ebp - 0xc604]
push eax
call fcn.0040e3a0
add esp, 8
push str.___r_n
lea ecx, [ebp - 0xc390]
push ecx
push str._r_n__
lea edx, [ebp - 0xc69c]
push edx
call fcn.0040e3a0
add esp, 8
push eax
call fcn.0040e9a0
add esp, 8
push eax
call fcn.0040e3a0
add esp, 8
push 1
push 2
lea ecx, [ebp - 0xc56c]
call fcn.00407b50
mov byte [ebp - 4], 7
push str.POST__crashdump_upload.php_HTTP_1.1_r_n
lea eax, [ebp - 0xc56c]
push eax
call fcn.0040e3a0
add esp, 8
push 0x581374
lea ecx, [ebp - 0xc390]
push ecx
push str.Content_Type:_multipart_form_data__boundary
lea edx, [ebp - 0xc56c]
push edx
call fcn.0040e3a0
add esp, 8
push eax
call fcn.0040e9a0
add esp, 8
push eax
call fcn.0040e3a0
add esp, 8
push str.User_Agent:_TuxlerExtensionHelperAppManager_1.0_r_n
lea eax, [ebp - 0xc56c]
push eax
call fcn.0040e3a0
add esp, 8
push 0x5813dc
lea ecx, [ebp - 0xc378]
push ecx
push str.Host:
lea edx, [ebp - 0xc56c]
push edx
call fcn.0040e3a0
add esp, 8
push eax
call fcn.0040e9a0
add esp, 8
push eax
call fcn.0040e3a0
add esp, 8
push str.Accept:___r_n
lea eax, [ebp - 0xc56c]
push eax
call fcn.0040e3a0
add esp, 8
push str.Connection:_Close_r_n
lea ecx, [ebp - 0xc56c]
push ecx
call fcn.0040e3a0
add esp, 8
push str.Cache_Control:_no_cache_r_n
lea edx, [ebp - 0xc56c]
push edx
call fcn.0040e3a0
add esp, 8
lea eax, [ebp - 0xc408]
push eax
lea ecx, [ebp - 0xc604]
call fcn.00407ab0
mov dword [ebp - 0xc464], eax
mov ecx, dword [ebp - 0xc464]
mov dword [ebp - 0xc490], ecx
mov byte [ebp - 4], 8
lea edx, [ebp - 0xc420]
push edx
lea ecx, [ebp - 0xc69c]
call fcn.00407ab0
mov dword [ebp - 0xc468], eax
mov eax, dword [ebp - 0xc468]
mov dword [ebp - 0xc494], eax
mov byte [ebp - 4], 9
push 0x581428
mov ecx, dword [ebp - 0xc494]
call fcn.00407190
mov esi, eax
mov ecx, dword [ebp - 0xc490]
call fcn.00407190
add eax, esi
xor ecx, ecx
add eax, dword [ebp - 0xc448]
adc ecx, dword [ebp - 0xc444]
push ecx
push eax
push str.Content_Length:
lea edx, [ebp - 0xc56c]
push edx
call fcn.0040e3a0
add esp, 8
mov ecx, eax
call fcn.00408640
push eax
call fcn.0040e3a0
add esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc420]
call fcn.00407540
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc408]
call fcn.00407540
push 0x581440
lea eax, [ebp - 0xc56c]
push eax
call fcn.0040e3a0
add esp, 8
lea ecx, [ebp - 0xc3f0]
push ecx
lea ecx, [ebp - 0xc604]
call fcn.00407ab0
mov dword [ebp - 0xc48c], eax
mov edx, dword [ebp - 0xc48c]
mov dword [ebp - 0xc488], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xc488]
push eax
lea ecx, [ebp - 0xc56c]
push ecx
call fcn.0040e9a0
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc3f0]
call fcn.00407540
lea edx, [ebp - 0xc3c0]
push edx
lea ecx, [ebp - 0xc56c]
call fcn.00407ab0
mov dword [ebp - 0xc484], eax
mov eax, dword [ebp - 0xc484]
mov dword [ebp - 0xc47c], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc3d8]
push ecx
lea ecx, [ebp - 0xc56c]
call fcn.00407ab0
mov dword [ebp - 0xc480], eax
mov edx, dword [ebp - 0xc480]
mov dword [ebp - 0xc478], edx
mov byte [ebp - 4], 0xc
push 1
push 0x3c
mov ecx, dword [ebp - 0xc47c]
call fcn.004071b0
push eax
mov ecx, dword [ebp - 0xc478]
call fcn.00407190
push eax
lea ecx, [ebp - 0xc4d4]
call fcn.00417d70
movzx eax, al
test eax, eax
jne 0x404d5e
mov dword [ebp - 0xc454], 1
jmp 0x404d68
mov dword [ebp - 0xc454], 0
mov cl, byte [ebp - 0xc454]
mov byte [ebp - 0xc43a], cl
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc3d8]
call fcn.00407540
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc3c0]
call fcn.00407540
movzx edx, byte [ebp - 0xc43a]
test edx, edx
je 0x404e26
lea ecx, [ebp - 0xc4d4]
call fcn.00417da0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc56c]
call fcn.004052b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc69c]
call fcn.004052b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc604]
call fcn.004052b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc390]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc378]
call fcn.00407540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4d4]
call fcn.00417410
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
jmp 0x405291
push 0x581444
lea ecx, [ebp + 0x20]
call fcn.004071b0
push eax
call fcn.00502306
add esp, 8
mov dword [ebp - 0xc440], eax
cmp dword [ebp - 0xc440], 0
jne 0x404ec5
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc56c]
call fcn.004052b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc69c]
call fcn.004052b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc604]
call fcn.004052b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc390]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc378]
call fcn.00407540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4d4]
call fcn.00417410
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
jmp 0x405291
xorps xmm0, xmm0
movlpd qword [ebp - 0xc450], xmm0
mov eax, dword [ebp - 0xc440]
push eax
push 0xc350
push 1
lea ecx, [ebp - 0xc360]
push ecx
call fcn.0050948e
add esp, 0x10
mov dword [ebp - 0xc458], eax
cmp dword [ebp - 0xc458], 0
jbe 0x404fed
mov edx, dword [ebp - 0xc458]
mov dword [ebp - 0xc45c], edx
mov eax, dword [ebp - 0xc45c]
xor ecx, ecx
add eax, dword [ebp - 0xc450]
adc ecx, dword [ebp - 0xc44c]
mov dword [ebp - 0xc450], eax
mov dword [ebp - 0xc44c], ecx
push 1
push 0x3c
lea edx, [ebp - 0xc360]
push edx
mov eax, dword [ebp - 0xc45c]
push eax
lea ecx, [ebp - 0xc4d4]
call fcn.00417d70
movzx ecx, al
test ecx, ecx
jne 0x404fe8
mov edx, dword [ebp - 0xc440]
push edx
call fcn.00505227
add esp, 4
lea ecx, [ebp - 0xc4d4]
call fcn.00417da0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc56c]
call fcn.004052b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc69c]
call fcn.004052b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc604]
call fcn.004052b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc390]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc378]
call fcn.00407540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4d4]
call fcn.00417410
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
jmp 0x405291
jmp 0x404ed0
mov eax, dword [ebp - 0xc450]
cmp eax, dword [ebp - 0xc448]
jne 0x40500d
mov ecx, dword [ebp - 0xc44c]
cmp ecx, dword [ebp - 0xc444]
je 0x4050a1
lea ecx, [ebp - 0xc4d4]
call fcn.00417da0
mov edx, dword [ebp - 0xc440]
push edx
call fcn.00505227
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc56c]
call fcn.004052b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc69c]
call fcn.004052b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc604]
call fcn.004052b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc390]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc378]
call fcn.00407540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4d4]
call fcn.00417410
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
jmp 0x405291
lea eax, [ebp - 0xc438]
push eax
lea ecx, [ebp - 0xc69c]
call fcn.00407ab0
mov dword [ebp - 0xc474], eax
mov ecx, dword [ebp - 0xc474]
mov dword [ebp - 0xc46c], ecx
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0xc3a8]
push edx
lea ecx, [ebp - 0xc69c]
call fcn.00407ab0
mov dword [ebp - 0xc498], eax
mov eax, dword [ebp - 0xc498]
mov dword [ebp - 0xc470], eax
mov byte [ebp - 4], 0xe
push 1
push 0x3c
mov ecx, dword [ebp - 0xc46c]
call fcn.004071b0
push eax
mov ecx, dword [ebp - 0xc470]
call fcn.00407190
push eax
lea ecx, [ebp - 0xc4d4]
call fcn.00417d70
movzx ecx, al
test ecx, ecx
jne 0x40512b
mov dword [ebp - 0xc460], 1
jmp 0x405135
mov dword [ebp - 0xc460], 0
mov dl, byte [ebp - 0xc460]
mov byte [ebp - 0xc439], dl
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xc3a8]
call fcn.00407540
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc438]
call fcn.00407540
movzx eax, byte [ebp - 0xc439]
test eax, eax
je 0x405202
lea ecx, [ebp - 0xc4d4]
call fcn.00417da0
mov ecx, dword [ebp - 0xc440]
push ecx
call fcn.00505227
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc56c]
call fcn.004052b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc69c]
call fcn.004052b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc604]
call fcn.004052b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc390]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc378]
call fcn.00407540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4d4]
call fcn.00417410
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
jmp 0x405291
mov edx, dword [ebp - 0xc440]
push edx
call fcn.00505227
add esp, 4
lea ecx, [ebp - 0xc4d4]
call fcn.00417da0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc56c]
call fcn.004052b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc69c]
call fcn.004052b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc604]
call fcn.004052b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc390]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc378]
call fcn.00407540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4d4]
call fcn.00417410
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6445
mov esp, ebp
pop ebp
ret