Function at 0x4026d0
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40271f
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41939c
call fcn.00402160
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 4
push 0xbdd
call fcn.004024d0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, dword [esp + 0x3c]
push str.SIZE
push 0x65
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x402764
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41939c
call fcn.00402160
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 5
push 0xbf3
call fcn.004024d0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x402796
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41939c
call fcn.00402160
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 6
push 0xbf5
call fcn.004024d0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4027cd
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41939c
call fcn.00402160
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 7
push 0xbf7
call fcn.004024d0
mov ebx, dword [eax]
push edi
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
push eax
push eax
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x40280f
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41939c
call fcn.00402160
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 8
push 0xbdf
call fcn.004024d0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
push 0x4220f0
push esi
call ebx
mov ecx, dword [0x4220f0]
test ecx, ecx
je 0x402bdc
test eax, eax
je 0x402bdc
lea edx, [ecx*4]
push edx
call fcn.0040e3d2
add esp, 4
test eax, eax
mov dword [0x4221cc], eax
jne 0x402861
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
jmp 0x402a5e
mov eax, dword [0x4220f0]
xor ebp, ebp
test eax, eax
jle 0x4028ac
lea esp, [esp]
push 0x4e8
call fcn.0040e3d2
mov ecx, dword [0x4221cc]
mov dword [ecx + ebp*4], eax
mov edx, dword [0x4221cc]
mov edi, dword [edx + ebp*4]
add esp, 4
test edi, edi
je 0x402a57
xor eax, eax
mov ecx, 0x108
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x4220f0]
inc ebp
cmp ebp, eax
jl 0x402870
xor ebp, ebp
test eax, eax
jle 0x402b17
jmp 0x4028c0
mov ecx, dword [0x4221cc]
mov edx, dword [ecx + ebp*4]
xor edi, edi
push edi
lea eax, [esp + 0x14]
push eax
push 0x210
push edx
push esi
call ebx
mov ecx, dword [0x4221cc]
mov edx, dword [ecx + ebp*4]
push edi
lea eax, [esp + 0x14]
push eax
push 4
add edx, 0x424
push edx
push esi
call ebx
mov ecx, dword [0x4221cc]
mov edx, dword [ecx + ebp*4]
push edi
lea eax, [esp + 0x14]
push eax
push 4
add edx, 0x430
push edx
push esi
call ebx
mov ecx, dword [0x4221cc]
mov edx, dword [ecx + ebp*4]
push edi
lea eax, [esp + 0x14]
push eax
push 4
add edx, 0x434
push edx
push esi
call ebx
mov ecx, dword [0x4221cc]
mov edx, dword [ecx + ebp*4]
push edi
lea eax, [esp + 0x14]
push eax
push 4
add edx, 0x438
push edx
push esi
call ebx
mov ecx, dword [0x4221cc]
mov edx, dword [ecx + ebp*4]
push edi
lea eax, [esp + 0x14]
push eax
push 4
add edx, 0x43c
push edx
push esi
call ebx
mov ecx, dword [0x4221cc]
mov edx, dword [ecx + ebp*4]
push edi
lea eax, [esp + 0x14]
push eax
push 4
add edx, 0x440
push edx
push esi
call ebx
mov ecx, dword [0x4221cc]
mov edx, dword [ecx + ebp*4]
push edi
lea eax, [esp + 0x14]
push eax
push 4
add edx, 0x444
push edx
push esi
call ebx
lea eax, [esp + 0x28]
mov ecx, dword [0x4221cc]
mov edx, dword [ecx + ebp*4]
push eax
add edx, 0x440
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
movzx edx, word [esp + 0x24]
movzx eax, word [esp + 0x22]
movzx ecx, word [esp + 0x20]
push edx
movzx edx, word [esp + 0x22]
push eax
movzx eax, word [esp + 0x22]
push ecx
movzx ecx, word [esp + 0x24]
push edx
mov edx, dword [0x4221cc]
push eax
mov eax, dword [edx + ebp*4]
push ecx
add eax, 0x448
push str._4d__02d__02d__02d:_02d:_02d
push eax
call fcn.0040d64f
mov edx, dword [0x4221cc]
mov eax, dword [edx + ebp*4]
add esp, 0x20
push edi
lea ecx, [esp + 0x14]
push ecx
push 0x14
add eax, 0x4d0
push eax
push esi
call ebx
mov ecx, dword [0x4221cc]
mov eax, dword [ecx + ebp*4]
movzx edx, word [eax + 0x426]
mov dword [eax + 0x428], edx
mov edx, dword [0x4221cc]
mov ecx, dword [edx + ebp*4]
mov eax, dword [ecx + 0x428]
shl eax, 0x10
cmp eax, dword [ecx + 0x424]
jne 0x402a74
mov eax, ecx
mov dword [eax + 0x42c], edi
jmp 0x402a93
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41939c
call fcn.00402160
push 0xa
push 0xbe3
call fcn.00402530
mov edx, dword [edx + ebp*4]
mov ecx, dword [edx + 0x424]
sub ecx, eax
test cl, 0xf
jne 0x402a89
shr ecx, 4
jmp 0x402a8d
shr ecx, 4
inc ecx
mov dword [edx + 0x42c], ecx
cmp ebp, edi
je 0x402ae2
mov ecx, dword [0x4221cc]
mov eax, dword [ecx + ebp*4 - 4]
mov edx, dword [eax + 0x42c]
mov eax, dword [eax + 0x428]
shl eax, 0x10
xor ecx, ecx
shl edx, 4
xor edi, edi
add edx, eax
adc edi, ecx
mov ecx, dword [0x4221cc]
mov eax, dword [ecx + ebp*4 - 4]
add edx, dword [eax + 0x4c8]
adc edi, dword [eax + 0x4cc]
mov eax, dword [ecx + ebp*4]
mov dword [eax + 0x4c8], edx
mov dword [eax + 0x4cc], edi
jmp 0x402b09
mov eax, dword [0x4220f0]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*8]
shl ecx, 6
lea eax, [ecx + edx + 0x30]
mov ecx, dword [0x4221cc]
mov edx, dword [ecx]
mov dword [edx + 0x4c8], eax
mov dword [edx + 0x4cc], edi
mov eax, dword [0x4220f0]
inc ebp
cmp ebp, eax
jl 0x4028c0
push 0
lea eax, [esp + 0x14]
push eax
push 1
push 0x422300
push esi
call ebx
push 0
lea ecx, [esp + 0x14]
push ecx
push 1
push 0x422301
push esi
call ebx
push 0
lea edx, [esp + 0x14]
push edx
push 1
push 0x422302
push esi
call ebx
push 0
lea eax, [esp + 0x14]
push eax
push 1
push 0x422303
push esi
call ebx
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x10
push 0x4222f0
push esi
call ebx
push 0
lea edx, [esp + 0x14]
push edx
push 4
push 0x4222d8
push esi
call ebx
push 0
lea eax, [esp + 0x14]
push eax
push 4
push 0x4222dc
push esi
call ebx
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
push 0x4222e0
push esi
call ebx
push 0
lea edx, [esp + 0x14]
push edx
push 4
push 0x4222e4
push esi
call ebx
push 0
lea eax, [esp + 0x14]
push eax
push 4
push 0x4222e8
push esi
call ebx
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
push 0x4222ec
push esi
call ebx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41939c
call fcn.00402160
push 9
push 0xbcd
call fcn.00402530
int3