Function at 0x47a9c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4645
mov eax, dword fs:[0]
push eax
sub esp, 0x594
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x594], edi
test esi, esi
jne 0x47aa03
call fcn.0049f330
mov ecx, dword [0x61b540]
mov eax, ecx
shr eax, 8
and al, 1
je 0x47aa2e
cmp dword [0x61b570], 0
je 0x47aa2e
test cl, 1
jne 0x47b6b2
cmp byte [ebp + 0x10], 0
je 0x47b6e4
test cl, 1
jne 0x47b6b2
xorps xmm0, xmm0
mov dword [0x61b56c], 0
movups xmmword [ebp - 0x440], xmm0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov eax, dword [0x61b554]
shr eax, 0x1f
mov dword [ebp - 4], 0
test al, al
je 0x47aab4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x438], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x440]
mov eax, dword [0x61b554]
and eax, 0x3fffffff
push eax
call fcn.0049c7c0
push 0x9c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x59c], esi
test esi, esi
jne 0x47aae3
push 0x12
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov dword [esi], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x47ab15
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
push 1
push 0
call fcn.005bcc5d
call fcn.004567f0
mov ecx, 0x27
mov dword [ebp - 0x5a0], eax
lea edi, [eax + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov esi, eax
mov ecx, esi
call fcn.004650a0
mov ecx, esi
call fcn.00465070
push dword [ebp - 0x59c]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
call fcn.004566e0
mov ecx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
push 0
mov dword [ebp - 0x59c], edi
mov dword [0x623d44], ecx
mov dword [edi + 0x1c0], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esi + 0x28], eax
mov eax, 0x601
cmp word [esi + 6], ax
push 0x400
setae al
mov byte [edi + 0x2d1], al
mov eax, 0x602
cmp word [esi + 6], ax
mov esi, 0x61b540
push 0
setae al
mov byte [edi + 0x2d2], al
lea eax, [ebp - 0x410]
sub esi, dword [0x61b560]
push eax
call fcn.005be800
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x400
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [ebp - 0x5a0]
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [eax + 8]
mov dword [eax + 0x24], esi
call fcn.004bba90
push 0x128
lea eax, [ebp - 0x568]
mov byte [ebp - 0x56c], 0
push 0
push eax
call fcn.005be800
xor eax, eax
cmp byte [ebp - 0x56c], al
setne al
push eax
lea eax, [ebp - 0x568]
push eax
call fcn.004ccb20
lea eax, [ebp - 0x540]
mov byte [ebp - 4], 1
push eax
xor eax, eax
mov dword [ebp - 0x424], 0x74e3a5d6
cmp byte [ebp - 0x56c], al
mov dword [ebp - 0x420], 0x18e3f236
setne al
mov dword [ebp - 0x41c], 0xa4ccaba6
push eax
mov dword [ebp - 0x418], 0x73699576
push 0x10
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x568]
push eax
call fcn.004cd4d0
lea eax, [ebp - 0x56c]
xorps xmm0, xmm0
push 0x61b540
push eax
movups xmmword [ebp - 0x540], xmm0
call fcn.0045fe30
mov ecx, dword [0x61b540]
add esp, 0x30
mov eax, ecx
shr eax, 1
test al, 1
jne 0x47acb8
xor dword [0x6236d1], 0xd6a5e374
or ecx, 2
mov dword [0x61b540], ecx
lea eax, [ebp - 0x568]
mov byte [ebp - 4], 2
push eax
call fcn.004cd040
mov dword [ebp - 0x414], 0
mov eax, dword [0x6236a0]
push 0x24
mov byte [ebp - 4], 3
lea esi, [eax + 0x61b540]
call fcn.005bc4c7
mov ecx, eax
add esp, 8
mov dword [ebp - 0x590], ecx
mov byte [ebp - 4], 4
test ecx, ecx
je 0x47ad1b
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], 0
mov eax, dword [0x62369c]
add eax, esi
push eax
call fcn.004bad10
jmp 0x47ad1d
xor eax, eax
mov esi, dword [ebp - 0x414]
mov dword [ebp - 0x58c], eax
mov byte [ebp - 4], 3
cmp eax, esi
je 0x47ad4d
test esi, esi
je 0x47ad4d
mov ecx, esi
call fcn.00451cc0
push 0x24
push esi
call fcn.005bc4f7
mov eax, dword [ebp - 0x58c]
add esp, 8
push eax
mov ecx, edi
mov dword [ebp - 0x414], eax
call fcn.00461b30
test al, al
jne 0x47ad71
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x61b540]
shr eax, 0xa
test al, 1
je 0x47ade8
cmp dword [edi + 0x450], 0
je 0x47ade8
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x430]
call fcn.004bd280
lea eax, [ebp - 0x588]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x430]
call fcn.004bd600
add eax, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x47adbd
mov eax, dword [eax]
mov esi, dword [edi + 0x450]
mov ecx, esi
push eax
call dword [0x60d4d0]
call esi
lea ecx, [ebp - 0x588]
call fcn.00451c50
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 3
call fcn.00451c50
call fcn.00456770
mov edi, eax
mov al, byte [ebp + 0x10]
xor al, 1
mov dword [ebp - 0x598], edi
push edi
mov byte [edi + 0x508], al
call fcn.00471fb0
mov eax, dword [0x623654]
add esp, 4
test eax, 0x800000
jne 0x47ae6d
mov eax, dword [0x623b60]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x58c], eax
call fcn.00463190
int3
mov ecx, dword [ebp - 0x5a0]
call fcn.00464fd0
lea eax, [ebp - 0x414]
mov ecx, edi
push eax
push 0x61b540
call fcn.0045f010
test dword [0x623654], 0x800000
jne 0x47aec1
mov eax, dword [0x623b60]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x58c], eax
call fcn.00463190
invalid
push 0x61b540
mov ecx, edi
call fcn.00472480
test al, al
jne 0x47afc2
mov eax, dword [0x61b540]
or eax, 1
mov dword [0x61b540], eax
shr eax, 8
test al, 1
je 0x47aefc
push dword [ebp - 0x594]
call fcn.0047ba60
add esp, 4
jmp 0x47af99
mov edi, dword [0x623d20]
test edi, edi
je 0x47af22
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x60d4d0]
mov ecx, edi
call esi
mov dword [0x623d20], 0
mov edi, dword [0x623d2c]
test edi, edi
je 0x47af48
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x60d4d0]
mov ecx, edi
call esi
mov dword [0x623d2c], 0
mov edi, dword [0x623d3c]
test edi, edi
je 0x47af6e
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x60d4d0]
mov ecx, edi
call esi
mov dword [0x623d3c], 0
mov edi, dword [0x623d18]
test edi, edi
je 0x47af94
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x60d4d0]
mov ecx, edi
call esi
mov dword [0x623d18], 0
call fcn.004789c0
mov esi, dword [ebp - 0x414]
mov edi, dword [0x61b564]
test esi, esi
je 0x47afbb
mov ecx, esi
call fcn.00451cc0
push 0x24
push esi
call fcn.005bc4f7
add esp, 8
mov eax, edi
jmp 0x47b694
mov eax, dword [edi + 0xe4]
shr eax, 8
test al, 1
jne 0x47b01a
mov eax, dword [edi + 0xe0]
shr eax, 0x17
test al, 1
jne 0x47b01a
mov eax, dword [ebp - 0x59c]
cmp dword [eax + 0x2e8], 0
je 0x47b01a
mov esi, dword [eax + 0x2f0]
mov ecx, esi
push 0
call dword [0x60d4d0]
call esi
mov esi, dword [ebp - 0x59c]
push 0x47b8e0
push 1
mov esi, dword [esi + 0x2e8]
mov ecx, esi
call dword [0x60d4d0]
call esi
test dword [0x623654], 0x800000
jne 0x47b050
mov eax, dword [0x623b60]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x594], eax
call fcn.00463190
invalid
push 0x61b540
mov ecx, edi
call fcn.00473bd0
call fcn.0049af80
test dword [0x623654], 0x800000
jne 0x47b090
mov esi, dword [0x623b60]
lea ecx, [esi + 0xf8]
call fcn.00463190
lea ecx, [esi + 0xf8]
mov byte [5], 5
call fcn.00463220
mov eax, dword [edi + 0xe0]
mov esi, dword [0x623d14]
shr eax, 0x11
and eax, 0xffffff01
mov dword [ebp - 0x594], eax
test esi, esi
jne 0x47b17e
push 0x24
call fcn.005bc4c7
mov esi, eax
add esp, 4
mov dword [ebp - 0x58c], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x47b172
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
call fcn.00456870
mov dword [esi], 0x41f6b8
mov dword [esi + 0x10], eax
add esi, 0x14
mov dword [ebp - 0x590], esi
push 0x7c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005bc4c7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x58c]
add esi, 0x1c
mov byte [ebp - 4], 8
mov dword [ebp - 0x590], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005bc4c7
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x58c]
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov word [esi + 0xc], 1
jmp 0x47b174
xor esi, esi
mov byte [ebp - 4], 3
mov dword [0x623d14], esi
push dword [0x623a75]
mov ecx, edi
push dword [0x623a79]
call fcn.0045ecf0
push eax
mov eax, dword [ebp - 0x594]
mov ecx, esi
xor al, 1
movzx eax, al
push eax
push dword [0x623a7d]
call fcn.00464030
mov ecx, edi
mov dword [0x623a7d], 0
mov dword [0x623a75], 0
call fcn.0045d450
push 0
push 1
mov ecx, edi
call fcn.0045ed00
mov eax, dword [edi + 0xe0]
shr eax, 2
test al, 1
je 0x47b37d
mov esi, dword [0x623d4c]
test esi, esi
jne 0x47b33e
push 0x50
call fcn.005bc4c7
mov esi, eax
add esp, 4
mov dword [ebp - 0x58c], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x47b332
push 0x50
push 0
push esi
call fcn.005be800
add esp, 0xc
mov dword [esi], 0x41f6c8
lea ecx, [esi + 4]
mov word [ecx + 0x18], 0
call fcn.004631c0
add esi, 0x20
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x590], esi
push 0x278
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005bc4c7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x58c]
add esi, 0x28
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x590], esi
push 0x278
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005bc4c7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [ebp - 0x58c]
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
lea esi, [eax + 0x40]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x590], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005bc4c7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x58c]
add esi, 0x48
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x590], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005bc4c7
add esp, 0x10
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x58c]
mov dword [esi + 0x30], 0
jmp 0x47b334
xor esi, esi
mov byte [ebp - 4], 3
mov dword [0x623d4c], esi
push dword [0x623aad]
mov ecx, edi
push dword [0x623ab1]
call fcn.0045ecf0
push eax
push dword [0x62367c]
mov ecx, esi
call fcn.00480500
mov dword [0x62367c], 0
mov dword [0x623aad], 0
mov dword [0x623ab1], 0
mov ecx, dword [edi + 0xe0]
mov eax, ecx
shr eax, 3
test al, 1
je 0x47b3e8
mov eax, dword [0x623d40]
shr ecx, 0x12
and ecx, 0xffffff01
mov dword [ebp - 0x594], ecx
test eax, eax
jne 0x47b3e5
push 0x50
call fcn.005bc4c7
mov esi, eax
add esp, 4
mov dword [ebp - 0x590], esi
mov byte [ebp - 4], 0xf
test esi, esi
je 0x47b3d4
push 0x50
push 0
push esi
call fcn.005be800
add esp, 0xc
mov ecx, esi
call fcn.00477f40
jmp 0x47b3d6
xor eax, eax
mov ecx, dword [ebp - 0x594]
mov byte [ebp - 4], 3
mov dword [0x623d40], eax
mov byte [eax + 5], cl
test dword [0x623654], 0x800000
jne 0x47b419
mov eax, dword [0x623b60]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x594], eax
call fcn.00463190
in ax, 0x64
mov ecx, dword [ebp - 0x594]
call fcn.00463220
mov edi, dword [0x623d34]
test edi, edi
jne 0x47b481
push 0x2c
call fcn.005bc4c7
mov edi, eax
add esp, 4
mov dword [ebp - 0x590], edi
mov byte [ebp - 4], 0x10
test edi, edi
je 0x47b475
push 0x2c
push 0
push edi
call fcn.005be800
add esp, 0xc
mov ecx, edi
call fcn.004bd2e0
mov dword [edi], 0x41f6c0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
jmp 0x47b477
xor edi, edi
mov byte [ebp - 4], 3
mov dword [0x623d34], edi
mov eax, dword [0x623abd]
mov ecx, dword [ebp - 0x598]
mov dword [ebp - 0x590], eax
mov eax, dword [0x623ab9]
mov dword [ebp - 0x58c], eax
mov eax, dword [0x623ab5]
mov ecx, dword [ecx + 0x110]
mov dword [ebp - 0x594], eax
movzx eax, word [0x6236d1]
push eax
call fcn.004bace0
mov ecx, edi
mov esi, eax
call fcn.004bea80
push esi
lea ecx, [ebp - 0x430]
call fcn.004bd280
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0x11
push eax
mov ecx, edi
call fcn.004bd4d0
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x47b4fc
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x47b4f4
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
mov eax, dword [ebp - 0x594]
lea ecx, [ebp - 0x430]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x58c]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x590]
mov dword [edi + 0x28], eax
mov byte [ebp - 4], 3
call fcn.00451c50
mov edx, dword [0x623ac1]
mov eax, edx
shr eax, 0x1c
test al, 1
je 0x47b54a
mov ecx, dword [0x625fc4]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
inc dword [eax + 8]
test dword [0x623654], 0x800000
mov dword [0x623ab9], 0
mov dword [0x623abd], 0
jne 0x47b593
mov esi, dword [0x623b60]
lea ecx, [esi + 0xf8]
call fcn.00463190
lea ecx, [esi + 0xf8]
mov byte [6], 6
call fcn.00463220
mov edx, dword [0x623ac1]
and dl, 0x30
cmp dl, 0x20
jne 0x47b5e6
mov eax, dword [ebp - 0x598]
mov eax, dword [eax + 0xe0]
shr eax, 0x13
test al, 1
jne 0x47b5e6
mov eax, dword [ebp - 0x5a0]
mov ecx, 0x600
cmp word [eax + 6], cx
jae 0x47b5e6
call fcn.004567f0
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x47b5cf
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x59c]
mov esi, dword [eax + 0x1c8]
mov ecx, esi
call dword [0x60d4d0]
call esi
call fcn.004567f0
mov eax, dword [eax + 0x24]
add eax, dword [0x623ac5]
test dword [0x623654], 0x800000
mov dword [0x61b564], eax
jne 0x47b62a
mov eax, dword [0x623b60]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x590], eax
call fcn.00463190
in ax, 0x64
mov ecx, dword [ebp - 0x590]
call fcn.00463220
mov eax, dword [0x61b554]
and eax, 0xc0000000
cmp eax, 0x80000000
jne 0x47b65f
push dword [ebp - 0x43c]
push dword [ebp - 0x434]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebp - 0x440]
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov eax, dword [ebp - 0x598]
mov byte [eax + 0x508], 0
or dword [0x61b540], 1
mov esi, dword [ebp - 0x414]
test esi, esi
je 0x47b68f
mov ecx, esi
call fcn.00451cc0
push 0x24
push esi
call fcn.005bc4f7
add esp, 8
mov eax, dword [0x61b564]
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bca10
mov esp, ebp
pop ebp
ret
test al, al
je 0x47b75c
mov edx, dword [0x61b544]
mov eax, edx
shr eax, 4
test al, 1
je 0x47b6ec
add edx, edx
mov dword [0x61b564], 0x47bac0
or ecx, 5
mov dword [0x61b544], edx
mov dword [0x61b540], ecx
mov eax, 0x47bac0
cdq
jmp 0x47b696
test esi, esi
jne 0x47b68f
shr edx, 5
test dl, 1
jne 0x47b68f
mov eax, ecx
and eax, 0x804
cmp eax, 0x804
je 0x47b68f
test byte [0x623654], 0x80
je 0x47b71d
push edi
call fcn.0047ba60
add esp, 4
jmp 0x47b68f
push 0x1c
lea eax, [ebp - 0x588]
or ecx, 4
push eax
push 0x61b540
mov dword [0x61b540], ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, dword [0x61b564]
mov ecx, esi
push edi
push 0
push dword [ebp - 0x584]
call dword [0x60d4d0]
call esi
push edi
call fcn.0047ba60
add esp, 4
xor eax, eax
jmp 0x47b694