Function at 0x10006062
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042640
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov dword [ebp - 0x84], ecx
push 4
mov eax, dword [ebp + 8]
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
mov dword [ebp - 0x14], eax
push 4
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100060c4
mov dword [ebp - 0x14], 0
push 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100060d1
xor eax, eax
jmp 0x1000655a
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x100060ef
xor eax, eax
jmp 0x1000655a
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x84]
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x84]
call fcn.1000b360
test eax, eax
jne 0x10006116
xor eax, eax
jmp 0x1000655a
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
xor edx, edx
mov dx, word [ecx + 2]
mov eax, dword [ebp - 0x60]
lea ecx, [eax + edx + 4]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x24], 0
mov word [ebp - 0x64], 0
mov word [ebp - 0x10], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x58]
call fcn.1000aa70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.1000bb30
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x84]
push edx
lea ecx, [ebp - 0x58]
call fcn.1000b760
push 0
lea ecx, [ebp - 0x3c]
call fcn.1000bbc0
push 2
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x64]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x5c]
add edx, 2
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x64]
and eax, 0xffff
and eax, 0x10
test eax, eax
jne 0x100061d2
push 2
mov ecx, dword [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x10]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x5c]
add eax, 2
mov dword [ebp - 0x5c], eax
jmp 0x100061d8
mov word [ebp - 0x10], 0
mov ecx, dword [ebp - 0x64]
and ecx, 0xffff
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
and edx, 0x80
test edx, edx
je 0x100061fc
mov eax, dword [ebp - 0x1c]
sub eax, 0x80
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea edx, [eax + eax + 2]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov ecx, dword [ebp - 0x5c]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x64]
and eax, 0xffff
and eax, 0x10
test eax, eax
je 0x1000634b
mov ecx, dword [ebp - 0x64]
and ecx, 0xffff
and ecx, 0x80
test ecx, ecx
je 0x10006287
push 1
lea ecx, [ebp - 0x58]
call fcn.1000a840
push eax
lea ecx, [ebp - 0x3c]
call fcn.1000bba0
push 0x5c
call fcn.1000a8a0
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x78], 0
je 0x100062ab
mov ecx, dword [ebp - 0x78]
call fcn.100013e6
mov dword [ebp - 0x88], eax
jmp 0x100062b5
mov dword [ebp - 0x88], 0
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x50]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x4c]
mov dword [ecx + 0x4c], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x44]
mov dword [ecx + 0x44], eax
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 0x48], 1
mov ecx, dword [ebp - 0x68]
call fcn.1000b380
push 0xffffffffffffffff
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x58]
call fcn.1000a840
push eax
lea ecx, [ebp - 0x58]
call fcn.1000b7d0
mov ecx, dword [eax]
call fcn.1000447a
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0x58]
call fcn.1000b760
push 0
lea ecx, [ebp - 0x3c]
call fcn.1000bbc0
jmp 0x100063fd
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x58]
call fcn.1000a840
push eax
lea ecx, [ebp - 0x58]
call fcn.1000b7d0
mov ecx, dword [eax]
call fcn.1000447a
mov ecx, dword [ebp - 0x64]
and ecx, 0xffff
and ecx, 0x80
test ecx, ecx
je 0x1000639d
push 1
lea ecx, [ebp - 0x58]
call fcn.1000a840
push eax
lea ecx, [ebp - 0x3c]
call fcn.1000bba0
lea ecx, [ebp - 0x58]
call fcn.1000a840
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x100063fd
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x3c]
call fcn.1000bb80
test eax, eax
je 0x100063fd
lea ecx, [ebp - 0x58]
call fcn.1000a840
push eax
lea ecx, [ebp - 0x58]
call fcn.1000b7d0
mov ecx, dword [eax]
call fcn.10006847
push 1
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CPtrArray::RemoveAt
push 1
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.1000bbf0
mov edx, dword [ebp - 0x24]
sub edx, 1
mov dword [ebp - 0x24], edx
jmp 0x100063a8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0x58]
call fcn.1000a840
cmp eax, 0xffffffff
jne 0x1000618b
mov dword [ebp - 0x20], 0
jmp 0x10006432
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x84]
call fcn.1000b4a0
cmp dword [ebp - 0x20], eax
jge 0x10006528
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x84]
add ecx, 8
call fcn.1000b7b0
mov ecx, dword [eax]
call fcn.1000129e
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x84]
call fcn.10009778
test eax, eax
je 0x100064c7
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x84]
add ecx, 8
call fcn.1000b7b0
mov ecx, dword [eax]
mov dword [ecx + 0x14], 0x410
lea ecx, [ebp - 0x6c]
call fcn.10027650
push eax
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x84]
call fcn.10009778
mov eax, dword [eax + 4]
push eax
push 0x410
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x84]
call fcn.1000b5f0
jmp 0x10006517
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x84]
add ecx, 8
call fcn.1000b7b0
mov eax, dword [eax]
mov dword [eax + 0x14], 0x400
lea ecx, [ebp - 0x6c]
call fcn.10027650
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x84]
add ecx, 8
call fcn.1000b7b0
mov edx, dword [eax]
mov eax, dword [edx + 0x18]
push eax
push 0x400
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x84]
call fcn.1000b5f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.100411da
jmp 0x10006429
mov edx, dword [ebp - 0x84]
mov dword [edx + 0x58], 1
mov dword [ebp - 0x80], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.1000bc70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.1000aa90
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4