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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a31a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x155c
call fcn.0049fa60
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [eax + 8]
push esi
push edi
mov dword [esp + 0x1c], ebx
cmp ebx, 0xff
jb 0x45e904
mov ebx, 0xfe
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebp + 0x18]
test cl, 0xc
je 0x45e916
mov dword [esp + 0x10], 1
jmp 0x45e921
mov eax, ecx
and eax, 1
add eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
lea edx, [esp + 0x178]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
cmp eax, edi
jle 0x45ea15
mov ecx, dword [0x4bb750]
dec eax
cmp eax, dword [ecx + 0x18]
jge 0x45e9b5
shl eax, 4
add eax, dword [ecx + 0xc]
mov ecx, dword [eax]
mov dword [esp + 0x578], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x57c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x580], eax
cmp eax, 5
jne 0x45e978
mov dword [esp + 0x57c], edi
push edi
push edi
push edi
push edi
mov eax, ecx
call fcn.0047dba0
add esp, 0x10
test eax, eax
je 0x45e9e9
mov eax, dword [esp + 0x578]
mov dword [esp + 0x580], 1
mov esi, eax
call fcn.0040dbe0
test al, al
je 0x45e9d1
push 0x10
push edi
push esi
call fcn.004933d7
add esp, 0xc
jmp 0x45e9da
mov eax, 0x80020003
mov ecx, dword [esp + 0x156c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push esi
call fcn.00493086
add esp, 4
cdq
mov dword [esp + 0x578], eax
mov dword [esp + 0x57c], edx
cmp dword [esp + 0x10], 2
lea eax, [esp + 0x578]
lea ecx, [ebx + 1]
mov dword [esp + 0x178], eax
mov dword [esp + 0x14], ecx
jne 0x45ea5f
test byte [ebp + 0x18], 2
je 0x45ea5f
mov dword [esp + 0x10], 0x100002
jmp 0x45ea5f
jne 0x45e9b5
cmp dword [esp + 0x10], 2
jne 0x45ea54
test cl, 2
jne 0x45ea4c
lea edx, [esp + 0x578]
lea eax, [ebx + 1]
mov dword [esp + 0x580], edi
mov dword [esp + 0x578], 0x4a6869
mov dword [esp + 0x178], edx
mov dword [esp + 0x14], eax
jmp 0x45ea5f
mov dword [esp + 0x10], 0x40000
lea ecx, [esp + 0x17c]
mov dword [esp + 0x18], ecx
mov edi, 1
cmp ebx, edi
jb 0x45eaba
mov ebx, dword [esp + 0x1c]
shl ebx, 4
lea esi, [esp + 0x588]
sub ebx, 0x10
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
add eax, ebx
mov ecx, 0x400c
cmp word [eax], cx
jne 0x45ea9a
lea ebx, [ebx]
mov eax, dword [eax + 8]
mov edx, ecx
cmp word [eax], dx
je 0x45ea90
push 1
push esi
push eax
call fcn.0045ccd0
mov dword [esp + edi*4 + 0x184], esi
inc edi
add esp, 0xc
sub ebx, 0x10
add esi, 0x10
cmp edi, dword [esp + 0x1c]
jbe 0x45ea79
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
push ebx
lea eax, [esp + 0x7c]
mov dword [esp + 0x28], eax
xor eax, eax
push edi
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x74]
push eax
mov eax, dword [ecx + 0x1c]
lea edx, [esp + 0x30]
push edx
push esi
mov dword [esp + 0x38], 0x4a6869
mov dword [esp + 0x88], 6
mov dword [esp + 0x80], esi
call eax
test eax, eax
je 0x45eb42
cmp eax, 4
jne 0x45eb80
test byte [esp + 0x10], 3
je 0x45eb80
test byte [ebp + 0x18], 2
je 0x45eb76
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x1c]
push ebx
push edi
push 0
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x30]
push eax
push esi
mov dword [esp + 0x28], 0
call ecx
test eax, eax
jne 0x45eb0e
mov edx, dword [0x4b7468]
mov eax, dword [edx + 0xdc]
mov ebx, 0x80004005
mov dword [esp + 0x18], ebx
test eax, eax
je 0x45ee9d
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x45ee4e
mov ecx, dword [eax + 8]
cmp ecx, 6
jne 0x45eb9c
mov eax, dword [eax]
jmp 0x45ebdd
mov ebx, 0x80020003
jmp 0x45ee9d
mov esi, dword [ebp + 0x20]
xor ebx, ebx
test esi, esi
je 0x45ee9d
push ebx
lea ecx, [esp + 0x24]
call fcn.0045d1a0
jmp 0x45ee9a
cmp ecx, 4
jne 0x45ebdb
mov eax, dword [eax]
cmp byte [eax + 0x17], 0
jne 0x45ebae
mov ecx, dword [eax + 0xc]
jmp 0x45ebb0
mov ecx, eax
test byte [ecx + 0x15], 2
je 0x45ebc3
cmp byte [eax + 0x17], 0
jne 0x45ebbf
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
jmp 0x45ebdd
cmp byte [eax + 0x17], 0
jne 0x45ebce
mov ecx, dword [eax + 0xc]
jmp 0x45ebd0
mov ecx, eax
test byte [ecx + 0x15], 4
je 0x45ebdb
call fcn.00433620
xor eax, eax
push 0
push 0x4b8a2c
push 0x4b7314
push 0
push eax
call fcn.004a15a2
mov esi, eax
add esp, 0x14
mov dword [esp + 0x14], esi
test esi, esi
je 0x45ee4e
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov eax, 0x80020009
mov dword [esp + 0x18], eax
mov dword [edi + 0x1c], eax
mov eax, str.Message
lea ebx, [esp + 0x58]
call fcn.00417620
test al, al
je 0x45ecc9
lea ecx, [esp + 0x78]
mov eax, ebx
call fcn.00455cc0
xor esi, esi
mov dword [esp + 0x50], esi
mov byte [esp + 0x54], 0
push esi
push 0xffffffffffffffff
push eax
mov dword [esp + 0x1580], esi
lea eax, [esp + 0x58]
mov dword [esp + 0x58], vtable.CStringWCharFromChar.0
call fcn.0047b2c0
mov dword [esp + 0x1580], 0xffffffff
mov ebx, dword [esp + 0x5c]
add esp, 0xc
cmp ebx, esi
je 0x45ec88
mov eax, dword [ebx]
cmp eax, esi
jne 0x45ec8d
mov eax, 0x4ae214
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 8], eax
mov dword [esp + 0x4c], vtable.CKuStringT_wchar_t__class_CKuStringUtilW_.0
cmp ebx, esi
je 0x45ecc9
mov eax, dword [ebx + 0x10]
dec eax
mov dword [ebx + 0x10], eax
jne 0x45ecc9
mov ebx, dword [esp + 0x50]
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x45ecc0
push eax
call fcn.00491a68
add esp, 4
push ebx
call fcn.004917c8
add esp, 4
mov esi, dword [esp + 0x14]
mov eax, str.What
lea ebx, [esp + 0x58]
call fcn.00417620
test al, al
je 0x45ed79
lea ecx, [esp + 0x78]
mov eax, ebx
call fcn.00455cc0
mov dword [esp + 0x44], 0
mov byte [esp + 0x48], 0
push 0
push 0xffffffffffffffff
push eax
mov dword [esp + 0x1580], 1
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], vtable.CStringWCharFromChar.0
call fcn.0047b2c0
mov dword [esp + 0x1580], 0xffffffff
mov ebx, dword [esp + 0x50]
add esp, 0xc
test ebx, ebx
je 0x45ed38
mov eax, dword [ebx]
test eax, eax
jne 0x45ed3d
mov eax, 0x4ae214
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 4], eax
mov dword [esp + 0x40], vtable.CKuStringT_wchar_t__class_CKuStringUtilW_.0
test ebx, ebx
je 0x45ed79
mov eax, dword [ebx + 0x10]
dec eax
mov dword [ebx + 0x10], eax
jne 0x45ed79
mov ebx, dword [esp + 0x44]
mov eax, dword [ebx + 4]
test eax, eax
je 0x45ed70
push eax
call fcn.00491a68
add esp, 4
push ebx
call fcn.004917c8
add esp, 4
mov esi, dword [esp + 0x14]
mov eax, 0x4ad260
lea ebx, [esp + 0x58]
call fcn.00417620
test al, al
je 0x45ee29
lea ecx, [esp + 0x78]
mov eax, ebx
call fcn.00455cc0
mov dword [esp + 0x38], 0
mov byte [esp + 0x3c], 0
push 0
push 0xffffffffffffffff
push eax
mov dword [esp + 0x1580], 2
lea eax, [esp + 0x40]
mov dword [esp + 0x40], vtable.CStringWCharFromChar.0
call fcn.0047b2c0
mov dword [esp + 0x1580], 0xffffffff
mov ebx, dword [esp + 0x44]
add esp, 0xc
test ebx, ebx
je 0x45ede8
mov eax, dword [ebx]
test eax, eax
jne 0x45eded
mov eax, 0x4ae214
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 0xc], eax
mov dword [esp + 0x34], vtable.CKuStringT_wchar_t__class_CKuStringUtilW_.0
test ebx, ebx
je 0x45ee29
mov eax, dword [ebx + 0x10]
dec eax
mov dword [ebx + 0x10], eax
jne 0x45ee29
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx + 4]
test eax, eax
je 0x45ee20
push eax
call fcn.00491a68
add esp, 4
push ebx
call fcn.004917c8
add esp, 4
mov esi, dword [esp + 0x14]
mov eax, str.Line
lea ebx, [esp + 0x58]
call fcn.00417620
test al, al
je 0x45ee4e
push 0
mov ecx, ebx
call fcn.00455b80
add esp, 4
mov dword [edi + 0x10], eax
mov esi, dword [0x4b7468]
mov eax, dword [esi + 0xdc]
cmp dword [eax + 8], 6
jne 0x45ee6a
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x45ee80
push eax
call fcn.00491a68
add esp, 4
mov ecx, dword [esi + 0xdc]
push ecx
call fcn.004917c8
mov ebx, dword [esp + 0x1c]
mov dword [esi + 0xdc], 0
add esp, 4
cmp dword [esp + 0x28], 6
jne 0x45eeb0
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x45eec1
push eax
call fcn.00491a68
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, 1
jb 0x45ef01
lea esi, [esp + 0x590]
mov edi, eax
mov eax, dword [esi]
cmp eax, 6
jne 0x45eee7
mov eax, dword [esi - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x45eefb
test eax, eax
jne 0x45eefb
mov eax, dword [esi + 4]
test eax, eax
je 0x45eefb
push eax
call fcn.00491a68
add esp, 4
add esi, 0x10
dec edi
jne 0x45eed3
mov ecx, dword [esp + 0x156c]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24