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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x54]
cmp eax, dword [ecx + 8]
jbe 0x5ee479
sub esp, 0xd4
mov eax, 0
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov eax, dword [esp + 0xd8]
movzx ecx, byte [eax + 0x68]
test cl, cl
je 0x5eda5e
mov eax, dword [0x81bcd8]
mov ecx, dword [0x81bcdc]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xd4
ret
mov ecx, dword [eax + 0x70]
test ecx, ecx
jl 0x5eda3d
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call fcn.005f2e10
movzx eax, byte [esp + 4]
test al, al
jne 0x5ee427
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call fcn.005f5f10
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
call fcn.0046e320
lea eax, [0x6898bc]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xcc], eax
mov byte [esp + 0x23], 1
mov ecx, dword [esp + 0xdc]
mov edx, dword [ecx]
test edx, edx
jne 0x5ee3f0
xor edx, edx
test dl, dl
jne 0x5ee3bf
lea esi, [ecx + 0xc]
lea edi, [esp + 0x78]
call fcn.0045b45a
lea edi, [esp + 0xb0]
lea esi, [esp + 0x78]
call fcn.0045b45a
lea edi, [esp + 0x94]
xor eax, eax
call fcn.0045af89
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + 0x10]
lea ebx, [0x6354c0]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0xb0]
mov dword [esp + 8], edx
call fcn.0040c590
movzx ecx, byte [esp + 0x10]
mov byte [esp + 0x21], cl
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x94]
call fcn.0045b45a
lea edi, [esp + 0x5c]
lea esi, [esp + 0x94]
call fcn.0045b45a
movzx ecx, byte [esp + 0x21]
test cl, cl
je 0x5edca3
mov edx, dword [esp + 0xdc]
mov ebx, dword [edx]
test ebx, ebx
jne 0x5edb98
jmp 0x5ee2d4
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.005ef370
mov eax, dword [esp + 0xdc]
mov edx, eax
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
mov eax, edx
mov edx, dword [esp + 0x64]
mov ecx, ebp
mov ebp, dword [esp + 0x68]
mov esi, ebx
sub ebx, ebp
mov edi, edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x30], edx
add ebx, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x6c]
test ebx, ebx
jle 0x5edc45
cmp ebp, esi
jl 0x5edc04
mov ebx, dword [esp + 0x30]
test ebx, ebx
jne 0x5edbdc
xor ecx, ecx
jmp 0x5edb73
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], edi
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
cmp ebx, ecx
jae 0x5ee45e
mov ecx, dword [edx + ebx*4]
lea edi, [edx + ebx*4]
mov ebp, dword [0x8326a0]
test ebp, ebp
jne 0x5edc38
mov dword [edx + ebx*4], 0
inc dword [esp + 0x68]
jmp 0x5edb73
mov edx, eax
xor eax, eax
call fcn.0045ace0
mov eax, edx
jmp 0x5edc2f
xor ecx, ecx
mov byte [esp + 0x22], cl
mov edx, dword [esp + 0x60]
sub edx, dword [esp + 0x68]
add edx, dword [esp + 0x70]
test edx, edx
jne 0x5ee25a
lea edi, [esp + 0xb0]
lea esi, [esp + 0x78]
call fcn.0045b45a
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x10]
lea edx, [0x6354c0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.0040ce50
movzx eax, byte [esp + 0x22]
test al, al
jne 0x5ee229
mov eax, dword [esp + 0xd8]
movzx ecx, byte [eax + 8]
test cl, cl
jne GetThreadContext
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x5ee1bb
lea edi, [esp + 0xb0]
lea esi, [esp + 0x78]
call fcn.0045b45a
mov ecx, dword [eax + 0xc]
lea edx, [0x635440]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.0040c390
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ebx, dword [esp + 0xd8]
mov ebp, dword [ebx + 0x70]
test ebp, ebp
je OpenProcess
cmp ebp, ecx
jle ProcessIdToSessionId
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], edx
mov ebp, dword [esp + 0xdc]
xor esi, esi
jmp 0x5edd31
inc esi
mov ebx, edi
cmp esi, ecx
jge 0x5eddae
mov edi, ebx
lea ebx, [edx + esi*4]
cmp dword [ebx], ebp
jne 0x5edd2e
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea eax, [0x666440]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebp
lea ecx, [0x67960e]
mov dword [esp], ecx
mov dword [esp + 4], 0x1d
lea edx, [esp + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005a9400
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0xd8]
jmp 0x5edd2e
lea edi, [esp + 0xb0]
lea esi, [esp + 0x78]
call fcn.0045b45a
mov ecx, dword [esp + 0x24]
mov esi, ebx
lea ebx, [ecx + 1]
cmp eax, ebx
jb SetConsoleCtrlHandler
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], eax
mov ebx, dword [0x8326a0]
lea esi, [edx + ecx*4]
test ebx, ebx
jne SetErrorMode
mov dword [edx + ecx*4], ebp
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0xc]
lea edx, [0x635440]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.0040c960
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 8], eax
mov eax, dword [0x8326a0]
test eax, eax
jne SetEvent
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
mov eax, dword [esp + 0xd8]
lea ecx, [eax + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0xdc]
mov dword [esp + 4], ecx
call fcn.005f6920
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
je 0x5edf4d
mov edx, dword [eax + 0x18]
test edx, edx
je 0x5ee113
mov edx, dword [edx]
cmp ecx, edx
jge 0x5edf4d
mov ecx, dword [eax + 0x14]
nop
mov edx, dword [ecx + 0x14]
test edx, edx
jne 0x5ee10b
xor edx, edx
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0xc]
lea esi, [0x666440]
cmp esi, ebp
jne 0x5ee448
nop
cmp dword [edx + 8], ecx
jne reloc.kernel32.dll_SetProcessPriorityBoost
mov edi, dword [edx + 4]
test byte [edi], al
nop
mov ebp, dword [0x8326a0]
mov esi, dword [edx]
test ebp, ebp
jne 0x5ee0f4
mov dword [edi], esi
mov ebp, dword [edx]
test byte [ebp], al
mov esi, dword [0x8326a0]
mov edi, ebx
mov ebx, dword [edx + 4]
test esi, esi
jne 0x5ee0bb
mov dword [ebp + 4], ebx
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
dec dword [ecx + 0x14]
mov dword [esp + 0x38], edi
mov ecx, dword [eax + 0x18]
lea edx, [0x635040]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.0040e9b0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [0x81bd28]
mov edx, dword [0x81bd2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.005f5f60
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.005eec40
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
sete dl
setg bl
mov ebp, dword [eax + 0x78]
test ebp, ebp
xchg esi, ebx
seta bl
xchg esi, ebx
and edx, esi
or ebx, edx
test bl, bl
je SwitchToThread
mov edx, dword [esp + 0xdc]
mov ebx, dword [edx]
test ebx, ebx
je 0x5edffe
call fcn.0049d5f0
mov eax, dword [esp + 0xdc]
lea edi, [eax + 0x64]
mov eax, dword [0x8326a0]
test eax, eax
jne 0x5edfd5
mov esi, esp
call fcn.0045b46e
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
call fcn.0046e6e0
add esp, 0xd4
ret
mov eax, edi
lea edi, [esp + 0x48]
mov esi, esp
call fcn.0045b46e
lea ecx, [0x66c3e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
call fcn.00410a20
jmp 0x5edfa4
mov ebx, dword [edx + 0x78]
test ebx, ebx
je 0x5ee01a
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.0049b6d0
jmp 0x5edf84
lea eax, [0x63c560]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
lea ecx, [0x600020]
mov dword [eax], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x5ee09a
mov ecx, dword [esp + 0xdc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x7c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049b7d0
mov eax, dword [0x8326a0]
mov ecx, dword [esp + 0xc]
test eax, eax
jne reloc.kernel32.dll_VirtualQuery
mov eax, dword [esp + 0xdc]
mov dword [eax + 0x78], ecx
jmp 0x5edf84
mov edx, dword [esp + 0xdc]
lea edi, [edx + 0x78]
mov eax, ecx
call fcn.0045ace0
mov eax, edx
jmp 0x5edf84
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0xdc]
call fcn.0045ace0
mov eax, ecx
jmp 0x5ee048
mov edx, dword [esp + 0xdc]
jmp 0x5edf84
add ebp, 4
mov esi, edi
mov edi, ebp
mov eax, ebx
call fcn.0045ace0
mov edi, edx
xor eax, eax
call fcn.0045ace0
lea ebx, [edx + 4]
mov edi, ebx
call fcn.0045ace0
lea edi, [edx + 8]
xor eax, eax
call fcn.0045ace0
mov eax, dword [esp + 0xd8]
mov edi, esi
jmp 0x5edef6
mov ebp, eax
mov eax, esi
call fcn.0045ace0
mov eax, ebp
jmp 0x5edec7
mov edi, ebx
jmp 0x5edef9
mov edx, dword [ecx + 4]
jmp 0x5ede91
xor edx, edx
jmp 0x5ede78
mov eax, dword [esp + 0x3c]
call fcn.0045ace0
jmp 0x5ede3c
mov edi, esi
mov eax, ebp
call fcn.0045ace0
jmp 0x5eddef
lea ebp, [0x666440]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.004429e0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0xd8]
mov eax, ecx
mov ecx, dword [esp + 0x24]
jmp 0x5eddcf
mov eax, dword [0x81bd30]
mov ecx, dword [0x81bd34]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
mov byte [esp + PostQueuedCompletionStatusx23], 0
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
call fcn.0046e6e0
add esp, 0xd4
ret
mov ebp, 2
jmp OpenProcess
call fcn.0040bf90
mov eax, dword [0x8326a0]
mov ecx, dword [esp]
test eax, eax
jne 0x5ee1dc
mov eax, dword [esp + 0xd8]
mov dword [eax + 0xc], ecx
jmp 0x5edcc1
mov edx, dword [esp + 0xd8]
lea edi, [edx + 0xc]
mov eax, ecx
call fcn.0045ace0
mov eax, edx
jmp 0x5edcc1
mov eax, dword [0x81bcb8]
mov ecx, dword [0x81bcbc]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
call fcn.0046e6e0
add esp, 0xd4
ret
mov dword [esp + GetStdHandlexe0], 0
mov dword [esp + 0xe4], 0
mov byte [esp + GetQueuedCompletionStatusExx23], 0
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
call fcn.0046e6e0
add esp, 0xd4
ret
lea edi, [esp + 0xb0]
lea esi, [esp + 0x78]
call fcn.0045b45a
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x10]
lea edx, [0x6354c0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.0040c960
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0x8326a0]
test eax, eax
jne 0x5ee2af
lea esi, [esp + 0x5c]
call fcn.0045b45a
jmp 0x5edc96
lea eax, [0x64d4a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.00410a20
jmp 0x5ee2aa
mov ebx, dword [esp + 0xdc]
mov edx, ebx
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
mov eax, edx
mov edx, dword [esp + 0x64]
mov ecx, ebp
mov ebp, dword [esp + 0x68]
mov esi, ebx
sub ebx, ebp
mov edi, edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x30], edx
add ebx, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x6c]
test ebx, ebx
jle 0x5ee3bb
cmp ebp, esi
jl 0x5ee37a
mov ebx, dword [esp + 0x30]
test ebx, ebx
jne 0x5ee352
xor ecx, ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + CloseHandlexc], 0
call fcn.005ef370
movzx eax, byte [esp + 0x10]
test al, al
je 0x5ee2cb
mov eax, 1
mov ecx, eax
mov eax, dword [esp + 0xdc]
jmp 0x5edc47
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], edi
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
cmp ebx, ecx
jae 0x5ee465
mov ecx, dword [edx + ebx*4]
lea edi, [edx + ebx*4]
mov ebp, dword [0x8326a0]
test ebp, ebp
jne 0x5ee3ae
mov dword [edx + ebx*4], 0
inc dword [esp + 0x68]
jmp CreateEventA
mov edx, eax
xor eax, eax
call fcn.0045ace0
mov eax, edx
jmp 0x5ee3a5
xor eax, eax
jmp 0x5ee344
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
call fcn.0046e6e0
add esp, 0xd4
ret
mov edx, dword [eax + 0x18]
lea ebx, [0x635040]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0040e0d0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
setne dl
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
jmp 0x5edad2
mov eax, dword [0x81bcc8]
mov ecx, dword [0x81bccc]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xd4
ret
mov dword [esp], ebp
mov dword [esp + 4], esi
lea eax, [0x633380]
mov dword [esp + 8], eax
call fcn.004088c0
mov eax, ebx
call fcn.0045ad60
mov eax, ebx
call fcn.0045ad60
nop
call fcn.0042fd30
add esp, 0xd4
ret
call fcn.00459790
jmp fcn.005ed9e0