Function at 0x414920
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7a37
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
movzx eax, word [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x17
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x414aeb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x414aeb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x414aeb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, 2
jb 0x414b0a
mov edi, dword [ebp - 0x68]
mov ecx, edi
call fcn.00416d40
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 1
push 0x18
call fcn.00486463
mov ecx, eax
add esp, 4
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x74]
mov dword [ecx], 0x4d8ce8
mov dword [ecx + 4], eax
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x6c], ecx
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
call esi
lea eax, [ebp - 0x84]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x84], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 4
mov eax, 0xd
mov word [ebp - 0x84], ax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
mov esi, dword [ecx]
lea ecx, [ebp - 0x7c]
push ecx
push 0x4d3028
push eax
mov ecx, esi
call dword [0x4c83a0]
call esi
test eax, eax
js 0x414b30
mov ecx, dword [edi + 0x1c]
movups xmm0, xmmword [ebp - 0x84]
mov eax, dword [ecx]
mov esi, dword [eax + 0xe8]
lea eax, [ebp - 0x70]
push eax
sub esp, 0x10
mov eax, esp
push ecx
mov ecx, esi
movups xmmword [eax], xmm0
call dword [0x4c83a0]
call esi
cmp eax, 1
je 0x414b7f
test eax, eax
jns 0x414a9f
push 0
push 0
push eax
lea ecx, [ebp - 0x20]
call fcn.00418dd0
mov byte [ebp - 4], 9
push eax
push 0x81
jmp 0x414b64
mov byte [ebp - 4], 1
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x414ace
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4c83a0]
call esi
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.0048641a
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x414ace
push eax
push 0x8d
push str.C:ReleaseAIplatformosmsxmlMsXmlDomDocument.cpp
lea ecx, [ebp - 0x64]
call fcn.004286d0
jmp 0x414b71
push 0xfde8
push 0x6a
lea eax, [ebp - 0x64]
push str.C:ReleaseAIplatformosmsxmlMsXmlDomDocument.cpp
push eax
call fcn.00413920
add esp, 0x10
lea eax, [ebp - 0x64]
push 0x4f3e34
push eax
call fcn.004881d5
lea ecx, [ebp - 0x6c]
call fcn.004091b0
push 0
push 0
mov ecx, dword [eax]
mov esi, dword [ecx]
lea ecx, [ebp - 0x7c]
push ecx
push 0x4d3028
push eax
mov ecx, esi
call dword [0x4c83a0]
call esi
push eax
lea ecx, [ebp - 0x20]
call fcn.00418dd0
mov byte [ebp - 4], 5
push eax
push 0x74
push str.C:ReleaseAIplatformosmsxmlMsXmlDomDocument.cpp
lea ecx, [ebp - 0x64]
call fcn.00428740
push 0x4f3ff0
lea eax, [ebp - 0x64]
push eax
call fcn.004881d5
lea ecx, [ebp - 0x68]
call fcn.00417810
mov byte [ebp - 4], 6
lea ecx, [edi + 0x1c]
call fcn.004091b0
mov edx, eax
mov ecx, dword [edx]
mov esi, dword [ecx + 0xf0]
lea ecx, [ebp - 0x68]
call fcn.0040b000
push eax
push edx
mov ecx, esi
call dword [0x4c83a0]
call esi
push 0x4d3804
lea ecx, [ebp - 0x28]
call fcn.00407390
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x68]
call fcn.004091b0
push eax
mov ecx, edi
call fcn.00417040
int3