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

Disassembly:
push 0xffffffffffffffff
push 0x4d98db
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x51f714]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51f714]
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 [0x527108], 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
jne 0x461566
mov ebx, 1
or dword [0x527108], ebx
mov dword [esp + 0xbc], ebp
mov ecx, dword [0x522fcc]
cmp ecx, ebp
je 0x46144e
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 0x46149d
xor eax, eax
mov edi, 7
push 0x4e9568
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebp
mov word [esp + 0x9c], ax
call fcn.004af01d
add esp, 4
push eax
push 0x4e9568
lea ecx, [esp + 0x9c]
call fcn.004040ed
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 [0x5270c0], cx
push eax
mov ecx, 0x5270bc
mov dword [0x5270d4], edi
mov dword [0x5270d0], ebp
call fcn.00403e21
mov dword [esp + 0xbc], 1
test bl, 2
je 0x46150d
and ebx, 0xfffffffd
mov dword [esp + 0x14], ebx
cmp dword [esp + 0xac], 8
jb 0x4614f5
mov edx, dword [esp + 0x98]
push edx
call fcn.004ad670
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 0x46154c
and ebx, 0xfffffffe
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x90], 8
jb 0x461537
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004ad670
add esp, 4
xor edx, edx
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], dx
push 0x4e4db0
call fcn.004af7f2
add esp, 4
mov dword [esp + 0xbc], 0xffffffff
jmp 0x46156b
mov edi, 7
test byte [0x527108], 2
jne 0x4616c6
or dword [0x527108], 2
mov esi, 3
mov dword [esp + 0xbc], esi
mov ecx, dword [0x522fcc]
cmp ecx, ebp
je 0x4615af
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 0x4615fb
xor ecx, ecx
push 0x4e9568
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebp
mov word [esp + 0x9c], cx
call fcn.004af01d
add esp, 4
push eax
push 0x4e9568
lea ecx, [esp + 0x9c]
call fcn.004040ed
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, 0x5270ec
mov dword [0x527104], edi
mov dword [0x527100], ebp
mov word [0x5270f0], dx
call fcn.00403e21
mov dword [esp + 0xbc], 4
test bl, 8
je 0x46166b
and ebx, 0xfffffff7
mov dword [esp + 0x14], ebx
cmp dword [esp + 0xac], 8
jb 0x461653
mov eax, dword [esp + 0x98]
push eax
call fcn.004ad670
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 0x4616aa
and ebx, 0xfffffffb
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x90], 8
jb 0x461695
mov edx, dword [esp + 0x7c]
push edx
call fcn.004ad670
add esp, 4
xor eax, eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], ax
push 0x4e4d70
call fcn.004af7f2
add esp, 4
mov dword [esp + 0xbc], 0xffffffff
mov esi, dword [esp + 0x1c]
cmp dword [0x522fd0], ebp
je 0x461788
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.00403e21
mov ebx, 6
mov dword [esp + 0xbc], ebx
lea ecx, [esp + 0x78]
call fcn.004612d0
lea esi, [esp + 0x1c]
call fcn.00461260
mov byte [esp + 0xbc], 7
lea eax, [esp + 0x78]
push eax
call fcn.00462190
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 0x46176e
mov edx, dword [esp + 0x7c]
push edx
call fcn.004ad670
add esp, 4
xor eax, eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], ax
jmp 0x461a0b
cmp dword [esi + 0x18], 8
mov edx, dword [esi + 0x14]
jb 0x461796
mov eax, dword [esi + 4]
jmp 0x461799
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 0x4617ab
mov edi, ecx
cmp edi, edx
jae 0x4617b1
mov edx, edi
cmp dword [esi + 0x18], 8
jb 0x4617bc
mov ecx, dword [esi + 4]
jmp 0x4617bf
lea ecx, [esi + 4]
cmp edx, ebp
jbe 0x4617da
mov si, word [ecx]
cmp si, word [eax]
jne 0x4617fb
add ecx, 2
add eax, 2
sub edx, 1
jne 0x4617c3
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
cmp edi, eax
jb 0x4617f2
xor ecx, ecx
cmp edi, eax
setne cl
mov eax, ecx
cmp eax, ebp
je 0x461811
mov eax, esi
mov edi, 7
jmp 0x461863
mov dx, si
cmp dx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
inc eax
cmp eax, ebp
je 0x4617d6
mov esi, dword [esp + 0x18]
jmp 0x4617ee
xor edx, edx
mov edi, 7
push 0x4e9568
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebp
mov word [esp + 0x80], dx
call fcn.004af01d
add esp, 4
push eax
push 0x4e9568
lea ecx, [esp + 0x80]
call fcn.004040ed
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.00403e21
mov dword [esp + 0xbc], 0xa
test bl, 0x10
je 0x4618ce
and ebx, 0xffffffef
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x90], 8
jb 0x4618b9
mov edx, dword [esp + 0x7c]
push edx
call fcn.004ad670
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.004612d0
mov esi, dword [esp + 0x28]
cmp esi, ebp
jne 0x4618e8
mov esi, dword [0x522fc8]
lea ecx, [esp + 0x2c]
push ecx
call fcn.004627b0
mov byte [esp + 0xbc], 0xb
cmp dword [0x527100], ebp
jne 0x46194e
xor edx, edx
push str.Error
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebp
mov word [esp + 0x80], dx
call fcn.004af01d
add esp, 4
push eax
push str.Error
lea ecx, [esp + 0x80]
call fcn.004040ed
lea eax, [esp + 0x78]
mov byte [esp + 0xbc], 0xc
or ebx, 0x20
mov dword [esp + 0x14], ebx
jmp 0x461953
mov eax, 0x5270ec
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.00462810
mov dword [esp + 0xbc], 0xb
test bl, 0x20
je 0x4619bc
and ebx, 0xffffffdf
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x90], 8
jb 0x4619a7
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004ad670
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.00461ab0
mov dword [esp + 0xbc], 0xffffffff
cmp dword [esp + 0xac], 8
jb 0x4619f3
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004ad670
add esp, 4
xor edx, edx
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebp
mov word [esp + 0x98], dx
mov ecx, dword [0x522fcc]
cmp ecx, ebp
je 0x461a2a
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.004ad67b
add esp, 0xac
ret