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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a3d21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x19dc
call fcn.0049faa0
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 0x462834
mov ebx, 0xfe
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebp + 0x18]
test cl, 0xc
je 0x462846
mov dword [esp + 0x10], 1
jmp 0x462851
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 + 0x1f8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
cmp eax, edi
jle 0x462923
cmp eax, dword [0x4bb408]
jg 0x462921
mov ecx, dword [0x4bb410]
mov eax, dword [ecx + eax*4 - 4]
push edi
push edi
push edi
push edi
mov dword [esp + 0xa08], eax
call fcn.0047f1d0
add esp, 0x10
test eax, eax
je 0x4628ee
mov eax, dword [esp + 0x9f8]
mov dword [esp + 0xa00], 1
mov esi, eax
call fcn.00403fb0
test al, al
je 0x4628d4
push 0x10
push edi
push esi
call fcn.00493ebc
cdq
add esp, 0xc
mov dword [esp + 0x9f8], eax
mov dword [esp + 0x9fc], edx
jmp 0x4628f5
push esi
call fcn.00492cb8
cdq
add esp, 4
mov dword [esp + 0x9f8], eax
mov dword [esp + 0x9fc], edx
jmp 0x4628f5
mov dword [esp + 0xa00], edi
cmp dword [esp + 0x10], 2
lea edx, [esp + 0x9f8]
lea eax, [ebx + 1]
mov dword [esp + 0x1f8], edx
mov dword [esp + 0x14], eax
jne 0x462989
test byte [ebp + 0x18], 2
je 0x462989
mov dword [esp + 0x10], 0x100002
jmp 0x462989
cmp eax, edi
je 0x462941
mov eax, 0x80020003
mov ecx, dword [esp + 0x19ec]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp dword [esp + 0x10], 2
jne 0x46297e
test cl, 2
jne 0x462976
lea ecx, [esp + 0x9f8]
lea edx, [ebx + 1]
mov dword [esp + 0xa00], edi
mov dword [esp + 0x9f8], 0x4a7935
mov dword [esp + 0x1f8], ecx
mov dword [esp + 0x14], edx
jmp 0x462989
mov dword [esp + 0x10], 0x40000
lea eax, [esp + 0x1fc]
mov dword [esp + 0x18], eax
mov edi, 1
cmp ebx, edi
jb 0x4629de
mov ebx, dword [esp + 0x1c]
shl ebx, 4
lea esi, [esp + 0xa08]
sub ebx, 0x10
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
add eax, ebx
mov edx, 0x400c
cmp word [eax], dx
jne 0x4629be
mov eax, dword [eax + 8]
mov ecx, edx
cmp word [eax], cx
je 0x4629b4
push 1
push esi
push eax
call fcn.00460b70
mov dword [esp + edi*4 + 0x204], esi
inc edi
add esp, 0xc
sub ebx, 0x10
add esi, 0x10
cmp edi, dword [esp + 0x1c]
jbe 0x4629a3
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [0x4b7a60]
lea edx, [esp + 0xf8]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], 0x4a7935
mov dword [esp + 0x78], 6
mov dword [esp + 0x70], esi
mov ecx, dword [eax + 0xe0]
mov dword [esp + 0x68], ecx
push ebx
or ecx, 2
mov dword [eax + 0xe0], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
push edi
push ecx
lea edx, [esp + 0x7c]
push edx
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x40]
push ecx
push esi
call edx
test eax, eax
je 0x462a7b
cmp eax, 4
jne 0x462ab9
test byte [esp + 0x10], 3
je 0x462ab9
test byte [ebp + 0x18], 2
je 0x462aaf
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
push ebx
push edi
push 0
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x40]
push edx
push esi
mov dword [esp + 0x28], 0
call eax
test eax, eax
jne 0x462a47
mov ecx, dword [0x4b7a60]
mov eax, dword [ecx + 0xe4]
mov ebx, 0x80004005
mov dword [esp + 0x18], ebx
test eax, eax
je 0x462f45
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x462ef6
mov ecx, dword [eax + 8]
cmp ecx, 6
jne 0x462ad5
mov eax, dword [eax]
jmp 0x462b1c
mov ebx, 0x80020003
jmp 0x462f45
mov edi, dword [ebp + 0x20]
xor ebx, ebx
test edi, edi
je 0x462f45
push ebx
lea ecx, [esp + 0x34]
call fcn.00461050
jmp 0x462f42
cmp ecx, 4
jne 0x462b1a
mov eax, dword [eax]
cmp byte [eax + 0x17], 0
jne 0x462ae7
mov ecx, dword [eax + 0xc]
jmp 0x462ae9
mov ecx, eax
test byte [ecx + 0x15], 2
je 0x462afc
cmp byte [eax + 0x17], 0
jne 0x462af8
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
jmp 0x462b1c
cmp byte [eax + 0x17], 0
jne 0x462b07
mov ecx, dword [eax + 0xc]
jmp 0x462b09
mov ecx, eax
test byte [ecx + 0x15], 4
je 0x462b1a
push eax
mov ecx, 0x4bc450
call fcn.0043ba80
xor eax, eax
push 0
push 0x4b8f08
push 0x4b8ef0
push 0
push eax
call fcn.004a2082
mov edi, eax
add esp, 0x14
mov dword [esp + 0x14], edi
test edi, edi
je 0x462ef6
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov eax, 0x80020009
mov dword [esp + 0x18], eax
mov dword [esi + 0x1c], eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x900]
push ecx
lea ebx, [esp + 0xfc]
lea eax, [esp + 0x8c]
mov dword [esp + 0x94], 5
mov dword [esp + 0x8c], str.Message
mov dword [esp + 0x90], 0
call fcn.00479910
xor edi, edi
cmp eax, edi
je 0x462c62
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
cmp eax, 5
jne 0x462bd0
mov dword [esp + 0x24], edi
lea ecx, [esp + 0xf8]
lea eax, [esp + 0x20]
call fcn.0045a780
mov dword [esp + 0x48], edi
mov byte [esp + 0x4c], 0
push edi
push 0xffffffffffffffff
push eax
mov dword [esp + 0x1a00], edi
lea eax, [esp + 0x50]
mov dword [esp + 0x50], vtable.CStringWCharFromChar.0
call fcn.0047c510
mov dword [esp + 0x1a00], 0xffffffff
mov ebx, dword [esp + 0x54]
add esp, 0xc
cmp ebx, edi
je 0x462c21
mov eax, dword [ebx]
cmp eax, edi
jne 0x462c26
mov eax, 0x4ae348
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 8], eax
mov dword [esp + 0x44], vtable.CKuStringT_wchar_t__class_CKuStringUtilW_.0
cmp ebx, edi
je 0x462c62
mov eax, dword [ebx + 0x10]
dec eax
mov dword [ebx + 0x10], eax
jne 0x462c62
mov ebx, dword [esp + 0x48]
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x462c59
push eax
call fcn.00492708
add esp, 4
push ebx
call fcn.00492468
add esp, 4
lea edx, [esp + 0xf4]
push edx
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x800]
mov dword [esp + 0xa4], edi
mov edi, dword [esp + 0x1c]
push ecx
lea ebx, [esp + 0xf8]
lea eax, [esp + 0xa4]
mov dword [esp + 0xac], 5
mov dword [esp + 0xa4], str.What
call fcn.00479910
xor edi, edi
cmp eax, edi
je 0x462d6b
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
cmp eax, 5
jne 0x462cd5
mov dword [esp + 0x24], edi
lea ecx, [esp + 0xf8]
lea eax, [esp + 0x20]
call fcn.0045a780
mov dword [esp + 0x54], edi
mov byte [esp + 0x58], 0
push edi
push 0xffffffffffffffff
push eax
mov dword [esp + 0x1a00], 1
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], vtable.CStringWCharFromChar.0
call fcn.0047c510
mov dword [esp + 0x1a00], 0xffffffff
mov ebx, dword [esp + 0x60]
add esp, 0xc
cmp ebx, edi
je 0x462d2a
mov eax, dword [ebx]
cmp eax, edi
jne 0x462d2f
mov eax, 0x4ae348
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 4], eax
mov dword [esp + 0x50], vtable.CKuStringT_wchar_t__class_CKuStringUtilW_.0
cmp ebx, edi
je 0x462d6b
mov eax, dword [ebx + 0x10]
dec eax
mov dword [ebx + 0x10], eax
jne 0x462d6b
mov ebx, dword [esp + 0x54]
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x462d62
push eax
call fcn.00492708
add esp, 4
push ebx
call fcn.00492468
add esp, 4
lea edx, [esp + 0xdc]
push edx
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x600]
mov dword [esp + 0xbc], edi
mov edi, dword [esp + 0x1c]
push ecx
lea ebx, [esp + 0xa0]
lea eax, [esp + 0xbc]
mov dword [esp + 0xc4], 5
mov dword [esp + 0xbc], 0x4ad63c
call fcn.00479910
xor edi, edi
cmp eax, edi
je 0x462e74
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
cmp eax, 5
jne 0x462dde
mov dword [esp + 0x24], edi
lea ecx, [esp + 0xf8]
lea eax, [esp + 0x20]
call fcn.0045a780
mov dword [esp + 0x60], edi
mov byte [esp + 0x64], 0
push edi
push 0xffffffffffffffff
push eax
mov dword [esp + 0x1a00], 2
lea eax, [esp + 0x68]
mov dword [esp + 0x68], vtable.CStringWCharFromChar.0
call fcn.0047c510
mov dword [esp + 0x1a00], 0xffffffff
mov ebx, dword [esp + 0x6c]
add esp, 0xc
cmp ebx, edi
je 0x462e33
mov eax, dword [ebx]
cmp eax, edi
jne 0x462e38
mov eax, 0x4ae348
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 0xc], eax
mov dword [esp + 0x5c], vtable.CKuStringT_wchar_t__class_CKuStringUtilW_.0
cmp ebx, edi
je 0x462e74
mov eax, dword [ebx + 0x10]
dec eax
mov dword [ebx + 0x10], eax
jne 0x462e74
mov ebx, dword [esp + 0x60]
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x462e6b
push eax
call fcn.00492708
add esp, 4
push ebx
call fcn.00492468
add esp, 4
lea edx, [esp + 0xe0]
push edx
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x700]
mov dword [esp + 0xd4], edi
mov edi, dword [esp + 0x1c]
push ecx
lea ebx, [esp + 0xf0]
lea eax, [esp + 0xd4]
mov dword [esp + 0xdc], 5
mov dword [esp + 0xd4], str.Line
call fcn.00479910
test eax, eax
je 0x462ef6
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
cmp eax, 5
jne 0x462ee5
mov dword [esp + 0x24], 0
push 0
lea ecx, [esp + 0x24]
call fcn.0045a640
add esp, 4
mov dword [esi + 0x10], eax
mov esi, dword [0x4b7a60]
mov eax, dword [esi + 0xe4]
cmp dword [eax + 8], 6
jne 0x462f12
mov eax, dword [eax]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esi + 0xe4]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x462f28
push eax
call fcn.00492708
add esp, 4
mov edx, dword [esi + 0xe4]
push edx
call fcn.00492468
mov ebx, dword [esp + 0x1c]
mov dword [esi + 0xe4], 0
add esp, 4
mov eax, dword [esp + 0x68]
mov ecx, dword [0x4b7a60]
mov dword [ecx + 0xe0], eax
cmp dword [esp + 0x38], 6
jne 0x462f68
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x462f79
push eax
call fcn.00492708
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, 1
jb 0x462fbe
lea esi, [esp + 0xa10]
mov edi, eax
jmp 0x462f90
mov eax, dword [esi]
cmp eax, 6
jne 0x462fa4
mov eax, dword [esi - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x462fb8
test eax, eax
jne 0x462fb8
mov eax, dword [esi + 4]
test eax, eax
je 0x462fb8
push eax
call fcn.00492708
add esp, 4
add esi, 0x10
dec edi
jne 0x462f90
mov ecx, dword [esp + 0x19ec]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24