Function at 0x4063b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5419
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x52038c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x58
call fcn.004a4c59
mov esi, eax
mov dword [ebp - 0x30], esi
push 0x58
push 0
push esi
mov dword [ebp - 4], 0
call fcn.004be240
mov dword [esi + 0x10], 0x50ecb0
mov dword [esi + 0x4c], vtable.nbase::SupportWeakCallback.0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x2c], 1
push str.Global_Chores_Thread
call fcn.0040d820
mov eax, dword [esi + 0x10]
mov dword [esi], vtable.MiscThread.1.0
mov eax, dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + esi + 0x10], vtable.MiscThread.0
mov dword [esi + 0x48], 1
mov ecx, dword [edi + 0x48]
mov dword [edi + 0x48], esi
test ecx, ecx
je 0x406478
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [edi + 0x48]
cmp dword [esi + 0x1c], 0
jne 0x4064a9
mov ecx, esi
mov dword [esi + 0x18], 0
mov dword [esi + 0x28], 0
call fcn.0040f1d0
test al, al
je 0x4064a9
push 0xffffffffffffffff
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esi + 0x14], 1
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x525bc8]
cmp eax, dword [ecx + 4]
jle 0x4064fe
push 0x525bc8
call fcn.004a4e0e
add esp, 4
cmp dword [0x525bc8], 0xffffffff
jne 0x4064fe
mov dword [ebp - 4], 2
call fcn.0040e390
push 0x4eb720
call fcn.004a5165
push 0x525bc8
mov dword [ebp - 4], 0xffffffff
call fcn.004a4dcf
add esp, 8
push 0
call fcn.0040e410
push dword [0x525aac]
call fcn.0041fdf0
add esp, 4
push 0x50ec38
push 0x82
push dword [0x525aac]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push dword [0x525aac]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [0x525aac]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
call fcn.0042001c
push 0x50ec40
lea eax, [ebp - 0x28]
push 0x50ec50
push eax
call fcn.0040c3c0
push 0x694
mov dword [ebp - 4], 3
call fcn.004a4c59
mov esi, eax
mov dword [ebp - 0x30], esi
push 0x694
push 0
push esi
mov byte [ebp - 4], 4
call fcn.004be240
sub esp, 0x60
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0xffffffffffffffff
push 0x50ec6c
call fcn.00419689
sub esp, 0x84
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0xffffffffffffffff
push 0x50ec74
call fcn.00419689
sub esp, 0x84
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0xffffffffffffffff
push 0x50d6e8
call fcn.00419689
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
sub esp, 0x84
mov ecx, esp
push 0xffffffffffffffff
push eax
call fcn.00419689
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00404ad0
push 0
push accept
push accept
push accept
push accept
push 0x100
mov esi, eax
mov byte [ebp - 4], 3
push 0x96c80000
push 0x50ec7c
push 0
mov ecx, esi
call fcn.004217bf
mov ecx, esi
call fcn.0042166b
push 1
push 1
mov ecx, esi
call fcn.00421c7c
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x406657
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404840
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4c3a
mov esp, ebp
pop ebp
ret