Function at 0x1001e3b0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009d600
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0x68
call fcn.10079665
mov esi, eax
mov dword [esp + 0x1c], esi
lea ecx, [esi + 0x58]
xor eax, eax
xor edi, edi
mov dword [esp + 0x3c], edi
mov dword [ecx], eax
push 0x58
mov dword [ecx + 4], eax
push edi
mov dword [ecx + 8], eax
push esi
mov dword [esp + 0x24], ecx
mov dword [ecx + 0xc], eax
call fcn.1007aac0
mov dword [esi + 4], edi
mov dword [esi], edi
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
add esp, 0x10
mov dword [esp + 0x1c], vtable.GameMgr::GMFile.0
mov dword [esp + 0x20], 0xffffffff
mov ecx, dword [ebp + 8]
push 1
lea ebx, [edi + 3]
push SysReAllocString
lea edi, [esp + 0x24]
mov byte [esp + 0x40], 1
call fcn.100296f0
test al, al
jne 0x1001e4a9
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], vtable.GameMgr::GMFile.0
je 0x1001e483
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1001e483
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x1c], vtable.GameMgr::GMBaseFile.0
push esi
call fcn.10079508
add esp, 4
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x24]
xor ebx, ebx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.100298f0
mov ecx, dword [esp + 0x24]
or ecx, dword [esp + 0x28]
je 0x1001e45f
push 0x10000
mov dword [esp + 0x14], ebx
call fcn.100788a2
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x1001e4f2
lea esi, [esp + 0x1c]
call fcn.100296c0
mov edx, dword [esp + 0x18]
push edx
jmp 0x1001e48c
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x1001e563
push ebx
lea ecx, [esp + 0x14]
push ecx
push 0x10000
push edi
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001e547
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x1001e547
seta al
cmp al, bl
je 0x1001e547
cmp ecx, ebx
jle 0x1001e4f2
mov edx, dword [esi]
shr edx, 3
and edx, 0x3f
push edx
push ecx
lea eax, [ecx*8]
push esi
mov edx, edi
call fcn.10032390
add esp, 0xc
jmp 0x1001e4f2
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x1001e563
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1001e563
mov dword [esp + 0x20], 0xffffffff
push edi
call fcn.10079647
mov edi, dword [esp + 0x18]
add esp, 4
call fcn.10032440
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
lea esi, [esp + 0x1c]
mov dword [eax + 0xc], ecx
call fcn.100296c0
mov edx, dword [esp + 0x18]
push edx
call fcn.10079508
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret