Function at 0x407130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x9804
call fcn.0040b1e0
push ebx
push ebp
push esi
push edi
push 0x417394
xor ebp, ebp
push 0x6e
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebp
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x14], eax
lea ecx, [eax + 0x448]
lea esi, [esp + 0x120]
mov edi, 0x8b
mov eax, esi
mov edx, 0x8b
mov bx, word [ecx]
add ecx, 2
mov word [eax], bx
add eax, 0x116
dec edx
jne 0x40717e
add esi, 2
dec edi
jne 0x407177
mov esi, dword [esp + 0x9818]
xor ebx, ebx
lea esi, [esi + esi*8]
cmp esi, ebp
jle 0x407215
mov dword [esp + 0x10], ebp
mov eax, ebp
mov ecx, 0x82
cdq
idiv esi
lea edi, [ebx + ebx]
sub ecx, eax
mov eax, ecx
cdq
and edx, 7
add eax, edx
mov ecx, eax
mov eax, dword [esp + 0x10]
cdq
idiv esi
sar ecx, 3
add eax, 0x50
cdq
and edx, 7
add eax, edx
sar eax, 3
shl eax, 5
add ecx, eax
shl ecx, 5
lea edx, [ecx + 0x1f]
mov ecx, 0x2094
mov eax, ecx
add ecx, 0x116
sub eax, edi
cmp ecx, 0x3762
mov word [esp + eax + 0x1d6], dx
jl 0x4071e8
mov ecx, dword [esp + 0x10]
inc ebx
add ebp, 0x64
add ecx, 0x50
cmp ebx, esi
mov dword [esp + 0x10], ecx
jl 0x4071a9
mov esi, dword [esp + 0x981c]
xor ebp, ebp
xor ebx, ebx
lea esi, [esi + esi*8]
cmp esi, ebp
jle 0x407297
mov dword [esp + 0x10], ebp
mov eax, ebp
lea edi, [ebx + ebx]
cdq
idiv esi
mov edx, 0x82
sub edx, eax
mov eax, edx
cdq
and edx, 7
add eax, edx
mov ecx, eax
mov eax, dword [esp + 0x10]
cdq
idiv esi
sar ecx, 3
add eax, 0x50
cdq
and edx, 7
add eax, edx
sar eax, 3
shl eax, 5
add ecx, eax
shl ecx, 5
lea edx, [ecx + 0x1f]
mov ecx, 0x423e
mov eax, ecx
add ecx, 0x116
sub eax, edi
cmp ecx, 0x590c
mov word [esp + eax + 0x1d6], dx
jl 0x40726a
mov ecx, dword [esp + 0x10]
inc ebx
add ebp, 0x64
add ecx, 0x50
cmp ebx, esi
mov dword [esp + 0x10], ecx
jl 0x40722b
mov esi, dword [esp + 0x9820]
xor ebp, ebp
xor ebx, ebx
lea esi, [esi + esi*8]
cmp esi, ebp
jle 0x407319
mov dword [esp + 0x10], ebp
mov eax, ebp
lea edi, [ebx + ebx]
cdq
idiv esi
mov edx, 0x82
sub edx, eax
mov eax, edx
cdq
and edx, 7
add eax, edx
mov ecx, eax
mov eax, dword [esp + 0x10]
cdq
idiv esi
sar ecx, 3
add eax, 0x50
cdq
and edx, 7
add eax, edx
sar eax, 3
shl eax, 5
add ecx, eax
shl ecx, 5
lea edx, [ecx + 0x1f]
mov ecx, 0x63e8
mov eax, ecx
add ecx, 0x116
sub eax, edi
cmp ecx, 0x7ab6
mov word [esp + eax + 0x1d6], dx
jl 0x4072ec
mov ecx, dword [esp + 0x10]
inc ebx
add ebp, 0x64
add ecx, 0x50
cmp ebx, esi
mov dword [esp + 0x10], ecx
jl 0x4072ad
mov edi, 0x4254b4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x417390
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41737c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040b2ad
mov ecx, dword [esp + 0x20]
add esp, 8
mov esi, eax
push esi
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x18]
push eax
push 1
push edx
call fcn.0040b3b7
push 0
push 0x448
push esi
call fcn.0040b32b
add esp, 0x1c
lea ebp, [esp + 0x120]
mov dword [esp + 0x10], 0x8b
mov edi, ebp
mov ebx, 0x8b
push esi
push 2
push 1
push edi
call fcn.0040b3b7
add esp, 0x10
add edi, 0x116
dec ebx
jne 0x4073c2
mov eax, dword [esp + 0x10]
add ebp, 2
dec eax
mov dword [esp + 0x10], eax
jne 0x4073bb
push esi
call fcn.0040b237
add esp, 4
push 0x417378
push 0x73
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
mov edi, 0x4254b4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x417390
rep movsb byte es:[edi], byte [esi]
mov edi, 0x417364
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040b2ad
add esp, 8
mov esi, eax
push esi
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 1
push ebp
call fcn.0040b3b7
push esi
call fcn.0040b237
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9804
ret