joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452ba3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4606ec
push 0x4606e4
push str.FlsAlloc
push 0x1e
call fcn.00452a81
mov esi, eax
add esp, 0x10
test esi, esi
je 0x452bd7
push dword [ebp + 8]
mov ecx, esi
call dword [0x45c308]
call esi
jmp 0x452bdd
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x452c21
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4606fc
push 0x4606f4
push str.FlsGetValue
push 0x20
call fcn.00452a81
mov esi, eax
add esp, 0x10
test esi, esi
je 0x452c58
push dword [ebp + 8]
mov ecx, esi
call dword [0x45c308]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4544ed
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x45458a
push ebx
push esi
call fcn.004544b6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00452854
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x454537
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x454589
push edi
push eax
call fcn.00452541
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x454557
call fcn.00452507
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x454588
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00452854
add esp, 0x20
test eax, eax
jne 0x454576
push edi
call fcn.00452507
jmp 0x45457e
push ebx
call fcn.00452507
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10001210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov word [ebp - 6], 0x7274
mov dword [ebp - 0xb], 0x20657479
mov byte [ebp - 4], 0
mov byte [ebp - 0xc], 0x62
mov byte [ebp - 7], 0x70
mov word [ebp - 0x15], 0x2064
mov word [ebp - 0x12], 0x7274
mov byte [ebp - 0x13], 0x70
mov byte [ebp - 0x10], 0
mov word [ebp - 0x17], 0x726f
mov byte [ebp - 0x18], 0x77
mov dword [ebp - 0x22], 0x2064726f
mov word [ebp - 0x1d], 0x7274
mov byte [ebp - 0x1b], 0
mov word [ebp - 0x24], 0x7764
mov byte [ebp - 0x1e], 0x70
mov dword [ebp - 0x41], 0x727470
mov word [ebp - 0x44], 0x6574
mov word [ebp - 0x47], 0x625f
mov byte [ebp - 0x42], 0x20
mov byte [ebp - 0x48], 0x36
mov byte [ebp - 0x45], 0x79
mov word [ebp - 0x2a], 0x7470
mov word [ebp - 0x2d], 0x6472
mov word [ebp - 0x30], 0x7771
mov word [ebp - 0x28], 0x72
mov byte [ebp - 0x2b], 0x20
mov byte [ebp - 0x2e], 0x6f
mov dword [ebp - 0x51], 0x65747962
mov dword [ebp - 0x4d], 0x72747020
mov word [ebp - 0x53], 0x5f30
mov byte [ebp - 0x49], 0
mov byte [ebp - 0x54], 0x31
mov word [ebp - 0x5a], 0x2044
mov dword [ebp - 0x60], 0x41564e49
mov word [ebp - 0x57], 0x5254
mov byte [ebp - 0x55], 0
mov word [ebp - 0x5c], 0x494c
mov byte [ebp - 0x58], 0x50
mov dword [ebp - 0x66], 0x54502044
mov dword [ebp - 0x6c], 0x41564e49
mov word [ebp - 0x68], 0x494c
mov word [ebp - 0x62], 0x52
mov dword [ebp - 0x36], 0x727470
mov word [ebp - 0x3b], 0x6f77
mov word [ebp - 0x38], 0x2064
mov byte [ebp - 0x3c], 0x6f
mov byte [ebp - 0x39], 0x72
cmp ecx, 8
ja case.default.0x10001322
jmp dword [ecx*4 + 0x100013f0]
lea eax, [ebp - 0xc]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x48]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x30]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x54]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x60]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x6c]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x3c]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x10001420
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov word [ebp - 3], 0x73
mov byte [ebp - 4], 0x65
mov word [ebp - 8], 0x7363
mov byte [ebp - 6], 0
mov word [ebp - 0xc], 0x7373
mov byte [ebp - 0xa], 0
mov word [ebp - 0x10], 0x7364
mov byte [ebp - 0xe], 0
mov word [ebp - 0x13], 0x73
mov byte [ebp - 0x14], 0x66
mov word [ebp - 0x17], 0x73
mov byte [ebp - 0x18], 0x67
mov word [ebp - 0x1d], 0x524f
mov word [ebp - 0x20], 0x5245
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1b], 0
mov dword [ebp - 0x26], 0x524f52
mov word [ebp - 0x28], 0x5245
cmp ecx, 7
ja case.default.0x1000148c
jmp dword [ecx*4 + 0x10001544]
lea eax, [ebp - 4]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
push 0x104
push edx
call fcn.10016700
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x10009c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [ebp - 9], 0x6c642e32
push eax
mov word [ebp - 5], 0x6c
mov dword [ebp - 0xf], 0x656e7265
mov word [ebp - 0xb], 0x336c
mov byte [ebp - 0x10], 0x4b
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esp, ebp
pop ebp
ret

Function at 0x10009c60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [ebp - 7], 0x6c6c64
push eax
mov dword [ebp - 0xb], 0x2e323369
mov word [ebp - 0xd], 0x7061
mov word [ebp - 0x10], 0x6441
mov byte [ebp - 0xe], 0x76
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esp, ebp
pop ebp
ret

Function at 0x10009ca0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x3233
push eax
mov dword [ebp - 6], 0x6c6c642e
mov word [ebp - 0xb], 0x6573
mov byte [ebp - 2], 0
mov byte [ebp - 0xc], 0x55
mov byte [ebp - 9], 0x72
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esp, ebp
pop ebp
ret

Function at 0x10009ce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x776c6853
push eax
mov dword [ebp - 8], 0x2e697061
mov word [ebp - 3], 0x6c6c
mov byte [ebp - 1], 0
mov byte [ebp - 4], 0x64
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esp, ebp
pop ebp
ret
Function at 0x1000a830
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.10009ca0
test eax, eax
je 0x1000a871
lea ecx, [ebp - 0x10]
mov dword [ebp - 5], 0x776f646e
push ecx
push eax
mov dword [ebp - 0xb], 0x65766974
mov dword [ebp - 0x10], 0x41746553
mov word [ebp - 7], 0x6957
mov byte [ebp - 1], 0
mov byte [ebp - 0xc], 0x63
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1000a890
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0x118
cmp eax, 1
jne 0x1000a944
push ecx
lea edx, [esp + 0x14]
call fcn.10009fc0
add esp, 4
mov dword [esp + 6], 0x75732074
lea eax, [esp]
mov dword [esp + 0xc], 0x74726f
mov dword [esp + 1], 0x6174736e
mov word [esp + 0xa], 0x7070
push eax
lea eax, [esp + 0x14]
mov byte [esp + 4], 0x69
push eax
mov byte [esp + 0xd], 0x6e
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1000a970
mov edx, sym.drvhlp.dll_gvomrw
mov ecx, 0x1006e55c
call fcn.1003c190
test eax, eax
je 0x1000a970
mov edx, sym.drvhlp.dll_mpgtk9
mov ecx, 0x1006e528
call fcn.1003c190
test eax, eax
je 0x1000a970
mov edx, sym.drvhlp.dll_t7ix3b
mov ecx, 0x1006e540
call fcn.1003c190
test eax, eax
je 0x1000a970
mov edx, sym.drvhlp.dll_p5a5v9
mov ecx, 0x1006e53c
call fcn.1003c190
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
test eax, eax
jne 0x1000a970
mov ecx, 0x1006e55c
call fcn.1000b400
mov ecx, 0x1006e528
call fcn.1000b400
mov ecx, 0x1006e540
call fcn.1000b400
mov ecx, 0x1006e53c
call fcn.1000b400
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000b030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.10009ca0
test eax, eax
je 0x1000b073
lea ecx, [ebp - 0x14]
mov word [ebp - 0xf], 0x6957
push ecx
push eax
mov dword [ebp - 0x14], 0x6e697242
mov dword [ebp - 0xd], 0x776f646e
mov dword [ebp - 7], 0x706f54
mov byte [ebp - 0x10], 0x67
mov word [ebp - 9], 0x6f54
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1002add3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002a67f

Function at 0x1002adde
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002a8ba

Function at 0x1003573e
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003557c

Function at 0x1003b950
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.10009ca0
test eax, eax
je 0x1003b98e
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xf], 0x69577465
push ecx
push eax
mov dword [ebp - 8], 0x736f5077
mov word [ebp - 0xb], 0x646e
mov byte [ebp - 0x10], 0x53
mov byte [ebp - 4], 0
mov byte [ebp - 9], 0x6f
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003b9e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.10009ca0
test eax, eax
je 0x1003ba2f
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x11], 0x65726f46
push ecx
push eax
mov dword [ebp - 5], 0x776f646e
mov dword [ebp - 0xa], 0x57646e75
mov word [ebp - 0x14], 0x6553
mov word [ebp - 0xd], 0x7267
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 1], 0
mov byte [ebp - 6], 0x69
mov byte [ebp - 0xb], 0x6f
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1003ba80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push esi
push 0x104
lea eax, [ebp - 0x130]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x10], esi
call fcn.1000e0f0
add esp, 0xc
mov dword [ebp - 5], 0x73255c45
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xa], 0x41575446
mov word [ebp - 0xc], 0x4f53
mov byte [ebp - 1], 0
mov byte [ebp - 6], 0x52
call fcn.1000b6d0
cmp dword [eax + 0x14], 0x10
jb 0x1003bad1
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x130]
push 0x104
push eax
call fcn.1000b5d0
mov edx, dword [ebp - 0x14]
add esp, 0x14
cmp edx, 0x10
jb 0x1003bb1c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003bb12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003bb31
push edx
push ecx
call fcn.1000bf3b
add esp, 8
lea eax, [ebp - 0x130]
mov ecx, esi
push eax
call fcn.1000b770
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1001f237
int3

Function at 0x1003be40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [0x1006e56c], 0
jne 0x1003be67
call fcn.1000a100
mov edx, 0x100
mov ecx, 0x1006e570
call fcn.1000a730
mov dword [0x1006e56c], 1
jmp fcn.1000a790
Function at 0x401a80
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x406480
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x409214]
mov dword [eax], ecx
mov ebx, edx
test ebx, ebx
jle 0x4064a1
mov eax, 0xff
call fcn.00401a80
xor byte [esi], al
inc esi
dec ebx
jne 0x406491
pop esi
pop ebx
ret

Function at 0x40c8d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x472347
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x24], ebx
mov byte [esp + 0x18], 1
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
mov dword [esi + 0x44], 0xf
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
lea edi, [esi + 0x4c]
mov ecx, edi
mov byte [esp + 0x18], 3
call fcn.0040b1b0
mov dword [edi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
mov byte [esp + 0x18], 4
je 0x40c977
dec dword [ecx + 4]
jne 0x40c974
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x20], ebx
mov ecx, dword [esi + 0x24]
cmp ecx, ebx
je 0x40c98c
dec dword [ecx + 4]
jne 0x40c989
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x24], ebx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x58], ebx
mov dword [esi + 0x1c], ebx
pop edi
mov dword [esi + 0x48], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40d170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, eax
push edi
mov edi, ecx
jbe 0x40d1fa
movzx eax, byte [edi]
push ebx
push esi
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, 0xfffffffc
je 0x40d1e0
shr ecx, 2
lea esp, [esp]
xor edx, dword [esi]
add esi, 4
mov al, dl
mov ebx, dword [eax*4 + 0x48d000]
mov al, dh
shr edx, 0x10
xor ebx, dword [eax*4 + 0x48cc00]
mov al, dl
xor ebx, dword [eax*4 + 0x48c800]
mov al, dh
xor ebx, dword [eax*4 + 0x48c400]
mov edx, ebx
dec ecx
jne 0x40d1a0
mov ecx, dword [ebp + 8]
and ecx, 3
je 0x40d1f0
lea esp, [esp]
lodsb al, byte [esi]
xor al, dl
shr edx, 8
xor edx, dword [eax*4 + 0x48c400]
dec ecx
jne 0x40d1e0
mov dword [ebp - 4], edx
mov cl, byte [ebp - 4]
pop esi
mov byte [edi], cl
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x4121b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, eax
push edi
mov edi, ecx
jbe 0x41223c
movzx eax, word [edi]
push ebx
push esi
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, 0xfffffffc
je 0x412220
shr ecx, 2
lea esp, [esp]
xor edx, dword [esi]
add esi, 4
mov al, dl
mov ebx, dword [eax*4 + 0x4ce000]
mov al, dh
shr edx, 0x10
xor ebx, dword [eax*4 + 0x4cdc00]
mov al, dl
xor ebx, dword [eax*4 + 0x4cd800]
mov al, dh
xor ebx, dword [eax*4 + 0x4cd400]
mov edx, ebx
dec ecx
jne 0x4121e0
mov ecx, dword [ebp + 8]
and ecx, 3
je 0x412230
lea esp, [esp]
lodsb al, byte [esi]
xor al, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4cd400]
dec ecx
jne 0x412220
mov dword [ebp - 4], edx
mov cx, word [ebp - 4]
pop esi
mov word [edi], cx
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x412670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x48aff4]
push ebx
push esi
mov esi, ecx
mov edx, dword [esi + 0xf8]
push edi
mov dword [ebp - 4], eax
lea eax, [esi + 0x548]
push eax
lea ecx, [esi + 0x148]
push ecx
push 0x4ce408
push edx
call fcn.00422110
mov eax, dword [esi + 0xf8]
add esp, 0x10
test eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], 0xffffffff
jbe 0x412727
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x70]
xor eax, eax
test ecx, 0xfffffffc
je 0x412710
shr ecx, 2
lea esp, [esp]
mov al, dl
mov ebx, dword [eax*4 + 0x4cf408]
mov al, dh
shr edx, 0x10
xor ebx, dword [eax*4 + 0x4cf008]
mov al, dl
xor ebx, dword [eax*4 + 0x4cec08]
mov al, dh
xor ebx, dword [eax*4 + 0x4ce408]
mov edx, ebx
dec ecx
jne 0x4126d0
mov ecx, dword [ebp - 0x70]
and ecx, 3
je 0x41271f
jmp 0x412710
mov al, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4ce408]
dec ecx
jne 0x412710
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
jmp 0x41272a
or eax, 0xffffffff
not eax
lea ecx, [ebp - 0x64]
mov dword [esi + 0x54c], eax
call fcn.00434ad0
mov eax, dword [esi + 0xf8]
push eax
lea ecx, [ebp - 0x64]
call fcn.00435800
push 0
lea ecx, [esi + 0x550]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00436420
mov edx, dword [esi + 0xe8]
lea ebx, [esi + 0x560]
push edx
mov ecx, ebx
call fcn.0042d6d0
mov eax, dword [esi + 0xe0]
mov ecx, dword [eax + 8]
xor edi, edi
test ecx, ecx
jle 0x4127b9
lea ecx, [ecx]
test edi, edi
mov eax, dword [esi + 0xe0]
jl 0x4127c8
cmp edi, dword [eax + 8]
jge 0x4127c8
mov ecx, dword [esi + 0xfc]
mov edx, dword [esi + 0xf8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [eax + edi*4]
push edx
push ecx
mov ecx, ebx
call fcn.0042d840
mov edx, dword [esi + 0xe0]
mov eax, dword [edx + 8]
inc edi
cmp edi, eax
jl 0x412780
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00455418
mov esp, ebp
pop ebp
ret
jmp fcn.00465031
Function at 0x41a5c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x472a5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 0x11
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 0xa
mov dword [esi + 0x18], 0x476dc0
lea edi, [esi + 0x34]
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.0040db70
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41de20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
lea edx, [ebp + 8]
mov dword [ebp + 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], 4
mov dword [ebp - 8], 0
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor eax, eax
test ecx, 0xfffffffc
je 0x41dea0
shr ecx, 2
mov edi, edi
xor edx, dword [esi]
add esi, 4
mov al, dl
mov ebx, dword [eax*4 + 0x4cf408]
mov al, dh
shr edx, 0x10
xor ebx, dword [eax*4 + 0x4cf008]
mov al, dl
xor ebx, dword [eax*4 + 0x4cec08]
mov al, dh
xor ebx, dword [eax*4 + 0x4ce408]
mov edx, ebx
dec ecx
jne 0x41de60
mov ecx, dword [ebp - 4]
and ecx, 3
je 0x41deb0
lea esp, [esp]
lodsb al, byte [esi]
xor al, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4ce408]
dec ecx
jne 0x41dea0
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 8]
test ecx, ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
jbe 0x41df36
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, 0xfffffffc
je 0x41df20
shr ecx, 2
jmp 0x41dee0
xor edx, dword [esi]
add esi, 4
mov al, dl
mov ebx, dword [eax*4 + 0x4cf408]
mov al, dh
shr edx, 0x10
xor ebx, dword [eax*4 + 0x4cf008]
mov al, dl
xor ebx, dword [eax*4 + 0x4cec08]
mov al, dh
xor ebx, dword [eax*4 + 0x4ce408]
mov edx, ebx
dec ecx
jne 0x41dee0
mov ecx, dword [ebp + 8]
and ecx, 3
je 0x41df30
lea esp, [esp]
lodsb al, byte [esi]
xor al, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4ce408]
dec ecx
jne 0x41df20
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41f9f0
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
lea ecx, [esi + 0x20]
call fcn.0042b350
mov eax, dword [esi + 0xd8]
push eax
call fcn.0046b360
mov ecx, dword [esi + 0x1c]
xor eax, eax
add esp, 4
cmp ecx, 2
mov dword [esi + 0xd8], eax
jne 0x41fb03
push ebx
push ebp
push edi
push str..bak
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.00406e90
mov ecx, dword [eax + 0x18]
mov ebp, 0x10
add esp, 0xc
cmp ecx, ebp
jb 0x41fa48
mov eax, dword [eax + 4]
jmp 0x41fa4b
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x28], ebp
jb 0x41fa65
mov edx, dword [esp + 0x14]
push edx
call fcn.0046b360
add esp, 4
push str..bak
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00406e90
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, ebp
jb 0x41fa84
mov eax, dword [eax + 4]
jmp 0x41fa87
add eax, 4
cmp dword [esi + 0x18], ebp
lea edi, [esi + 4]
jb 0x41fa93
mov ecx, dword [edi]
jmp 0x41fa95
mov ecx, edi
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
push eax
push ecx
call ebx
cmp dword [esp + 0x28], ebp
jb 0x41fab2
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0046b360
add esp, 4
push str..tmp
lea edx, [esp + 0x14]
push esi
push edx
call fcn.00406e90
mov ecx, dword [esi + 0x18]
add esp, 0xc
cmp ecx, ebp
jb 0x41face
mov edi, dword [edi]
cmp dword [eax + 0x18], ebp
jb 0x41fad8
mov eax, dword [eax + 4]
jmp 0x41fadb
add eax, 4
push edi
push eax
call ebx
mov eax, dword [esp + 0x28]
pop edi
cmp eax, ebp
pop ebp
pop ebx
jb 0x41faf7
mov eax, dword [esp + 8]
push eax
call fcn.0046b360
add esp, 4
mov dword [esi + 0x1c], 0
pop esi
add esp, 0x1c
ret
mov dword [esi + 0x1c], eax
pop esi
add esp, 0x1c
ret
Function at 0x420870
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x472ec8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], 0
push 0
jae 0x42089f
lea eax, [esp + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push eax
call fcn.00406fe0
lea eax, [esp + 8]
push eax
call fcn.0041fb10
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
add esp, 0xc
test ecx, ecx
je 0x4208ce
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4208e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp dword [esp + 0x2c], 0x10
jb 0x4208fc
mov eax, dword [esp + 0x18]
push eax
call fcn.0046b360
add esp, 4
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret