Function at 0x40ab60
Capabilities:
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44cda9
mov eax, dword fs:[0]
push eax
sub esp, 0xf18
mov eax, dword [0x466720]
xor eax, esp
mov dword [esp + 0xf10], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466720]
xor eax, esp
push eax
lea eax, [esp + 0xf2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xf3c]
mov esi, ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 0x9c], eax
call fcn.00446920
push 0x459af4
push 0x45a1f4
xor ebx, ebx
push esi
mov dword [esp + 0xf40], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
jne 0x40ac17
mov dword [esp + 0xf34], 0xffffffff
mov eax, dword [esp + 0xd8]
cmp eax, 0x46d880
mov dword [esp + 0xa4], vtable.TiXmlDocument.0
je 0x40ac04
push eax
call fcn.0040f819
add esp, 4
lea ecx, [esp + 0xa4]
call fcn.004465b0
xor eax, eax
jmp 0x40b9be
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [esp + 0x7c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea ebp, [edi + 1]
push ebp
call fcn.0040f81e
add esp, 4
push ebp
mov esi, eax
push ebx
push esi
mov dword [esp + 0xac], esi
call fcn.00431f40
mov ecx, dword [esp + 0x80]
add esp, 0xc
push edi
push ecx
push esi
call fcn.00430060
add esp, 0xc
push ebx
push ebx
push esi
lea ecx, [esp + 0xb0]
call fcn.00448c10
push str.TheSkin
lea ecx, [esp + 0xa8]
call fcn.00445eb0
cmp eax, ebx
jne 0x40ac98
push esi
call fcn.0040f819
add esp, 4
jmp 0x40abd7
mov ecx, eax
call fcn.00445f50
cmp eax, ebx
mov dword [esp + 0x4c], eax
je 0x40b970
jmp 0x40acb0
push 0x14
call fcn.0040f7ee
add esp, 4
cmp eax, ebx
je 0x40accf
mov dword [eax], method.VectorParameter_class_MapParameter_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____.virtual_0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x40acd1
xor eax, eax
mov byte [esp + 0xf34], bl
push 8
mov dword [esp + 0x74], eax
call fcn.0040f7ee
add esp, 4
mov dword [esp + 0x78], eax
cmp eax, ebx
mov byte [esp + 0xf34], 2
je 0x40acff
mov edi, eax
call fcn.0040d7e0
jmp 0x40ad01
xor eax, eax
mov edx, dword [esp + 0x4c]
mov byte [esp + 0xf34], bl
mov dword [esp + 0x74], eax
mov ebp, dword [edx + 0x20]
add ebp, 8
mov edi, str.Communal
mov esi, ebp
mov ecx, 9
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 0x78], ebx
jne 0x40ad34
mov dword [esp + 0x78], 1
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push 0xffffffffffffffff
push ebp
push ebx
push 0xfde9
call esi
push eax
lea ecx, [esp + 0x708]
push ecx
push 0xffffffffffffffff
push ebp
push ebx
push 0xfde9
call esi
push 0x14
call fcn.0040f7ee
add esp, 4
cmp eax, ebx
je 0x40ad7a
mov dword [eax], vtable.VectorParameter_class_MapParameter_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____.0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x40ad7c
xor eax, eax
mov byte [esp + 0xf34], bl
push 8
mov dword [esp + 0x98], eax
call fcn.0040f7ee
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, ebx
mov byte [esp + 0xf34], 4
je 0x40adad
mov edi, eax
call fcn.00403d20
jmp 0x40adaf
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0xf34], bl
add ecx, 0x2c
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x20]
cmp eax, ecx
je 0x40af37
cmp eax, ebx
mov dword [esp + 0x44], eax
je 0x40af37
mov ebp, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x40ade7
mov eax, dword [esp + 0x44]
mov esi, dword [eax + 0x14]
mov edi, dword [eax + 0x18]
add esi, 8
add edi, 8
cmp esi, ebx
je 0x40af22
cmp edi, ebx
je 0x40af22
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call ebp
push eax
lea edx, [esp + 0xf0]
push edx
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call ebp
push ebx
push ebx
push 0xffffffffffffffff
push edi
push ebx
push 0xfde9
call ebp
push eax
lea eax, [esp + 0x2f8]
push eax
push 0xffffffffffffffff
push edi
push ebx
push 0xfde9
call ebp
lea eax, [esp + 0x2f4]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40ae60
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2f8]
push ecx
lea esi, [esp + 0x30]
call fcn.004011a0
mov byte [esp + 0xf34], 5
mov edi, 7
lea eax, [esp + 0xec]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40aea5
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xf0]
push edx
lea esi, [esp + 0x5c]
call fcn.004011a0
mov byte [esp + 0xf34], 6
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
mov edx, esi
push edx
call eax
mov esi, 8
cmp dword [esp + 0x6c], esi
jb 0x40aefb
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0040f819
add esp, 4
mov byte [esp + 0xf34], bl
cmp dword [esp + 0x40], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jb 0x40af22
mov edx, dword [esp + 0x2c]
push edx
call fcn.0040f819
add esp, 4
mov ecx, dword [esp + 0x44]
call fcn.00446140
cmp eax, ebx
mov dword [esp + 0x44], eax
jne 0x40ade3
mov edi, 7
push edi
push str.OurSelf
lea esi, [esp + 0x30]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
call fcn.004011a0
mov byte [esp + 0xf34], 7
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x80]
push edx
mov edx, esi
push edx
call eax
mov ebp, 8
mov byte [esp + 0xf34], bl
cmp dword [esp + 0x40], ebp
jb 0x40af97
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0040f819
add esp, 4
push edi
push str.OurSelf
lea esi, [esp + 0x30]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
call fcn.004011a0
mov byte [esp + 0xf34], 8
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x94]
push eax
mov eax, esi
push eax
call edx
mov byte [esp + 0xf34], bl
cmp dword [esp + 0x40], ebp
jb 0x40afea
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040f819
add esp, 4
mov ecx, str.SkinConfigure
lea eax, [esp + 0x704]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b01c
cmp dx, bx
je 0x40b018
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b01c
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x40aff6
xor eax, eax
jmp 0x40b021
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
mov ecx, dword [esp + 0x4c]
jne 0x40b325
call fcn.00445f50
cmp eax, ebx
mov dword [esp + 0x48], eax
je 0x40b862
mov ebp, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx + 0x20]
push ebx
push ebx
push 0xffffffffffffffff
add esi, 8
push esi
push ebx
push 0xfde9
call ebp
push eax
lea edx, [esp + 0x500]
push edx
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call ebp
push 0x14
call fcn.0040f7ee
add esp, 4
cmp eax, ebx
je 0x40b08e
mov dword [eax], vtable.VectorParameter_class_MapParameter_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____.0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x40b090
xor eax, eax
mov byte [esp + 0xf34], bl
push 8
mov dword [esp + 0x9c], eax
call fcn.0040f7ee
add esp, 4
mov dword [esp + 0x78], eax
cmp eax, ebx
mov byte [esp + 0xf34], 0xa
je 0x40b0c1
mov edi, eax
call fcn.00403d20
jmp 0x40b0c3
xor eax, eax
mov ecx, dword [esp + 0x48]
mov byte [esp + 0xf34], bl
mov dword [esp + 0x88], eax
call fcn.00445f50
mov edi, eax
cmp edi, ebx
je 0x40b23f
mov esi, dword [edi + 0x20]
push ebx
push ebx
push 0xffffffffffffffff
add esi, 8
push esi
push ebx
push 0xfde9
call ebp
push eax
lea eax, [esp + 0xd20]
push eax
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call ebp
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
je 0x40b22e
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
cmp eax, ebx
je 0x40b22e
mov esi, dword [eax + 0x20]
push ebx
push ebx
push 0xffffffffffffffff
add esi, 8
push esi
push ebx
push 0xfde9
call ebp
push eax
lea ecx, [esp + 0xb18]
push ecx
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call ebp
lea eax, [esp + 0xb14]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b167
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xb18]
push edx
lea esi, [esp + 0x30]
call fcn.004011a0
mov byte [esp + 0xf34], 0xb
lea eax, [esp + 0xd1c]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
lea edx, [eax + 2]
jmp 0x40b1b0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b1b0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xd20]
push eax
lea esi, [esp + 0x5c]
call fcn.004011a0
mov byte [esp + 0xf34], 0xc
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x28]
push eax
mov eax, esi
push eax
call edx
cmp dword [esp + 0x6c], 8
jb 0x40b202
mov eax, dword [esp + 0x58]
push eax
call fcn.0040f819
add esp, 4
mov byte [esp + 0xf34], bl
cmp dword [esp + 0x40], 8
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jb 0x40b22e
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0040f819
add esp, 4
mov ecx, edi
call fcn.00445fc0
mov edi, eax
cmp edi, ebx
jne 0x40b0e4
mov edi, 7
push edi
push str.OurSelf
lea esi, [esp + 0x30]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
call fcn.004011a0
mov byte [esp + 0xf34], 0xd
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x88]
push eax
mov eax, esi
push eax
call edx
mov byte [esp + 0xf34], bl
cmp dword [esp + 0x40], 8
jb 0x40b29b
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040f819
add esp, 4
lea eax, [esp + 0x4fc]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b2b2
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x500]
push ecx
lea esi, [esp + 0x30]
call fcn.004011a0
mov byte [esp + 0xf34], 0xe
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x98]
push eax
mov eax, esi
push eax
call edx
mov byte [esp + 0xf34], bl
cmp dword [esp + 0x40], 8
jb 0x40b30b
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040f819
add esp, 4
mov ecx, dword [esp + 0x48]
call fcn.00445fc0
cmp eax, ebx
mov dword [esp + 0x48], eax
jne 0x40b044
jmp 0x40b85d
call fcn.00445f50
cmp eax, ebx
mov dword [esp + 0x48], eax
je 0x40b862
mov ebp, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea esp, [esp]
push 0x14
call fcn.0040f7ee
add esp, 4
cmp eax, ebx
je 0x40b35f
mov dword [eax], vtable.VectorParameter_class_MapParameter_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____.0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x40b361
xor eax, eax
mov byte [esp + 0xf34], bl
push 8
mov dword [esp + 0x94], eax
call fcn.0040f7ee
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, ebx
mov byte [esp + 0xf34], 0x10
je 0x40b392
mov edi, eax
call fcn.0040e210
jmp 0x40b394
xor eax, eax
mov edi, dword [esp + 0x48]
push ebx
mov byte [esp + 0xf38], bl
push ebx
mov dword [esp + 0x84], eax
mov esi, dword [edi + 0x20]
push 0xffffffffffffffff
add esi, 8
push esi
push ebx
push 0xfde9
call ebp
push eax
lea ecx, [esp + 0x500]
push ecx
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call ebp
mov ecx, edi
call fcn.00445f50
cmp eax, ebx
mov dword [esp + 0x50], eax
je 0x40b761
push 8
call fcn.0040f7ee
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov byte [esp + 0xf34], 0x11
je 0x40b403
mov edi, eax
call fcn.00403d20
jmp 0x40b405
xor eax, eax
mov byte [esp + 0xf34], bl
push 0xd4
mov dword [esp + 0x88], eax
call fcn.0040f7ee
add esp, 4
cmp eax, ebx
je 0x40b42b
call fcn.00406c10
jmp 0x40b42d
xor eax, eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x4c]
add eax, 0x2c
cmp ecx, eax
je 0x40b657
cmp ecx, ebx
mov dword [esp + 0x44], ecx
je 0x40b657
mov eax, dword [esp + 0x44]
mov esi, dword [eax + 0x14]
mov edi, dword [eax + 0x18]
push ebx
push ebx
push 0xffffffffffffffff
add esi, 8
push esi
push ebx
push 0xfde9
add edi, 8
call ebp
push eax
lea edx, [esp + 0xf0]
push edx
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call ebp
push ebx
push ebx
push 0xffffffffffffffff
push edi
push ebx
push 0xfde9
call ebp
push eax
lea eax, [esp + 0x2f8]
push eax
push 0xffffffffffffffff
push edi
push ebx
push 0xfde9
call ebp
mov esi, 1
mov ecx, 0x45a248
lea eax, [esp + 0xec]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b4db
cmp dx, bx
je 0x40b4d7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b4db
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x40b4b5
xor eax, eax
jmp 0x40b4e0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40b505
lea ecx, [esp + 0x2f4]
push ecx
lea edx, [esp + 0x910]
push 0x459918
push edx
xor esi, esi
call fcn.0042f747
add esp, 0xc
jmp 0x40b542
mov ecx, str.image
lea eax, [esp + 0xec]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b537
cmp dx, bx
je 0x40b533
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b537
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x40b511
xor eax, eax
jmp 0x40b53c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40b542
xor esi, esi
cmp dword [esp + 0x78], ebx
jne 0x40b569
cmp esi, ebx
je 0x40b569
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x2f4]
push edx
lea edx, [esp + 0xf0]
push edx
call eax
mov edi, 7
lea eax, [esp + 0x2f4]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b585
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2f8]
push ecx
lea esi, [esp + 0x30]
call fcn.004011a0
mov byte [esp + 0xf34], 0x12
lea eax, [esp + 0xec]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b5c5
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xf0]
push edx
lea esi, [esp + 0x5c]
call fcn.004011a0
mov byte [esp + 0xf34], 0x13
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
mov edx, esi
push edx
call eax
mov esi, 8
cmp dword [esp + 0x6c], esi
jb 0x40b61b
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0040f819
add esp, 4
mov byte [esp + 0xf34], bl
cmp dword [esp + 0x40], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jb 0x40b642
mov edx, dword [esp + 0x2c]
push edx
call fcn.0040f819
add esp, 4
mov ecx, dword [esp + 0x44]
call fcn.00446140
cmp eax, ebx
mov dword [esp + 0x44], eax
jne 0x40b452
lea eax, [esp + 0x90c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b672
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x910]
push eax
lea esi, [esp + 0x30]
call fcn.004011a0
mov byte [esp + 0xf34], 0x14
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x84]
push eax
mov eax, esi
push eax
call edx
mov edi, 8
mov byte [esp + 0xf34], bl
cmp dword [esp + 0x40], edi
jb 0x40b6d2
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040f819
add esp, 4
lea eax, [esp + 0x90c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b6f0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x910]
push ecx
lea esi, [esp + 0x30]
call fcn.004011a0
mov byte [esp + 0xf34], 0x15
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x8c]
push eax
mov eax, esi
push eax
call edx
mov byte [esp + 0xf34], bl
cmp dword [esp + 0x40], edi
jb 0x40b748
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040f819
add esp, 4
mov ecx, dword [esp + 0x50]
call fcn.00445fc0
cmp eax, ebx
mov dword [esp + 0x50], eax
jne 0x40b3e0
mov edi, dword [esp + 0x48]
lea eax, [esp + 0x4fc]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b780
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x500]
push ecx
lea esi, [esp + 0x30]
call fcn.004011a0
mov byte [esp + 0xf34], 0x16
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x90]
push eax
mov eax, esi
push eax
call edx
mov byte [esp + 0xf34], bl
cmp dword [esp + 0x40], 8
jb 0x40b7d9
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040f819
add esp, 4
lea eax, [esp + 0x4fc]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b7f4
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x500]
push ecx
lea esi, [esp + 0x30]
call fcn.004011a0
mov byte [esp + 0xf34], 0x17
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x7c]
push eax
mov eax, esi
push eax
call edx
mov byte [esp + 0xf34], bl
cmp dword [esp + 0x40], 8
jb 0x40b84a
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040f819
add esp, 4
mov ecx, edi
call fcn.00445fc0
cmp eax, ebx
mov dword [esp + 0x48], eax
jne 0x40b340
mov ebp, 8
lea eax, [esp + 0x704]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b880
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x708]
push ecx
lea esi, [esp + 0x30]
call fcn.004011a0
mov edi, dword [esp + 0x9c]
mov byte [esp + 0xf34], 0x18
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x70]
push eax
mov eax, esi
push eax
call edx
mov byte [esp + 0xf34], bl
cmp dword [esp + 0x40], ebp
jb 0x40b8db
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040f819
add esp, 4
lea eax, [esp + 0x704]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b8f6
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x708]
push ecx
lea esi, [esp + 0x5c]
call fcn.004011a0
mov byte [esp + 0xf34], 0x19
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x74]
push eax
mov eax, esi
push eax
call edx
mov byte [esp + 0xf34], bl
cmp dword [esp + 0x6c], ebp
jb 0x40b94a
mov eax, dword [esp + 0x58]
push eax
call fcn.0040f819
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
call fcn.00445fc0
cmp eax, ebx
mov dword [esp + 0x4c], eax
jne 0x40acb0
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0040f819
mov dword [esp + 0xf38], 0xffffffff
mov eax, dword [esp + 0xdc]
add esp, 4
cmp eax, 0x46d880
mov dword [esp + 0xa4], vtable.TiXmlDocument.0
je 0x40b9ad
push eax
call fcn.0040f819
add esp, 4
lea ecx, [esp + 0xa4]
call fcn.004465b0
mov eax, 1
mov ecx, dword [esp + 0xf2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf10]
xor ecx, esp
call fcn.0042f8e0
add esp, 0xf24
ret 4