Function at 0x40f094
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x443bcf
call fcn.00428c84
sub esp, 0xb4
push ebx
mov dword [ebp - 0x1c], ecx
lea ecx, [ecx + 0x238]
push esi
call fcn.004018a1
push 2
push str.129
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40f34f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40f34f
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x40f34e
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x400
lea ecx, [ebp - 0xc0]
add edi, 0x28
lea esi, [eax - 0x28]
call fcn.0041c629
push ebx
push esi
push edi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], ebx
call fcn.0041c712
push ebx
push 0x1000
push 1
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x94]
call fcn.00412032
push 0x1335ca
mov byte [ebp - 4], 1
call fcn.00432b8c
pop ecx
mov byte [ebp - 0x2c], bl
mov esi, ebx
call fcn.00432b6b
push 0x3e
cdq
pop ecx
idiv ecx
cmp dl, 0x1a
jae 0x40f162
add dl, 0x41
jmp 0x40f174
cmp dl, 0x34
jae 0x40f16c
add dl, 0x47
jmp 0x40f174
cmp dl, 0x3e
jae 0x40f178
sub dl, 4
mov byte [ebp + esi - 0x4c], dl
inc esi
cmp esi, 0x20
jl 0x40f14d
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x94]
call fcn.00410837
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.00410837
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.00410837
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.00410837
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.00410837
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00410837
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.00410837
push dword [ebp - 0x10]
call fcn.0041143a
pop ecx
push dword [ebp - 0x10]
mov esi, eax
lea ecx, [ebp - 0x94]
push esi
mov dword [ebp - 0x14], esi
call fcn.0041286f
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x10]
push esi
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040ec60
mov edi, eax
test edi, edi
jne 0x40f208
mov eax, ebx
jmp 0x40f20f
push edi
call fcn.004304f5
pop ecx
push eax
push edi
lea ecx, [esi + 0x238]
call fcn.00401d28
push edi
call fcn.00411435
push dword [ebp - 0x14]
call fcn.00411435
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x94]
call fcn.00410837
push dword [ebp - 0x10]
call fcn.0041143a
pop ecx
push dword [ebp - 0x10]
mov edi, eax
lea ecx, [ebp - 0x94]
push edi
mov dword [ebp - 0x14], edi
call fcn.0041286f
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
push dword [ebp - 0x10]
push edi
call fcn.0040ec60
mov edi, eax
test edi, edi
jne 0x40f271
mov eax, ebx
jmp 0x40f278
push edi
call fcn.004304f5
pop ecx
push eax
push edi
lea ecx, [esi + 0x23c]
call fcn.00401d28
push edi
call fcn.00411435
push dword [ebp - 0x14]
call fcn.00411435
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x94]
call fcn.00410837
push dword [ebp - 0x10]
call fcn.0041143a
pop ecx
push dword [ebp - 0x10]
mov edi, eax
lea ecx, [ebp - 0x94]
push edi
mov dword [ebp - 0x14], edi
call fcn.0041286f
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
push dword [ebp - 0x10]
push edi
call fcn.0040ec60
mov edi, eax
lea eax, [esi + 0x240]
test edi, edi
je 0x40f2eb
push edi
call fcn.004304f5
mov ebx, eax
lea eax, [esi + 0x240]
pop ecx
push ebx
push edi
mov ecx, eax
call fcn.00401d28
push edi
call fcn.00411435
push dword [ebp - 0x14]
call fcn.00411435
xor eax, eax
cmp dword [ebp - 0x20], eax
pop ecx
sete al
mov dword [esi + 0x224], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x228], eax
mov eax, dword [ebp - 0x28]
pop ecx
mov dword [esi + 0x22c], eax
lea ecx, [ebp - 0x94]
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x230], eax
call fcn.00412595
lea ecx, [ebp - 0x94]
call fcn.0041216d
lea ecx, [ebp - 0xc0]
call fcn.0041c660
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret