Function at 0x532270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x885e1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp - 0x9c]
call fcn.0082271b
mov dword [ebp - 0x18], 0x226
mov dword [ebp - 0x14], 0x1c2
push 4
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x9c]
call fcn.00829bd1
mov edx, dword [ebp - 0x9c]
cmp dword [edx + 0x74], 0
jne 0x532578
mov dword [ebp - 4], 0
call fcn.008237ce
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x2c], edx
push str.TEXT
push 0x96
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x532377
mov dword [ebp - 0x78], 0xffffff94
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
push 0xb69d6c
lea edx, [ebp - 0x70]
push edx
call fcn.0083d8fb
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
add edx, 1
push edx
call fcn.00822266
add esp, 4
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x4c]
mov dword [ecx + 0x84], edx
cmp dword [ebp - 0x4c], 0
jne 0x5323ef
mov dword [ebp - 0x88], 0xffffff94
mov dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
push 0xb69d6c
lea edx, [ebp - 0x80]
push edx
call fcn.0083d8fb
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx + 0x84]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x44], 0
jmp 0x53241d
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x24]
jae 0x532452
mov edx, dword [ebp - 0x1c]
mov al, byte [edx]
mov byte [ebp - 0x45], al
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
movsx edx, byte [ebp - 0x45]
cmp edx, 0xd
je 0x532450
mov eax, dword [ebp - 0x20]
mov cl, byte [ebp - 0x45]
mov byte [eax], cl
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
jmp 0x532414
mov eax, dword [ebp - 0x20]
mov byte [eax], 0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
push 0x248
call fcn.0082222c
add esp, 4
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x54], 0
je 0x5324fc
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx + 0x84]
push edx
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.0048b780
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
jmp 0x532506
mov dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x50]
mov dword [ecx + 0x74], edx
cmp dword [ebp - 0x50], 0
jne 0x532562
mov dword [ebp - 0x98], 0xffffff94
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
push 0xb69d6c
lea edx, [ebp - 0x90]
push edx
call fcn.0083d8fb
jmp 0x532571
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 0x74], 0
je 0x532592
mov ecx, dword [ebp - 0x9c]
mov ecx, dword [ecx + 0x74]
call fcn.0048c7a0
push 0
push 0x14
push 3
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0x9c]
call fcn.00829b69
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret