Function at 0x4849e0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x20
mov eax, dword [0x6009e4]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x14], eax
push edi
lea ecx, [esp + 0x20]
push ebx
cmp dword [esi + 0xc], 0
mov dword [esi + 4], 1
jne 0x484a25
push edx
mov edx, 0x8000
call fcn.004c5e80
mov edi, eax
mov dword [esp + 0x1c], edi
jmp 0x484a3e
push 0
mov edx, 0x8000
mov dword [esi + 0xc], 0
call fcn.004c5e80
mov edi, eax
mov dword [esp + 0x1c], eax
mov ebp, dword [esi]
add esp, 8
cmp dword [ebp + 8], 0
je 0x484b5f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp + 8], eax
je 0x484b5f
add edi, ebx
mov dword [esp + 0x1c], edi
lea eax, [edi + 0x10]
push eax
call fcn.0058d200
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x484c19
lea eax, [edi + 0x10]
push eax
push 0
push ebp
call fcn.005869c0
add esp, 0xc
mov dword [ebp], edi
mov dword [ebp + 4], 0
lea ecx, [esp + 0x20]
mov eax, dword [0x61c4d0]
lea edi, [ebp + 0x10]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x14]
mov edx, eax
push eax
push ecx
mov ecx, edi
mov dword [ebp + 0xc], 0
call fcn.00401000
mov ecx, dword [esp + 0x1c]
mov edx, ebx
push ebx
push dword [esp + 0x24]
lea ecx, [edi + ecx]
call fcn.00401000
mov ecx, dword [esi + 0x38]
add esp, 0x10
call fcn.004ae5d0
test eax, eax
je 0x484b05
mov eax, dword [esi + 0x38]
test eax, eax
je 0x484af2
push dword [esp + 0x1c]
mov ecx, dword [eax]
xor edx, edx
push edi
call fcn.00497660
add esp, 8
jmp 0x484b0a
push dword [esp + 0x1c]
xor ecx, ecx
xor edx, edx
push edi
call fcn.00497660
add esp, 8
jmp 0x484b0a
mov eax, 1
xor ebx, ebx
mov ecx, edi
test eax, eax
sete bl
call fcn.004ae5d0
test eax, eax
je 0x484c04
cmp dword [edi - 4], 0
jne 0x484c04
cmp dword [edi - 0xc], 0
jbe 0x484b3a
mov eax, dword [edi - 0x10]
xorps xmm0, xmm0
movups xmmword [eax + edi], xmm0
xorps xmm0, xmm0
push ebp
movups xmmword [ebp], xmm0
call fcn.0058bf82
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00584a28
add esp, 0x20
ret
mov ecx, dword [esi + 0x38]
call fcn.004ae5d0
test ebx, ebx
jle 0x484bc5
test eax, eax
je 0x484b8c
mov eax, dword [esi + 0x38]
test eax, eax
je 0x484b7a
mov ecx, dword [eax]
jmp 0x484b7c
xor ecx, ecx
lea eax, [esp + 0x20]
xor edx, edx
push edi
push eax
call fcn.00497660
add esp, 8
mov ecx, dword [esi + 0x38]
call fcn.004ae5d0
test eax, eax
je 0x484bf8
mov eax, dword [esi + 0x38]
test eax, eax
je 0x484bb2
mov ecx, dword [eax]
xor edx, edx
push ebx
push dword [esp + 0x1c]
call fcn.00497660
add esp, 8
jmp 0x484bfd
push ebx
push dword [esp + 0x1c]
xor ecx, ecx
xor edx, edx
call fcn.00497660
add esp, 8
jmp 0x484bfd
test eax, eax
je 0x484bf8
mov eax, dword [esi + 0x38]
test eax, eax
je 0x484be4
mov ecx, dword [eax]
xor edx, edx
lea eax, [esp + 0x20]
push edi
push eax
call fcn.00497660
add esp, 8
jmp 0x484bfd
lea eax, [esp + 0x20]
xor ecx, ecx
push edi
push eax
xor edx, edx
call fcn.00497660
add esp, 8
jmp 0x484bfd
mov eax, 1
xor ebx, ebx
test eax, eax
sete bl
mov ecx, dword [esp + 0x2c]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00584a28
add esp, 0x20
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x46d
mov edx, 0x61c474
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x46d
push 0x61c490
push 0x61c4ac
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3