Function at 0x4482d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x30c]
mov ecx, 0xc3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x5126a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 8], 0
jne 0x44830a
xor eax, eax
jmp 0x448644
push 0x4f19e8
mov eax, dword [ebp + 8]
push eax
call fcn.004764d0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x448631
push 2
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call fcn.00473e10
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call fcn.0047adb0
add esp, 4
mov dword [ebp - 0x18], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call fcn.00473e10
add esp, 0xc
mov ecx, dword [ebp - 0xc]
call fcn.00401f00
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
push 1
push 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x10
push edx
call fcn.00473bb0
add esp, 0x10
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
add ecx, dword [edx + 0x18]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
sub edx, ecx
push edx
mov ecx, dword [ebp - 0xc]
add ecx, 0x26
call fcn.00401db6
test eax, eax
jne 0x44840d
mov eax, str.Bin_File_Version_Error_
test eax, eax
jne 0x4483c1
mov dword [ebp - 0x30c], 1
jmp 0x4483cb
mov dword [ebp - 0x30c], 0
cmp dword [ebp - 0x30c], 0
jne 0x4483ec
push 0
mov eax, dword [0x5123e0]
add eax, 0x10
push eax
push str.c:jobmx_code2_server_agentmhfile.cpp
call fcn.00402d0b
add esp, 0xc
mov esi, esp
push 0
push 0
push str.Bin_File_Version_Error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.004749e0
xor eax, eax
jmp 0x448644
mov ecx, dword [ebp - 0xc]
add ecx, 0x26
call fcn.004011ae
test eax, eax
je 0x448579
mov eax, dword [ebp - 0x18]
sub eax, 0xe
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.00471c40
add esp, 4
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x304]
mov dword [ecx + 0x1e], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x1e], 0
jne 0x448497
mov eax, str.memory_allocation_failed___m_pData
test eax, eax
jne 0x448465
mov dword [ebp - 0x30c], 1
jmp 0x44846f
mov dword [ebp - 0x30c], 0
cmp dword [ebp - 0x30c], 0
jne 0x448490
push 0
mov eax, dword [0x5123e0]
add eax, 0x1a
push eax
push str.c:jobmx_code2_server_agentmhfile.cpp
call fcn.00402d0b
add esp, 0xc
xor eax, eax
jmp 0x448644
mov eax, dword [ebp - 0x24]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x1e]
push edx
call fcn.00472780
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x1e]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x26
call fcn.004019bf
test eax, eax
jne 0x44855b
mov ecx, dword [ebp - 0xc]
call fcn.00401f00
mov eax, str.File_Open_Error
test eax, eax
jne 0x4484f5
mov dword [ebp - 0x30c], 1
jmp 0x4484ff
mov dword [ebp - 0x30c], 0
cmp dword [ebp - 0x30c], 0
jne 0x448520
push 0
mov eax, dword [0x5123e0]
add eax, 0x21
push eax
push str.c:jobmx_code2_server_agentmhfile.cpp
call fcn.00402d0b
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push str.File_Open_Error_:__s
lea ecx, [ebp - 0x22c]
push ecx
call fcn.00476770
add esp, 0xc
mov esi, esp
push 0
push 0
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.004749e0
xor eax, eax
jmp 0x448644
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call fcn.00476160
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 0
jmp 0x44862f
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
push 1
push 1
mov edx, dword [ebp - 0xc]
add edx, 0x1c
push edx
call fcn.00473bb0
add esp, 0x10
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
je 0x4485dc
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.00471c40
add esp, 4
mov dword [ebp - 0x2f8], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2f8]
mov dword [edx + 0x1e], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x18]
push eax
push 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x1e]
push edx
call fcn.00473bb0
add esp, 0x10
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
push 1
push 1
mov edx, dword [ebp - 0xc]
add edx, 0x1d
push edx
call fcn.00473bb0
add esp, 0x10
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call fcn.00476160
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0xc]
call fcn.00402dba
test eax, eax
jne 0x44861f
xor eax, eax
jmp 0x448644
mov ecx, dword [ebp - 0xc]
call fcn.0040111d
test eax, eax
jne 0x44862f
xor eax, eax
jmp 0x448644
jmp 0x448635
xor eax, eax
jmp 0x448644
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x22], 1
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x448678]
call fcn.00474980
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a10
add esp, 0x30c
cmp ebp, esp
call fcn.004749e0
mov esp, ebp
pop ebp
ret 4