joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475a76
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x475aae
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00473b03
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00473adb
jmp 0x475aba
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x477164
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4771a6
call fcn.0047cc1b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4771a6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47719d
xor eax, eax
jmp 0x4771ae
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004771b4
pop edi
pop esi
pop ebx
ret 4

Function at 0x47d14b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47d179
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47d197
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047d0b1
jmp 0x47d197
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47d197
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047d0b1
test edi, edi
mov eax, edi
jne 0x47d181
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x418b53
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x418b53
lcall 0x5de5, 0x8b10c483
jmp loc.0136556c
Function at 0x40ec30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47c6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x49d7a0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0xc]
call fcn.00402700
mov ecx, dword [esp + 0x34]
push eax
mov dword [esp + 0x30], 0
call fcn.0040ead0
lea ecx, [esp + 8]
mov esi, eax
call fcn.00402010
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 8

Function at 0x40f3d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47c4b2
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49d7a0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
push edi
mov eax, esi
call fcn.00410430
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004076e0
test esi, esi
mov dword [esp + 0x18], ebx
jne 0x40f41b
call fcn.0043c2d0
mov ebp, dword [esi + 4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
call fcn.004076e0
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
je 0x40f43f
cmp eax, esi
je 0x40f444
call fcn.0043c2d0
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
je 0x40f45e
add eax, 0x10
call fcn.00409950
test eax, eax
jge 0x40f4e6
xor eax, eax
mov ebp, vtable.Variant.0
mov ebx, 1
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x24]
push eax
push edi
lea ecx, [esp + 0x44]
push ecx
call fcn.0040fc60
mov byte [esp + 0x80], bl
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov eax, esi
call fcn.0040f710
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x1c], edx
mov byte [esp + 0x84], 0
call fcn.0040f6b0
mov dword [esp + 0x80], 0xffffffff
lea esi, [esp + 0x24]
mov dword [esp + 0x24], ebp
call fcn.0040e210
cmp dword [esp + 0x14], 0
jne 0x40f4f2
call fcn.0043c2d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 4]
jne 0x40f508
call fcn.0043c2d0
mov eax, dword [esp + 0x18]
add eax, 0x30
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
Function at 0x416230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47b789
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x49d7a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov esi, 1
push 0x48d371
mov ecx, edi
mov dword [esp + 0x3c], esi
call fcn.00402700
sub esp, 0x1c
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [esp + 0x24], esi
push eax
lea esi, [esp + 0x7c]
call fcn.00401fd0
mov ecx, esi
lea esi, [esp + 0x30]
call fcn.004162e0
add esp, 0x1c
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov byte [esp + 0x44], 2
call fcn.004021d0
mov ecx, esi
call fcn.00402010
lea ecx, [esp + 0x40]
call fcn.00402010
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret

Function at 0x416d80
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x416de2
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
cmp esi, 0x400000
mov eax, 0x400000
ja 0x416daf
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x416de7
test ecx, ecx
je 0x416de0
test esi, esi
ja 0x416da0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x4171d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4a26e0], ecx
add edx, 1
cmp edx, 0x100
jl 0x4171d2
cmp edx, 0x800
jae 0x4172bb
mov edi, edi
mov eax, dword [edx*4 + 0x4a22e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4a26e0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x4a26dc], eax
jb 0x417290
mov dword [0x49f3e0], 0x419800
call fcn.004199d0
test eax, eax
jne 0x4172d8
mov dword [0x49f3e0], 0x4198b0
ret
Function at 0x4262f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x4784b4
call fcn.00442c5e
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.00426e41
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x42633e
call fcn.00426e41
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x42634f
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x42635c
or eax, 0xffffffff
jmp 0x4264b8
mov ecx, esi
call fcn.00425e45
mov dword [ebp - 0x14], eax
call fcn.004205fa
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x4263da
call dword [0x47e4b8]
cmp dword [ebp - 0x14], eax
je 0x4263da
push dword [ebp - 0x14]
call dword [0x47e4f4]
test eax, eax
je 0x4263da
push 0
push dword [ebp - 0x14]
call dword [0x47e65c]
mov dword [ebp - 0x2c], 1
call fcn.0041f1ae
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x4263da
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x4263da
mov ecx, ebx
call fcn.0042491c
test eax, eax
je 0x4263da
push 0
mov ecx, ebx
call fcn.00424937
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0042202f
push dword [ebp - 0x14]
call fcn.00420552
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.004260fb
xor edi, edi
cmp eax, edi
je 0x426437
test byte [esi + 0x3c], 0x10
je 0x426421
push 4
pop edi
mov ecx, esi
call fcn.004247d9
test ax, 0x100
je 0x426417
push 5
pop edi
push edi
mov ecx, esi
call fcn.004200e8
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x426437
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00424b06
or dword [ebp - 4], 0xffffffff
jmp 0x426462
cmp dword [ebp - 0x28], edi
je 0x426470
push 1
mov ecx, ebx
call fcn.00424937
cmp dword [ebp - 0x2c], edi
je 0x426480
push 1
push dword [ebp - 0x14]
call dword [0x47e65c]
cmp dword [ebp - 0x14], edi
je 0x426499
call dword [0x47e4bc]
cmp eax, dword [esi + 0x20]
jne 0x426499
push dword [ebp - 0x14]
call dword [0x47e558]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00425e7f
cmp dword [esi + 0x58], edi
je 0x4264b5
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00442d03
ret
Function at 0x426522
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x426542
cmp dword [edi + 0x54], 0
jne 0x426542
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00426e41
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004264e9
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x42736d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x49d7a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x4273aa
push 0x4802f8
push 4
push eax
call fcn.0043ec13
push eax
call fcn.004031d0
add esp, 0x10
jmp 0x4273bc
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x427427
push edi
call fcn.00441f01
mov edi, dword [eax]
call fcn.00441f01
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.00442f9c
add esp, 0x18
mov ebx, eax
call fcn.00441f01
cmp dword [eax], 0
je 0x427407
call fcn.00441f01
push dword [eax]
call fcn.0041de98
pop ecx
jmp 0x42740e
call fcn.00441f01
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x427427
cmp ebx, esi
jae 0x427427
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x427429
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043bd9a
leave
ret

Function at 0x42b9e4
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], 0x480b9c
jne 0x42ba0d
call fcn.00426e41
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [0x47e670]
test eax, eax
mov dword [esi + 8], eax
jne 0x42ba30
push eax
push dword [esi + 4]
call fcn.0042b96f
push esi
push eax
mov ecx, 0x4a1018
call fcn.0042b642
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4453cb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x445408
cmp dword [ebp + 0x14], edi
je 0x445408
cmp ecx, edi
jne 0x44540f
call fcn.00441f01
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043c2ac
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x445423
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x445444
cmp ebx, 0xffffffff
je 0x445433
push ebx
push edi
push ecx
call fcn.0043be70
add esp, 0xc
cmp esi, edi
je 0x4453f0
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4453f0
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x445460
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x445467
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x445558
test word [esi + 0xc], 0x10c
je 0x4454bb
mov eax, dword [esi + 4]
test eax, eax
je 0x4454bb
jl 0x4455b9
cmp ebx, eax
mov edi, ebx
jb 0x44548c
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x445560
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0043bda9
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x445550
cmp ebx, dword [ebp - 0xc]
jb 0x445528
cmp dword [ebp - 0xc], 0
je 0x4454e5
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x4454da
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4454e1
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4454f0
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x4454f0
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x44558c
push eax
push dword [ebp - 8]
push esi
call fcn.0044510e
pop ecx
push eax
call fcn.00441d7d
add esp, 0xc
test eax, eax
je 0x4455cb
cmp eax, 0xffffffff
je 0x4455b9
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x445550
push esi
call fcn.0044f681
cmp eax, 0xffffffff
pop ecx
je 0x4455bd
cmp dword [ebp - 4], 0
je 0x44558c
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x44546f
mov eax, dword [ebp + 0x14]
jmp 0x44540a
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x445577
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0043be70
add esp, 0xc
call fcn.00441f01
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x445400
cmp dword [ebp + 0xc], 0xffffffff
je 0x4455a2
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0043be70
add esp, 0xc
call fcn.00441f01
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x445400
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x44540a
or dword [esi + 0xc], 0x10
jmp 0x4455bd
Function at 0x453ce7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044721c
xor ebx, ebx
cmp dword [0x4a1ecc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x453dbd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x453e9d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x453e9d
push eax
call fcn.004471ae
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a1ecc], eax
call esi
push eax
call fcn.004471ae
mov dword [esp], 0x483f04
push edi
mov dword [0x4a1ed0], eax
call esi
push eax
call fcn.004471ae
mov dword [0x4a1ed4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043dc5d
test eax, eax
pop ecx
pop ecx
je 0x453d8b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043c1b0
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x453dbd
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004471ae
cmp eax, ebx
pop ecx
mov dword [0x4a1edc], eax
je 0x453dbd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004471ae
pop ecx
mov dword [0x4a1ed8], eax
mov eax, dword [0x4a1ed8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x453e42
cmp dword [0x4a1edc], ecx
je 0x453e42
push eax
call fcn.00447225
push dword [0x4a1edc]
mov esi, eax
call fcn.00447225
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x453e42
cmp edi, ebx
je 0x453e42
call esi
cmp eax, ebx
je 0x453e0f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x453e0f
test byte [ebp - 0x18], 1
jne 0x453e42
lea eax, [ebp - 0x10]
push eax
call fcn.0043dc94
test eax, eax
pop ecx
je 0x453e2a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043c1b0
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x453e39
or dword [ebp + 0x10], 0x200000
jmp 0x453e7d
or dword [ebp + 0x10], 0x40000
jmp 0x453e7d
mov eax, dword [0x4a1ed0]
cmp eax, dword [ebp - 8]
je 0x453e7d
push eax
call fcn.00447225
cmp eax, ebx
pop ecx
je 0x453e7d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x453e7d
mov eax, dword [0x4a1ed4]
cmp eax, dword [ebp - 8]
je 0x453e7d
push eax
call fcn.00447225
cmp eax, ebx
pop ecx
je 0x453e7d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a1ecc]
call fcn.00447225
cmp eax, ebx
pop ecx
je 0x453e9d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x453e9f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45b0a0
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 5
push 0xffffffffffffffff
push 0
call fcn.004599de
test eax, eax
je 0x45b0ea
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043ec13
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call fcn.004599e4
jmp 0x45b0f8
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x47e018]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x45ca90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x49d7a0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x45caf4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x248], 0
lea ecx, [ebp + 8]
call fcn.00405670
mov eax, dword [ebp - 0x248]
jmp 0x45cba7
mov dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x45cb85
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x244]
call fcn.00402e90
lea ecx, [ebp - 0x244]
call fcn.004053d0
lea ecx, [ebp + 8]
call fcn.004053d0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.004048f0
add esp, 8
movzx edx, al
test edx, edx
je 0x45cb75
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x244]
call fcn.00405670
lea ecx, [ebp + 8]
call fcn.00405670
mov eax, dword [ebp - 0x24c]
jmp 0x45cba7
lea ecx, [ebp - 0x244]
call fcn.00405670
jmp 0x45cafb
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x250], 0
lea ecx, [ebp + 8]
call fcn.00405670
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043bd9a
mov esp, ebp
pop ebp
ret

Function at 0x45d130
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 4]
call fcn.00402cf0
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 8]
call fcn.00405650
mov dword [ebp - 0x10], 0
jmp 0x45d163
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0xa
jge 0x45d1ab
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s.old_d
lea ecx, [ebp - 8]
push ecx
call fcn.00401850
add esp, 0x10
push 3
lea ecx, [ebp - 8]
call fcn.00401560
push eax
lea ecx, [ebp - 4]
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x45d1a9
mov dword [ebp - 0xc], 1
jmp 0x45d1ab
jmp 0x45d15a
cmp dword [ebp - 0xc], 0
je 0x45d1c4
push 5
push 0
lea ecx, [ebp - 8]
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 8]
call fcn.00405670
lea ecx, [ebp - 4]
call fcn.00405670
lea ecx, [ebp + 8]
call fcn.00405670
mov esp, ebp
pop ebp
ret
Function at 0x45d1e0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x49d7a0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x45d234
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00405670
jmp 0x45d2f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x45d2d4
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x244]
call fcn.00402e90
lea ecx, [ebp - 0x244]
call fcn.004053d0
lea ecx, [ebp + 8]
call fcn.004053d0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.004048f0
add esp, 8
movzx edx, al
test edx, edx
je 0x45d2c4
mov eax, dword [ebp - 0x238]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x45d2c4
push 0
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x244]
call fcn.00405670
jmp 0x45d23b
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00405670
jmp 0x45d2f0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043bd9a
mov esp, ebp
pop ebp
ret
Function at 0x4632b0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea ecx, [ebp + 8]
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 8]
call fcn.00401560
push eax
call dword [0x47e45c]
test eax, eax
jne 0x4632e2
lea ecx, [ebp + 8]
call fcn.00405670
jmp 0x463341
lea ecx, [ebp + 8]
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and eax, 0xfffffffe
push eax
lea ecx, [ebp + 8]
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp + 8]
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x463339
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
lea edx, [ebp + 8]
push edx
call fcn.00402cf0
call fcn.0045d130
add esp, 4
lea ecx, [ebp + 8]
call fcn.00405670
mov esp, ebp
pop ebp
ret