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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x260
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0x70], edx
shr edx, 1
mov dword [esp + 0xc], ecx
cmp edx, eax
mov dword [esp + 0x7c], eax
jae 0x42f292
test ebx, ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 8
mov dword [esp + 0x28], 0
je 0x42f322
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 4]
lea ecx, [eax + ebx*4]
mov dword [esp + 0x68], edx
mov edx, dword [esi + 0xc]
mov ebx, eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esi]
mov dword [esp + 0x30], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x38], ecx
jmp 0x42ec78
mov edx, dword [esp + 0x34]
mov ebx, ecx
lea ecx, [esi + edi - 0xe8]
movzx eax, byte [edx + 8]
mov byte [esp + 0x88], al
movsd xmm0, qword [edx]
lea edx, [esp + 0x80]
movsd qword [esp + 0x80], xmm0
push dword [esp + 0x44]
push dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push dword [eax + 4]
push dword [eax]
mov eax, dword [esp + 0x40]
push dword [eax + 4]
push dword [eax]
call fcn.00431580
add esp, 0x18
mov eax, dword [esp + 0x3c]
mov dword [ebx - 0xe8], eax
mov eax, dword [esp + 0x40]
mov dword [ebx - 0xe4], eax
mov ebx, dword [esp + 0x4c]
lea eax, [esp + 0x20]
add ebx, 4
mov ecx, dword [eax + 8]
movq xmm0, qword [eax]
cmp ebx, dword [esp + 0x64]
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], ecx
je 0x42f2c0
mov ecx, dword [esp + 0x6c]
mov eax, dword [ebx]
mov dword [esp + 0x4c], ebx
lock inc dword [ecx]
movzx ecx, word [eax + 0x38]
mov edx, dword [eax + 0x48]
mov ebx, dword [eax + 0x44]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x5c]
mov eax, dword [eax + 0x68]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x44], eax
xor eax, eax
test edx, edx
setne al
mov dword [esp + 0x3c], eax
mov esi, dword [ecx]
cmp dword [esi + 0xc], 0
je 0x42ee24
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
push ebx
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.0042f700
add esp, 0xc
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 4], 0
mov esi, edx
mov edx, ecx
and edx, eax
shr eax, 0x19
mov dword [esp + 8], esi
movd xmm0, eax
lea eax, [esi - 0xf0]
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqu xmm1, xmmword [esi + edx]
movdqa xmm2, xmm1
pcmpeqb xmm2, xmm0
pmovmskb esi, xmm2
test esi, esi
je 0x42ed4f
nop word cs:[eax + eax]
nop dword [eax]
tzcnt edi, esi
add edi, edx
and edi, ecx
neg edi
imul edi, edi, 0xf0
cmp dword [eax + edi], ebx
je 0x42ed80
lea edi, [esi - 1]
and di, si
mov esi, edi
jne 0x42ed30
pcmpeqd xmm2, xmm2
pcmpeqb xmm1, xmm2
pmovmskb esi, xmm1
test esi, esi
mov esi, dword [esp + 8]
jne 0x42ee24
mov edi, dword [esp + 4]
lea edx, [edi + edx + 0x10]
add edi, 0x10
mov dword [esp + 4], edi
and edx, ecx
jmp 0x42ed0e
mov esi, dword [esp + 8]
mov eax, dword [esi + edi - 0x10]
lea ecx, [esi + edi]
test eax, eax
je 0x42ebf0
mov eax, dword [eax + 8]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x168], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x84], 0
push ecx
push ecx
push ecx
lea ecx, [esp + 0x174]
push ecx
push eax
call sub.kernel32.dll_GetProcessTimes
test eax, eax
jne 0x42ede7
call sub.kernel32.dll_GetLastError
push 0
push 0x989680
push dword [esp + 0x174]
push dword [esp + 0x174]
call fcn.004490c0
add esp, 0x10
mov ecx, 0x49ef6f00
add eax, ecx
mov ecx, 0xfffffffd
adc edx, ecx
mov ecx, dword [esp + 4]
xor eax, dword [ecx - 0x68]
xor edx, dword [ecx - 0x64]
or edx, eax
je 0x42ebf0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x74], ebx
test edx, edx
je 0x42ee50
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x50]
shr eax, 1
push eax
call fcn.00429d70
add esp, 4
jmp 0x42ef3c
test ebx, ebx
je 0x42ee8f
cmp ebx, 4
jne 0x42eebc
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, 6
call fcn.0042bb70
test eax, eax
je 0x42f55e
mov ecx, 6
mov edx, 6
mov word [eax + 4], 0x6d65
mov dword [eax], 0x74737953
jmp 0x42ef2b
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, 4
call fcn.0042bb70
test eax, eax
je 0x42f55e
mov dword [eax], 0x656c6449
mov ecx, 4
mov edx, 4
jmp 0x42ef2b
lea ecx, [esp + 0x18]
lea eax, [esp + 0x74]
mov dword [esp + 0x80], 0x4a836c
mov dword [esp + 0x84], 1
mov dword [esp + 0x90], 0
lea edx, [esp + 0x80]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x168]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x431530
mov dword [esp + 0x8c], 1
call fcn.0040e2f0
mov ecx, dword [esp + 0x168]
mov eax, dword [esp + 0x16c]
mov edx, dword [esp + 0x170]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov byte [esp + 0x5c], 1
mov eax, dword [esp + 0x38]
test ebx, ebx
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
je 0x42f06d
push ebx
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
lea ecx, [eax - 1]
cmp ecx, 0xfffffffd
ja 0x42ef74
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x42ef79
jmp 0x42ef92
call sub.kernel32.dll_GetLastError
push ebx
push 0
push 0x1000
call sub.kernel32.dll_OpenProcess
lea ecx, [eax - 1]
cmp ecx, 0xfffffffe
jae 0x42f068
lea ecx, [esp + 0x168]
mov dword [esp + 0x18], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x16c], 0
push ecx
push ecx
push ecx
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x24], eax
push eax
call sub.kernel32.dll_GetProcessTimes
test eax, eax
jne 0x42efda
call sub.kernel32.dll_GetLastError
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, 0xc
call fcn.0042bb70
test eax, eax
mov dword [esp + 0x60], eax
je 0x42f55e
push 0
push 0x989680
push edi
push esi
call fcn.004490c0
add esp, 0x10
mov ecx, 0x49ef6f00
mov edi, 0
mov esi, 0
add eax, ecx
mov ecx, 0xfffffffd
adc edx, ecx
cmp dword [esp + 4], eax
mov ecx, dword [esp + 8]
sbb ecx, edx
mov ecx, edx
cmovb ecx, edi
mov edi, eax
cmovb edi, esi
mov esi, dword [esp + 4]
sub esi, edi
mov edi, dword [esp + 8]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x60]
sbb edi, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi], 1
mov dword [esi + 4], 1
mov dword [esi + 8], ecx
jmp 0x42f07d
call sub.kernel32.dll_GetLastError
mov dword [esp + 0x10], 0
xor edi, edi
xor eax, eax
xor edx, edx
xor esi, esi
movsd xmm0, qword [esp + 0x50]
movq xmm1, qword [esp + 0x58]
lea ecx, [esp + 0x90]
movsd qword [ecx], xmm0
movq qword [ecx + 8], xmm1
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 4
mov dword [esp + 0x138], 0
mov dword [esp + 0xa0], 0x80000000
mov dword [esp + 0x154], ebx
mov ebx, dword [esp + 0x3c]
xorps xmm0, xmm0
mov dword [esp + 0x148], 0x80000000
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 4
mov dword [esp + 0x144], 0
mov dword [esp + 0xb0], 0x80000000
mov dword [esp + 0xc0], 0x80000000
movsd qword [ecx + 0x48], xmm0
movsd qword [ecx + 0x40], xmm0
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 1
mov dword [esp + 0x158], esi
movsd qword [ecx + 0x68], xmm0
movsd qword [ecx + 0x60], xmm0
movsd qword [ecx + 0x58], xmm0
movsd qword [ecx + 0x50], xmm0
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x104], edx
mov dword [esp + 0x10c], edi
lea edi, [esp + 0x168]
mov edx, edi
mov dword [esp + 0x108], eax
mov dword [esp + 0x15c], 0
mov byte [esp + 0x160], 1
movsd qword [ecx + 0x98], xmm0
movsd qword [ecx + 0x90], xmm0
movsd qword [ecx + 0x88], xmm0
movsd qword [ecx + 0x80], xmm0
mov ecx, dword [esp + 0x34]
movzx eax, byte [ecx + 8]
mov byte [esp + 0x170], al
movsd xmm0, qword [ecx]
lea ecx, [esp + 0x80]
movsd qword [esp + 0x168], xmm0
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esp + 0x10]
push dword [esp + 0x10]
mov eax, dword [esp + 0x40]
push dword [eax + 4]
push dword [eax]
call fcn.00431580
add esp, 0x18
mov esi, dword [esp + 0x80]
push 0xe4
lea eax, [esp + 0x88]
push eax
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov ebx, dword [esp + 0x4c]
cmp esi, 2
lea eax, [esp + 0x20]
je 0x42ec5a
movsd xmm0, qword [esp + 0x20]
mov edi, dword [esp + 0x28]
movsd qword [esp + 0x80], xmm0
mov dword [esp + 0x88], edi
cmp edi, dword [esp + 0x80]
jne 0x42f254
lea ecx, [esp + 0x80]
call fcn.00430250
mov eax, dword [esp + 0x84]
imul ecx, edi, 0xe8
mov dword [eax + ecx], esi
lea eax, [eax + ecx + 4]
push 0xe4
lea ecx, [esp + 0x16c]
push ecx
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
inc edi
lea eax, [esp + 0x80]
mov dword [esp + 0x88], edi
jmp 0x42ec5a
mov edi, dword [ebp + 0xc]
cmp byte [ebp + 8], 0
je 0x42f316
mov dword [esp + 4], edx
call fcn.0042c990
test eax, eax
je 0x42f55e
mov eax, dword [eax]
test eax, eax
je 0x42f372
add eax, 0x8c
jmp 0x42f377
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
test ebx, ebx
je 0x42f33f
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, 0x14
call fcn.0042bb70
test eax, eax
je 0x42f55e
mov ecx, dword [esp + 0xc]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], 1
jmp 0x42f516
test edi, edi
je 0x42eb8e
shr edi, 1
jmp 0x42f38a
mov eax, dword [esp + 0xc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x42f516
mov eax, dword [esp + 0xc]
test edi, edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
je 0x42f516
push esi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
jmp 0x42f516
call fcn.00425f70
mov eax, dword [eax]
mov edx, dword [esp + 4]
shr edi, 1
mov eax, dword [eax + 0x104]
cmp eax, edi
cmova edi, eax
sub ebx, edx
mov dword [esp + 0x78], edi
mov dword [esp + 0x50], edx
jb 0x42f55e
mov esi, dword [ebp + 0x14]
lea eax, [esp + 0x70]
lea ecx, [esp + 0x78]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
lea edi, [esi + edx*4]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], ebx
mov ebx, dword [ebp + 0x1c]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ebx
call fcn.0042c990
test eax, eax
je 0x42f55e
mov eax, dword [eax]
test eax, eax
jne 0x42f439
call fcn.00425f70
mov esi, dword [eax]
call fcn.0042c990
test eax, eax
je 0x42f55e
mov eax, dword [eax]
test eax, eax
je 0x42f51e
cmp dword [eax + 0x8c], esi
jne 0x42f53f
lea ecx, [esp + 0x168]
lea edx, [esp + 0x80]
push 0
push eax
call fcn.00430450
add esp, 8
mov esi, dword [esp + 0x16c]
mov edi, dword [esp + 0x168]
mov ebx, dword [esp + 0x174]
mov eax, dword [esp + 0x178]
mov edx, dword [esp + 0x17c]
test esi, esi
je 0x42f492
mov ecx, dword [esp + 0x170]
test ebx, ebx
je 0x42f508
add ecx, edx
mov dword [esi + 0xc], ebx
mov dword [ebx + 0x10], esi
jmp 0x42f50a
mov ecx, dword [esp + 0xc]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
jmp 0x42f4b2
push edi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov edi, dword [esp + 8]
test edi, edi
je 0x42f516
mov eax, dword [edi + 0xc]
test eax, eax
je 0x42f4c4
mov dword [eax + 0x10], 0
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
mov dword [esp + 8], eax
test ebx, ebx
mov dword [esp + 4], ecx
je 0x42f4f0
mov esi, dword [esp + 4]
nop word [eax + eax]
mov ecx, esi
call fcn.0042f560
add esi, 0xe8
dec ebx
jne 0x42f4e0
cmp dword [edi], 0
je 0x42f4a0
push dword [esp + 4]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
jmp 0x42f4a0
mov eax, esi
mov edx, dword [esp + 0xc]
mov dword [edx], edi
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
add esi, 0x40
lea eax, [esp + 0x80]
lea ecx, [esp + 0x168]
mov edx, esi
push eax
call fcn.004302e0
add esp, 4
jmp 0x42f452
add esi, 0x40
lea edi, [esp + 0x80]
lea ecx, [esp + 0x168]
mov edx, esi
push edi
push eax
call fcn.00430d50
jmp 0x42f44f
ud2