Function at 0x437a90
Capabilities:
Get file size
Link many functions at runtime
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e438
push 0x40e16c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
or ecx, 0xffffffff
cmp dword [ebp + 8], ecx
je 0x437eba
mov eax, dword [ebp + 0x14]
xor edi, edi
cmp eax, edi
je 0x437eba
cmp dword [eax], edi
je 0x437eba
mov eax, dword [ebp + 0x1c]
cmp eax, edi
je 0x437eba
cmp byte [eax], 0
je 0x437eba
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], edi
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [ebp - 0x44], ebx
cmp ebx, edi
je 0x437dd7
push edi
push 0x6c
push 0x459f94
push 0x20
call fcn.0040ff20
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp esi, edi
je 0x437dd7
push str.CryptAcquireContextA
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [esi], eax
test eax, eax
je 0x437dd5
push str.CryptCreateHash
push ebx
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x437dd5
push str.CryptDestroyHash
push ebx
call edi
mov dword [esi + 8], eax
test eax, eax
je 0x437dd5
push str.CryptDestroyKey
push ebx
call edi
mov dword [esi + 0xc], eax
test eax, eax
je 0x437dd5
push str.CryptHashData
push ebx
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x437dd5
push str.CryptImportKey
push ebx
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x437dd5
push str.CryptReleaseContext
push ebx
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x437dd5
push str.CryptSignHashA
push ebx
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x437dd5
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.Blizzard_Storm
lea eax, [ebp - 0x1c]
push eax
call dword [esi]
test eax, eax
jne 0x437c13
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.Blizzard_Storm
lea ecx, [ebp - 0x1c]
push ecx
call dword [esi]
test eax, eax
je 0x437dd5
push 0
push 0x20000000
push 3
push 0
push 0
push 0x80000000
mov edx, dword [ebp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 0x30], ebx
cmp ebx, 0xffffffff
je 0x437dd2
mov eax, dword [ebp + 0x1c]
push eax
call fcn.00437ed0
add esp, 4
mov edi, eax
mov dword [ebp - 0x54], edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [ebp - 0x48], ebx
lea eax, [edi + ebx - 1]
xor edx, edx
div edi
imul eax, edi
mov dword [ebp - 0x2c], eax
push 0x204
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x437dd2
mov ecx, dword [ebp - 0x2c]
push ecx
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualLock]
push 0
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push edi
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x58], ebx
jne 0x437dd2
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], 0xffffffff
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push ebx
mov ecx, edi
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [esi + 0x14]
test eax, eax
je 0x437dd2
push 0
push 0
push 0
push 0x8000004
push 0
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x437dd2
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x437dd2
lea ecx, [ebp - 0x40]
push ecx
push 0
push 0
push 0x8003
mov edx, dword [ebp - 0x1c]
push edx
call dword [esi + 4]
test eax, eax
je 0x437dd2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
add eax, ecx
mov edi, dword [ebp + 0x10]
add eax, edi
cmp eax, edx
ja 0x437dd2
xor eax, eax
mov ebx, dword [ebp - 0x24]
add edi, ebx
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
lea edi, [ecx + eax]
push 0
sub edx, eax
push edx
push edi
mov edx, dword [ebp - 0x40]
push edx
call dword [esi + 0x10]
test eax, eax
je 0x437dd2
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
sub eax, 8
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov dword [edi + eax], ecx
mov dword [edi + eax + 4], 0
lea edx, [ebp - 0x50]
push edx
lea eax, [edi + eax + 8]
push eax
push 0
push 0
push 2
mov ecx, dword [ebp - 0x40]
push ecx
call dword [esi + 0x1c]
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x50]
add edx, 8
mov dword [ebx], edx
test eax, eax
je 0x437dd2
mov dword [ebp - 0x34], 1
mov ebx, dword [ebp - 0x44]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
call fcn.00437dff
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret