Function at 0x1009f1d0
Capabilities:
Check if file exists
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015dc72
mov eax, dword fs:[0]
push eax
mov eax, 0x1268
call fcn.1010bb90
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x11c0], ebx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x1274]
mov dword [ebx + 0x1168], 1
call fcn.10106970
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1180], eax
cmp dword [ebx + 0x1160], eax
je 0x1009f272
push edi
push str.DEFAULT_SKIN
mov ecx, ebx
call fcn.1004e8d0
lea eax, [ebx + 0x1200]
mov ecx, ebx
push eax
call fcn.1004e790
test eax, eax
je 0x1009f3b3
push 0
push 0
push dword [eax]
lea ecx, [ebp - 0x1274]
call fcn.101096c0
jmp 0x1009f3b3
push 0x208
lea eax, [ebp - 0xa3c]
push 0
push eax
call fcn.1012bcf0
add esp, 0xc
lea eax, [ebp - 0x1174]
mov ecx, ebx
push eax
call sym.WnSkinPreview.dll_private:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_CSkinData::GetSkinXml_void_
cmp dword [eax + 0x14], 8
jb 0x1009f29e
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xa3c]
push 0x10184498
push eax
call fcn.10041b40
mov eax, dword [ebp - 0x1160]
add esp, 0xc
cmp eax, 8
jb 0x1009f2d1
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042120
lea eax, [ebp - 0xa3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a0368
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0xa3c]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 1
call esi
push 0
push 0
push eax
lea eax, [ebp - 0x115c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xa3c]
push eax
push 0
push 1
call esi
push 0
lea eax, [ebp - 0x115c]
push eax
lea ecx, [ebp - 0x1274]
call fcn.101078e0
test al, al
jne 0x1009f3a9
push 0x10190998
push str.Skin
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x100a0368
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea esi, [edi + 1]
push esi
call fcn.10050ec0
add esp, 4
mov dword [ebp - 0x1180], eax
push esi
mov esi, eax
push 0
push esi
call fcn.1012bcf0
add esp, 0xc
push edi
push ebx
push esi
call fcn.10140f80
add esp, 0xc
lea ecx, [ebp - 0x1274]
push 0
push 0
push esi
call fcn.101096c0
jmp 0x1009f3b3
mov dword [ebx + 0x1168], 0
push str.TheSkin
lea ecx, [ebp - 0x1274]
call fcn.101075b0
test eax, eax
je 0x100a0368
mov ecx, eax
call fcn.10107650
mov edi, eax
mov dword [ebp - 0x1178], edi
test edi, edi
je 0x100a034e
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 8
call fcn.1010a803
mov esi, eax
add esp, 4
mov dword [ebp - 0x11c4], esi
mov byte [ebp - 4], 1
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10044090
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1188]
push esi
mov dword [esi], eax
mov dword [ebp - 0x1188], 0
mov dword [ebp - 0x1184], 0
call fcn.100ab300
push 0
push 0
mov byte [ebp - 4], 2
mov esi, dword [edi + 0x20]
push 0xffffffffffffffff
add esi, 8
push esi
push 0
push 0xfde9
call ebx
push eax
lea eax, [ebp - 0x834]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call ebx
push 8
call fcn.1010a803
mov esi, eax
add esp, 4
mov dword [ebp - 0x11c8], esi
mov byte [ebp - 4], 3
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10044090
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1190]
push esi
mov dword [esi], eax
mov dword [ebp - 0x1190], 0
mov dword [ebp - 0x118c], 0
call fcn.100ab3c0
push 8
mov byte [ebp - 4], 4
call fcn.1010a803
mov esi, eax
add esp, 4
mov dword [ebp - 0x11cc], esi
mov byte [ebp - 4], 5
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005f280
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1198]
push esi
mov dword [esi], eax
mov dword [ebp - 0x1198], 0
mov dword [ebp - 0x1194], 0
call fcn.100880f0
lea eax, [edi + 0x2c]
mov byte [ebp - 4], 6
mov ebx, dword [eax + 0x20]
cmp ebx, eax
je 0x1009f672
test ebx, ebx
je 0x1009f672
mov esi, dword [ebx + 0x18]
mov edi, dword [ebx + 0x14]
add esi, 8
add edi, 8
je 0x1009f661
test esi, esi
je 0x1009f661
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call eax
push eax
lea eax, [ebp - 0x424]
push eax
push 0xffffffffffffffff
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0xfde9
call edi
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call edi
push eax
lea eax, [ebp - 0x21c]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call edi
xor eax, eax
mov dword [ebp - 0x1160], 7
mov dword [ebp - 0x1164], 0
mov word [ebp - 0x1174], ax
cmp word [ebp - 0x424], ax
jne 0x1009f5b7
xor ecx, ecx
jmp 0x1009f5cf
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009f5c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x1174]
call fcn.10041f80
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1198]
push eax
lea eax, [ebp - 0x1220]
push eax
call fcn.100781e0
cmp word [ebp - 0x21c], 0
mov esi, dword [ebp - 0x1220]
jne 0x1009f613
xor ecx, ecx
jmp 0x1009f62f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009f620
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [esi + 0x28]
call fcn.10041f80
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1160]
cmp eax, 8
jb 0x1009f661
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042120
mov ecx, ebx
call fcn.10107960
mov ebx, eax
test ebx, ebx
jne 0x1009f520
push 7
xor eax, eax
mov dword [ebp - 0x1160], 7
push str.OurSelf
lea ecx, [ebp - 0x1174]
mov dword [ebp - 0x1164], 0
mov word [ebp - 0x1174], ax
call fcn.10041f80
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x1190]
mov ecx, edi
push eax
lea eax, [ebp - 0x122c]
push eax
call fcn.10078150
mov eax, dword [ebp - 0x122c]
mov ecx, dword [ebp - 0x1194]
test ecx, ecx
je 0x1009f6d4
lock inc dword [ecx + 4]
mov esi, dword [eax + 0x2c]
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0x1198]
mov dword [eax + 0x28], ecx
mov byte [ebp - 4], 0xa
test esi, esi
je 0x1009f70c
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1009f70c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1009f70c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1160]
cmp eax, 8
jb 0x1009f72e
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042120
push 7
xor eax, eax
mov dword [ebp - 0x1160], 7
push str.OurSelf
lea ecx, [ebp - 0x1174]
mov dword [ebp - 0x1164], 0
mov word [ebp - 0x1174], ax
call fcn.10041f80
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1188]
push eax
lea eax, [ebp - 0x11e0]
push eax
call fcn.100780c0
mov eax, dword [ebp - 0x11e0]
mov ebx, dword [ebp - 0x118c]
test ebx, ebx
je 0x1009f78e
lock inc dword [ebx + 4]
mov esi, dword [eax + 0x2c]
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x28], edi
mov byte [ebp - 4], 0xd
test esi, esi
je 0x1009f7c0
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1009f7c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1009f7c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1160]
cmp eax, 8
jb 0x1009f7e2
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042120
mov ecx, 0x10190d94
lea eax, [ebp - 0x834]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1009f816
test dx, dx
je 0x1009f812
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1009f816
add eax, 4
add ecx, 4
test dx, dx
jne 0x1009f7f0
xor eax, eax
jmp 0x1009f81b
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x1178]
test eax, eax
jne 0x1009fca3
call fcn.10107650
mov ebx, eax
mov dword [ebp - 0x117c], ebx
test ebx, ebx
je 0x100a01b8
nop
mov esi, dword [ebx + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esi, 8
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call edi
push eax
lea eax, [ebp - 0x62c]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call edi
push 8
call fcn.1010a803
mov esi, eax
add esp, 4
mov dword [ebp - 0x11d0], esi
mov byte [ebp - 4], 0xe
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10044090
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x11b4]
push esi
mov dword [esi], eax
mov dword [ebp - 0x11b4], 0
mov dword [ebp - 0x11b0], 0
call fcn.100ab3c0
push 8
mov byte [ebp - 4], 0xf
call fcn.1010a803
mov esi, eax
add esp, 4
mov dword [ebp - 0x11d4], esi
mov byte [ebp - 4], 0x10
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005f280
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x11bc]
push esi
mov dword [esi], eax
mov dword [ebp - 0x11bc], 0
mov dword [ebp - 0x11b8], 0
call fcn.100880f0
mov ecx, ebx
mov byte [ebp - 4], 0x11
call fcn.10107650
mov ebx, dword [ebp - 0x11bc]
mov edi, eax
test edi, edi
je 0x1009fa92
nop dword [eax]
mov esi, dword [edi + 0x20]
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esi, 8
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call eax
push eax
lea eax, [ebp - 0x1054]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x1009fa81
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
je 0x1009fa81
mov esi, dword [eax + 0x20]
push 0
push 0
push 0xffffffffffffffff
add esi, 8
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0xe4c]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov dword [ebp - 0x1160], 7
mov dword [ebp - 0x1164], 0
mov word [ebp - 0x1174], ax
cmp word [ebp - 0x1054], ax
jne 0x1009f9d7
xor ecx, ecx
jmp 0x1009f9ef
lea ecx, [ebp - 0x1054]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009f9e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1054]
push eax
lea ecx, [ebp - 0x1174]
call fcn.10041f80
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x11e8]
mov ecx, ebx
push eax
call fcn.100781e0
cmp word [ebp - 0xe4c], 0
mov esi, dword [ebp - 0x11e8]
jne 0x1009fa2f
xor ecx, ecx
jmp 0x1009fa4f
lea ecx, [ebp - 0xe4c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009fa40
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xe4c]
push eax
lea ecx, [esi + 0x28]
call fcn.10041f80
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x1160]
cmp eax, 8
jb 0x1009fa81
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042120
mov ecx, edi
call fcn.101079e0
mov edi, eax
test edi, edi
jne 0x1009f930
push 7
xor eax, eax
mov dword [ebp - 0x1160], 7
push str.OurSelf
lea ecx, [ebp - 0x1174]
mov dword [ebp - 0x1164], 0
mov word [ebp - 0x1174], ax
call fcn.10041f80
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x11b4]
push eax
lea eax, [ebp - 0x11f0]
push eax
call fcn.10078150
mov eax, dword [ebp - 0x11f0]
mov edi, dword [ebp - 0x11b8]
test edi, edi
je 0x1009faf2
lock inc dword [edi + 4]
mov esi, dword [eax + 0x2c]
mov dword [eax + 0x2c], edi
mov dword [eax + 0x28], ebx
mov byte [ebp - 4], 0x15
test esi, esi
je 0x1009fb24
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1009fb24
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1009fb24
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x1160]
cmp eax, 8
jb 0x1009fb46
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042120
xor eax, eax
mov dword [ebp - 0x1160], 7
mov dword [ebp - 0x1164], 0
mov word [ebp - 0x1174], ax
cmp word [ebp - 0x62c], ax
jne 0x1009fb70
xor ecx, ecx
jmp 0x1009fb8f
lea ecx, [ebp - 0x62c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009fb80
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x1174]
call fcn.10041f80
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x1188]
push eax
lea eax, [ebp - 0x11f8]
push eax
call fcn.100780c0
mov eax, dword [ebp - 0x11f8]
mov esi, dword [ebp - 0x11b0]
test esi, esi
je 0x1009fbd3
lock inc dword [esi + 4]
mov ebx, dword [eax + 0x2c]
mov ecx, dword [ebp - 0x11b4]
mov dword [eax + 0x2c], esi
mov dword [eax + 0x28], ecx
mov byte [ebp - 4], 0x18
test ebx, ebx
je 0x1009fc0b
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1009fc0b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x1009fc0b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x1160]
cmp eax, 8
jb 0x1009fc2d
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042120
mov ecx, dword [ebp - 0x117c]
call fcn.101079e0
mov ebx, eax
mov dword [ebp - 0x117c], ebx
mov byte [ebp - 4], 0x19
test edi, edi
je 0x1009fc69
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1009fc69
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x1009fc69
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0x1a
test esi, esi
je 0x1009fc92
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1009fc92
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1009fc92
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 6
test ebx, ebx
jne 0x1009f840
jmp 0x100a01b8
call fcn.10107650
mov edi, eax
mov dword [ebp - 0x119c], edi
test edi, edi
je 0x100a01be
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
push 8
call fcn.1010a803
mov esi, eax
add esp, 4
mov dword [ebp - 0x11d8], esi
mov byte [ebp - 4], 0x1b
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10044090
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x11a4]
push esi
mov dword [esi], eax
mov dword [ebp - 0x11a4], 0
mov dword [ebp - 0x11a0], 0
call fcn.100ab3c0
push 0
push 0
mov byte [ebp - 4], 0x1c
mov esi, dword [edi + 0x20]
push 0xffffffffffffffff
add esi, 8
push esi
push 0
push 0xfde9
call ebx
push eax
lea eax, [ebp - 0x62c]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call ebx
mov ecx, edi
call fcn.10107650
mov edi, eax
mov dword [ebp - 0x117c], edi
test edi, edi
je 0x100a0090
push 8
call fcn.1010a803
mov esi, eax
add esp, 4
mov dword [ebp - 0x1224], esi
mov byte [ebp - 4], 0x1d
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005f280
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x11ac]
push esi
mov dword [esi], eax
mov dword [ebp - 0x11ac], 0
mov dword [ebp - 0x11a8], 0
call fcn.100880f0
lea eax, [edi + 0x2c]
mov byte [ebp - 4], 0x1e
mov ebx, dword [eax + 0x20]
cmp ebx, eax
je 0x1009ff62
test ebx, ebx
je 0x1009ff62
nop dword [eax]
mov esi, dword [ebx + 0x14]
mov edi, dword [ebx + 0x18]
add esi, 8
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
add edi, 8
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x424]
push eax
push 0xffffffffffffffff
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0xfde9
call esi
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call esi
push eax
lea eax, [ebp - 0x21c]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call esi
mov ecx, 0x101903c8
lea eax, [ebp - 0x424]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1009fe56
test dx, dx
je 0x1009fe52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1009fe56
add eax, 4
add ecx, 4
test dx, dx
jne 0x1009fe30
xor eax, eax
jmp 0x1009fe5b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1009fe7a
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0xc44]
push 0x10184498
push eax
call fcn.10041b40
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x1160], 7
mov dword [ebp - 0x1164], 0
mov word [ebp - 0x1174], ax
cmp word [ebp - 0x424], ax
je 0x1009febf
lea eax, [ebp - 0x424]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1009feb0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x1174]
call fcn.10041f80
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x11ac]
push eax
lea eax, [ebp - 0x1200]
push eax
call fcn.100781e0
cmp word [ebp - 0x21c], 0
mov esi, dword [ebp - 0x1200]
jne 0x1009ff03
xor ecx, ecx
jmp 0x1009ff1f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009ff10
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [esi + 0x28]
call fcn.10041f80
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x1160]
cmp eax, 8
jb 0x1009ff51
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042120
mov ecx, ebx
call fcn.10107960
mov ebx, eax
test ebx, ebx
jne 0x1009fdc0
xor eax, eax
mov dword [ebp - 0x1160], 7
mov dword [ebp - 0x1164], 0
mov word [ebp - 0x1174], ax
cmp word [ebp - 0xc44], ax
jne 0x1009ff8c
xor ecx, ecx
jmp 0x1009ffa4
lea ecx, [ebp - 0xc44]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009ff95
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xc44]
push eax
lea ecx, [ebp - 0x1174]
call fcn.10041f80
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x11a4]
push eax
lea eax, [ebp - 0x1208]
push eax
call fcn.10078150
mov eax, dword [ebp - 0x1208]
mov esi, dword [ebp - 0x11a8]
test esi, esi
je 0x1009ffe8
lock inc dword [esi + 4]
mov edi, dword [eax + 0x2c]
mov ecx, dword [ebp - 0x11ac]
mov dword [eax + 0x2c], esi
mov dword [eax + 0x28], ecx
mov byte [ebp - 4], 0x22
test edi, edi
je 0x100a0020
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x100a0020
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x100a0020
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x1160]
cmp eax, 8
jb 0x100a0042
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042120
mov ecx, dword [ebp - 0x117c]
call fcn.101079e0
mov edi, eax
mov dword [ebp - 0x117c], edi
mov byte [ebp - 4], 0x23
test esi, esi
je 0x100a007e
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100a007e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x100a007e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x1c
test edi, edi
jne 0x1009fd53
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov dword [ebp - 0x1160], 7
mov dword [ebp - 0x1164], 0
mov word [ebp - 0x1174], ax
cmp word [ebp - 0x62c], ax
jne 0x100a00ba
xor ecx, ecx
jmp 0x100a00d2
lea ecx, [ebp - 0x62c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a00c3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x1174]
call fcn.10041f80
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x1188]
push eax
lea eax, [ebp - 0x1210]
push eax
call fcn.100780c0
mov eax, dword [ebp - 0x1210]
mov esi, dword [ebp - 0x11a0]
test esi, esi
je 0x100a0116
lock inc dword [esi + 4]
mov edi, dword [eax + 0x2c]
mov ecx, dword [ebp - 0x11a4]
mov dword [eax + 0x2c], esi
mov dword [eax + 0x28], ecx
mov byte [ebp - 4], 0x26
test edi, edi
je 0x100a014e
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x100a014e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x100a014e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x1160]
cmp eax, 8
jb 0x100a0170
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042120
mov ecx, dword [ebp - 0x119c]
call fcn.101079e0
mov edi, eax
mov dword [ebp - 0x119c], edi
mov byte [ebp - 4], 0x27
test esi, esi
je 0x100a01ac
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100a01ac
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x100a01ac
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 6
test edi, edi
jne 0x1009fcc0
mov ebx, dword [ebp - 0x118c]
xor eax, eax
mov dword [ebp - 0x1160], 7
mov dword [ebp - 0x1164], 0
mov word [ebp - 0x1174], ax
cmp word [ebp - 0x834], ax
jne 0x100a01e8
xor ecx, ecx
jmp 0x100a0200
lea ecx, [ebp - 0x834]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a01f1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x1174]
call fcn.10041f80
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 0x28
push eax
lea eax, [ebp - 0x1218]
push eax
mov eax, dword [ebp - 0x11c0]
mov ecx, dword [eax + 0x11ec]
call fcn.100780c0
mov eax, dword [ebp - 0x1218]
mov esi, dword [ebp - 0x1184]
test esi, esi
je 0x100a024a
lock inc dword [esi + 4]
mov edi, dword [eax + 0x2c]
mov ecx, dword [ebp - 0x1188]
mov dword [eax + 0x2c], esi
mov dword [eax + 0x28], ecx
mov byte [ebp - 4], 0x2a
test edi, edi
je 0x100a0282
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x100a0282
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x100a0282
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1160]
cmp eax, 8
jb 0x100a02a4
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042120
mov ecx, dword [ebp - 0x1178]
call fcn.101079e0
mov dword [ebp - 0x1178], eax
mov byte [ebp - 4], 0x2b
mov edi, dword [ebp - 0x1194]
test edi, edi
je 0x100a02e4
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x100a02e4
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x100a02e4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0x2c
test ebx, ebx
je 0x100a030d
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x100a030d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x100a030d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 0x2d
test esi, esi
je 0x100a0336
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100a0336
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x100a0336
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x1178]
mov byte [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test edi, edi
jne 0x1009f3e8
mov eax, dword [ebp - 0x1180]
test eax, eax
je 0x100a0361
push eax
call fcn.10050eb0
add esp, 4
mov esi, 1
jmp 0x100a036a
xor esi, esi
mov eax, dword [ebp - 0x1240]
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x101c5520
je 0x100a038a
push eax
call fcn.10050eb0
add esp, 4
lea ecx, [ebp - 0x1274]
call fcn.10106d20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret 4