Function at 0x411590
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x58c804]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
push 0x5444d4
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.00515e20
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x4115e1
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 [0x5901bc], al
push 0x5444d4
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.00515e20
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x411630
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 0x411640
mov dword [ebp - 0x74], 0
jmp 0x411691
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
add edx, 1
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x130]
mov cl, byte [eax]
mov byte [ebp - 0x135], cl
add dword [ebp - 0x130], 1
cmp byte [ebp - 0x135], 0
jne 0x411658
mov edx, dword [ebp - 0x130]
sub edx, dword [ebp - 0x134]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
lea edx, [ebp - 0x70]
push edx
mov ecx, 0x5901d8
call fcn.00402070
push 0x5444d4
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.00515e20
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x4116e6
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.005161a1
add esp, 4
mov dword [0x5901c0], eax
push 0x5444d4
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.00515e20
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x41173a
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 0x41174d
mov dword [ebp - 0x90], 0
jmp 0x4117a1
lea eax, [ebp - 0x70]
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
add ecx, 1
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x140]
mov al, byte [edx]
mov byte [ebp - 0x145], al
add dword [ebp - 0x140], 1
cmp byte [ebp - 0x145], 0
jne 0x411765
mov ecx, dword [ebp - 0x140]
sub ecx, dword [ebp - 0x144]
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov ecx, 0x5901d4
call fcn.00402070
push 0x5444d4
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.00515e20
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x4117f9
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.005161a1
add esp, 4
mov dword [0x5901c4], eax
push 0x5444d4
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.00515e20
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x41184d
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.005161a1
add esp, 4
mov dword [0x5901c8], eax
push 0x5444d4
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.00515e20
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x4118a1
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 0x4118b4
mov dword [ebp - 0xb8], 0
jmp 0x411908
lea edx, [ebp - 0x70]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x150]
add eax, 1
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x150]
mov dl, byte [ecx]
mov byte [ebp - 0x155], dl
add dword [ebp - 0x150], 1
cmp byte [ebp - 0x155], 0
jne 0x4118cc
mov eax, dword [ebp - 0x150]
sub eax, dword [ebp - 0x154]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, 0x5901cc
call fcn.00402070
push 0x5444d4
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.00515e20
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x411960
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 0x411973
mov dword [ebp - 0xe0], 0
jmp 0x4119c7
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x160], ecx
mov edx, dword [ebp - 0x160]
add edx, 1
mov dword [ebp - 0x164], edx
mov eax, dword [ebp - 0x160]
mov cl, byte [eax]
mov byte [ebp - 0x165], cl
add dword [ebp - 0x160], 1
cmp byte [ebp - 0x165], 0
jne 0x41198b
mov edx, dword [ebp - 0x160]
sub edx, dword [ebp - 0x164]
mov dword [ebp - 0x16c], edx
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
push ecx
lea edx, [ebp - 0x70]
push edx
mov ecx, 0x5902c8
call fcn.00402070
push 0x5444d4
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.00515e20
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x411a1f
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 0x411a32
mov dword [ebp - 0x108], 0
jmp 0x411a86
lea eax, [ebp - 0x70]
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
add ecx, 1
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x170]
mov al, byte [edx]
mov byte [ebp - 0x175], al
add dword [ebp - 0x170], 1
cmp byte [ebp - 0x175], 0
jne 0x411a4a
mov ecx, dword [ebp - 0x170]
sub ecx, dword [ebp - 0x174]
mov dword [ebp - 0x17c], ecx
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov ecx, 0x5901d0
call fcn.00402070
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0051555a
mov esp, ebp
pop ebp
ret