joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cad10
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2820
call fcn.004f7c80
mov eax, dword [esp + 0x2824]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x20]
push str..PhysicalDrive_d
push ecx
call fcn.004f9074
add esp, 0xc
lea edx, [esp + 0x1c]
push 0
push 0
push 3
push 0
push 3
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4caebd
xor eax, eax
mov ecx, 0x9c4
mov dword [esp + 0x10], eax
lea edi, [esp + 0x11c]
mov dword [esp + 0x14], eax
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x124]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x2710
push edx
lea eax, [esp + 0x20]
push 0xc
push eax
push 0x2d1400
push esi
mov dword [esp + 0x2c], 0
call ebx
test eax, eax
je 0x4caebd
mov ecx, dword [esp + 0x283c]
mov edx, dword [esp + 0x128]
push ecx
push 0
lea eax, [esp + 0x124]
push edx
push eax
call fcn.004caed0
mov ecx, dword [esp + 0x2848]
mov edx, dword [esp + 0x13c]
push ecx
push 0
lea eax, [esp + 0x134]
push edx
push eax
call fcn.004caed0
mov ecx, dword [esp + 0x2860]
mov edx, dword [esp + 0x150]
push ecx
push 0
lea eax, [esp + 0x144]
push edx
push eax
call fcn.004caed0
mov ecx, dword [esp + 0x2864]
mov edx, dword [esp + 0x164]
push ecx
push 1
lea eax, [esp + 0x154]
push edx
push eax
call fcn.004caed0
mov ecx, dword [esp + 0x2884]
add esp, 0x40
xor eax, eax
lea edi, [esp + 0x11c]
mov dword [ecx], 1
mov ecx, 0x9c4
lea edx, [esp + 0xc]
push eax
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x124]
push 0x2710
push eax
push 0
push 0
push 0x700a0
push esi
call ebx
test eax, eax
je 0x4caebd
mov edi, dword [esp + 0x124]
mov edx, dword [esp + 0x2848]
mov eax, dword [esp + 0x284c]
xor ecx, ecx
cmp edi, 0xc
push esi
setne cl
inc ecx
mov dword [edx], ecx
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov dword [eax], ecx
mov dword [eax + 4], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2820
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x2820
ret
Function at 0x4d3400
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x5b790c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4d3413
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4d3454
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x5b79b4]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4d3486
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4d348a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4d347b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4d34a8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4d34ac
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4d349d
xor ecx, ecx
mov eax, 0x5b791c
xor ebx, ebx
mov bl, byte [ecx + 0x5b79c4]
cmp byte [esp + ebx + 0x14], 0
je 0x4d34d7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x5b79dc]
cmp byte [esp + ebx + 0x14], 0
je 0x4d34ee
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4d34be
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4d3447
lea edx, [esp + 0x84]
push edx
call fcn.004d3530
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4dd1b0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4dd1f9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4dd670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52ab30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004dd220
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004dd2a0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004dd2a0
lea ecx, [esi + 0xc]
call fcn.0051b750
lea ecx, [esi + 0x10]
call fcn.0051b750
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004de830
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004de830
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004de830
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0051b7c5
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0051b7c5
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4dea20
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4dea86
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4dea86
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4dea67
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4e1c60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x62c1d8]
xor edx, edx
cmp eax, edx
jne 0x4e1c86
xor eax, eax
mov byte [eax + 0x62c0d8], al
inc eax
cmp eax, 0x100
jl 0x4e1c6e
mov dword [0x62c1d8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x62c0d8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4e1d17
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4e1cea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4e1cb8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4e1d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4e1d73
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4e1d5a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e86f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52af2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004e9010
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x5913e4
call fcn.0051b506
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4e8783
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0051b506
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4e877c
push 0
mov ecx, eax
call fcn.004df890
mov dword [esi + 0xc], eax
jmp 0x4e8785
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4e8785
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x509a24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x509b45
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x509b29
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x509a7b
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x509a59
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x50a58d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x50a5e4
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x50a5e4
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x50a5e4
xor eax, eax
inc eax
jmp 0x50a5e6
xor eax, eax
leave
ret 0x10

Function at 0x50a60f
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x50a67d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x5980c4
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x50a674
cmp dword [ebp - 0xc], 4
jne 0x50a674
cmp dword [ebp - 0x10], edi
je 0x50a674
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x5cb688], edi
xor eax, eax
jmp 0x50a6bc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x5cb688], edi
jge 0x50a6b7
lea eax, [ebp - 0x34]
push eax
mov dword [0x5cb688], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x50a6b7
cmp word [ebp - 0x14], 5
jb 0x50a6b7
call fcn.0050a5ea
test eax, eax
je 0x50a6b7
emms
mov dword [0x5cb688], 1
mov eax, dword [0x5cb688]
pop edi
leave
ret

Function at 0x51db93
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x51dbcb
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.0051bc20
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0051bbf8
jmp 0x51dbd7
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x51f284
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 0x51f2c6
call fcn.00524e40
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x51f2c6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x51f2bd
xor eax, eax
jmp 0x51f2ce
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0051f2d4
pop edi
pop esi
pop ebx
ret 4
Function at 0x525370
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 0x52539e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5253bc
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005252d6
jmp 0x5253bc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5253bc
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005252d6
test edi, edi
mov eax, edi
jne 0x5253a6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x11e1e2a
Capabilities:
Execute anti-debugging instructions

Disassembly:
push cx
lea esp, [esp + 2]
xchg dword [esp], ecx
call fcn.011e1d82
mov ax, si
mov bl, bh
cmc
jp 0x11e1e70
jnp 0x11e1e70
mov edx, 0x31c2a737
std
stosb byte es:[edi], al
lds esi, [edi - 0x72]
sbb dword [eax - 0x4b], esp
add eax, 0x14245489
call fcn.011e1e14
dec edx
jg 0x11e1e8c
lea edx, [edi - 0x2c]
xchg ecx, eax
mov ax, 0xdb85
setp cl
jmp 0x11e1e92
mov ebx, edi
rdtsc
jmp 0x11e1e5a
mov ax, 0xdb85
setp cl
btr cx, bx
mov cl, 0x5b
jmp 0x11e1e98
lea edx, [edi - 0x2c]
xchg ecx, eax
jmp 0x11e1e76
btr cx, bx
jmp 0x11e1e81
mov ax, 0xf110
dec ecx
ja 0x11e2337
bswap ecx
jmp 0x11e2339
sub edi, 0x7c204741
sete al
rdtsc
call fcn.011e22cb
clc
rdtsc
call 0x11e231e
pop esp
into
pop esp
cmp edx, esi
adc al, 0xce
arpl bx, si
xchg esi, eax
shl byte gs:[esi], cl
push ecx
and edx, 0xaae589d9
jb 0x11e22f7
clc
rdtsc
call fcn.011e2360
sal byte [esi + 0x24648dd2], 1
add al, 0x4f
jmp 0x11e2499
bswap ecx
jmp 0x11e22e7
xchg cx, ax
jmp 0x11e245c
not edi
bsr eax, ebp
jno 0x11e23a2
xchg cx, ax
sub esp, 6
xchg dx, ax
lea esp, [esp]
lea esp, [esp + 2]
jmp 0x11e23fe
bswap ecx
jmp 0x11e23b8
btc dx, ax
add edi, dword [ebp]
xchg ah, ch
jmp 0x11e2407
lea esp, [esp + 2]
lea esp, [esp + 4]
not edi
clc
jmp 0x11e2421
btc cx, cx
jb 0x11e243f
mov dl, dh
jmp 0x11e2441
jge 0x11e23dc
btc dx, ax
jmp 0x11e23e0
mov dl, dh
call fcn.011e2429
sub esp, 6
xchg dx, ax
lea esp, [esp]
jmp 0x11e23fa
mov dx, 0x87f5
xchg cx, ax
rcr al, cl
jne 0x11e23d8
bswap ecx
jmp 0x11e23b8

Function at 0x11e22cb
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 4]
sub edi, 0x7e8127e1
mov ax, si
jmp 0x11e230d
lea ecx, [edx*4]
jmp 0x11e22b5

Function at 0x11e47d8
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp + 0x10]
lea esp, [esp + 2]
mov dword [esp + 0x34], ecx
dec esp
and al, 0x34
call fcn.011e47ae
push word [esp + 2]
jns 0x11e47f3
js 0x11e47f3
cli
jle 0x11e47d0
mov eax, dword [esi - reloc.WINMM.dll_midiStreamOut]
cmpsb byte [esi], byte es:[edi]
push ebp
out 0x56, eax
mov dword [esp], ebx
pushal
pop dword [esp + 4]
jmp 0x11e47c6
Function at 0x12c300b
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.012c210c
lea esp, [esp]
lea esp, [esp]
call 0x12c300b
test ebx, ebp
jle 0x12c3033
jb 0x12c303f
dec ebx
sysexit
stosd dword es:[edi], eax
cmp ebx, dword [esi - 0x53]
or al, 0x5c
or byte [ecx + 3], cl
and dword [edx - 0x27], esp
cmp byte [ebx], bl
cld
pushfd
mov dword [esp], edi
add di, dx
call fcn.012c2f8a
push eax
jmp 0x12c2107
invalid
invalid
Function at 0x40356a
Capabilities:
Delete directory
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc44
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebx
push esi
xor esi, esi
cmp dword [0x4d99f8], 0x594
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
jne 0x4035a4
push 0x402cd4
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov eax, dword [str.iYd_Q]
mov edi, dword [0x42941c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x28], 0x9e3779b9
call fcn.00403563
mov eax, dword [0x429420]
add dword [ebp - 8], 0x23f
mov ebx, dword [0x429424]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, dword [ebp - 0xc]
mov ecx, eax
shl ecx, 4
cmp dword [0x4d99f8], 0xc
mov dword [ebp - 4], ecx
jne 0x403648
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc44]
push eax
push esi
push 0x402cf4
push 0x402d20
push 0x402d44
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push esi
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea eax, [ebp - 0x30]
push eax
push esi
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
add dword [ebp - 4], ecx
mov ecx, dword [0x4d99f8]
cmp ecx, 0xfa9
jne 0x403666
mov dword [0x4d8f94], 0xedeb2e40
cmp ecx, 0x3eb
jne 0x403674
mov dword [0x4d8944], esi
mov ecx, dword [ebp - 8]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x14]
shr eax, cl
mov dword [0x4d8f90], 0xf4ea3dee
add eax, ebx
mov ecx, eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
xor ecx, dword [ebp - 4]
cmp dword [0x4d99f8], 0x213
mov dword [ebp - 0x18], ecx
jne 0x4036b3
push esi
push 0x402d78
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], 0x64
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x10], 0x64
cmp dword [0x4d99f8], 0xc
jne 0x4036e6
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PrepareTape]
push esi
lea eax, [ebp - 0x444]
push eax
push 0x402db8
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov eax, dword [ebp - 0x10]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax]
mov ecx, dword [ebp - 0x14]
shr eax, cl
add eax, edi
xor eax, edx
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
sub dword [ebp - 8], eax
dec dword [ebp - 0x1c]
jne 0x4035e0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x4038fa
Capabilities:
Get common file path

Disassembly:
mov eax, 0x425f84
call fcn.00425e88
mov eax, 0x1428
call fcn.0040f540
push ebx
push esi
xor esi, esi
cmp dword [0x4d99f8], 0x5b1
push edi
jne 0x4039a6
push esi
lea eax, [ebp - 0x434]
push eax
push esi
push 0x402ed8
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
lea eax, [ebp - 0x34]
call fcn.00403c07
mov dword [ebp - 4], esi
call fcn.004047aa
push 0x402f04
lea ecx, [ebp - 0x18]
call fcn.00403390
lea ecx, [ebp - 0x18]
call fcn.004033ac
lea ecx, [ebp - 0x18]
call fcn.004033f2
lea ecx, [ebp - 0x18]
call fcn.0040340b
push esi
push esi
call fcn.00404d0c
push esi
call fcn.00404cdd
push esi
call fcn.00404cc6
push esi
call fcn.00404ebe
add esp, 0x10
mov dword [esp], esi
call fcn.00403544
fstp st(0)
push esi
call fcn.00404cc6
pop ecx
call fcn.00404dd8
add dword [0x4d99f8], 0x1134b
push dword [0x4d99f8]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x4d8948], eax
call fcn.00403845
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, 0x206d47
jg 0x4039ef
inc edi
cmp edi, 0x4f6a4
jl 0x4039cf
mov eax, dword [0x4d99f8]
xor ecx, ecx
cmp eax, esi
jbe 0x403a15
mov edx, dword [0x4d99fc]
mov dl, byte [edx + ecx + 0x1134b]
mov edi, dword [0x4d8948]
mov byte [edi + ecx], dl
inc ecx
cmp ecx, eax
jb 0x4039fa
xor edi, edi
lea ecx, [eax + edi]
cmp ecx, 0xe
jne 0x403a64
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
lea eax, [ebp - 0x434]
push eax
push esi
push 0x402f14
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x402f2c
push 0x402f48
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
lea eax, [ebp - 0xc34]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
mov eax, dword [0x4d99f8]
inc edi
cmp edi, 0x39621
jl 0x403a17
call fcn.00403734
xor edi, edi
call ebx
cmp edi, 0x26
jne 0x403a80
call fcn.0040382b
inc edi
cmp edi, 0x6753f
jl 0x403a74
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x7b
pop ebx
cmp dword [0x4d99f8], 0x86
jne 0x403adb
push 0x402f50
push 0x402f90
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push esi
lea eax, [ebp - 0x834]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push esi
lea eax, [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [0x4d99f8], 0xf
jne 0x403afc
push esi
push esi
call edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
push 0x402fd8
push 0x40301c
call edi
dec ebx
jne 0x403a92
push 0x403054
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4055bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42855c]
jne 0x4055c5
repz ret
jmp fcn.00409dfc