Function at 0x482b80
Capabilities:
Attach user process memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x49dd48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push 0x914
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ebx
call fcn.004355f2
cmp eax, 0x1db0
jb 0x482bde
push 0x2ce
call fcn.004355f2
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
jne 0x482bde
call fcn.004826dc
push 0x2ce
call fcn.004355f2
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
je 0x482e2f
push 0x4b05
call fcn.004355f2
mov edi, eax
push 0x4c1c
mov dword [ebp - 0x2c], edi
call fcn.004355f2
push 0x4a9c
mov dword [ebp - 0x40], eax
call fcn.004355f2
mov dword [ebp - 0x28], eax
test edi, edi
je 0x482e2f
cmp dword [ebp - 0x40], ebx
je 0x482e2f
test eax, eax
je 0x482e2f
push 6
call fcn.00477546
push esi
mov byte [ebp - 0x24], al
call edi
cmp al, 1
jne 0x482c42
lea eax, [esi + 0xa7]
push eax
call edi
mov byte [ebp - 0x1d], 1
cmp al, 1
je 0x482c45
mov byte [ebp - 0x1d], bl
push dword [ebp - 0x24]
push 6
call fcn.0047769a
cmp byte [ebp - 0x1d], 1
jne 0x482e2f
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi + 0x34]
cmp eax, dword [ecx]
jbe 0x482d64
push 0x61
call fcn.004355f2
mov edi, eax
test edi, edi
je 0x482d64
push 0x4c22
call fcn.004355f2
push 0x4af0
mov dword [ebp - 0x34], eax
call fcn.004355f2
push 0x4ac3
mov dword [ebp - 0x2c], eax
call fcn.004355f2
push 0x4b4d
mov dword [ebp - 0x28], eax
call fcn.004355f2
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x34], ebx
je 0x482d4b
push 0x4ae7
call fcn.004355f2
test eax, eax
je 0x482d4b
cmp dword [ebp - 0x2c], ebx
je 0x482d4b
cmp dword [ebp - 0x28], ebx
je 0x482d4b
cmp dword [ebp - 0x24], ebx
je 0x482d4b
push esi
push 0x482a34
push ebx
push ebx
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x18
push eax
push ebx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x5c], ebx
push eax
mov dword [ebp - 0x54], 0x200
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
call dword [ebp - 0x34]
test eax, eax
js 0x482d4b
push ebx
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push 0x1fffff
push dword [ebp - 0x3c]
call dword [ebp - 0x2c]
test eax, eax
js 0x482d3d
or dword [ebp - 0x44], 0xffffffff
lea eax, [ebp - 0x48]
push eax
push 1
push ebx
push ebx
push dword [ebp - 0x38]
mov dword [ebp - 0x48], 0xfe363c80
call dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
call dword [ebp - 0x24]
push dword [ebp - 0x3c]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x482dcc
lea eax, [ebp - 0x1c]
push eax
push edi
call sub.ntoskrnl.exe_KeStackAttachProcess
push esi
call dword [esi + 0x34]
lea eax, [ebp - 0x1c]
push eax
call sub.ntoskrnl.exe_KeUnstackDetachProcess
jmp 0x482dcc
push 0x4c1f
call fcn.004355f2
mov dword [ebp - 0x24], eax
test eax, eax
je 0x482e2f
mov dword [esi + 0x28], ebx
call fcn.00482690
test eax, eax
je 0x482d8d
push 0x1c
lea edi, [esi + 0x38]
pop ecx
rep stosd dword es:[edi], eax
mov edi, dword [esi + 4]
mov dword [esi + 0x34], ebx
test edi, edi
je 0x482dcc
mov esi, dword [ebp - 0x2c]
push edi
call esi
cmp al, 1
jne 0x482dc9
inc ebx
cmp ebx, 0x10000
ja 0x482dc9
push 0x1c
call fcn.00477546
push edi
mov byte [ebp - 0x28], al
call dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0x1c
call fcn.0047769a
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x482d9a
mov esi, dword [ebp - 0x34]
mov edi, 0x914
mov bl, 1
push edi
call fcn.004355f2
cmp eax, 0x1db0
jb 0x482e0f
push 0x6a
call fcn.00477546
push edi
mov byte [ebp - 0x24], al
call fcn.004355f2
cmp eax, 0x23f0
ja 0x482dfe
push esi
push esi
call dword [ebp - 0x30]
jmp 0x482e05
mov edx, esi
mov ecx, esi
call dword [ebp - 0x30]
push dword [ebp - 0x24]
push 0x6a
call fcn.0047769a
push 0x1b
call fcn.00477546
push esi
mov byte [ebp - 0x24], al
call dword [ebp - 0x40]
push dword [ebp - 0x24]
push 0x1b
call fcn.0047769a
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00489f30
mov esp, ebp
pop ebp
ret 4