Function at 0x40fa30
Capabilities:
Print debug messages
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x154
mov eax, dword [0x430400]
xor eax, esp
mov dword [esp + 0x150], eax
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x164]
push ebx
push ebp
mov ebp, dword [esp + 0x160]
push esi
mov esi, dword [esp + 0x174]
push edi
mov edi, dword [esp + 0x16c]
push 4
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x54], esi
call fcn.0041158e
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x40faa1
lea edx, [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x10], eax
jmp 0x40faa5
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.0040f870
add esp, 8
cmp dword [edi + 0x18], 8
jb 0x40faca
mov edi, dword [edi + 4]
jmp 0x40facd
add edi, 4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call edi
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x1c]
jne 0x40fb18
push str.get_file_failed
call edi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40faf8
push eax
call fcn.004114eb
add esp, 4
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.004114eb
add esp, 4
xor al, al
jmp 0x410329
push str.get_file_succed_
call edi
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0xf4]
push ecx
call fcn.0040f130
add esp, 8
cmp dword [esp + 0x104], ebx
jne 0x40fba8
push str.boundary_failed_
call edi
cmp dword [esp + 0x108], 0x10
jb 0x40fb5e
mov edx, dword [esp + 0xf4]
push edx
call fcn.004114eb
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp eax, ebx
je 0x40fb88
push eax
call fcn.004114eb
add esp, 4
mov eax, dword [esp + 0x10]
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.004114eb
add esp, 4
xor al, al
jmp 0x410329
push str.boundary_succeed_
call edi
mov ecx, esi
call fcn.0040eab0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ebp, dword [ebp]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ebp
mov edi, 0x10
jmp 0x40fbd0
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax]
mov dword [esp + 0xd0], ecx
cmp ebp, ebx
je 0x40fbeb
cmp ebp, eax
je 0x40fbf0
call fcn.00413aad
mov edx, dword [esp + 0xd0]
cmp dword [esp + 0x2c], edx
je 0x40fe33
push 0x42a348
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x38]
push 0x42a344
push ecx
call fcn.0040ed80
add esp, 0xc
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.0040ee00
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.0040e790
cmp dword [esp + 0x6c], edi
jb 0x40fc4c
mov eax, dword [esp + 0x58]
push eax
call fcn.004114eb
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x48], edi
jb 0x40fc6f
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004114eb
add esp, 4
cmp ebp, ebx
jne 0x40fe23
call fcn.00413aad
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp edx, dword [eax + 0x18]
jne 0x40fc8c
call fcn.00413aad
mov esi, dword [esp + 0x2c]
add esi, 0xc
cmp ebp, ebx
jne 0x40fe2b
call fcn.00413aad
xor ebp, ebp
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebp + 0x18]
jne 0x40fcb0
call fcn.00413aad
push 0x42a348
lea ecx, [esi + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.0040f130
add esp, 8
push eax
push str.__r_n_r_n
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.0040f130
push eax
lea ecx, [esp + 0xc8]
push str.Content_Disposition:_form_data__name_
push ecx
call fcn.0040ed80
add esp, 0x14
push eax
lea edx, [esp + 0xa4]
push edx
call fcn.0040ee00
add esp, 0xc
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.0040ee80
add esp, 0xc
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.0040ee00
mov ecx, dword [esp + 0x5c]
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
call fcn.0040e790
cmp dword [esp + 0x6c], edi
jb 0x40fd3d
mov edx, dword [esp + 0x58]
push edx
call fcn.004114eb
add esp, 4
mov esi, 0xf
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0xec], edi
jb 0x40fd67
mov eax, dword [esp + 0xd8]
push eax
call fcn.004114eb
add esp, 4
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
cmp dword [esp + 0xac], edi
jb 0x40fd95
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004114eb
add esp, 4
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
cmp dword [esp + 0xc8], edi
jb 0x40fdc3
mov edx, dword [esp + 0xb4]
push edx
call fcn.004114eb
add esp, 4
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp dword [esp + 0x48], edi
jb 0x40fdeb
mov eax, dword [esp + 0x34]
push eax
call fcn.004114eb
add esp, 4
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x88], edi
jb 0x40fe0d
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004114eb
add esp, 4
lea ecx, [esp + 0x28]
call fcn.00404b10
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x50]
jmp 0x40fbd0
mov eax, dword [ebp]
jmp 0x40fc7e
mov ebp, dword [ebp]
jmp 0x40fca2
cmp dword [esi + 0x18], edi
jb 0x40fe3d
mov eax, dword [esi + 4]
jmp 0x40fe40
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebp, dword [esp + 0x90]
lea edx, [esp + 0x128]
push ebp
push edx
call fcn.0040f130
add esp, 8
cmp dword [esp + 0x13c], ebx
jne 0x40fed9
push str.filename_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esp + 0x140], edi
jb 0x40fe8c
mov eax, dword [esp + 0x12c]
push eax
call fcn.004114eb
add esp, 4
mov esi, 0xf
mov dword [esp + 0x140], esi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
cmp dword [esp + 0x108], edi
jb 0x40febf
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.004114eb
add esp, 4
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
jmp 0x40fae7
push 0x42a2d0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 1
push 0xffffffffffffffff
push 0x42a2cc
mov ecx, ebp
call fcn.0040e550
mov dword [esp + 0x124], 0xf
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
cmp eax, 0xffffffff
je 0x40ff8a
mov ecx, dword [ebp + 0x14]
sub ecx, eax
dec ecx
push ecx
inc eax
push eax
xor edx, edx
push ebp
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
call fcn.00403650
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0040f130
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x118]
call fcn.00406a70
cmp dword [esp + 0x48], edi
jb 0x40ff6d
mov edx, dword [esp + 0x34]
push edx
call fcn.004114eb
add esp, 4
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
jb 0x40ffc2
mov eax, dword [esp + 0x58]
jmp 0x40ffb9
mov ecx, dword [esp + 0x4c]
push ecx
lea edx, [esp + 0x74]
push edx
call fcn.0040f130
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x118]
call fcn.00406a70
cmp dword [esp + 0x88], edi
jb 0x40ffc2
mov eax, dword [esp + 0x74]
push eax
call fcn.004114eb
add esp, 4
mov ecx, dword [esp + 0x4c]
push ecx
lea edx, [esp + 0x148]
push edx
call fcn.0040f130
mov eax, dword [esp + 0x118]
add esp, 8
cmp dword [esp + 0x124], edi
jae 0x40ffee
lea eax, [esp + 0x110]
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call ebp
mov eax, dword [esp + 0x148]
cmp dword [esp + 0x15c], edi
jae 0x41000e
lea eax, [esp + 0x148]
push eax
call ebp
push 0x42a2a8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x42a348
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x78]
push 0x42a344
push ecx
call fcn.0040ed80
add esp, 0xc
push eax
lea edx, [esp + 0x38]
push edx
call fcn.0040ee00
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.0040e790
cmp dword [esp + 0x48], edi
jb 0x410067
mov eax, dword [esp + 0x34]
push eax
call fcn.004114eb
add esp, 4
mov ebp, 0xf
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x88], edi
jb 0x41008e
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004114eb
add esp, 4
push 0x42a2a4
lea edx, [esp + 0x110]
push edx
push str.___filename_
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x80]
push str.Content_Disposition:_form_data__name_
push ecx
call fcn.0040ed80
add esp, 0xc
push eax
lea edx, [esp + 0xa4]
push edx
call fcn.0040ee00
add esp, 0xc
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.0040ee80
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0040ee00
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.0040e790
cmp dword [esp + 0x48], edi
jb 0x41010b
mov edx, dword [esp + 0x34]
push edx
call fcn.004114eb
add esp, 4
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0xc8], edi
jb 0x410130
mov eax, dword [esp + 0xb4]
push eax
call fcn.004114eb
add esp, 4
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp dword [esp + 0xac], edi
jb 0x41015e
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004114eb
add esp, 4
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
cmp dword [esp + 0x88], edi
jb 0x410189
mov edx, dword [esp + 0x74]
push edx
call fcn.004114eb
add esp, 4
push 0x28
push str.Content_Type:_application_octet_stream_r_n
mov ecx, esi
call fcn.0040e9a0
push 2
push 0x42a348
mov ecx, esi
call fcn.0040e9a0
mov ebp, dword [esp + 0x20]
sub ebp, dword [esp + 0x1c]
je 0x4101c5
cmp ebp, ebx
ja 0x4101b8
call fcn.00413aad
mov eax, dword [esp + 0x1c]
push ebp
push eax
mov ecx, esi
call fcn.0040e9a0
push 2
push 0x42a348
mov ecx, esi
call fcn.0040e9a0
push str.___r_n
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0x78]
push 0x42a344
push edx
call fcn.0040ed80
add esp, 0xc
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0040ee00
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.0040e790
cmp dword [esp + 0x48], edi
jb 0x41021e
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004114eb
add esp, 4
mov esi, 0xf
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x88], edi
jb 0x410245
mov edx, dword [esp + 0x74]
push edx
call fcn.004114eb
add esp, 4
cmp dword [esp + 0x15c], edi
jb 0x41025e
mov eax, dword [esp + 0x148]
push eax
call fcn.004114eb
add esp, 4
mov dword [esp + 0x15c], esi
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
cmp dword [esp + 0x124], edi
jb 0x41028c
mov ecx, dword [esp + 0x110]
push ecx
call fcn.004114eb
add esp, 4
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
cmp dword [esp + 0x140], edi
jb 0x4102ba
mov edx, dword [esp + 0x12c]
push edx
call fcn.004114eb
add esp, 4
mov dword [esp + 0x140], esi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
cmp dword [esp + 0x108], edi
jb 0x4102e8
mov eax, dword [esp + 0xf4]
push eax
call fcn.004114eb
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp eax, ebx
je 0x41030e
push eax
call fcn.004114eb
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.004114eb
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041139e
add esp, 0x154
ret