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

Disassembly:
push 0xffffffffffffffff
push 0x4de70b
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x52472c]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52472c]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc4]
mov esi, dword [esp + 0xc8]
xor ebx, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xcc]
xor ebp, ebp
mov dword [esp + 0x14], ebx
test byte [0x52c188], 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
jne 0x464536
mov ebx, 1
or dword [0x52c188], ebx
mov dword [esp + 0xbc], ebp
mov ecx, dword [0x52802c]
cmp ecx, ebp
je 0x46441e
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push ebx
lea eax, [esp + 0x7c]
push eax
call edx
mov byte [esp + 0xbc], bl
lea edi, [ebp + 7]
jmp 0x46446d
xor eax, eax
mov edi, 7
push 0x4ed6cc
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebp
mov word [esp + 0x9c], ax
call fcn.004b3310
add esp, 4
push eax
push 0x4ed6cc
lea ecx, [esp + 0x9c]
call fcn.004042c6
mov ebx, 2
lea eax, [esp + 0x94]
mov dword [esp + 0xbc], ebx
push 0xffffffffffffffff
mov dword [esp + 0x18], ebx
xor ecx, ecx
push ebp
mov word [0x52c140], cx
push eax
mov ecx, 0x52c13c
mov dword [0x52c154], edi
mov dword [0x52c150], ebp
call fcn.00403ffa
mov dword [esp + 0xbc], 1
test bl, 2
je 0x4644dd
and ebx, 0xfffffffd
mov dword [esp + 0x14], ebx
cmp dword [esp + 0xac], 8
jb 0x4644c5
mov edx, dword [esp + 0x98]
push edx
call fcn.004b1963
add esp, 4
xor eax, eax
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebp
mov word [esp + 0x98], ax
mov dword [esp + 0xbc], ebp
test bl, 1
je 0x46451c
and ebx, 0xfffffffe
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x90], 8
jb 0x464507
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004b1963
add esp, 4
xor edx, edx
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], dx
push 0x4e9670
call fcn.004b3ae5
add esp, 4
mov dword [esp + 0xbc], 0xffffffff
jmp 0x46453b
mov edi, 7
test byte [0x52c188], 2
jne 0x464696
or dword [0x52c188], 2
mov esi, 3
mov dword [esp + 0xbc], esi
mov ecx, dword [0x52802c]
cmp ecx, ebp
je 0x46457f
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push ebp
lea edx, [esp + 0x7c]
push edx
call eax
mov byte [esp + 0xbc], 4
or ebx, 4
jmp 0x4645cb
xor ecx, ecx
push 0x4ed6cc
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebp
mov word [esp + 0x9c], cx
call fcn.004b3310
add esp, 4
push eax
push 0x4ed6cc
lea ecx, [esp + 0x9c]
call fcn.004042c6
lea eax, [esp + 0x94]
mov dword [esp + 0xbc], 5
or ebx, 8
push 0xffffffffffffffff
mov dword [esp + 0x18], ebx
push ebp
xor edx, edx
push eax
mov ecx, 0x52c16c
mov dword [0x52c184], edi
mov dword [0x52c180], ebp
mov word [0x52c170], dx
call fcn.00403ffa
mov dword [esp + 0xbc], 4
test bl, 8
je 0x46463b
and ebx, 0xfffffff7
mov dword [esp + 0x14], ebx
cmp dword [esp + 0xac], 8
jb 0x464623
mov eax, dword [esp + 0x98]
push eax
call fcn.004b1963
add esp, 4
xor ecx, ecx
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebp
mov word [esp + 0x98], cx
mov dword [esp + 0xbc], esi
test bl, 4
je 0x46467a
and ebx, 0xfffffffb
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x90], 8
jb 0x464665
mov edx, dword [esp + 0x7c]
push edx
call fcn.004b1963
add esp, 4
xor eax, eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], ax
push 0x4e9630
call fcn.004b3ae5
add esp, 4
mov dword [esp + 0xbc], 0xffffffff
mov esi, dword [esp + 0x1c]
cmp dword [0x528030], ebp
je 0x464758
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
xor ecx, ecx
push ebp
mov word [esp + 0x84], cx
push edx
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebp
call fcn.00403ffa
mov ebx, 6
mov dword [esp + 0xbc], ebx
lea ecx, [esp + 0x78]
call fcn.004642a0
lea esi, [esp + 0x1c]
call fcn.00464230
mov byte [esp + 0xbc], 7
lea eax, [esp + 0x78]
push eax
call fcn.004651c0
add esp, 4
mov byte [esp + 0xbc], bl
mov ecx, dword [esp + 0x1c]
push ecx
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov dword [esp + 0xbc], 0xffffffff
cmp dword [esp + 0x90], 8
jb 0x46473e
mov edx, dword [esp + 0x7c]
push edx
call fcn.004b1963
add esp, 4
xor eax, eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], ax
jmp 0x4649db
cmp dword [esi + 0x18], 8
mov edx, dword [esi + 0x14]
jb 0x464766
mov eax, dword [esi + 4]
jmp 0x464769
lea eax, [esi + 4]
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + 0x14]
mov esi, ecx
mov ecx, dword [esi + 0x14]
cmp ecx, edi
jae 0x46477b
mov edi, ecx
cmp edi, edx
jae 0x464781
mov edx, edi
cmp dword [esi + 0x18], 8
jb 0x46478c
mov ecx, dword [esi + 4]
jmp 0x46478f
lea ecx, [esi + 4]
cmp edx, ebp
jbe 0x4647aa
mov si, word [ecx]
cmp si, word [eax]
jne 0x4647cb
add ecx, 2
add eax, 2
sub edx, 1
jne 0x464793
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
cmp edi, eax
jb 0x4647c2
xor ecx, ecx
cmp edi, eax
setne cl
mov eax, ecx
cmp eax, ebp
je 0x4647e1
mov eax, esi
mov edi, 7
jmp 0x464833
mov dx, si
cmp dx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
inc eax
cmp eax, ebp
je 0x4647a6
mov esi, dword [esp + 0x18]
jmp 0x4647be
xor edx, edx
mov edi, 7
push 0x4ed6cc
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebp
mov word [esp + 0x80], dx
call fcn.004b3310
add esp, 4
push eax
push 0x4ed6cc
lea ecx, [esp + 0x80]
call fcn.004042c6
lea eax, [esp + 0x78]
mov dword [esp + 0xbc], 8
or ebx, 0x10
mov dword [esp + 0x14], ebx
push 0xffffffffffffffff
xor ecx, ecx
push ebp
mov word [esp + 0xa0], cx
push eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebp
call fcn.00403ffa
mov dword [esp + 0xbc], 0xa
test bl, 0x10
je 0x46489e
and ebx, 0xffffffef
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x90], 8
jb 0x464889
mov edx, dword [esp + 0x7c]
push edx
call fcn.004b1963
add esp, 4
xor eax, eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], ax
lea ecx, [esp + 0x94]
call fcn.004642a0
mov esi, dword [esp + 0x28]
cmp esi, ebp
jne 0x4648b8
mov esi, dword [0x528028]
lea ecx, [esp + 0x2c]
push ecx
call fcn.004657e0
mov byte [esp + 0xbc], 0xb
cmp dword [0x52c180], ebp
jne 0x46491e
xor edx, edx
push str.Error
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebp
mov word [esp + 0x80], dx
call fcn.004b3310
add esp, 4
push eax
push str.Error
lea ecx, [esp + 0x80]
call fcn.004042c6
lea eax, [esp + 0x78]
mov byte [esp + 0xbc], 0xc
or ebx, 0x20
mov dword [esp + 0x14], ebx
jmp 0x464923
mov eax, 0x52c16c
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x94]
push ecx
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
neg eax
sbb eax, eax
and eax, esi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00465840
mov dword [esp + 0xbc], 0xb
test bl, 0x20
je 0x46498c
and ebx, 0xffffffdf
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x90], 8
jb 0x464977
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004b1963
add esp, 4
xor edx, edx
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], dx
mov byte [esp + 0xbc], 0xa
lea eax, [esp + 0x2c]
push eax
call fcn.00464a80
mov dword [esp + 0xbc], 0xffffffff
cmp dword [esp + 0xac], 8
jb 0x4649c3
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004b1963
add esp, 4
xor edx, edx
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebp
mov word [esp + 0x98], dx
mov ecx, dword [0x52802c]
cmp ecx, ebp
je 0x4649fa
mov edx, dword [esp + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax]
push edx
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x20]
push edx
call eax
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004b196e
add esp, 0xac
ret