Function at 0x1008be00
Capabilities:
Extract resource via kernel32 functions
Link many functions at runtime
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x100e50d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [0x100f26fc], eax
push esi
push edi
cmp ecx, 1
jne 0x1008befa
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.Game.dll
call esi
push str.Storm.dll
mov dword [0x100f2700], eax
mov dword [0x100f2748], eax
call esi
mov edi, eax
mov dword [0x100f26f8], edi
test edi, edi
je 0x1008bece
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10a
push edi
call esi
push 0xfc
push edi
call esi
push 0x24e
push edi
call esi
push 0x191
push edi
call esi
push 0x193
push edi
mov dword [0x100f23dc], eax
call esi
push 0x194
push edi
mov dword [0x100f23d8], eax
call esi
push 0x195
push edi
call esi
push 0x10c
push edi
call esi
push 0x109
push edi
call esi
push 0x10d
push edi
call esi
push 0xfd
push edi
call esi
push 0x126
push edi
call esi
mov byte [0x100f22e6], 1
call fcn.100927b0
push 0
call fcn.1009ebce
push eax
call fcn.100a12c7
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.10097f9e
mov esp, ebp
pop ebp
ret 0xc
test ecx, ecx
jne 0x1008bee3
cmp byte [0x100f22e7], cl
je 0x1008bf17
push dword [0x100f26f4]
call dword [0x100f2448]
mov eax, dword [0x100f26fc]
push 0x100d9d78
push 0xa2
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1008bfee
push eax
push dword [0x100f26fc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1008bfee
push ebx
mov ebx, dword [0x100f26f0]
test ebx, ebx
je 0x1008bfed
push ebx
call fcn.10098541
mov esi, eax
add esp, 4
test esi, esi
je 0x1008bf71
push ebx
push 0
push esi
call fcn.1009a970
add esp, 0xc
jmp 0x1008bf73
xor esi, esi
mov dword [ebp - 0x70], esi
test ebx, ebx
je 0x1008bf91
mov ecx, ebx
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov esi, dword [ebp - 0x70]
lea eax, [ebp - 0x70]
push eax
push esi
lea eax, [ebp - 0x68]
push str.0x_X__Addr:_0x_X
push eax
call fcn.1001e1e0
add esp, 0x10
test esi, esi
je 0x1008bfed
push 0
push 0
push 4
push 0
push 2
push 0x40000000
push 0x100d9d80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1008bfed
push 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1008bfed
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
cmp dword [0x100f26ec], 0
mov esi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
jne 0x1008c00b
push 0
call esi
mov dword [0x100f26ec], 0
cmp dword [0x100f26e8], 0
jne 0x1008c022
push 0
call esi
mov dword [0x100f26e8], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GameMain
push dword [0x100f2700]
call esi
test eax, eax
je 0x1008c04e
push 0x10a
push dword [0x100f26f8]
call esi
test eax, eax
jne 0x1008bee3
xor ecx, ecx
call fcn.1008f7e0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]