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

Disassembly:
push 0xffffffffffffffff
push 0x4cf6ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5e0
push ebx
mov dword [esp + 8], ecx
push esi
push edi
lea ecx, [esp + 0x90]
call fcn.0046ceb0
mov al, byte [esp + 0xf]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x5f8], ebx
mov byte [esp + 0x34], al
call fcn.00406ad6
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov eax, dword [0x5041d4]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
cmp eax, ebx
mov byte [esp + 0x5f4], 1
jne 0x46269b
push str.m_hInstance___0
lea ecx, [esp + 0x1f0]
push str.ASSERT__s_
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x1ec]
mov ecx, 0x503ff0
push edx
push 0x558
push str..isoutils.h
call fcn.00423080
mov ecx, dword [0x5041d4]
push ebp
mov ebp, dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0xec]
push 0x104
push eax
push 0x1f67
push ecx
call ebp
cmp eax, ebx
je 0x4626e4
lea edi, [esp + 0xec]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xec]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.0040695a
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x80]
mov byte [esp + 0x80], al
call fcn.00406ad6
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov eax, dword [0x5041d4]
mov byte [esp + 0x5f8], 2
cmp eax, ebx
jne 0x46274e
push str.m_hInstance___0
lea ecx, [esp + 0x1f4]
push str.ASSERT__s_
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x1f0]
mov ecx, 0x503ff0
push edx
push 0x558
push str..isoutils.h
call fcn.00423080
mov ecx, dword [0x5041d4]
lea eax, [esp + 0xec]
push 0x104
push eax
push 0x1c00
push ecx
call ebp
cmp eax, ebx
pop ebp
je 0x462794
lea edi, [esp + 0xe8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xe8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x80]
call fcn.0040695a
mov eax, dword [0x4d68ec]
lea ecx, [esp + 0x78]
push eax
push ebx
push ecx
lea ecx, [esp + 0x3c]
call fcn.00430660
lea edx, [esp + 0x30]
push 1
push edx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x9c]
call fcn.0046d070
test eax, eax
je 0x462969
mov al, byte [esp + 0xf]
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.00406ad6
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x5f4], 3
call fcn.0046ceb0
lea ecx, [esp + 0x18]
mov byte [esp + 0x5f4], 4
push ecx
lea ecx, [esp + 0x94]
call fcn.0046ecc0
test eax, eax
je 0x462924
mov edi, dword [esp + 0x600]
mov esi, dword [esp + 0x5fc]
mov dl, byte [esp + 0xf]
push ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0x64], dl
call fcn.00406ad6
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov al, byte [esp + 0xf]
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x5f8], 5
mov byte [esp + 0x4c], al
call fcn.00406ad6
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x18]
push ebx
push ecx
lea ecx, [esp + 0x98]
mov byte [esp + 0x5fc], 6
call fcn.004a8f80
push eax
lea ecx, [esp + 0xc8]
call fcn.0046d070
test eax, eax
je 0x4628b9
lea edx, [esp + 0x14]
push ebx
push edx
push 0x1f5
lea ecx, [esp + 0xc8]
call fcn.0046dab0
mov eax, dword [esp + 0x14]
mov ecx, esi
sub ecx, edi
cmp eax, ecx
jbe 0x4628b9
lea edx, [esi + edi]
cmp eax, edx
jae 0x4628b9
xor esi, esi
mov eax, dword [esp + 0x58]
mov byte [esp + 0x5f4], 5
cmp eax, ebx
je 0x4628d6
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x58], ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.00406ad6
mov eax, dword [esp + 0x70]
mov byte [esp + 0x5f4], 4
cmp eax, ebx
je 0x4628fe
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x70], ebx
push 1
lea ecx, [esp + 0x64]
call fcn.00406ad6
lea eax, [esp + 0x18]
lea ecx, [esp + 0x90]
push eax
call fcn.0046ecc0
test eax, eax
jne 0x462826
jmp 0x46292b
mov esi, dword [esp + 0x5fc]
lea ecx, [esp + 0xbc]
mov byte [esp + 0x5f4], 3
call fcn.0046cf30
mov eax, dword [esp + 0x28]
mov byte [esp + 0x5f4], 2
cmp eax, ebx
je 0x46295c
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x28], ebx
push 1
lea ecx, [esp + 0x1c]
call fcn.00406ad6
jmp 0x462970
mov esi, dword [esp + 0x5fc]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x604]
xor edx, edx
add ecx, 0x60
cmp esi, ebx
je 0x4629b1
mov eax, edi
and eax, 0xffff
cmp eax, edx
je 0x4629a5
mov al, byte [ecx]
cmp al, 2
je 0x462999
cmp al, 1
jne 0x4629a5
cmp esi, dword [ecx + 8]
jb 0x4629a5
cmp esi, dword [ecx + 0xc]
ja 0x4629a5
xor esi, esi
inc edx
add ecx, 0x18
cmp edx, 0x100
jl 0x462980
lea ecx, [esp + 0x78]
mov byte [esp + 0x5f4], 1
call fcn.00405d6e
lea ecx, [esp + 0x30]
mov byte [esp + 0x5f4], bl
call fcn.00405d6e
lea ecx, [esp + 0x90]
mov dword [esp + 0x5f4], 0xffffffff
call fcn.0046cf30
mov ecx, dword [esp + 0x5ec]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x5ec
ret 0xc