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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x695282
sub esp, 0xac
mov edx, dword [esp + 0xdc]
test edx, edx
je reloc.kernel32.dll_ExitProcess
mov ecx, dword [esp + 0xe0]
cmp ecx, 1
jb 0x695277
mov eax, dword [esp + 0xe4]
dec eax
neg eax
sar eax, 0x1f
and eax, 8
add eax, edx
dec ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x80], eax
mov edx, dword [esp + 0xc0]
mov dword [esp], edx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xc8]
mov dword [esp + 8], ebp
call fcn.00481520
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xe8]
cmp dword [0xa7e690], edx
je GetConsoleMode
mov ebx, dword [esp + 0x34]
lea ebp, [ebx + 1]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x40], ebp
mov edx, dword [eax + 0x48]
mov dword [esp], ecx
call edx
movzx eax, byte [esp + 4]
test al, al
je 0x6950dd
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x68]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
dec eax
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jl 0x694fdd
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
call fcn.00698150
movzx eax, byte [esp + 8]
test al, al
je 0x694efa
lea eax, [0x7a4920]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0043c700
mov eax, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x50]
xor esi, esi
jmp 0x6948b6
lea esi, [eax + 1]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x50]
mov eax, ebp
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x38], esi
cmp esi, ebp
jge 0x6949b3
cmp esi, ecx
jge 0x6949b3
mov eax, dword [ebx + 0x44]
mov dword [esp], edx
mov dword [esp + 4], esi
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
cmp edx, ebx
jae CreateEventA
mov ebx, dword [esp + 0x80]
lea ebp, [ebx + edx*8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
mov edi, dword [esp + 0xb0]
mov dword [esp], edi
mov edi, dword [esp + 0xb4]
mov dword [esp + 4], edi
mov edi, dword [esp + 0xb8]
mov dword [esp + 8], edi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebp
call fcn.006959b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
cmp ebx, ebp
jae 0x695265
lea esi, [ebx + ebx*2]
mov edi, ebp
mov ebp, dword [esp + 0x7c]
mov dword [ebp + esi*4 + 8], eax
mov eax, ebx
lea ebx, [ebp + esi*4]
mov dword [esp + 0x78], ebx
lea ebx, [ebp + esi*4 + 4]
mov dword [esp + 0x74], ebx
mov ebx, dword [0xa918d0]
test ebx, ebx
jne 0x694990
mov dword [ebp + esi*4], edx
mov dword [ebp + esi*4 + 4], ecx
jmp 0x694891
mov ebx, edi
mov edi, dword [esp + 0x78]
mov esi, eax
mov eax, edx
call fcn.00451480
mov edi, dword [esp + 0x74]
mov eax, ecx
call fcn.00451480
mov eax, esi
mov edi, ebx
jmp 0x694891
mov eax, dword [ebx + 0x48]
mov dword [esp], edx
call eax
movzx eax, byte [esp + 4]
test al, al
je 0x694eea
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x68]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
dec edx
mov dword [esp + 4], edx
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0x80]
jmp 0x694a7a
inc eax
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x44]
mov ecx, ebx
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
cmp ebp, esi
jge 0x694b43
jae 0x69525c
lea esi, [edi + ebp*8]
mov edi, dword [esi + 4]
mov esi, dword [esi]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
call fcn.006959b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
cmp ebx, ebp
jae CreateIoCompletionPort
mov dword [esp + 0x70], edx
lea esi, [ebx + ebx*2]
mov edi, ebp
mov ebp, dword [esp + 0x7c]
mov dword [ebp + esi*4 + 8], eax
mov eax, ebx
mov ebx, dword [0xa918d0]
lea edx, [ebp + esi*4]
mov dword [esp + 0x6c], edx
lea edx, [ebp + esi*4 + 4]
test ebx, ebx
jne 0x694b20
mov edx, dword [esp + 0x70]
mov dword [ebp + esi*4], edx
mov dword [ebp + esi*4 + 4], ecx
jmp 0x694a36
mov ebx, edi
mov edi, dword [esp + 0x6c]
mov esi, eax
mov eax, dword [esp + 0x70]
call fcn.00451480
mov edi, edx
mov eax, ecx
call fcn.00451480
mov eax, esi
mov edi, ebx
jmp 0x694a36
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0xe8]
cmp dword [0xa7e690], eax
je 0x694eb7
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x68]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
dec edx
mov dword [esp + 4], edx
call ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x2c]
mov ebx, dword [edx + 0x48]
mov ebp, dword [esp + 0x54]
mov dword [esp], ebp
call ebx
movzx eax, byte [esp + 4]
test al, al
je 0x694eaa
mov eax, dword [esp + 0x40]
lea ecx, [eax - 1]
mov edx, dword [esp + 0x50]
cmp ecx, edx
jge 0x694e8d
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x44]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
mov ebx, dword [esp + 0xe8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xec]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xf0]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.00695290
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
cmp ebx, ebp
jae 0x69524a
mov dword [esp + 0x68], ecx
lea ebx, [ebx + ebx*2]
mov esi, dword [esp + 0x7c]
mov dword [esi + ebx*4 + 8], eax
mov eax, ebp
mov ebp, dword [0xa918d0]
lea edi, [esi + ebx*4]
lea ecx, [esi + ebx*4 + 4]
test ebp, ebp
jne 0x694e72
mov dword [esi + ebx*4], edx
mov ecx, dword [esp + 0x68]
mov dword [esi + ebx*4 + 4], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.0069a110
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x7c], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x70], ebp
test ecx, ecx
je 0x694da6
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], ecx
nop
mov esi, dword [esp + 0xcc]
mov edx, dword [esp + 0xb0]
mov dword [edx + 0xc], esi
mov esi, dword [0xa918d0]
test esi, esi
jne 0x694e5c
mov esi, dword [esp + 0xd0]
mov dword [edx + 0x10], esi
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 4], eax
call fcn.00407e80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x694d18
mov ecx, dword [ecx + 4]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea edx, [0x748600]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
lea eax, [0x7ab967]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
lea eax, [esp + 0x84]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.0068ffc0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
call fcn.00481520
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp dword [0xa7e3b0], eax
je 0x694dfa
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0xf4], edx
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], eax
add esp, 0xac
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [0xa7e3b4]
mov dword [esp + 8], eax
call fcn.00402f30
movzx eax, byte [esp + 0xc]
test al, al
je 0x694dd2
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.0047db50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x7a4920]
cmp edx, ecx
jne reloc.kernel32.dll_DuplicateHandle
mov ebx, dword [eax + 8]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, ebx
jmp 0x694dde
lea esi, [edx + 0x10]
mov edi, esi
mov eax, dword [esp + 0xd0]
call fcn.00451480
jmp 0x694cef
mov ebx, eax
mov eax, edx
call fcn.00451480
mov edi, ecx
mov eax, dword [esp + 0x68]
call fcn.00451480
mov eax, ebx
jmp 0x694c64
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
jmp 0x694bdf
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x30]
jmp 0x694bdf
mov ecx, dword [esp + 0xec]
cmp dword [0xa7e694], ecx
jne 0x694b5a
mov edx, dword [esp + 0xf0]
cmp dword [0xa7e698], edx
jne 0x694b5a
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x7c]
jmp 0x694c64
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0x38]
jmp 0x694b43
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x70]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xd4]
mov dword [esp], ecx
mov edx, dword [esp + 0xd8]
mov dword [esp + 4], edx
call fcn.00407e80
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call fcn.00407db0
mov eax, dword [esp + 4]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x748600]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x88], edx
lea edx, [0x747a40]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
lea edx, [0x7b719f]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2d
lea edx, [esp + 0x84]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.0068ffc0
jmp 0x69485b
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x68]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xd4]
mov dword [esp], ecx
mov edx, dword [esp + 0xd8]
mov dword [esp + 4], edx
call fcn.00407e80
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x48]
dec ecx
mov dword [esp], ecx
call fcn.00407db0
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
call fcn.00407db0
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
lea edi, [esp + 0x94]
xor eax, eax
call fcn.0045172a
lea eax, [0x748600]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x98], ecx
lea ecx, [0x747a40]
mov dword [esp + 0x9c], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
lea ebx, [0x7b97ad]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x34
lea ebx, [esp + 0x94]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.0068ffc0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
jmp 0x694836
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x68]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x40]
cmp dword [esp + 4], eax
jne 0x695100
mov eax, dword [esp + 0x34]
jmp 0x694836
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x68]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xd4]
mov dword [esp], ecx
mov edx, dword [esp + 0xd8]
mov dword [esp + 4], edx
call fcn.00407e80
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
call fcn.00407db0
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
call fcn.00407db0
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
lea edi, [esp + 0x94]
xor eax, eax
call fcn.0045172a
lea eax, [0x748600]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x98], ecx
lea ecx, [0x747a40]
mov dword [esp + 0x9c], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
lea ebx, [0x7b6c7a]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x2b
lea ebx, [esp + 0x94]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.0068ffc0
mov eax, dword [esp + 0x40]
jmp 0x6950f7
mov ebx, dword [esp + 0xec]
cmp dword [0xa7e694], ebx
jne 0x6947ed
mov ebp, dword [esp + 0xf0]
cmp dword [0xa7e698], ebp
jne 0x6947ed
mov ebp, dword [esp + 0x34]
jmp 0x6947f4
mov ecx, dword [esp + 0xe0]
mov eax, edx
jmp 0x6947a2
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x747b80]
mov dword [esp + 8], eax
call fcn.00407b40
mov eax, ebx
mov ecx, ebp
call fcn.00451500
mov eax, ebx
mov ecx, ebp
call fcn.00451500
mov eax, ebp
mov ecx, esi
call fcn.00451500
mov eax, ebx
mov ecx, ebp
call fcn.00451500
mov eax, edx
mov ecx, ebx
call fcn.00451500
mov eax, 1
call fcn.00451560
nop
call fcn.0044fc40
jmp fcn.00694750