Function at 0x40ef60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x595834]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
push 0x54bff8
push 0x89
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
push 0x65
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.0051ab50
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40efb1
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dl, byte [eax]
mov byte [ebp - 0x70], dl
cmp byte [ebp - 0x70], 0
setne al
mov byte [0x5991fc], al
push 0x54bff8
push 0x8a
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
push 0x65
push 0
lea ecx, [ebp - 0x70]
push ecx
call fcn.0051ab50
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40f000
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0x19
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x70]
test eax, eax
jne 0x40f010
mov dword [ebp - 0x74], 0
jmp 0x40f061
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x1a0], ecx
mov edx, dword [ebp - 0x1a0]
add edx, 1
mov dword [ebp - 0x1a4], edx
mov eax, dword [ebp - 0x1a0]
mov cl, byte [eax]
mov byte [ebp - 0x1a5], cl
add dword [ebp - 0x1a0], 1
cmp byte [ebp - 0x1a5], 0
jne 0x40f028
mov edx, dword [ebp - 0x1a0]
sub edx, dword [ebp - 0x1a4]
mov dword [ebp - 0x1ac], edx
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
lea edx, [ebp - 0x70]
push edx
mov ecx, 0x59922c
call fcn.00402030
push 0x54bff8
push 0x8b
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
push 0x65
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.0051ab50
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40f0b6
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0x19
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x70]
push edx
call fcn.0051c0fd
add esp, 4
mov dword [0x599200], eax
push 0x54bff8
push 0x8c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
push 0x65
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.0051ab50
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40f10a
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0x19
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x70]
test edx, edx
jne 0x40f11d
mov dword [ebp - 0x90], 0
jmp 0x40f171
lea eax, [ebp - 0x70]
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x1b0]
add ecx, 1
mov dword [ebp - 0x1b4], ecx
mov edx, dword [ebp - 0x1b0]
mov al, byte [edx]
mov byte [ebp - 0x1b5], al
add dword [ebp - 0x1b0], 1
cmp byte [ebp - 0x1b5], 0
jne 0x40f135
mov ecx, dword [ebp - 0x1b0]
sub ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1bc], ecx
mov edx, dword [ebp - 0x1bc]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov ecx, 0x599218
call fcn.00402030
push 0x54bff8
push 0x8d
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
push 0x65
push 0
lea edx, [ebp - 0x70]
push edx
call fcn.0051ab50
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40f1c9
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0x19
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x70]
push ecx
call fcn.0051c0fd
add esp, 4
mov dword [0x599204], eax
push 0x54bff8
push 0x8f
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
push 0x65
push 0
lea edx, [ebp - 0x70]
push edx
call fcn.0051ab50
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40f21d
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0x19
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x70]
push ecx
call fcn.0051c0fd
add esp, 4
mov dword [0x599208], eax
push 0x54bff8
push 0x90
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
push 0x65
push 0
lea edx, [ebp - 0x70]
push edx
call fcn.0051ab50
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40f271
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0x19
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x70]
test ecx, ecx
jne 0x40f284
mov dword [ebp - 0xac], 0
jmp 0x40f2d8
lea edx, [ebp - 0x70]
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x1c0]
add eax, 1
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1c0]
mov dl, byte [ecx]
mov byte [ebp - 0x1c5], dl
add dword [ebp - 0x1c0], 1
cmp byte [ebp - 0x1c5], 0
jne 0x40f29c
mov eax, dword [ebp - 0x1c0]
sub eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, 0x599210
call fcn.00402030
push 0x54bff8
push 0x91
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
push 0x65
push 0
lea ecx, [ebp - 0x70]
push ecx
call fcn.0051ab50
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40f330
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0x19
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x70]
test eax, eax
jne 0x40f343
mov dword [ebp - 0xc8], 0
jmp 0x40f397
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x1d0], ecx
mov edx, dword [ebp - 0x1d0]
add edx, 1
mov dword [ebp - 0x1d4], edx
mov eax, dword [ebp - 0x1d0]
mov cl, byte [eax]
mov byte [ebp - 0x1d5], cl
add dword [ebp - 0x1d0], 1
cmp byte [ebp - 0x1d5], 0
jne 0x40f35b
mov edx, dword [ebp - 0x1d0]
sub edx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1dc], edx
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x70]
push edx
mov ecx, 0x599320
call fcn.00402030
push 0x54bff8
push 0x92
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
push 0x65
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.0051ab50
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40f3ef
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0x19
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x70]
test edx, edx
jne 0x40f402
mov dword [ebp - 0xe4], 0
jmp 0x40f456
lea eax, [ebp - 0x70]
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
add ecx, 1
mov dword [ebp - 0x1e4], ecx
mov edx, dword [ebp - 0x1e0]
mov al, byte [edx]
mov byte [ebp - 0x1e5], al
add dword [ebp - 0x1e0], 1
cmp byte [ebp - 0x1e5], 0
jne 0x40f41a
mov ecx, dword [ebp - 0x1e0]
sub ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1ec], ecx
mov edx, dword [ebp - 0x1ec]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov ecx, 0x599214
call fcn.00402030
push 0x54bff8
push 0x94
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
push 0x65
push 0
lea edx, [ebp - 0x70]
push edx
call fcn.0051ab50
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40f4ae
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0x19
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x70]
push ecx
call fcn.0051c0fd
add esp, 4
mov dword [0x5911e4], eax
push 0x54bff8
push 0x96
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
push 0x65
push 0
lea edx, [ebp - 0x70]
push edx
call fcn.0051ab50
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40f502
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0x19
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x70]
test ecx, ecx
jne 0x40f515
mov dword [ebp - 0x100], 0
jmp 0x40f569
lea edx, [ebp - 0x70]
mov dword [ebp - 0x1f0], edx
mov eax, dword [ebp - 0x1f0]
add eax, 1
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x1f0]
mov dl, byte [ecx]
mov byte [ebp - 0x1f5], dl
add dword [ebp - 0x1f0], 1
cmp byte [ebp - 0x1f5], 0
jne 0x40f52d
mov eax, dword [ebp - 0x1f0]
sub eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x100]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, 0x59920c
call fcn.00402030
push 0x54bff8
push 0x97
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
push 0x65
push 0
lea ecx, [ebp - 0x70]
push ecx
call fcn.0051ab50
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40f5c1
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0x19
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x70]
test eax, eax
jne 0x40f5d4
mov dword [ebp - 0x128], 0
jmp 0x40f628
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp - 0x200]
add edx, 1
mov dword [ebp - 0x204], edx
mov eax, dword [ebp - 0x200]
mov cl, byte [eax]
mov byte [ebp - 0x205], cl
add dword [ebp - 0x200], 1
cmp byte [ebp - 0x205], 0
jne 0x40f5ec
mov edx, dword [ebp - 0x200]
sub edx, dword [ebp - 0x204]
mov dword [ebp - 0x20c], edx
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
push ecx
lea edx, [ebp - 0x70]
push edx
mov ecx, 0x599228
call fcn.00402030
push 0x54bff8
push 0x98
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
push 0x65
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.0051ab50
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40f680
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0x19
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x70]
test edx, edx
jne 0x40f693
mov dword [ebp - 0x150], 0
jmp 0x40f6e7
lea eax, [ebp - 0x70]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
add ecx, 1
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x210]
mov al, byte [edx]
mov byte [ebp - 0x215], al
add dword [ebp - 0x210], 1
cmp byte [ebp - 0x215], 0
jne 0x40f6ab
mov ecx, dword [ebp - 0x210]
sub ecx, dword [ebp - 0x214]
mov dword [ebp - 0x21c], ecx
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x150]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov ecx, 0x599224
call fcn.00402030
push 0x54bff8
push 0x99
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
push 0x65
push 0
lea edx, [ebp - 0x70]
push edx
call fcn.0051ab50
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40f73f
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0x19
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x70]
test ecx, ecx
jne 0x40f752
mov dword [ebp - 0x178], 0
jmp 0x40f7a6
lea edx, [ebp - 0x70]
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x220]
add eax, 1
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x220]
mov dl, byte [ecx]
mov byte [ebp - 0x225], dl
add dword [ebp - 0x220], 1
cmp byte [ebp - 0x225], 0
jne 0x40f76a
mov eax, dword [ebp - 0x220]
sub eax, dword [ebp - 0x224]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x178]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, 0x59921c
call fcn.00402030
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0051a243
mov esp, ebp
pop ebp
ret