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

Disassembly:
push 0xffffffffffffffff
push 0x467c17
mov eax, dword fs:[0]
push eax
sub esp, 0xf10
mov eax, dword [0x4851d0]
xor eax, esp
mov dword [esp + 0xf0c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4851d0]
xor eax, esp
push eax
lea eax, [esp + 0xf24]
mov dword fs:[0], eax
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0xa0]
call fcn.00429a10
mov ecx, dword [0x4865c8]
push 0x46bc1c
xor ebx, ebx
push 0x69
mov dword [esp + 0xf34], ebx
call fcn.00425d20
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x420ab6
mov eax, dword [esp + 0xd4]
cmp eax, 0x486678
mov dword [esp + 0xa0], vtable.TiXmlDocument.0
mov dword [esp + 0xf2c], 0xffffffff
je 0x420aa3
push eax
call fcn.0042cbc2
add esp, 4
lea ecx, [esp + 0xa0]
call fcn.004296a0
xor eax, eax
jmp 0x4218dc
mov ecx, dword [0x4865c8]
push esi
call fcn.00425d20
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [0x4865c8]
push esi
mov ebp, eax
call fcn.00425d20
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea edi, [esi + 1]
push edi
call fcn.0042cbc7
push edi
push ebx
push eax
mov dword [esp + 0x94], eax
call fcn.0044d9b0
push esi
mov esi, dword [esp + 0x98]
push ebp
push esi
call fcn.0044dcb0
add esp, 0x1c
push ebx
push ebx
push esi
lea ecx, [esp + 0xac]
call fcn.0042bce0
push str.TheSkin
lea ecx, [esp + 0xa4]
call fcn.00428fb0
cmp eax, ebx
je 0x420a76
mov ecx, eax
call fcn.00429050
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x6c], ebp
je 0x42188a
push 0x14
call fcn.0042cb97
add esp, 4
cmp eax, ebx
je 0x420b6d
mov dword [eax], vtable.CVectorParameter_class_CVectorParameter_class_CMapParameter_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 0x420b6f
xor eax, eax
push 0x10
mov byte [esp + 0xf30], bl
mov dword [esp + 0x6c], eax
call fcn.0042cb97
mov edi, eax
add esp, 4
mov dword [esp + 0x60], edi
cmp edi, ebx
mov byte [esp + 0xf2c], 2
je 0x420bc3
lea esi, [edi + 4]
mov ecx, esi
mov dword [edi], vtable.CMapParameter_class_CMapParameter_class_CDrawInfo____.0
call fcn.0041e440
mov dword [esi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
jmp 0x420bc5
xor edi, edi
mov dword [esp + 0x70], edi
mov eax, dword [ebp + 0x20]
add eax, 8
mov edi, str.WnCommunal
mov esi, eax
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov byte [esp + 0xf2c], bl
mov dword [esp + 0x60], ebx
jne 0x420bf4
mov dword [esp + 0x60], 1
lea ecx, [esp + 0x700]
push ecx
mov ecx, dword [0x4865c8]
push eax
call fcn.00415090
mov ecx, eax
call fcn.00413080
push 0x14
call fcn.0042cb97
add esp, 4
cmp eax, ebx
je 0x420c2e
mov dword [eax], vtable.CVectorParameter_class_CMapParameter_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 0x420c30
xor eax, eax
push 0x10
mov byte [esp + 0xf30], bl
mov dword [esp + 0x94], eax
call fcn.0042cb97
mov edi, eax
add esp, 4
mov dword [esp + 0x5c], edi
cmp edi, ebx
mov byte [esp + 0xf2c], 4
je 0x420c87
lea esi, [edi + 4]
mov ecx, esi
mov dword [edi], vtable.CMapParameter_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
call fcn.004042f0
mov dword [esi + 4], eax
mov byte [eax + 0x45], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
jmp 0x420c89
xor edi, edi
lea eax, [ebp + 0x2c]
mov dword [esp + 0x78], edi
mov ecx, dword [eax + 0x20]
cmp ecx, eax
mov byte [esp + 0xf2c], bl
je 0x420df5
mov edi, ecx
cmp edi, ebx
je 0x420df5
lea esp, [esp]
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0x18]
add eax, 8
add esi, 8
cmp eax, ebx
je 0x420de4
cmp esi, ebx
je 0x420de4
mov ecx, dword [0x4865c8]
lea edx, [esp + 0xe8]
push edx
push eax
call fcn.00415090
mov ecx, eax
call fcn.00413080
mov ecx, dword [0x4865c8]
lea eax, [esp + 0x2f0]
push eax
push esi
call fcn.00415090
mov ecx, eax
call fcn.00413080
lea eax, [esp + 0x2f0]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x420d20
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2f4]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401530
lea eax, [esp + 0xe8]
mov byte [esp + 0xf2c], 5
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x420d64
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xec]
push edx
lea ecx, [esp + 0x48]
call fcn.00401530
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0xf34], 6
call eax
mov esi, 8
cmp dword [esp + 0x58], esi
jb 0x420db9
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0042cbc2
add esp, 4
cmp dword [esp + 0x3c], esi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
mov byte [esp + 0xf2c], bl
jb 0x420de4
mov edx, dword [esp + 0x28]
push edx
call fcn.0042cbc2
add esp, 4
mov ecx, edi
call fcn.00429240
mov edi, eax
cmp edi, ebx
jne 0x420cb0
mov esi, 7
push esi
push str.OurSelf
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.00401530
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x78]
push edx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0xf34], 7
call eax
mov edi, 8
cmp dword [esp + 0x3c], edi
mov byte [esp + 0xf2c], bl
jb 0x420e54
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0042cbc2
add esp, 4
push esi
push str.OurSelf
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.00401530
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xf34], 8
call edx
cmp dword [esp + 0x3c], edi
mov byte [esp + 0xf2c], bl
jb 0x420ea9
mov eax, dword [esp + 0x28]
push eax
call fcn.0042cbc2
add esp, 4
mov ecx, 0x46ed60
lea eax, [esp + 0x700]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x420edb
cmp dx, bx
je 0x420ed7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x420edb
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x420eb5
xor eax, eax
jmp 0x420ee0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4211dd
mov ecx, dword [esp + 0x6c]
call fcn.00429050
mov ebp, eax
cmp ebp, ebx
je 0x421775
jmp 0x420f00
mov eax, dword [ebp + 0x20]
lea ecx, [esp + 0x4f8]
push ecx
mov ecx, dword [0x4865c8]
add eax, 8
push eax
call fcn.00415090
mov ecx, eax
call fcn.00413080
push 0x14
call fcn.0042cb97
add esp, 4
cmp eax, ebx
je 0x420f40
mov dword [eax], vtable.CVectorParameter_class_CMapParameter_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 0x420f42
xor eax, eax
push 0x10
mov byte [esp + 0xf30], bl
mov dword [esp + 0x80], eax
call fcn.0042cb97
mov edi, eax
add esp, 4
mov dword [esp + 0x60], edi
cmp edi, ebx
mov byte [esp + 0xf2c], 0xa
je 0x420f99
lea esi, [edi + 4]
mov ecx, esi
mov dword [edi], vtable.CMapParameter_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
call fcn.004042f0
mov dword [esi + 4], eax
mov byte [eax + 0x45], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
jmp 0x420f9b
xor edi, edi
mov ecx, ebp
mov byte [esp + 0xf2c], bl
mov dword [esp + 0x74], edi
call fcn.00429050
mov esi, eax
cmp esi, ebx
mov edi, 7
je 0x4210fd
lea esp, [esp]
mov eax, dword [esi + 0x20]
mov ecx, dword [0x4865c8]
lea edx, [esp + 0xd18]
add eax, 8
push edx
push eax
call fcn.00415090
mov ecx, eax
call fcn.00413080
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
je 0x4210ec
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
cmp eax, ebx
je 0x4210ec
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0xb10]
push ecx
mov ecx, dword [0x4865c8]
add eax, 8
push eax
call fcn.00415090
mov ecx, eax
call fcn.00413080
lea eax, [esp + 0xb10]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421033
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xb14]
push edx
lea ecx, [esp + 0x2c]
call fcn.00401530
lea eax, [esp + 0xd18]
mov byte [esp + 0xf2c], 0xb
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421073
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xd1c]
push eax
lea ecx, [esp + 0x48]
call fcn.00401530
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0xf34], 0xc
call edx
cmp dword [esp + 0x58], 8
jb 0x4210c4
mov eax, dword [esp + 0x44]
push eax
call fcn.0042cbc2
add esp, 4
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
mov byte [esp + 0xf2c], bl
jb 0x4210ec
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0042cbc2
add esp, 4
mov ecx, esi
call fcn.004290c0
mov esi, eax
cmp esi, ebx
jne 0x420fc0
push edi
push str.OurSelf
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.00401530
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xf34], 0xd
call edx
mov esi, 8
cmp dword [esp + 0x3c], esi
mov byte [esp + 0xf2c], bl
jb 0x421154
mov eax, dword [esp + 0x28]
push eax
call fcn.0042cbc2
add esp, 4
lea eax, [esp + 0x4f8]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
lea edx, [eax + 2]
jmp 0x421170
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421170
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x4fc]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401530
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xf34], 0xe
call edx
cmp dword [esp + 0x3c], esi
mov byte [esp + 0xf2c], bl
jb 0x4211c7
mov eax, dword [esp + 0x28]
push eax
call fcn.0042cbc2
add esp, 4
mov ecx, ebp
call fcn.004290c0
mov ebp, eax
cmp ebp, ebx
jne 0x420f00
jmp 0x421775
mov ecx, ebp
call fcn.00429050
cmp eax, ebx
mov dword [esp + 0x5c], eax
je 0x421775
push 0x14
call fcn.0042cb97
add esp, 4
cmp eax, ebx
je 0x42120f
mov dword [eax], vtable.CVectorParameter_class_CMapParameter_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 0x421211
xor eax, eax
push 0x10
mov byte [esp + 0xf30], bl
mov dword [esp + 0x8c], eax
call fcn.0042cb97
mov edi, eax
add esp, 4
mov dword [esp + 0x64], edi
cmp edi, ebx
mov byte [esp + 0xf2c], 0x10
je 0x421268
lea esi, [edi + 4]
mov ecx, esi
mov dword [edi], vtable.CMapParameter_class_CDrawInfo__.0
call fcn.0041e440
mov dword [esi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
jmp 0x42126a
xor edi, edi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x8c], edi
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x4f8]
push ecx
mov ecx, dword [0x4865c8]
add eax, 8
push eax
mov byte [esp + 0xf34], bl
call fcn.00415090
mov ecx, eax
call fcn.00413080
mov ecx, esi
call fcn.00429050
cmp eax, ebx
mov dword [esp + 0x64], eax
mov ebp, 7
je 0x421672
push 0x10
call fcn.0042cb97
mov edi, eax
add esp, 4
mov dword [esp + 0x9c], edi
cmp edi, ebx
mov byte [esp + 0xf2c], 0x11
je 0x421301
lea esi, [edi + 4]
mov ecx, esi
mov dword [edi], vtable.CMapParameter_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
call fcn.004042f0
mov dword [esi + 4], eax
mov byte [eax + 0x45], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
jmp 0x421303
xor edi, edi
push 0xcc
mov byte [esp + 0xf30], bl
mov dword [esp + 0x98], edi
call fcn.0042cb97
add esp, 4
mov dword [esp + 0x9c], eax
cmp eax, ebx
mov byte [esp + 0xf2c], 0x12
je 0x42133a
mov ecx, eax
call fcn.00410280
jmp 0x42133c
xor eax, eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x4c]
add eax, 0x2c
cmp ecx, eax
mov byte [esp + 0xf2c], bl
je 0x421567
mov edi, ecx
cmp edi, ebx
je 0x421567
jmp 0x421370
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0x18]
mov ecx, dword [0x4865c8]
lea edx, [esp + 0xe8]
add eax, 8
push edx
push eax
add esi, 8
call fcn.00415090
mov ecx, eax
call fcn.00413080
mov ecx, dword [0x4865c8]
lea eax, [esp + 0x2f0]
push eax
push esi
call fcn.00415090
mov ecx, eax
call fcn.00413080
mov esi, 1
mov ecx, 0x46ba78
lea eax, [esp + 0xe8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4213e9
cmp dx, bx
je 0x4213e5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4213e9
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4213c3
xor eax, eax
jmp 0x4213ee
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x421413
lea ecx, [esp + 0x2f0]
push ecx
lea edx, [esp + 0x90c]
push 0x46b9a0
push edx
xor esi, esi
call fcn.0044d8d3
add esp, 0xc
jmp 0x421451
mov ecx, str.image
lea eax, [esp + 0xe8]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x421446
cmp dx, bx
je 0x421442
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x421446
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x421420
xor eax, eax
jmp 0x42144b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x421451
xor esi, esi
cmp dword [esp + 0x60], ebx
jne 0x421480
cmp esi, ebx
je 0x421480
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x2f0]
push edx
lea edx, [esp + 0xec]
push edx
call eax
cmp eax, ebx
jne 0x421556
lea eax, [esp + 0x2f0]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421497
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2f4]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401530
lea eax, [esp + 0xe8]
mov byte [esp + 0xf2c], 0x13
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4214d7
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xec]
push edx
lea ecx, [esp + 0x48]
call fcn.00401530
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0xf34], 0x14
call eax
mov esi, 8
cmp dword [esp + 0x58], esi
jb 0x42152f
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0042cbc2
add esp, 4
cmp dword [esp + 0x3c], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
mov byte [esp + 0xf2c], bl
jb 0x421556
mov edx, dword [esp + 0x28]
push edx
call fcn.0042cbc2
add esp, 4
mov ecx, edi
call fcn.00429240
mov edi, eax
cmp edi, ebx
jne 0x421370
lea eax, [esp + 0x908]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421580
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90c]
push eax
lea ecx, [esp + 0x2c]
call fcn.00401530
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xf34], 0x15
call edx
mov esi, 8
cmp dword [esp + 0x3c], esi
mov byte [esp + 0xf2c], bl
jb 0x4215e2
mov eax, dword [esp + 0x28]
push eax
call fcn.0042cbc2
add esp, 4
lea eax, [esp + 0x908]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421600
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x90c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401530
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xf34], 0x16
call edx
cmp dword [esp + 0x3c], esi
mov byte [esp + 0xf2c], bl
jb 0x42165d
mov eax, dword [esp + 0x28]
push eax
call fcn.0042cbc2
add esp, 4
mov ecx, dword [esp + 0x64]
call fcn.004290c0
cmp eax, ebx
mov dword [esp + 0x64], eax
jne 0x4212b5
lea eax, [esp + 0x4f8]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421690
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x4fc]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401530
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xf34], 0x17
call edx
mov esi, 8
cmp dword [esp + 0x3c], esi
mov byte [esp + 0xf2c], bl
jb 0x4216ef
mov eax, dword [esp + 0x28]
push eax
call fcn.0042cbc2
add esp, 4
lea eax, [esp + 0x4f8]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421706
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x4fc]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401530
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xf34], 0x18
call edx
cmp dword [esp + 0x3c], esi
mov byte [esp + 0xf2c], bl
jb 0x421760
mov eax, dword [esp + 0x28]
push eax
call fcn.0042cbc2
add esp, 4
mov ecx, dword [esp + 0x5c]
call fcn.004290c0
cmp eax, ebx
mov dword [esp + 0x5c], eax
jne 0x4211f0
lea eax, [esp + 0x700]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421790
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x704]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401530
mov esi, dword [esp + 0x98]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xf34], 0x19
call edx
mov edi, 8
cmp dword [esp + 0x3c], edi
mov byte [esp + 0xf2c], bl
jb 0x4217f2
mov eax, dword [esp + 0x28]
push eax
call fcn.0042cbc2
add esp, 4
mov ebp, 7
lea eax, [esp + 0x700]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421810
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x704]
push ecx
lea ecx, [esp + 0x48]
call fcn.00401530
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0xf34], 0x1a
call edx
cmp dword [esp + 0x58], edi
mov byte [esp + 0xf2c], bl
jb 0x421866
mov eax, dword [esp + 0x44]
push eax
call fcn.0042cbc2
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.004290c0
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x6c], eax
jne 0x420b4e
mov eax, dword [esp + 0x84]
cmp eax, ebx
je 0x42189e
push eax
call fcn.0042cbc2
add esp, 4
mov eax, dword [esp + 0xd4]
cmp eax, 0x486678
mov dword [esp + 0xf2c], 0xffffffff
mov dword [esp + 0xa0], vtable.TiXmlDocument.0
je 0x4218cb
push eax
call fcn.0042cbc2
add esp, 4
lea ecx, [esp + 0xa0]
call fcn.004296a0
mov eax, 1
mov ecx, dword [esp + 0xf24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0c]
xor ecx, esp
call fcn.0044d5bb
add esp, 0xf1c
ret