Function at 0x4106a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4388e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], edi
mov eax, dword [ecx]
cmp eax, edi
mov dword [ebp - 4], edi
je 0x41093f
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0xf0]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
call fcn.0042a8c9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
call fcn.0042a8c9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x24]
cmp eax, edi
mov esi, eax
jne 0x41075d
xor eax, eax
jmp 0x410766
push eax
call fcn.0041c01e
add esp, 4
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00401160
push 0xa
lea ecx, [ebp - 0x1c]
call fcn.00410140
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push eax
push ecx
push edx
lea eax, [ebp - 0x30]
push str.XML_Error:__s__Line_:__ld__Char_:__ld__n_n
push eax
call fcn.004021e0
add esp, 0x14
push str.ERROR
lea ecx, [ebp - 0x20]
call fcn.004010e0
mov bl, 5
push str._nResLoad___XML_Document_FAILED_to_load_
mov byte [ebp - 4], bl
call fcn.0041c01e
add esp, 4
push eax
push str._nResLoad___XML_Document_FAILED_to_load_
lea ecx, [ebp - 0x20]
call fcn.00403be0
mov word [ebp - 0x74], di
xor eax, eax
mov ecx, 0xf
lea edi, [ebp - 0x72]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0042a8c9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x26f
lea eax, [ebp - 0x74]
push 0x43b494
push eax
mov byte [ebp - 4], 6
call fcn.0041d090
add esp, 0xc
push str.._srcUTXMLParser.cpp
lea ecx, [ebp - 0x14]
call fcn.00403b20
push 0x43b47c
call fcn.0041c01e
add esp, 4
push eax
push 0x43b47c
lea ecx, [ebp - 0x14]
call fcn.00403be0
lea ecx, [ebp - 0x74]
push ecx
call fcn.0041c01e
add esp, 4
push eax
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x14]
call fcn.00403be0
push 0x43b470
call fcn.0041c01e
add esp, 4
push eax
push 0x43b470
lea ecx, [ebp - 0x14]
call fcn.00403be0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00403be0
push 0x43b46c
call fcn.0041c01e
add esp, 4
push eax
push 0x43b46c
lea ecx, [ebp - 0x14]
call fcn.00403be0
push 0x43b464
call fcn.0041c01e
add esp, 4
push eax
push 0x43b464
lea ecx, [ebp - 0x14]
call fcn.00403be0
mov esi, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call edi
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4108cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4108ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [ebp - 0x30]
push esi
call edi
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41091f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41093d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor edi, edi
mov eax, dword [ebp - 0x18]
cmp eax, edi
mov dword [ebp - 4], 0xffffffff
je 0x410953
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret