Function at 0x41c970
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x240
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push edi
push 0x595d54
push 0xa1
xor ebp, ebp
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebp
mov edi, eax
call fcn.00538df7
push 0xffffffffffffffff
lea ecx, [esi + 0x28]
push ebp
call fcn.00539776
push 0xffffffffffffffff
lea ecx, [esi + 0x3c]
push ebp
call fcn.00539776
mov eax, dword [esi + 0x54]
cmp eax, ebp
je 0x41c9eb
push eax
call fcn.005308f6
add esp, 4
mov dword [esi + 0x54], ebp
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x58], ebp
mov eax, dword [esi + 0x68]
cmp eax, ebp
je 0x41ca04
push eax
call fcn.005308f6
add esp, 4
mov dword [esi + 0x68], ebp
push 3
push edi
mov dword [esi + 0x70], ebp
mov dword [esi + 0x6c], ebp
call fcn.004ec6f0
mov ebx, eax
xor ecx, ecx
add esp, 8
cmp ebx, ebp
mov dword [esp + 0x10], ecx
mov word [esp + 0x14], bp
mov dword [esp + 0x23c], ebp
jne 0x41ca3c
mov dword [0x5f1ed0], 0x10000
jmp 0x41cad0
cmp dword [ebx], 1
je 0x41ca50
mov dword [0x5f1ed0], 0x80000
jmp 0x41cad0
mov eax, dword [ebx + 4]
mov edi, dword [eax]
or edx, 0xffffffff
cmp dword [edi + 4], edx
mov dword [esp + 0xc], eax
jg 0x41ca68
mov eax, 0x10000
jmp 0x41cacb
cmp dword [eax + 4], edx
je 0x41ca79
call fcn.004eba10
mov eax, dword [esp + 0xc]
or edx, 0xffffffff
mov dword [eax + 4], edx
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov word [esp + 0x14], bp
mov dword [esp + 0x21c], ebp
mov dword [esp + 0x220], ebp
mov dword [esp + 0x224], ebp
mov dword [esp + 0x228], ebp
mov dword [esp + 0x22c], ebp
mov dword [esp + 0x230], ebp
mov dword [esp + 0x234], ebp
mov dword [esp + 0x238], ebp
mov dword [esp + 0x23c], ebp
xor eax, eax
mov dword [0x5f1ed0], eax
xor edi, edi
cmp ecx, ebp
mov dword [esp + 0xc], ecx
jle 0x41cbb2
jmp 0x41cae2
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x10], ebp
mov word [esp + 0x14], bp
mov dword [esp + 0x23c], ebp
jne 0x41cb02
mov dword [0x5f1ed0], 0x10000
jmp 0x41cb26
cmp dword [ebx], 1
je 0x41cb13
mov dword [0x5f1ed0], 0x80000
jmp 0x41cb26
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x10]
push edx
push edi
call fcn.004ebc50
mov dword [0x5f1ed0], eax
mov eax, dword [esp + 0x23c]
push eax
call fcn.005308fb
add esp, 4
test ebx, ebx
mov ebp, eax
jne 0x41cb48
mov dword [0x5f1ed0], 0x10000
jmp 0x41cb73
cmp dword [ebx], 1
je 0x41cb59
mov dword [0x5f1ed0], 0x80000
jmp 0x41cb73
mov edx, dword [esp + 0x23c]
mov ecx, dword [ebx + 4]
push 3
push edx
push edi
mov edx, ebp
call fcn.004ec2f0
mov dword [0x5f1ed0], eax
mov edx, dword [esi + 0x1c]
lea eax, [esp + 0x14]
lea ecx, [esi + 0x14]
push eax
push edx
call fcn.005390d4
mov eax, dword [esi + 0x30]
lea ecx, [esi + 0x28]
push ebp
push eax
call fcn.0053989a
mov ecx, dword [esp + 0x23c]
mov edx, dword [esi + 0x44]
push ecx
lea ecx, [esi + 0x3c]
push edx
call fcn.0053989a
add edi, 1
cmp edi, dword [esp + 0xc]
jl 0x41cae0
call fcn.004ecb90
mov ebx, esi
call fcn.00413e00
mov ecx, dword [esp + 0x244]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00552101
add esp, 0x240
ret