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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428368
push 0x4089b6
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 0x42435a
mov eax, dword [ebp + 0x14]
xor edi, edi
cmp eax, edi
je 0x42435a
cmp dword [eax], edi
je 0x42435a
mov eax, dword [ebp + 0x1c]
cmp eax, edi
je 0x42435a
cmp byte [eax], 0
je 0x42435a
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 4], edi
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [ebp - 0x34], ebx
cmp ebx, edi
je 0x424277
push edi
push 0x5c
push 0x42edc8
push 0x20
call fcn.004089f0
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, edi
je 0x424277
push str.CryptAcquireContextA
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [esi], eax
test eax, eax
je 0x424275
push str.CryptCreateHash
push ebx
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x424275
push str.CryptDestroyHash
push ebx
call edi
mov dword [esi + 8], eax
test eax, eax
je 0x424275
push str.CryptDestroyKey
push ebx
call edi
mov dword [esi + 0xc], eax
test eax, eax
je 0x424275
push str.CryptHashData
push ebx
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x424275
push str.CryptImportKey
push ebx
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x424275
push str.CryptReleaseContext
push ebx
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x424275
push str.CryptSignHashA
push ebx
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x424275
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.Blizzard_Storm
lea eax, [ebp - 0x3c]
push eax
call dword [esi]
test eax, eax
jne 0x4240b3
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.Blizzard_Storm
lea ecx, [ebp - 0x3c]
push ecx
call dword [esi]
test eax, eax
je 0x424275
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 - 0x2c], ebx
cmp ebx, 0xffffffff
je 0x424272
mov eax, dword [ebp + 0x1c]
push eax
call fcn.00424370
add esp, 4
mov edi, eax
mov dword [ebp - 0x48], edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [ebp - 0x4c], ebx
lea eax, [edi + ebx - 1]
xor edx, edx
div edi
imul eax, edi
mov dword [ebp - 0x30], eax
push 0x204
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x424272
mov ecx, dword [ebp - 0x30]
push ecx
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualLock]
push 0
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x30]
push eax
push edi
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x50], ebx
jne 0x424272
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c], 0xffffffff
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push ebx
mov ecx, edi
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [esi + 0x14]
test eax, eax
je 0x424272
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 0x424272
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x424272
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0
push 0x8003
mov edx, dword [ebp - 0x3c]
push edx
call dword [esi + 4]
test eax, eax
je 0x424272
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
mov dword [ebp - 0x54], 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 0x424272
xor eax, eax
mov ebx, dword [ebp - 0x44]
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 - 0x44]
lea edi, [ecx + eax]
push 0
sub edx, eax
push edx
push edi
mov edx, dword [ebp - 0x20]
push edx
call dword [esi + 0x10]
test eax, eax
je 0x424272
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
sub eax, 8
mov dword [ebp - 0x58], 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 - 0x58]
push edx
lea eax, [edi + eax + 8]
push eax
push 0
push 0
push 2
mov ecx, dword [ebp - 0x20]
push ecx
call dword [esi + 0x1c]
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x58]
add edx, 8
mov dword [ebx], edx
test eax, eax
je 0x424272
mov dword [ebp - 0x40], 1
mov ebx, dword [ebp - 0x34]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
call fcn.0042429f
mov eax, dword [ebp - 0x40]
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