Function at 0x40105b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
lea edi, [ebp - 0x54]
mov ecx, 0x15
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 8
call fcn.0041449d
add esp, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], eax
mov esi, esp
push 0x41e058
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x429bb4]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp esi, esp
call fcn.004143c6
mov dword [ebp - 0x28], eax
mov esi, esp
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [0x429bb4]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp esi, esp
call fcn.004143c6
mov dword [ebp - 0xc], eax
mov esi, esp
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [0x429bb4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.004143c6
mov dword [ebp - 0x10], eax
mov esi, esp
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.004143c6
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 0x1c], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 0x20], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 0x24], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 0x2c], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
shl eax, 8
mov ecx, dword [ebp - 0x24]
and ecx, 0xff
add eax, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
shl edx, 8
mov eax, dword [ebp - 0x20]
and eax, 0xff
add edx, eax
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x14]
shl ecx, 8
mov edx, dword [ebp - 0x1c]
and edx, 0xff
add ecx, edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
shl eax, 3
push eax
call fcn.0041449d
add esp, 4
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x50]
mov dword [ecx + 4], edx
mov dword [ebp - 0x18], 0
jmp 0x4011b8
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
cmp edx, dword [ecx]
jge 0x401391
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 0x2c], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x2c]
and eax, 0xff
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 8
mov edx, dword [ebp - 0x24]
and edx, 0xff
add ecx, edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
shl eax, 8
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
add eax, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
shl edx, 8
mov eax, dword [ebp - 0x1c]
and eax, 0xff
add edx, eax
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edx + eax*8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + ecx*8]
imul edx, edx, 0xc
push edx
call fcn.0041449d
add esp, 4
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x54]
mov dword [ecx + edx*8 + 4], eax
mov dword [ebp - 0x38], 0
jmp 0x40129c
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x38]
cmp edx, dword [eax + ecx*8]
jge 0x40138c
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 0x34], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 0x33], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 0x32], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 0x31], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 0x34], dl
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 0x33], dl
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 0x32], dl
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 0x31], dl
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*8 + 4]
add eax, ecx
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00401788
add esp, 0xc
jmp 0x401293
jmp 0x4011af
mov eax, dword [ebp - 4]
pop edi
pop esi
add esp, 0x54
cmp ebp, esp
call fcn.004143c6
mov esp, ebp
pop ebp
ret