Function at 0x100a6f50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fee24
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x140
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x130], eax
mov dword [ebp - 0xf4], 0
lea eax, [ebp - 0xf0]
mov dword [ebp - 4], 0
push eax
push str.Msxml2.FreeThreadedDOMDocument
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
js 0x100a7a57
lea eax, [ebp - 0xf4]
push eax
push 0x1011369c
push 0x17
push 0
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x100a7a57
mov dword [ebp - 0x104], 0
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0xf4]
push 0x1010bdf8
mov eax, dword [edi]
mov eax, dword [eax + 0xbc]
mov dword [ebp - 0xfc], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x110], esi
test esi, esi
je 0x100a7ae2
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 4
push eax
push esi
push edi
call dword [ebp - 0xfc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x124], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xf4]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0xfc], eax
push 0x1011fbd8
mov eax, dword [eax]
mov eax, dword [eax + 0xd0]
mov dword [ebp - 0x108], eax
call esi
mov edi, eax
mov dword [ebp - 0x110], edi
test edi, edi
je 0x100a7aec
push 0x1011fbf4
mov byte [ebp - 4], 6
call esi
mov esi, eax
mov dword [ebp - 0x12c], esi
test esi, esi
je 0x100a7af6
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 7
push eax
push edi
push esi
push dword [ebp - 0xfc]
call dword [ebp - 0x108]
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0xfc], eax
call esi
push edi
call esi
cmp dword [ebp - 0xfc], 0
jl 0x100a711f
mov dword [ebp - 0x108], 0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 0xf4]
push edx
push dword [ebp - 0x124]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x100a711f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x108], 0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 0xf4]
push edx
push dword [ebp - 0x104]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x100a715a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf0]
mov edi, dword [ebp - 0x104]
push dword [0x1014e938]
mov eax, dword [edi]
mov eax, dword [eax + 0xb4]
mov dword [ebp - 0xfc], eax
xor eax, eax
mov word [ebp - 0xf0], ax
call fcn.100684c0
mov byte [ebp - 4], 0xc
movups xmm0, xmmword [ebp - 0xf0]
push str.component
movups xmmword [ebp - 0x150], xmm0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x110], esi
test esi, esi
je 0x100a7b00
sub esp, 0x10
mov byte [ebp - 4], 0xd
movups xmm0, xmmword [ebp - 0x150]
mov eax, esp
push esi
push edi
movups xmmword [eax], xmm0
call dword [ebp - 0xfc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 5
push eax
mov eax, dword [sym.imp.OLEAUT32.dll_VariantCopy]
call eax
mov esi, dword [0x1014be3c]
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x100a7206
xor ecx, ecx
jmp 0x100a7238
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, eax
test edx, edx
jne 0x100a721f
xor ecx, ecx
jmp 0x100a7238
movzx eax, word [edx + 0x38]
movzx ecx, al
movzx eax, word [edx + 0x3a]
shl eax, 8
or ecx, eax
movzx eax, word [edx + 0x3e]
shl ecx, 0x10
or ecx, eax
movzx eax, cx
push eax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
push eax
push ecx
push str._d._d._d
lea eax, [ebp - 0xe0]
push 0x64
push eax
call fcn.100a4830
mov edi, dword [ebp - 0x104]
lea ecx, [ebp - 0xf0]
add esp, 0x18
mov eax, dword [edi]
mov eax, dword [eax + 0xb4]
mov dword [ebp - 0xfc], eax
xor eax, eax
mov word [ebp - 0xf0], ax
lea eax, [ebp - 0xe0]
push eax
call fcn.100684c0
mov byte [ebp - 4], 0xe
movups xmm0, xmmword [ebp - 0xf0]
push str.version
movups xmmword [ebp - 0x150], xmm0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x110], esi
test esi, esi
je 0x100a7b0a
sub esp, 0x10
mov byte [ebp - 4], 0xf
movups xmm0, xmmword [ebp - 0x150]
mov eax, esp
push esi
push edi
movups xmmword [eax], xmm0
call dword [ebp - 0xfc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 5
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push eax
call edi
mov esi, dword [0x1014e914]
mov dword [ebp - 0x10c], esi
cmp dword [esi], 0
je 0x100a7760
nop word [eax + eax]
mov eax, dword [esi + 4]
cmp eax, 0xfffffffe
je 0x100a774e
cmp eax, 0xffffffff
je 0x100a774e
cmp dword [esi + 0x30], 0
jne 0x100a774e
test dword [esi + 0x20], 0x5090
jne 0x100a774e
cmp eax, 0xc
jne 0x100a7724
mov dword [ebp - 0x114], 0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x138]
mov esi, dword [ebp - 0xf4]
mov eax, dword [esi]
mov edi, dword [eax + 0xbc]
mov eax, dword [ebp - 0x10c]
push dword [eax]
call fcn.10049260
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x11
push ecx
push dword [eax]
push esi
call edi
push dword [ebp - 0x138]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xf8], 0
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0xf4]
push edx
push dword [0x10158a98]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc4]
mov eax, dword [ebp - 0x104]
lea edx, [ebp - 0xf8]
push edx
push dword [ebp - 0x100]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x100a73ff
mov dword [ebp - 0xf8], 0
mov byte [ebp - 4], 0x15
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x104]
lea edx, [ebp - 0xf8]
push edx
push dword [ebp - 0x114]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x1011fc10
call esi
mov edi, eax
mov dword [ebp - 0x12c], edi
test edi, edi
je 0x100a7ae2
push str.Line
mov byte [ebp - 4], 0x16
call esi
mov esi, eax
mov dword [ebp - 0x108], esi
test esi, esi
je 0x100a7ae2
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x10c]
cmp word [eax + 0x38], 8
jne 0x100a7651
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x118], ecx
cmp word [ecx], 0
je 0x100a7651
push 0xa
push ecx
call fcn.100d61ed
add esp, 8
mov dword [ebp - 0x110], eax
test eax, eax
je 0x100a7495
sub eax, dword [ebp - 0x118]
jmp 0x100a74ad
mov eax, dword [ebp - 0x118]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100a74a0
sub eax, edx
sar eax, 1
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x11c], 0
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0xf4]
push edx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xbc]
mov edi, dword [ebp - 0x11c]
mov eax, dword [edi]
mov ecx, dword [eax + 0x6c]
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x13c], ecx
test eax, eax
js 0x100a7b1e
jne 0x100a7505
xor esi, esi
mov dword [ebp - 0xfc], esi
jmp 0x100a7528
push eax
push dword [ebp - 0x118]
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
mov dword [ebp - 0xfc], esi
test esi, esi
je 0x100a7ae2
mov ecx, dword [ebp - 0x13c]
push esi
push edi
mov byte [ebp - 4], 0x19
call ecx
push esi
mov byte [ebp - 4], 0x18
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x100a755d
mov dword [ebp - 0xf8], 0
mov byte [ebp - 4], 0x1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x100a757f
mov dword [ebp - 0x100], 0
mov byte [ebp - 4], 0x1d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0x100]
mov edi, dword [ebp - 0x12c]
push edx
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc4]
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0xf8]
push edx
push dword [ebp - 0x100]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x100a75d7
mov dword [ebp - 0xf8], 0
mov byte [ebp - 4], 0x1f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0xf8]
push edx
push dword [ebp - 0x11c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
mov ecx, dword [ebp - 0x110]
test ecx, ecx
je 0x100a7633
add ecx, 2
mov dword [ebp - 0x118], ecx
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x100a761d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x118]
mov byte [ebp - 4], 0x17
cmp word [ecx], 0
mov esi, dword [ebp - 0x108]
jne 0x100a7478
jmp 0x100a764b
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x100a7647
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x17
mov esi, dword [ebp - 0x108]
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x100a7673
mov dword [ebp - 0xf8], 0
mov byte [ebp - 4], 0x23
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x100a7695
mov dword [ebp - 0x100], 0
mov byte [ebp - 4], 0x25
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0x100]
push edx
push dword [0x10158a98]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc4]
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0xf8]
push edx
push dword [ebp - 0x100]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push edi
call esi
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x100a76ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x100a76fe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x100a7712
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x10c]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x100a774e
cmp eax, 1
je 0x100a7734
cmp eax, 2
jne 0x100a77a9
cmp dword [esi + 0x64], 0xffffffff
je 0x100a77b3
mov edx, dword [ebp - 0x104]
lea eax, [esi + 0x38]
mov ecx, dword [ebp - 0xf4]
push eax
push dword [esi]
call fcn.100a6df0
add esp, 8
add esi, 0x60
mov dword [ebp - 0x10c], esi
cmp dword [esi], 0
jne 0x100a7310
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x128], 0
mov byte [ebp - 4], 0x2e
mov edi, dword [ebp - 0xf4]
push 0x1011e91c
mov eax, dword [edi]
mov eax, dword [eax + 0xc4]
mov dword [ebp - 0x110], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x12c], esi
test esi, esi
je 0x100a7b14
jmp 0x100a7824
cmp eax, 3
jge 0x100a7734
cmp eax, 2
jne 0x100a774e
cmp dword [esi + 0x64], 0xffffffff
jne 0x100a774e
xor eax, eax
cmp word [esi + 0x38], 3
jne 0x100a77c5
mov eax, dword [esi + 0x40]
lea ecx, [esi + 0x60]
test eax, eax
je 0x100a77db
add ecx, 0x60
dec eax
cmp dword [ecx + 4], 0xffffffff
je 0x100a77c8
jmp 0x100a774e
push dword [ecx]
xor eax, eax
lea ecx, [ebp - 0xf0]
mov word [ebp - 0xf0], ax
call fcn.100684c0
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xf4]
push eax
push dword [esi]
call fcn.100a6df0
add esp, 8
mov byte [ebp - 4], 5
lea eax, [ebp - 0xf0]
push eax
call edi
jmp 0x100a774e
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0x2f
push eax
push esi
push edi
call dword [ebp - 0x110]
push esi
mov byte [ebp - 4], 0x2e
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x104]
lea edx, [ebp - 0x128]
push edx
push dword [ebp - 0x120]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
mov esi, dword [ebp - 0xf4]
lea ecx, [ebp - 0xf0]
push dword [ebp - 0x130]
mov eax, dword [esi]
mov edi, dword [eax + 0x108]
xor eax, eax
mov word [ebp - 0xf0], ax
call fcn.100684c0
sub esp, 0x10
mov byte [ebp - 4], 0x30
movups xmm0, xmmword [ebp - 0xf0]
mov eax, esp
push esi
movups xmmword [eax], xmm0
call edi
mov esi, eax
mov byte [ebp - 4], 0x2e
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [sym.imp.OLEAUT32.dll_VariantCopy]
call eax
test esi, esi
jns 0x100a79c3
call fcn.100215d0
mov ecx, eax
test ecx, ecx
je 0x100a7b28
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10c], eax
mov eax, str.Failed_to_save_XML_file
mov byte [ebp - 4], 0x31
test eax, 0xffff0000
jne 0x100a7901
movzx esi, ax
mov ecx, esi
call fcn.10027d50
test eax, eax
je 0x100a7913
push esi
push eax
lea ecx, [ebp - 0x10c]
call fcn.10026d00
jmp 0x100a7913
push 0x18
push str.Failed_to_save_XML_file
lea ecx, [ebp - 0x10c]
call fcn.10021eb0
push dword [ebp - 0x130]
mov byte [ebp - 4], 0x32
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x134]
mov ecx, esi
call fcn.100ad5d0
mov edx, dword [ebp - 0x10c]
add esp, 4
add edx, 0xfffffff0
mov byte [ebp - 4], 0x33
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100a7955
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x34
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x100a7969
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x35
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x100a797d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x36
mov eax, dword [ebp - 0x124]
test eax, eax
je 0x100a7991
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x37
mov eax, dword [ebp - 0x104]
test eax, eax
je 0x100a79a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x38
mov ecx, dword [ebp - 0xf4]
test ecx, ecx
je 0x100a79bc
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
jmp 0x100a7ac2
mov byte [ebp - 4], 0x39
call fcn.100215d0
mov ecx, eax
test ecx, ecx
je 0x100a7b32
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, dword [ebp - 0x134]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x3a
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x100a79fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x3b
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x100a7a10
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x3c
mov eax, dword [ebp - 0x124]
test eax, eax
je 0x100a7a24
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x3d
mov eax, dword [ebp - 0x104]
test eax, eax
je 0x100a7a38
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x3e
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x100a79bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x100a7ac2
call fcn.100215d0
mov ecx, eax
test ecx, ecx
je 0x100a7b3c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov eax, str.Failed_to_initialize_XML_parser
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x100a7a9b
movzx esi, ax
mov ecx, esi
call fcn.10027d50
test eax, eax
je 0x100a7aa9
push esi
push eax
mov ecx, edi
call fcn.10026d00
jmp 0x100a7aa9
push 0x1f
push str.Failed_to_initialize_XML_parser
mov ecx, edi
call fcn.10021eb0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x100a7ac0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100d4906
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push 0x8007000e
call fcn.10013970
push 0x8007000e
call fcn.10013970
push 0x8007000e
call fcn.10013970
push 0x8007000e
call fcn.10013970
push 0x8007000e
call fcn.10013970
push 0x8007000e
call fcn.10013970
push 0x80070057
call fcn.10013970
push 0x80004005
call fcn.10013970
push 0x80004005
call fcn.10013970
push 0x80004005
call fcn.10013970
int3