Function at 0x415570
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push str.STRINGS
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4155a5
xor al, al
jmp 0x415752
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4155c3
xor al, al
jmp 0x415752
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
jne 0x4155ee
xor al, al
jmp 0x415752
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov cx, word [eax]
mov word [ebp - 0x14], cx
movzx edx, word [ebp - 0x14]
cmp edx, 0xfeff
jne 0x415628
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 4]
add eax, 2
push eax
mov ecx, dword [ebp - 0x44]
call fcn.00415410
jmp 0x415746
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0xfffe
jne 0x4156cf
mov eax, dword [ebp - 0xc]
push eax
call fcn.00401e11
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 0
jmp 0x415661
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x24], eax
jge 0x41569c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dl, byte [ecx + eax*2]
mov byte [ebp - 0x25], dl
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov dl, byte [esi + edx*2 + 1]
mov byte [ecx + eax*2], dl
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dl, byte [ebp - 0x25]
mov byte [ecx + eax*2 + 1], dl
jmp 0x415658
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x20]
add eax, 2
push eax
mov ecx, dword [ebp - 0x44]
call fcn.00415410
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.00401ac9
add esp, 4
xor al, al
jmp 0x415752
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00401e11
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
jmp 0x415706
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0xc]
jge 0x415724
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x30]
movzx cx, byte [eax]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov word [eax + edx*2], cx
jmp 0x4156fd
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x44]
call fcn.00415410
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00401ac9
add esp, 4
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4