Function at 0x46eda0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cdf8e
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x500770]
xor eax, esp
mov dword [esp + 0x1d0], eax
push ebx
push esi
push edi
mov eax, dword [0x500770]
xor eax, esp
push eax
lea eax, [esp + 0x1e8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x30], esi
call fcn.004645f0
xor ebx, ebx
cmp byte [esi + 0x278], bl
je 0x46f21b
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
mov ecx, esi
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x70]
lea ecx, [esp + 0x138]
push ecx
mov ecx, eax
call edx
lea eax, [esp + 0x164]
push eax
call fcn.004682e0
mov dword [esp + 0x1f0], ebx
push 7
push str.__text_
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.00406990
lea eax, [esi + 0x70]
mov byte [esp + 0x1f0], 1
cmp dword [eax + 0x18], 8
mov dword [esp + 0x2c], eax
jb 0x46ee75
mov eax, dword [eax + 4]
jmp 0x46ee78
add eax, 4
push eax
lea ebx, [esp + 0xac]
call fcn.0046d880
add esp, 4
mov edi, eax
mov byte [esp + 0x1f0], 2
push 6
xor ebx, ebx
push str._text_
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.00406990
push edi
lea ecx, [esp + 0x58]
push ecx
lea edi, [esp + 0xe8]
mov byte [esp + 0x1f8], 3
call fcn.00410350
lea edx, [esp + 0x78]
push edx
push eax
lea edi, [esp + 0x158]
mov byte [esp + 0x200], 4
call fcn.00410350
add esp, 0x10
mov edi, 0x10
cmp dword [esp + 0xf8], edi
jb 0x46ef09
mov eax, dword [esp + 0xe4]
push eax
call fcn.00488fd0
add esp, 4
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], 0
cmp dword [esp + 0x6c], edi
jb 0x46ef36
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00488fd0
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], 0
cmp dword [esp + 0xc0], edi
jb 0x46ef60
mov edx, dword [esp + 0xac]
push edx
call fcn.00488fd0
add esp, 4
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], 0
mov byte [esp + 0x1f0], 9
cmp dword [esp + 0x88], edi
jb 0x46ef98
mov eax, dword [esp + 0x74]
push eax
call fcn.00488fd0
add esp, 4
cmp dword [esp + 0x160], edi
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], 0
jae 0x46efc6
lea eax, [esp + 0x14c]
push ebx
push ebx
push eax
lea ecx, [esp + 0x170]
call fcn.0046a5c0
mov edi, dword [esp + 0x17c]
cmp edi, ebx
je 0x46f007
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
test eax, eax
jne 0x46eff6
mov edi, dword [edi + 0x40]
cmp edi, ebx
jne 0x46efe0
jmp 0x46f007
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
cmp eax, ebx
mov dword [esp + 0x34], eax
jne 0x46f07b
mov edi, 0x10
cmp dword [esp + 0x160], edi
jb 0x46f025
mov ecx, dword [esp + 0x14c]
push ecx
call fcn.00488fd0
add esp, 4
mov dword [esp + 0x1f0], 0xffffffff
cmp dword [esp + 0x1c8], edi
mov esi, 0xf
mov dword [esp + 0x160], esi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], 0
mov dword [esp + method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
jb 0x46f06f
mov edx, dword [esp + 0x1b4]
push edx
call fcn.00488fd0
add esp, 4
mov dword [esp + 0x1c4], ebx
jmp 0x46f200
mov eax, dword [esi + 0x48]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46f18f
mov ecx, dword [esi + 0x48]
push ecx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor edi, edi
push edi
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], edi
call fcn.00465250
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x46f157
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
add dword [esp + 0x28], 1
sub eax, 2
jne 0x46f140
mov eax, dword [esp + 0x34]
mov edi, dword [eax + 0x18]
test edi, edi
je 0x46f0fb
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
test eax, eax
jne 0x46f241
mov edi, dword [edi + 0x40]
test edi, edi
jne 0x46f0e3
xor eax, eax
test eax, eax
mov ebx, eax
mov dword [esp + 0x20], ebx
jne 0x46f254
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi]
mov edx, dword [edx + 0x8c]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea eax, [esp + 0x140]
push eax
mov ecx, esi
call edx
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x28]
push eax
push esi
call fcn.00465250
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x46f0c7
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x140]
cmp eax, ecx
mov dword [esi + 0xc], eax
jle 0x46f18f
add ecx, 0xfffffffc
mov dword [esi + 0xc], ecx
mov ebx, 0x10
cmp dword [esp + 0x160], ebx
jb 0x46f1ad
mov eax, dword [esp + 0x14c]
push eax
call fcn.00488fd0
add esp, 4
xor edi, edi
mov dword [esp + 0x1f0], 0xffffffff
cmp dword [esp + 0x1c8], ebx
mov esi, 0xf
mov dword [esp + 0x160], esi
mov dword [esp + 0x15c], edi
mov byte [esp + 0x14c], 0
mov dword [esp + method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
jb 0x46f1f9
mov ecx, dword [esp + 0x1b4]
push ecx
call fcn.00488fd0
add esp, 4
mov dword [esp + 0x1c4], edi
lea ecx, [esp + 0x164]
mov dword [esp + 0x1c8], esi
mov byte [esp + 0x1b4], 0
call fcn.004678f0
mov ecx, dword [esp + 0x1e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d0]
xor ecx, esp
call fcn.004a74b2
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
jmp 0x46f0fd
mov ebx, dword [esp + 0x20]
mov eax, 0x10
cmp dword [ebx + 0x38], eax
jb 0x46f263
mov esi, dword [ebx + 0x24]
jmp 0x46f266
lea esi, [ebx + 0x24]
mov edi, str.font
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46f3f1
lea edi, [ebx + 0x44]
mov esi, str.name
call fcn.00469050
test eax, eax
je 0x46f29b
cmp dword [eax + 0x48], 0x10
jb 0x46f296
mov eax, dword [eax + 0x34]
jmp 0x46f29d
add eax, 0x34
jmp 0x46f29d
xor eax, eax
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.0046d730
add esp, 8
mov edi, dword [esp + 0x24]
mov ebx, eax
mov eax, edi
mov byte [esp + 0x1f0], 0xa
call fcn.004653c0
mov byte [esp + 0x1f0], 9
cmp dword [esp + 0xdc], 8
mov esi, eax
jb 0x46f2e7
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00488fd0
add esp, 4
xor eax, eax
cmp esi, eax
mov dword [esp + 0xdc], 7
mov dword [esp + 0xd8], eax
mov word [esp + 0xc8], ax
je 0x46f3b7
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x18]
xor ebx, ebx
cmp ecx, ebx
je 0x46f333
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
cmp eax, ebx
je 0x46f333
cmp dword [eax + 0x38], 0x10
jb 0x46f32e
mov eax, dword [eax + 0x24]
jmp 0x46f335
add eax, 0x24
jmp 0x46f335
xor eax, eax
push eax
lea eax, [esp + 0x100]
push eax
call fcn.0046d730
add esp, 8
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [esp + 0x20]
push esi
mov byte [esp + 0x1fc], 0xb
mov edx, dword [edi]
mov edx, dword [edx + 0x8c]
push eax
lea ecx, [esp + 0x138]
push ecx
mov ecx, edi
call edx
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov byte [esp + 0x1f0], 9
cmp dword [esp + 0x114], 8
mov dword [esp + 0x14], edx
jb 0x46f39d
mov eax, dword [esp + 0x100]
push eax
call fcn.00488fd0
add esp, 4
mov dword [esp + 0x114], 7
mov dword [esp + 0x110], ebx
mov word [esp + 0x100], bx
mov ebx, dword [esp + 0x20]
mov esi, dword [ebx + 0x40]
test esi, esi
je 0x46f3da
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x46f57c
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x46f3c2
xor eax, eax
test eax, eax
mov dword [esp + 0x20], eax
jne 0x46f250
mov esi, dword [esp + 0x24]
jmp 0x46f140
cmp dword [ebx + 0x38], eax
jb 0x46f3fb
mov esi, dword [ebx + 0x24]
jmp 0x46f3fe
lea esi, [ebx + 0x24]
mov edi, 0x4e6220
mov ecx, 7
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46f4c9
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x46f434
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
test eax, eax
je 0x46f434
cmp dword [eax + 0x38], 0x10
jb 0x46f42f
mov eax, dword [eax + 0x24]
jmp 0x46f436
add eax, 0x24
jmp 0x46f436
xor eax, eax
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0046d730
add esp, 8
mov ecx, dword [esp + 0x24]
lea esi, [esp + 0x10]
push esi
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x1fc], 0xc
mov edx, dword [ecx]
mov edx, dword [edx + 0x8c]
push eax
lea eax, [esp + 0x130]
push eax
call edx
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov byte [esp + 0x1f0], 9
cmp dword [esp + 0xa4], 8
mov dword [esp + 0x14], edx
jb 0x46f4a4
mov eax, dword [esp + 0x90]
push eax
call fcn.00488fd0
add esp, 4
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], 0
mov word [esp + 0x90], 0
jmp 0x46f3bb
cmp dword [ebx + 0x38], eax
jb 0x46f4d3
mov esi, dword [ebx + 0x24]
jmp 0x46f4d6
lea esi, [ebx + 0x24]
mov edi, str.blank
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46f3bb
push 1
xor edi, edi
push 0x4d8e7c
lea esi, [esp + 0x40]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], edi
mov word [esp + 0x44], di
call fcn.00406b80
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
mov edx, esi
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
mov byte [esp + 0x1fc], 0xd
mov eax, dword [ecx]
mov eax, dword [eax + 0x8c]
push edx
lea edx, [esp + 0x128]
push edx
call eax
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov byte [esp + 0x1f0], 9
cmp dword [esp + 0x50], 8
mov dword [esp + 0x14], edx
jb 0x46f566
mov eax, dword [esp + 0x3c]
push eax
call fcn.00488fd0
add esp, 4
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], di
jmp 0x46f3bb
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x46f3dc