joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010e570
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x1010e58b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xe3
jae 0x1010e5f7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x1010e5cf
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x1010e5d6
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1010e582
jmp 0x1010e602
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x26f
jae 0x1010e66e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 1
je 0x1010e646
mov dword [ebp - 0x18], 0x9908b0df
jmp 0x1010e64d
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
shr eax, 1
xor eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1010e5f9
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 0x9c4]
and edx, 0x80000000
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + ecx + 4]
and ecx, 0x7fffffff
or edx, ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
and edx, 1
je 0x1010e6ac
mov dword [ebp - 0x20], 0x9908b0df
jmp 0x1010e6b3
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
shr eax, 1
xor eax, dword [ebp - 0x20]
mov ecx, 4
imul edx, ecx, 0x18c
mov ecx, dword [ebp - 8]
xor eax, dword [ecx + edx + 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + edx*4 + 4], eax
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
Function at 0x10111200
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ba2d8
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x10247db0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0x101111c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x10266cc8]
mov byte [eax + 0x154], 0
movzx ecx, byte [ebp - 0x14d]
push ecx
push str.The_file_is_corrupted._Please_contact_with_administrator._n
lea ecx, [ebp - 0x14c]
call fcn.10113190
mov ecx, eax
call fcn.10111450
push eax
lea ecx, [ebp - 0x64]
call fcn.100451a0
mov byte [ebp - 4], 1
movzx edx, byte [ebp - 0x14e]
push edx
push str.If_you_constantly_see_this_message_
lea ecx, [ebp - 0x110]
call fcn.10113880
mov ecx, eax
call fcn.100bec90
push eax
lea ecx, [ebp - 0x48]
call fcn.100451a0
mov byte [ebp - 4], 2
movzx eax, byte [ebp - 0x14f]
push eax
push str.disable_the_anti_virus_program.
lea ecx, [ebp - 0xe8]
call fcn.10113ce0
mov ecx, eax
call fcn.1005e1e0
push eax
lea ecx, [ebp - 0x2c]
call fcn.100451a0
mov byte [ebp - 4], 3
push 0x101f1995
lea ecx, [ebp + 8]
push ecx
call fcn.10085070
add esp, 8
movzx edx, al
test edx, edx
je 0x101113a0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.1009da80
add esp, 0xc
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.100eee80
add esp, 0xc
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x164], ecx
mov byte [ebp - 4], 5
push 0x30
movzx edx, byte [ebp - 0x150]
push edx
push str.KnightOnline.exe
lea ecx, [ebp - 0xb0]
call fcn.101140b0
mov ecx, eax
call fcn.10071a80
push eax
mov ecx, dword [ebp - 0x164]
call fcn.10044e70
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x80]
call fcn.100450b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
call fcn.100450b0
jmp 0x101113d3
push 0x30
movzx eax, byte [ebp - 0x151]
push eax
push 0x1020d5fc
lea ecx, [ebp - 0xc4]
call fcn.101142b0
mov ecx, eax
call fcn.10071a80
push eax
lea ecx, [ebp + 8]
call fcn.10044e70
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.10179670
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.100450b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.100450b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.100450b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100450b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10159b70
mov esp, ebp
pop ebp
ret
Function at 0x10111880
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10247db0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1020d6e4]
mov dword [ebp - 0xc], eax
mov cx, word [0x1020d6e8]
mov word [ebp - 8], cx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x10]
sub edx, 5
mov dword [ebp - 0xb], edx
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0xc], 0xe9
push 5
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.1015c3c0
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 5
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10159b70
mov esp, ebp
pop ebp
ret
Function at 0x10112700
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x10112739
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call sym.BYRACS.dll_Init
push 0
push 0
push 0
push 0x10112610
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x10266cc8]
mov dword [ecx + 0x170], eax
mov eax, 1
pop ebp
ret 0xc
Function at 0x10112c10
Capabilities:
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10247db0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
jmp 0x10112c35
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10266cb0], eax
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push 0x10266cbc
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10112ce0
push 0x10266cac
push 0
push 0
push 0x8004
mov eax, dword [0x10266cbc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10112ce0
push 1
push 0x1d
movzx ecx, byte [ebp - 0x3d]
push ecx
push str.a45fa4a6cff5ab30f261850b4dd03e5605f33663.af0h_r4bUzp
lea ecx, [ebp - 0x3c]
call fcn.10115c90
mov ecx, eax
call fcn.10112d30
push eax
mov edx, dword [0x10266cac]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10112ce0
push 0x10266ccc
push 0x800000
mov eax, dword [0x10266cac]
push eax
push 0x6801
mov ecx, dword [0x10266cbc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10112ce0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x10112b40
push 0x468e60
call fcn.100020f0
mov dword [0x10266cb4], eax
push 0x10112bf0
push 0x468eb6
call fcn.100020f0
jmp 0x10112d15
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10159b70
mov esp, ebp
pop ebp
ret

Function at 0x10117490
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x101172e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x10117500
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x101174b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x1012e8a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push 0
push 0x1012e7f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x10130bc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 9
ja case.0x10130bdc.0
mov ecx, dword [ebp - 0x10]
jmp dword [ecx*4 + 0x10130d50]
push 0
lea edx, [ebp - 4]
push edx
push 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x10130d43
push 0
lea edx, [ebp - 4]
push edx
push 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x10130d43
push 0
lea edx, [ebp - 4]
push edx
push 2
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x10130d43
push 0
lea edx, [ebp - 4]
push edx
push 2
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x10130d43
push 0
lea edx, [ebp - 4]
push edx
push 4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x10130d43
push 0
lea edx, [ebp - 4]
push edx
push 4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x10130d43
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 4]
push eax
push 4
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x101f1ab7
mov ecx, dword [ebp - 0xc]
call fcn.10045050
cmp dword [ebp - 8], 0
jle 0x10130ce8
push 0x20
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.100a98c0
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
mov ecx, dword [ebp - 0xc]
call fcn.1007f090
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x10130d43
push 0
lea ecx, [ebp - 4]
push ecx
push 4
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x10130d43
push 0
lea ecx, [ebp - 4]
push ecx
push 8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x10130d43
mov ecx, 1
test ecx, ecx
je 0x10130d3f
push 0x110
push 0x10217ba0
push 0x101f1aae
push 0x10217af8
call fcn.100a4d50
add esp, 0x10
xor eax, eax
jmp 0x10130d48
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10132e00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x58]
mov dword [0x10266f2c], ecx
cmp dword [ebp + 8], 0
je 0x10132e25
cmp dword [ebp + 8], 0
je 0x10132e25
cmp dword [ebp + 0xc], 1
je 0x10132e31
xor al, al
jmp 0x10132fb0
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x6c]
jne 0x10132ee4
mov ecx, dword [0x10266cc8]
cmp dword [ecx + 0x478], 0
jne 0x10132e62
mov edx, dword [0x10266cc8]
mov ecx, dword [edx + 0x474]
call fcn.1013daf0
jmp 0x10132edf
mov eax, dword [0x10266cc8]
mov ecx, dword [eax + 0x478]
mov edx, dword [ecx + 0xf8]
push edx
mov ecx, dword [0x10266cc8]
call fcn.100e1d10
movzx eax, al
test eax, eax
je 0x10132e99
mov ecx, dword [0x10266cc8]
mov ecx, dword [ecx + 0x478]
call fcn.1007a410
jmp 0x10132edf
mov edx, dword [0x10266cc8]
mov eax, dword [edx + 0x478]
mov ecx, dword [eax + 0x104]
push ecx
mov ecx, dword [0x10266cc8]
call fcn.100e1d10
movzx edx, al
test edx, edx
je 0x10132ece
mov eax, dword [0x10266cc8]
mov ecx, dword [eax + 0x478]
call fcn.1007ae60
mov ecx, dword [0x10266cc8]
mov ecx, dword [ecx + 0x478]
call fcn.1007a3c0
jmp 0x10132fae
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x74]
jne 0x10132f13
push 1
push 0
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x3c
call fcn.10044e70
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x10132fae
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx + 0x60]
jne 0x10132f47
mov ecx, dword [ebp - 4]
call fcn.10133210
mov eax, dword [0x10266cc8]
cmp dword [eax + 0x514], 0
je 0x10132f45
mov ecx, dword [0x10266cc8]
mov ecx, dword [ecx + 0x514]
call fcn.1008b4b0
jmp 0x10132fae
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x64]
jne 0x10132f7c
mov ecx, dword [ebp - 4]
call fcn.10133190
mov ecx, dword [0x10266cc8]
cmp dword [ecx + 0x510], 0
je 0x10132f7a
mov edx, dword [0x10266cc8]
mov ecx, dword [edx + 0x510]
call fcn.100592e0
jmp 0x10132fae
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x68]
jne 0x10132fae
mov ecx, dword [ebp - 4]
call fcn.101331d0
mov edx, dword [0x10266cc8]
cmp dword [edx + 0x518], 0
je 0x10132fae
mov eax, dword [0x10266cc8]
mov ecx, dword [eax + 0x518]
call fcn.10055f40
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x101376a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bad0d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10247db0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x38]
call fcn.10044c50
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x50
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
call fcn.10052180
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x38]
call fcn.10052180
mov dword [ebp - 0x1c], 0x518
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x38]
call fcn.10052180
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.10052180
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp - 0x38]
push edx
call fcn.100522e0
push 0xf3690c
mov ecx, dword [0x10266cc8]
call fcn.100e1350
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], 0
mov ecx, dword [ebp - 0x10]
call fcn.101377e0
mov ecx, dword [ebp - 0x10]
call fcn.101381b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10052290
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10138f50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b3a4d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10247db0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x30]
call fcn.10044c50
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x214
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.10052180
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.10052180
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp - 0x30]
push edx
call fcn.100522e0
push 0xf3690c
mov ecx, dword [0x10266cc8]
call fcn.100e1350
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
jne 0x10138ff2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10052290
jmp 0x10139049
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xd], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0xc], 0
mov ecx, dword [ebp - 0x10]
call fcn.10139060
mov ecx, dword [ebp - 0x10]
call fcn.101391f0
push 0
push 0
push 0
push 0x10138ee0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10138e70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10052290
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x101434d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b3a4d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10247db0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x30]
call fcn.10044c50
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x378
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.10052180
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.10052180
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp - 0x30]
push edx
call fcn.100522e0
push 0xf3690c
mov ecx, dword [0x10266cc8]
call fcn.100e1350
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x18], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x1a], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x19], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x4c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x26], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x25], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x24], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x23], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x22], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x21], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x20], 0
push 0x70
push 0
mov edx, dword [ebp - 0x10]
add edx, 0x54
push edx
call fcn.1015cb20
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xc4], 0
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov word [edx + 0xc6], cx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc8], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0xcc], 0
mov ecx, dword [ebp - 0x10]
call fcn.101436c0
mov ecx, dword [ebp - 0x10]
call fcn.101440f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10052290
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x101444b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10247db0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov edx, dword [ebp - 0x24]
sub eax, dword [edx + 0x30]
sbb ecx, dword [edx + 0x34]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
jg 0x101444ed
jl 0x101444e8
cmp dword [ebp - 0x38], 0x14
ja 0x101444ed
jmp 0x101445fe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov eax, dword [ebp - 0x24]
add eax, 0x14
push eax
call fcn.10045370
mov ecx, dword [0x10266cc8]
add ecx, 0xb0
call fcn.100e81b0
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
jne 0x10144548
mov edx, dword [ebp - 0x24]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x42], 0
jmp 0x101445fe
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 4], 0
jne 0x10144556
jmp 0x101445fe
mov edx, dword [ebp - 0x24]
movzx eax, byte [edx + 0x42]
test eax, eax
jne 0x10144566
jmp 0x101445fe
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [0x10266cc8]
call fcn.100e1630
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, 0x102e19e0
call fcn.1004eac0
lea ecx, [ebp - 0x20]
call fcn.100450b0
mov ecx, 0x102e19e0
call fcn.10044e50
test eax, eax
ja 0x101445b6
mov edx, dword [ebp - 0x24]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x42], 0
jmp 0x101445fe
mov ecx, dword [ebp - 0x28]
movzx edx, byte [ecx + 0x20]
cmp edx, 0x14
jne 0x101445db
push 0xffdf3434
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [0x10266cc8]
call fcn.100e41a0
jmp 0x101445fe
mov edx, dword [ebp - 0x28]
movzx eax, byte [edx + 0x20]
cmp eax, 0x15
jne 0x101445fe
push 0xffff0000
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [0x10266cc8]
call fcn.100e41a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10159b70
mov esp, ebp
pop ebp
ret
Function at 0x10160110
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.1015fd30
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10160142
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x101be3f0]
call dword [ebp - 8]
jmp 0x1016014c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret

Function at 0x10198210
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10198237
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.101777e0
add esp, 4
or eax, 0xffffffff
jmp 0x10198239
xor eax, eax
pop ebp
ret

Function at 0x10198e5e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101aec20

Function at 0x101a3ab8
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101a34ae