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

Disassembly:
push 0xffffffffffffffff
push 0x4644c8
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a770]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xd4], 0
mov eax, dword [esp + 0xdc]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x54], esp
mov edi, esp
push eax
call fcn.00429de0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00406cc0
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
add esp, 4
mov dword [esp + 0x84], eax
lea ebx, [ebx]
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax - 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [esp + 0x18]
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jl 0x407138
cmp eax, dword [edx]
jne 0x407138
mov dword [esp + 0x1c], edx
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x407172
mov edx, dword [edx + 4]
mov ecx, eax
mov eax, dword [eax]
mov eax, dword [eax]
push 1
push edx
call eax
mov dword [esp + 0x1c], eax
test eax, eax
je 0x40783b
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
inc ecx
push ecx
add edx, 0x10
push edx
push ecx
add eax, 0x10
push eax
call fcn.0044b46f
add esp, 0x10
mov edx, dword [0x47bb18]
lea eax, [esp + 0x70]
push eax
push esi
mov dword [esp + 0x20], edx
call edi
mov ecx, dword [esp + 0x70]
push ecx
push 0
push 0x1fffff
mov dword [esp + 0x44], 0
call ebp
lea edx, [esp + 0x98]
push edx
mov edx, dword [esp + 0x1c]
push 4
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
mov dword [esp + 0x28], eax
call ebx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x60]
push ecx
push esi
call edi
mov edx, dword [esp + 0x60]
push edx
push 0
push 0x1fffff
mov dword [esp + 0x64], 0
call ebp
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0x3c]
push 4
lea edx, [esp + 0x60]
push edx
add ecx, 0x50
push ecx
push eax
mov dword [esp + 0x28], eax
call ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x64]
push eax
push esi
call edi
mov ecx, dword [esp + 0x64]
push ecx
push 0
push 0x1fffff
mov dword [esp + 0x58], 0
call ebp
lea edx, [esp + 0xa4]
push edx
mov edx, dword [esp + 0x5c]
push 4
lea ecx, [esp + 0x54]
push ecx
push edx
push eax
mov dword [esp + 0x28], eax
call ebx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x94]
push ecx
push esi
call edi
mov edx, dword [esp + 0x94]
push edx
push 0
mov dword [esp + 0x4c], 0
push 0x1fffff
call ebp
lea ecx, [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0x50]
push 4
lea edx, [esp + 0x4c]
push edx
add ecx, 0x70
push ecx
push eax
mov dword [esp + 0x28], eax
call ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x80]
push eax
push esi
call edi
mov ecx, dword [esp + 0x80]
push ecx
push 0
push 0x1fffff
mov dword [esp + 0x3c], 0
call ebp
lea edx, [esp + 0xac]
push edx
mov edx, dword [esp + 0x48]
push 4
lea ecx, [esp + 0x38]
push ecx
push edx
push eax
mov dword [esp + 0x28], eax
call ebx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x5c]
push edx
push esi
mov dword [esp + 0x20], ecx
call edi
mov eax, dword [esp + 0x5c]
push eax
push 0
push 0x1fffff
mov dword [esp + 0x38], 0
call ebp
lea ecx, [esp + 0xbc]
push ecx
mov ecx, dword [esp + 0x34]
push 4
lea edx, [esp + 0x34]
push edx
add ecx, 8
push ecx
push eax
mov dword [esp + 0x28], eax
call ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x90]
push eax
push esi
call edi
mov ecx, dword [esp + 0x90]
push ecx
push 0
push 0x1fffff
mov dword [esp + 0x30], 0
call ebp
lea edx, [esp + 0x9c]
push edx
mov edx, dword [esp + 0x1c]
push 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], eax
push ecx
add edx, 0xc
push edx
push eax
call ebx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40739b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x47bb18]
lea edx, [esp + 0x78]
push edx
push esi
mov dword [esp + 0x1c], ecx
call edi
mov eax, dword [esp + 0x78]
push eax
push 0
push 0x1fffff
mov dword [esp + 0x40], 0
call ebp
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x18]
push 4
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
mov dword [esp + 0x2c], eax
call ebx
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x88]
push ecx
push esi
mov dword [esp + 0x58], eax
call edi
mov edx, dword [esp + 0x88]
push edx
push 0
push 0x1fffff
mov dword [esp + 0x60], 0
call ebp
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x38]
push 4
lea edx, [esp + 0x5c]
push edx
add ecx, 0x50
push ecx
push eax
mov dword [esp + 0x28], eax
call ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x68]
push eax
push esi
call edi
mov ecx, dword [esp + 0x68]
push ecx
push 0
push 0x1fffff
mov dword [esp + 0x48], 0
call ebp
lea edx, [esp + 0xb0]
push edx
mov edx, dword [esp + 0x58]
push 4
lea ecx, [esp + 0x44]
push ecx
push edx
push eax
mov dword [esp + 0x28], eax
call ebx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x6c]
push ecx
push esi
call edi
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x40], 0
push edx
push 0
push 0x1fffff
call ebp
lea ecx, [esp + 0xb8]
push ecx
mov ecx, dword [esp + 0x40]
push 4
lea edx, [esp + 0x48]
push edx
add ecx, 0x70
push ecx
push eax
mov dword [esp + 0x28], eax
call ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x74]
push eax
push esi
call edi
mov ecx, dword [esp + 0x74]
push ecx
push 0
push 0x1fffff
mov dword [esp + 0x54], 0
call ebp
lea edx, [esp + 0xc0]
push edx
mov edx, dword [esp + 0x44]
push 4
lea ecx, [esp + 0x50]
push ecx
push edx
push eax
mov dword [esp + 0x28], eax
call ebx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x7c]
push ecx
push esi
call edi
mov edx, dword [esp + 0x7c]
push edx
push 0
push 0x1fffff
mov dword [esp + 0x34], 0
call ebp
lea ecx, [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0x4c]
push 4
lea edx, [esp + 0x30]
push edx
add ecx, 0x50
push ecx
push eax
mov dword [esp + 0x28], eax
call ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x84]
dec eax
cmp eax, 3
ja case.default.0x407565
jmp dword [eax*4 + 0x407840]
mov eax, dword [esp + 0x28]
add eax, 8
push eax
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0042bd60
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0042bd60
mov ecx, dword [esp + 0x1c]
add ecx, 8
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.0042bd60
mov edx, dword [esp + 0x18]
add edx, 0xc
push edx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0042bd60
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
not eax
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, 0xc
push ecx
lea ecx, [edx + eax + 0xc]
mov eax, dword [esp + 0xe0]
push ecx
mov dword [esp + 0x1c], esp
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x24], ecx
call fcn.00429de0
mov ecx, dword [esp + 0x24]
jmp 0x407783
mov eax, dword [esp + 0x28]
add eax, 0xc
push eax
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0042bd60
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0042bd60
mov ecx, dword [esp + 0x1c]
add ecx, 8
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.0042bd60
mov edx, dword [esp + 0x18]
add edx, 0xc
push edx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0042bd60
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
not eax
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, 0xc
push ecx
lea ecx, [edx + eax + 0xc]
mov eax, dword [esp + 0xe0]
push ecx
mov dword [esp + 0x1c], esp
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x24], ecx
call fcn.00429de0
mov ecx, dword [esp + 0x24]
jmp 0x407783
mov eax, dword [esp + 0x28]
add eax, 0x10
push eax
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0042bd60
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0042bd60
mov ecx, dword [esp + 0x1c]
add ecx, 8
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.0042bd60
mov edx, dword [esp + 0x18]
add edx, 0xc
push edx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0042bd60
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
not eax
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, 0xc
push ecx
lea ecx, [edx + eax + 0xc]
mov eax, dword [esp + 0xe0]
push ecx
mov dword [esp + 0x1c], esp
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x24], ecx
call fcn.00429de0
mov ecx, dword [esp + 0x24]
jmp 0x407783
mov eax, dword [esp + 0x28]
add eax, 0x14
push eax
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0042bd60
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0042bd60
mov ecx, dword [esp + 0x1c]
add ecx, 8
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.0042bd60
mov edx, dword [esp + 0x18]
add edx, 0xc
push edx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0042bd60
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
not eax
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, 0xc
push ecx
lea ecx, [edx + eax + 0xc]
mov eax, dword [esp + 0xe0]
push ecx
mov dword [esp + 0x1c], esp
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x24], ecx
call fcn.00429de0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add eax, 0x10
mov dword [edx], eax
add esp, 4
mov edx, esi
call fcn.004062f0
add esp, 8
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x8c]
push eax
push esi
call edi
mov ecx, dword [esp + 0x8c]
push ecx
push 0
push 0x1fffff
call ebp
mov ecx, dword [esp + 0x50]
push 0
push 1
lea edx, [esp + 0x2b]
push edx
add ecx, 0x288
push ecx
push eax
mov dword [esp + 0x28], eax
call ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x23], 0
setne al
test al, al
jne 0x407100
mov dword [esp + 0xd4], 0xffffffff
mov eax, dword [esp + 0xdc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407821
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret
call fcn.00401ea0
insb byte es:[edi], dx
jne 4225155
add bl, dh
jne 0x407887
add byte [edx + 0x76], bh
inc eax
add byte [ecx], al
ja 0x40788f
add byte [ebx + 0x4ca128ec], al
mov ebx, 0x55530047
push esi
push eax
mov ecx, edi
call fcn.0042bd60
mov esi, eax
lea ebx, [esi + 0x54]
push ebx
mov ecx, edi
mov dword [esp + 0x24], ebx
call fcn.0042bd60
push ebx
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.0042bd60
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
je 0x4078cb
add byte [ebx + 0x4672f02d], cl
add byte [ebx + 0x448958c6], al
and al, 0x18
sub eax, sym.imp.KERNEL32.dll_OpenProcess
add esi, 0x58
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], esi
jmp 0x4078a0
push 0x190
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x1c]
push ecx
push edi
call ebx
mov edx, dword [esp + 0x1c]
push edx
push 0
push 0x1fffff
mov dword [esp + 0x18], 0
call ebp
mov edx, dword [esp + 0x20]
and al, 0x20
mov esi, eax
lea eax, [esp + 0x2c]
push eax
push 4
lea ecx, [esp + 0x14]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x24]
push eax
push edi
call ebx
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0x1fffff
mov dword [esp + 0x1c], 0
call ebp
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x30]
push edx
mov esi, eax
push 4
lea eax, [esp + 0x18]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x40793d
cmp ecx, dword [esp + 0x18]
je 0x40794a
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jmp 0x4078a0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop esi
pop ebp
pop ebx
test ecx, ecx
jg 0x40796d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esp, 0x28
ret