Function at 0x41e3e0
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x438f94]
push ebx
push esi
push edi
push 0
push 0
push 0
push eax
call dword [sym.imp.MSVCR100.dll__fseeki64]
mov ecx, dword [0x438f94]
mov esi, dword [sym.imp.MSVCR100.dll_fread]
push ecx
mov ebx, 1
push ebx
lea edx, [ebp - 0xc]
push 6
push edx
call esi
mov edi, dword [sym.imp.MSVCR100.dll_strncmp]
push 6
lea eax, [ebp - 0xc]
push str.SSGML3
push eax
call edi
add esp, 0x2c
test eax, eax
je 0x41e476
push 6
lea ecx, [ebp - 0xc]
push str.SSHML2
push ecx
call edi
add esp, 0xc
test eax, eax
je 0x41e476
push str.Not_a_valid_mdm_file._n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404c60
add dword [0x437d8c], ebx
je 0x41e46e
call fcn.004048c0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov edx, dword [0x438f94]
push edx
push ebx
push 4
push 0x437c34
call esi
fld dword [0x437c34]
fcomp qword [0x4362c8]
add esp, 0x10
fnstsw ax
test ah, 0x41
jp 0x41e4cb
push str.Sorry__you_will_have_to_remake_this_mdm_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add dword [0x437d8c], ebx
add esp, 4
call fcn.00404c60
add dword [0x437d8c], ebx
je 0x41e4c3
call fcn.004048c0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [0x438f94]
push eax
push ebx
push 4
push 0x43925c
call esi
mov ecx, dword [0x438f94]
push ecx
push ebx
push 4
push 0x438ed4
call esi
mov edx, dword [0x438f94]
push edx
push ebx
push 4
push 0x4390b0
call esi
mov eax, dword [0x438f94]
push eax
push ebx
push 4
push 0x439500
call esi
mov ecx, dword [0x438f94]
add esp, 0x40
push ecx
push ebx
push 4
push 0x439508
call esi
mov edx, dword [0x438f94]
push edx
push ebx
push 4
push 0x438efc
call esi
mov eax, dword [0x438f94]
push eax
push ebx
push 4
push 0x439248
call esi
mov ecx, dword [0x438f94]
push ecx
push ebx
push 4
push 0x438ed0
call esi
mov edx, dword [0x438f94]
add esp, 0x40
push edx
push ebx
lea eax, [ebp - 0x10]
push 4
push eax
call esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x438ed0]
add esp, 0x10
mov dword [0x4380a0], ecx
test eax, eax
jns 0x41e589
neg eax
mov dword [0x438da0], ebx
mov dword [ebp - 0x10], eax
jmp 0x41e593
mov dword [0x438da0], 0
mov edx, dword [0x438f94]
push edx
push ebx
push 4
push 0x439254
mov dword [0x439264], eax
call esi
mov edi, dword [0x43925c]
add esp, 0x10
lea edi, [edi + edi + 2]
call fcn.00404b60
mov edi, dword [0x43925c]
inc edi
imul edi, dword [0x439254]
add edi, edi
add edi, edi
add edi, edi
mov dword [0x4390bc], eax
call fcn.00404b60
mov dword [0x43852c], eax
mov eax, dword [0x43925c]
lea eax, [eax + eax + 2]
test eax, eax
je 0x41e600
mov ecx, dword [0x438f94]
mov edx, dword [0x4390bc]
push ecx
push ebx
push eax
push edx
call esi
add esp, 0x10
mov eax, dword [0x43925c]
inc eax
imul eax, dword [0x439254]
add eax, eax
add eax, eax
add eax, eax
je 0x41e62a
mov ecx, dword [0x438f94]
mov edx, dword [0x43852c]
push ecx
push ebx
push eax
push edx
call esi
add esp, 0x10
call fcn.00407d90
mov eax, dword [0x43925c]
inc eax
imul eax, eax, 0xd
test eax, eax
je 0x41e651
mov ecx, dword [0x438f94]
mov edx, dword [0x43924c]
push ecx
push ebx
push eax
push edx
call esi
add esp, 0x10
mov eax, dword [0x438ed4]
inc eax
imul eax, eax, 0xd
test eax, eax
je 0x41e673
mov ecx, dword [0x438f94]
mov edx, dword [0x4390c0]
push ecx
push ebx
push eax
push edx
call esi
add esp, 0x10
mov eax, dword [0x4390b0]
inc eax
imul eax, eax, 0xd
test eax, eax
je 0x41e695
mov ecx, dword [0x438f94]
mov edx, dword [0x438524]
push ecx
push ebx
push eax
push edx
call esi
add esp, 0x10
mov edi, dword [0x439254]
imul edi, edi, 0xd
call fcn.00404b60
mov ecx, dword [0x439254]
imul ecx, ecx, 0xd
mov dword [0x4390b8], eax
test ecx, ecx
je 0x41e6c4
mov edx, dword [0x438f94]
push edx
push ebx
push ecx
push eax
call esi
add esp, 0x10
mov eax, dword [0x438f94]
push eax
push ebx
lea ecx, [ebp - 0x10]
push 4
push ecx
call esi
mov eax, dword [ebp - 0x10]
add esp, 0x10
lea edi, [eax + eax*2]
call fcn.00404b60
mov ecx, dword [ebp - 0x10]
lea edx, [eax + ecx]
mov dword [0x438514], edx
add edx, ecx
mov dword [0x438510], eax
mov dword [0x438518], edx
test ecx, ecx
je 0x41e729
mov edx, dword [0x438f94]
push edx
push ebx
push ecx
push eax
call esi
mov eax, dword [ebp - 0x10]
add esp, 0x10
test eax, eax
je 0x41e729
mov ecx, dword [0x438f94]
mov edx, dword [0x438514]
push ecx
push ebx
push eax
push edx
call esi
add esp, 0x10
mov eax, dword [0x438f94]
mov ecx, dword [0x438518]
push eax
push ebx
push 0x104
push ecx
call esi
mov edi, dword [0x4390b0]
add edi, dword [0x438ed4]
add esp, 0x10
add edi, dword [0x43925c]
add edi, edi
add edi, edi
add edi, edi
call fcn.00404b60
mov ecx, dword [0x43925c]
mov edi, dword [0x438ed4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
lea edx, [ecx + eax]
lea edi, [edx + edi*8]
mov dword [0x438edc], eax
mov dword [0x439224], edx
mov dword [0x438ef0], edi
je 0x41e79e
mov edx, dword [0x438f94]
push edx
push ebx
push ecx
push eax
call esi
mov edx, dword [0x439224]
add esp, 0x10
mov eax, dword [0x438ed4]
add eax, eax
add eax, eax
add eax, eax
je 0x41e7ba
mov ecx, dword [0x438f94]
push ecx
push ebx
push eax
push edx
call esi
add esp, 0x10
mov eax, dword [0x4390b0]
add eax, eax
add eax, eax
add eax, eax
je 0x41e7db
mov edx, dword [0x438f94]
push edx
push ebx
push eax
mov eax, dword [0x438ef0]
push eax
call esi
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e325
mov esp, ebp
pop ebp
ret