Function at 0x4416a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58f598
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x180]
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x24]
xor ebx, ebx
push eax
mov dword [esp + 0x17c], ebx
call fcn.0048b680
mov byte [esp + 0x178], 1
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [ebp + 0x24]
push ebx
mov dword [ebp + 0x2fc], ebx
mov dword [ebp + 0x2dc], 0x80090000
mov dword [ebp + 0x2e0], 0x10000
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
push 2
push ebx
mov dword [esp + 0x2c], ebx
mov dword [ecx + 0xac], ebx
call edx
mov eax, dword [ebp + 0xf8]
mov eax, dword [eax + 0x50]
lea edx, [esp + 0x18]
push edx
push ebx
lea ecx, [ebp + 0xf8]
push ebx
push 2
push ebx
mov dword [esp + 0x2c], ebx
mov dword [ecx + 0xac], ebx
call eax
mov edx, dword [ebp + 0x1cc]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [ebp + 0x1cc]
push ebx
push 2
push ebx
mov dword [esp + 0x2c], ebx
mov dword [ecx + 0xac], ebx
call edx
mov eax, dword [esp + 0x184]
push 1
push ebx
push eax
lea ecx, [esp + 0x30]
mov dword [ebp + 0x2e4], ebx
mov dword [ebp + 0x2e8], ebx
mov dword [ebp + 0x2ec], ebx
call fcn.0048cec0
cmp byte [esp + 0x50], bl
je 0x441814
mov esi, ebp
call fcn.0044d880
mov byte [esp + 0x178], bl
mov eax, dword [esp + 0x58]
cmp eax, 0x5f8934
mov dword [esp + 0x24], vtable.TiXmlDocument.0
je 0x4417dd
push eax
call fcn.005649af
add esp, 4
lea ecx, [esp + 0x24]
call fcn.0048acc0
lea eax, [edi - 0x10]
mov dword [esp + 0x178], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44180d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x441d66
mov esi, dword [esp + 0x3c]
cmp esi, ebx
je 0x441834
lea esp, [esp]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x441846
mov esi, dword [esi + 0x28]
cmp esi, ebx
jne 0x441820
mov dword [esp + 0x14], ebx
mov esi, ebx
mov edi, dword [esi + 0x20]
add edi, 8
jne 0x441857
xor eax, eax
jmp 0x44186b
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x44183a
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x441860
sub eax, edx
push edi
mov edi, eax
lea eax, [esp + 0x20]
call fcn.00472930
mov edi, dword [esp + 0x1c]
push str.layer
push edi
call fcn.00566ca9
add esp, 8
cmp eax, ebx
setne al
cmp al, bl
jne 0x4417b3
lea edi, [esi + 0x2c]
mov esi, str.frame
call fcn.0048c500
cmp eax, ebx
je 0x4418af
mov edx, dword [eax + 0x18]
add edx, 8
jmp 0x4418b1
xor edx, edx
lea ebx, [ebp + 0x310]
call fcn.00479660
mov esi, 0x5ae59c
call fcn.0048c500
test eax, eax
je 0x4418d2
mov eax, dword [eax + 0x18]
add eax, 8
jmp 0x4418d4
xor eax, eax
push 0xfde9
lea ecx, [esp + 0x74]
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x74], ecx
call fcn.0047a110
mov byte [esp + 0x178], 2
mov edx, dword [esp + 0x6c]
lea edi, [ebp + 0x2c8]
call fcn.00481720
mov byte [esp + 0x178], 1
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x70]
cmp eax, edx
je 0x44191f
push eax
call fcn.00566eaf
add esp, 4
mov esi, dword [esp + 0x14]
lea ebx, [ebp + 0x2cc]
lea edi, [ebp + 0x2d0]
mov ecx, 0x5ae4ec
mov eax, esi
mov dword [ebx], 0
mov dword [edi], 0
call fcn.0048b1e0
mov ebx, edi
mov ecx, 0x5ae4fc
mov eax, esi
call fcn.0048b1e0
lea ebx, [ebp + 0x2d4]
lea edi, [ebp + 0x2d8]
mov ecx, 0x5b14f4
mov eax, esi
mov dword [ebx], 0
mov dword [edi], 0
call fcn.0048b1e0
mov ebx, edi
mov ecx, str.min_height
mov eax, esi
call fcn.0048b1e0
lea ebx, [esp + 0x14]
mov ecx, str.appwin
mov eax, esi
mov dword [esp + 0x14], 0
call fcn.0048b1e0
cmp dword [esp + 0x14], 0
je 0x4419b0
or dword [ebp + 0x2e0], 0x40000
lea ebx, [esp + 0x14]
mov ecx, str.child
mov eax, esi
mov dword [esp + 0x14], 0
call fcn.0048b1e0
cmp dword [esp + 0x14], 0
je 0x4419ea
mov eax, dword [ebp + 0x2dc]
and eax, 0x39f7ffff
or eax, 0x46000000
mov dword [ebp + 0x2dc], eax
jmp 0x441aad
lea ebx, [esp + 0x14]
mov ecx, str.holdsize
mov eax, esi
mov dword [esp + 0x14], 0
call fcn.0048b1e0
xor ecx, ecx
cmp dword [esp + 0x14], ecx
mov eax, esi
setne cl
mov dword [esp + 0x14], 0
mov dword [ebp + 0x2f8], ecx
mov ecx, str.resize
call fcn.0048b1e0
xor eax, eax
cmp dword [esp + 0x14], eax
je 0x441a43
or dword [ebp + 0x2dc], 0x70000
mov dword [ebp + 0x2f4], 1
jmp 0x441a53
or dword [ebp + 0x2dc], 0x20000
mov dword [ebp + 0x2f4], eax
mov dword [esp + 0x14], eax
lea ebx, [esp + 0x14]
mov ecx, str.noborder
mov eax, esi
call fcn.0048b1e0
cmp dword [esp + 0x14], 0
je 0x441a7a
or dword [ebp + 0x2e0], 0x88
jmp 0x441a84
or dword [ebp + 0x2e0], 0x300
lea ebx, [esp + 0x14]
mov ecx, str.nomove
mov eax, esi
mov dword [esp + 0x14], 0
call fcn.0048b1e0
cmp dword [esp + 0x14], 0
je 0x441aad
mov dword [ebp + 0x2c4], 0
mov ecx, str.header
mov eax, esi
call fcn.0048af40
mov edx, dword [ebp + 0x24]
lea ecx, [ebp + 0x24]
mov edi, eax
mov eax, dword [edx + 0x10]
push edi
call eax
test eax, eax
mov dword [ebp + 0x2e4], eax
je 0x441b8e
mov edx, dword [0x5f7780]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f7780
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x178], 3
lea ebx, [esp + 0x14]
mov ecx, 0x5ae4fc
mov eax, edi
mov dword [esp + 0x14], 0
call fcn.0048b1e0
mov ecx, dword [esp + 0x14]
push ecx
push str.0_0__0__d
lea edi, [esp + 0x20]
call fcn.00479f80
mov edi, dword [esp + 0x20]
add esp, 8
push 1
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x1c], esp
mov ebx, esp
call fcn.004796e0
add eax, 0x10
mov dword [ebx], eax
push ecx
mov byte [esp + 0x184], 4
mov edx, esp
mov dword [esp + 0x2c], esp
push edx
mov ecx, 0x5ae504
call fcn.00481970
mov eax, dword [ebp + 0x24]
lea ecx, [ebp + 0x24]
add eax, 0x18
mov eax, dword [eax]
mov byte [esp + 0x184], 3
call eax
mov byte [esp + 0x178], 1
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x441b8e
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ecx, str.footer
mov eax, esi
call fcn.0048af40
mov edi, eax
mov eax, dword [ebp + 0x1cc]
mov edx, dword [eax + 0x10]
lea ecx, [ebp + 0x1cc]
push edi
call edx
test eax, eax
mov dword [ebp + 0x2ec], eax
je 0x441c7b
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x178], 5
lea ebx, [esp + 0x18]
mov ecx, 0x5ae4fc
mov eax, edi
mov dword [esp + 0x18], 0
call fcn.0048b1e0
mov eax, dword [esp + 0x18]
push eax
push str.0___d__0__0
lea edi, [esp + 0x1c]
call fcn.00479f80
mov edi, dword [esp + 0x1c]
add esp, 8
push 1
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x28], esp
mov ebx, esp
call fcn.004796e0
add eax, 0x10
mov dword [ebx], eax
push ecx
mov ecx, esp
mov byte [esp + 0x184], 6
mov dword [esp + 0x24], esp
push ecx
mov ecx, 0x5ae504
call fcn.00481970
mov eax, dword [ebp + 0x1cc]
mov edx, dword [eax + 0x18]
lea ecx, [ebp + 0x1cc]
add eax, 0x18
mov byte [esp + 0x184], 5
call edx
mov byte [esp + 0x178], 1
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x441c7b
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, str.body
mov eax, esi
call fcn.0048af40
mov edx, dword [ebp + 0xf8]
lea esi, [ebp + 0xf8]
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
xor ebx, ebx
cmp eax, ebx
mov dword [ebp + 0x2e8], eax
je 0x441ce8
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, str.0_0__0__0
call fcn.00481970
push ecx
mov byte [esp + 0x184], 7
mov edx, esp
mov dword [esp + 0x24], esp
push edx
mov ecx, 0x5ae504
call fcn.00481970
mov eax, dword [esi]
add eax, 0x18
mov eax, dword [eax]
mov ecx, esi
mov byte [esp + 0x184], 1
call eax
cmp dword [ebp + 4], ebx
mov dword [ebp + 0x2fc], 1
je 0x441d0a
mov eax, ebp
call fcn.00441d90
mov dword [ebp + 0x2b0], ebx
mov dword [ebp + 0x2b4], ebx
mov byte [esp + 0x178], bl
mov eax, dword [esp + 0x58]
cmp eax, 0x5f8934
mov dword [esp + 0x24], vtable.TiXmlDocument.0
je 0x441d2d
push eax
call fcn.005649af
add esp, 4
lea ecx, [esp + 0x24]
call fcn.0048acc0
mov dword [esp + 0x178], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x441d61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret 8