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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015d302
mov eax, dword fs:[0]
push eax
mov eax, 0x1268
call fcn.1010b250
mov eax, dword [0x101b90ec]
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.10106050
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1180], eax
cmp dword [ebx + 0x1160], eax
je 0x1009ef42
push edi
push str.DEFAULT_SKIN
mov ecx, ebx
call fcn.1004e820
lea eax, [ebx + 0x1200]
mov ecx, ebx
push eax
call fcn.1004e6e0
test eax, eax
je 0x1009f083
push 0
push 0
push dword [eax]
lea ecx, [ebp - 0x1274]
call fcn.10108da0
jmp 0x1009f083
push 0x208
lea eax, [ebp - 0xa3c]
push 0
push eax
call fcn.1012b3b0
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 0x1009ef6e
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xa3c]
push 0x10183490
push eax
call fcn.10041b30
mov eax, dword [ebp - 0x1160]
add esp, 0xc
cmp eax, 8
jb 0x1009efa1
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042110
lea eax, [ebp - 0xa3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a0038
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.10106fc0
test al, al
jne 0x1009f079
push 0x1018f940
push str.Skin
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x100a0038
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.10050e10
add esp, 4
mov dword [ebp - 0x1180], eax
push esi
mov esi, eax
push 0
push esi
call fcn.1012b3b0
add esp, 0xc
push edi
push ebx
push esi
call fcn.101406b0
add esp, 0xc
lea ecx, [ebp - 0x1274]
push 0
push 0
push esi
call fcn.10108da0
jmp 0x1009f083
mov dword [ebx + 0x1168], 0
push str.TheSkin
lea ecx, [ebp - 0x1274]
call fcn.10106c90
test eax, eax
je 0x100a0038
mov ecx, eax
call fcn.10106d30
mov edi, eax
mov dword [ebp - 0x1178], edi
test edi, edi
je 0x100a001e
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 8
call fcn.10109ed3
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.10043fe0
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.100aafd0
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.10109ed3
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.10043fe0
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.100ab090
push 8
mov byte [ebp - 4], 4
call fcn.10109ed3
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.1005f1c0
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.10087df0
lea eax, [edi + 0x2c]
mov byte [ebp - 4], 6
mov ebx, dword [eax + 0x20]
cmp ebx, eax
je 0x1009f342
test ebx, ebx
je 0x1009f342
mov esi, dword [ebx + 0x18]
mov edi, dword [ebx + 0x14]
add esi, 8
add edi, 8
je 0x1009f331
test esi, esi
je 0x1009f331
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 0x1009f287
xor ecx, ecx
jmp 0x1009f29f
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009f290
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x1174]
call fcn.10041f70
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1198]
push eax
lea eax, [ebp - 0x1220]
push eax
call fcn.10077ec0
cmp word [ebp - 0x21c], 0
mov esi, dword [ebp - 0x1220]
jne 0x1009f2e3
xor ecx, ecx
jmp 0x1009f2ff
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009f2f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [esi + 0x28]
call fcn.10041f70
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1160]
cmp eax, 8
jb 0x1009f331
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042110
mov ecx, ebx
call fcn.10107040
mov ebx, eax
test ebx, ebx
jne 0x1009f1f0
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.10041f70
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.10077e30
mov eax, dword [ebp - 0x122c]
mov ecx, dword [ebp - 0x1194]
test ecx, ecx
je 0x1009f3a4
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 0x1009f3dc
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1009f3dc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1009f3dc
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 0x1009f3fe
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042110
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.10041f70
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1188]
push eax
lea eax, [ebp - 0x11e0]
push eax
call fcn.10077da0
mov eax, dword [ebp - 0x11e0]
mov ebx, dword [ebp - 0x118c]
test ebx, ebx
je 0x1009f45e
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 0x1009f490
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1009f490
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1009f490
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 0x1009f4b2
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042110
mov ecx, 0x1018fd3c
lea eax, [ebp - 0x834]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1009f4e6
test dx, dx
je 0x1009f4e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1009f4e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1009f4c0
xor eax, eax
jmp 0x1009f4eb
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x1178]
test eax, eax
jne 0x1009f973
call fcn.10106d30
mov ebx, eax
mov dword [ebp - 0x117c], ebx
test ebx, ebx
je 0x1009fe88
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.10109ed3
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.10043fe0
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.100ab090
push 8
mov byte [ebp - 4], 0xf
call fcn.10109ed3
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.1005f1c0
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.10087df0
mov ecx, ebx
mov byte [ebp - 4], 0x11
call fcn.10106d30
mov ebx, dword [ebp - 0x11bc]
mov edi, eax
test edi, edi
je 0x1009f762
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 0x1009f751
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
je 0x1009f751
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 0x1009f6a7
xor ecx, ecx
jmp 0x1009f6bf
lea ecx, [ebp - 0x1054]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009f6b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1054]
push eax
lea ecx, [ebp - 0x1174]
call fcn.10041f70
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x11e8]
mov ecx, ebx
push eax
call fcn.10077ec0
cmp word [ebp - 0xe4c], 0
mov esi, dword [ebp - 0x11e8]
jne 0x1009f6ff
xor ecx, ecx
jmp 0x1009f71f
lea ecx, [ebp - 0xe4c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009f710
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xe4c]
push eax
lea ecx, [esi + 0x28]
call fcn.10041f70
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x1160]
cmp eax, 8
jb 0x1009f751
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042110
mov ecx, edi
call fcn.101070c0
mov edi, eax
test edi, edi
jne 0x1009f600
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.10041f70
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x11b4]
push eax
lea eax, [ebp - 0x11f0]
push eax
call fcn.10077e30
mov eax, dword [ebp - 0x11f0]
mov edi, dword [ebp - 0x11b8]
test edi, edi
je 0x1009f7c2
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 0x1009f7f4
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1009f7f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1009f7f4
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 0x1009f816
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042110
xor eax, eax
mov dword [ebp - 0x1160], 7
mov dword [ebp - 0x1164], 0
mov word [ebp - 0x1174], ax
cmp word [ebp - 0x62c], ax
jne 0x1009f840
xor ecx, ecx
jmp 0x1009f85f
lea ecx, [ebp - 0x62c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009f850
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x1174]
call fcn.10041f70
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x1188]
push eax
lea eax, [ebp - 0x11f8]
push eax
call fcn.10077da0
mov eax, dword [ebp - 0x11f8]
mov esi, dword [ebp - 0x11b0]
test esi, esi
je 0x1009f8a3
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 0x1009f8db
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1009f8db
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x1009f8db
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 0x1009f8fd
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042110
mov ecx, dword [ebp - 0x117c]
call fcn.101070c0
mov ebx, eax
mov dword [ebp - 0x117c], ebx
mov byte [ebp - 4], 0x19
test edi, edi
je 0x1009f939
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1009f939
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x1009f939
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0x1a
test esi, esi
je 0x1009f962
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1009f962
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1009f962
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 6
test ebx, ebx
jne 0x1009f510
jmp 0x1009fe88
call fcn.10106d30
mov edi, eax
mov dword [ebp - 0x119c], edi
test edi, edi
je 0x1009fe8e
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
push 8
call fcn.10109ed3
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.10043fe0
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.100ab090
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.10106d30
mov edi, eax
mov dword [ebp - 0x117c], edi
test edi, edi
je 0x1009fd60
push 8
call fcn.10109ed3
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.1005f1c0
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.10087df0
lea eax, [edi + 0x2c]
mov byte [ebp - 4], 0x1e
mov ebx, dword [eax + 0x20]
cmp ebx, eax
je 0x1009fc32
test ebx, ebx
je 0x1009fc32
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, 0x1018f374
lea eax, [ebp - 0x424]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1009fb26
test dx, dx
je 0x1009fb22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1009fb26
add eax, 4
add ecx, 4
test dx, dx
jne 0x1009fb00
xor eax, eax
jmp 0x1009fb2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1009fb4a
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0xc44]
push 0x10183490
push eax
call fcn.10041b30
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 0x1009fb8f
lea eax, [ebp - 0x424]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1009fb80
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x1174]
call fcn.10041f70
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x11ac]
push eax
lea eax, [ebp - 0x1200]
push eax
call fcn.10077ec0
cmp word [ebp - 0x21c], 0
mov esi, dword [ebp - 0x1200]
jne 0x1009fbd3
xor ecx, ecx
jmp 0x1009fbef
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009fbe0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [esi + 0x28]
call fcn.10041f70
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x1160]
cmp eax, 8
jb 0x1009fc21
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042110
mov ecx, ebx
call fcn.10107040
mov ebx, eax
test ebx, ebx
jne 0x1009fa90
xor eax, eax
mov dword [ebp - 0x1160], 7
mov dword [ebp - 0x1164], 0
mov word [ebp - 0x1174], ax
cmp word [ebp - 0xc44], ax
jne 0x1009fc5c
xor ecx, ecx
jmp 0x1009fc74
lea ecx, [ebp - 0xc44]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009fc65
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xc44]
push eax
lea ecx, [ebp - 0x1174]
call fcn.10041f70
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x11a4]
push eax
lea eax, [ebp - 0x1208]
push eax
call fcn.10077e30
mov eax, dword [ebp - 0x1208]
mov esi, dword [ebp - 0x11a8]
test esi, esi
je 0x1009fcb8
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 0x1009fcf0
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1009fcf0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x1009fcf0
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 0x1009fd12
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042110
mov ecx, dword [ebp - 0x117c]
call fcn.101070c0
mov edi, eax
mov dword [ebp - 0x117c], edi
mov byte [ebp - 4], 0x23
test esi, esi
je 0x1009fd4e
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1009fd4e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1009fd4e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x1c
test edi, edi
jne 0x1009fa23
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 0x1009fd8a
xor ecx, ecx
jmp 0x1009fda2
lea ecx, [ebp - 0x62c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009fd93
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x1174]
call fcn.10041f70
lea eax, [ebp - 0x1174]
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x1188]
push eax
lea eax, [ebp - 0x1210]
push eax
call fcn.10077da0
mov eax, dword [ebp - 0x1210]
mov esi, dword [ebp - 0x11a0]
test esi, esi
je 0x1009fde6
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 0x1009fe1e
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1009fe1e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x1009fe1e
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 0x1009fe40
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042110
mov ecx, dword [ebp - 0x119c]
call fcn.101070c0
mov edi, eax
mov dword [ebp - 0x119c], edi
mov byte [ebp - 4], 0x27
test esi, esi
je 0x1009fe7c
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1009fe7c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1009fe7c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 6
test edi, edi
jne 0x1009f990
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 0x1009feb8
xor ecx, ecx
jmp 0x1009fed0
lea ecx, [ebp - 0x834]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009fec1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x1174]
call fcn.10041f70
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.10077da0
mov eax, dword [ebp - 0x1218]
mov esi, dword [ebp - 0x1184]
test esi, esi
je 0x1009ff1a
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 0x1009ff52
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1009ff52
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x1009ff52
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 0x1009ff74
inc eax
lea ecx, [ebp - 0x1174]
push eax
push dword [ebp - 0x1174]
call fcn.10042110
mov ecx, dword [ebp - 0x1178]
call fcn.101070c0
mov dword [ebp - 0x1178], eax
mov byte [ebp - 4], 0x2b
mov edi, dword [ebp - 0x1194]
test edi, edi
je 0x1009ffb4
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1009ffb4
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x1009ffb4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0x2c
test ebx, ebx
je 0x1009ffdd
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1009ffdd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x1009ffdd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 0x2d
test esi, esi
je 0x100a0006
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100a0006
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x100a0006
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 0x1009f0b8
mov eax, dword [ebp - 0x1180]
test eax, eax
je 0x100a0031
push eax
call fcn.10050e00
add esp, 4
mov esi, 1
jmp 0x100a003a
xor esi, esi
mov eax, dword [ebp - 0x1240]
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x101c44c0
je 0x100a005a
push eax
call fcn.10050e00
add esp, 4
lea ecx, [ebp - 0x1274]
call fcn.10106400
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.10109ec2
mov esp, ebp
pop ebp
ret 4