Function at 0x4017c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x401cfe
push eax
mov dword fs:[0], esp
sub esp, 0x90
mov dword [ebp - 0x10], ecx
push ebx
push esi
xor ebx, ebx
push edi
call fcn.00419105
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
mov dword [esi + 0xf8], vtable.CObject.0
add esi, 0xf8
mov byte [ebp - 4], 2
mov dword [ebp - 0x24], esi
mov dword [esi], vtable.CGdiObject.0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
mov ecx, 3
add esi, 0x100
mov dword [eax], 0x41e490
mov byte [ebp - 4], bl
mov dword [esi - 4], ebx
mov byte [ebp - 4], cl
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.CObject.0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
mov dword [esi], vtable.CGdiObject.0
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x10]
push 0xa
add esi, 0x110
mov dword [eax], 0x41e490
mov ecx, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 6
mov dword [esi - 0xc], ebx
call fcn.00410220
mov esi, dword [ebp - 0x10]
push ebx
mov byte [ebp - 4], 7
mov dword [esi], 0x41e390
call fcn.00404380
add esp, 4
push eax
call fcn.00404340
add esp, 4
call fcn.00404350
push 2
push str.speed
push str.Config
call fcn.0041c655
mov ecx, dword [eax + 4]
call fcn.0041bb34
mov esi, dword [ebp - 0x10]
mov ecx, 0x1785
mov dword [esi + 0xd0], eax
lea eax, [eax + eax*4 + 5]
add eax, eax
cdq
idiv ecx
mov dword [esi + 0xd0], edx
shl edx, 2
push edx
call fcn.004121db
add esp, 4
mov esi, dword [ebp - 0x10]
mov dword [esi + 0xd4], eax
cmp dword [esi + 0xd0], ebx
jle 0x401904
xor ecx, ecx
mov esi, dword [ebp - 0x10]
add ecx, 4
inc ebx
mov eax, dword [esi + 0xd4]
mov dword [eax + ecx - 4], 0xffffff
cmp dword [esi + 0xd0], ebx
jg 0x4018e7
mov esi, dword [ebp - 0x10]
mov ecx, 0x808080
mov edi, 0xc0c0c0
mov eax, dword [esi + 0xd4]
mov dword [eax], 0x404040
mov eax, dword [esi + 0xd4]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0xd4]
mov dword [eax + 8], edi
mov eax, dword [esi + 0xd4]
mov edx, dword [esi + 0xd0]
mov dword [eax + edx*4 - 0xc], edi
mov edx, dword [esi + 0xd0]
mov eax, dword [esi + 0xd4]
push 0
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [eax + edx*4 - 8], ecx
mov edx, dword [esi + 0xd0]
mov eax, dword [esi + 0xd4]
mov dword [eax + edx*4 - 4], 0x404040
call edi
mov esi, dword [ebp - 0x10]
push 1
mov dword [esi + 0xbc], eax
call edi
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 0xbc]
mov dword [esi + 0xc0], eax
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
lea edx, [eax + eax*4]
lea eax, [edx + edx*4]
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov dword [esi + 0xc4], eax
lea eax, [ecx + ecx*4]
lea edx, [eax + eax*4]
lea eax, [edx*8]
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esi + 0x130]
sar eax, 0xa
push 0x4240fc
push str.IDR_TXT
mov dword [esi + 0xc8], eax
mov eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x1c]
mov dword [edx], ebx
mov dword [edx + 4], eax
call fcn.0041c655
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401b71
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, dword [ebp - 0x10]
push 0
push edi
push 0
mov dword [esi + 0x12c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
mov eax, dword [esi + 0x12c]
push eax
call fcn.00418c49
push 0
lea eax, [ebp - 0x58]
push 0x1000
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
push 1
push eax
call fcn.00417f5d
mov byte [ebp - 4], 9
push 4
call fcn.004121db
mov dword [ebp - 0x18], eax
add esp, 4
mov byte [ebp - 4], 0xa
mov esi, eax
mov eax, 0
test esi, esi
je 0x401a82
mov ecx, esi
call fcn.0041222e
mov ebx, 9
mov edi, eax
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], bl
call fcn.00418365
test eax, eax
je 0x401b09
mov ecx, edi
call fcn.0041001e
mov ecx, edi
call fcn.0040ffcf
mov eax, dword [edi]
cmp dword [eax - 8], 0
je 0x401abd
push edi
mov ecx, dword [ebp - 0x20]
call fcn.00410386
jmp 0x401ad1
test edi, edi
je 0x401ad1
mov ecx, edi
call fcn.0041238d
push edi
call fcn.0041221b
add esp, 4
push 4
call fcn.004121db
mov dword [ebp - 0x18], eax
add esp, 4
mov byte [ebp - 4], 0xb
mov esi, eax
mov eax, 0
test esi, esi
je 0x401af4
mov ecx, esi
call fcn.0041222e
mov edi, eax
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], bl
call fcn.00418365
test eax, eax
jne 0x401a9c
test edi, edi
je 0x401b1d
mov ecx, edi
call fcn.0041238d
push edi
call fcn.0041221b
add esp, 4
lea ecx, [ebp - 0x9c]
call fcn.0041810c
lea ecx, [ebp - 0x58]
call fcn.00418ece
mov byte [ebp - 4], 8
call fcn.00401b5e
mov byte [ebp - 4], 7
call fcn.00401b69
jmp 0x401b7e
mov esi, dword [ebp - 0x10]
mov dword [esi + 0x12c], 0
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x114]
mov dword [esi + 0x10c], eax
call fcn.00404350
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 0x11c]
mov esi, 0x7fff
sub ecx, 0x14
imul ecx, eax
mov eax, ecx
cdq
idiv esi
test eax, eax
jle 0x401bcc
mov esi, dword [ebp - 0x10]
dec eax
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov dword [esi + 0x10c], edx
mov ecx, dword [ecx + 8]
mov dword [esi + 0xf0], ecx
jne 0x401baf
push str.0123456789
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 0xf0]
call fcn.0041266b
test eax, eax
jge 0x401c0b
mov esi, dword [ebp - 0x10]
push str.0123456789
mov eax, dword [esi + 0x10c]
mov ecx, dword [eax]
mov dword [esi + 0x10c], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 0xf0], ecx
call fcn.0041266b
test eax, eax
jl 0x401be3
xor edi, edi
mov esi, dword [ebp - 0x10]
push edi
mov ecx, dword [ebp - 0x14]
push 0x4240dc
mov eax, dword [esi + 0xc4]
push eax
call fcn.0041b266
push edi
mov esi, dword [ebp - 0x10]
push 0x4240dc
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi + 0xc8]
push eax
call fcn.0041b266
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
add edx, 0xe0
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 4], ebx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword [edx + 8], esi
mov dword fs:[0], ecx
pop edi
pop esi
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0x10]
pop ebx
mov dword [edx + 0xdc], 2
mov dword [edx + 0xd8], 3
mov esp, ebp
mov eax, edx
pop ebp
ret