joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404307
Capabilities:
Delete file

Disassembly:
mov eax, 0x422144
call fcn.00421f24
sub esp, 0x4c
push ebx
push esi
push 0x25
call fcn.004047a0
mov ecx, eax
call fcn.004027ce
push 0x27
mov bl, byte [eax]
call fcn.004047a0
mov ecx, eax
call fcn.004027ce
mov bh, byte [eax]
test bl, bl
jne 0x404342
test bh, bh
je 0x404426
lea ecx, [ebp - 0x28]
call fcn.00404693
and dword [ebp - 4], 0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00405ff2
mov byte [ebp - 4], 1
test bh, bh
je 0x40440a
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.0040602a
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004026b2
push eax
lea ecx, [ebp - 0x28]
call fcn.004026b2
push eax
push 0x2b
call fcn.004047a0
mov ecx, eax
call fcn.004027ce
push eax
push 0x2a
call fcn.004047a0
mov ecx, eax
call fcn.004027ce
push eax
push 0x29
call fcn.004047a0
mov ecx, eax
call fcn.004027ce
push eax
call fcn.00410890
pop ecx
push 0x28
mov esi, eax
call fcn.004047a0
mov ecx, eax
call fcn.004027ce
mov edx, esi
mov ecx, eax
call fcn.004047ff
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.004026f5
test esi, esi
je 0x40440a
test bl, bl
jne 0x40440e
mov ecx, 0x42d878
call fcn.004026b2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x40]
call fcn.004026b2
mov ecx, eax
call fcn.00405e92
test bl, bl
je 0x404416
lea ecx, [ebp - 0x28]
call fcn.00404434
lea ecx, [ebp - 0x40]
call fcn.004026f5
lea ecx, [ebp - 0x28]
call fcn.004026f5
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x404693
Capabilities:
Create directory

Disassembly:
mov eax, 0x4221cc
call fcn.00421f24
sub esp, 0x9c
push esi
mov esi, ecx
lea ecx, [ebp - 0x90]
push edi
mov dword [ebp - 0x14], esi
call fcn.00405d31
and dword [ebp - 4], 0
mov ecx, eax
call fcn.004027ce
push eax
lea ecx, [ebp - 0x48]
call fcn.004063e9
pop ecx
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.0040284f
lea ecx, [ebp - 0x60]
call fcn.0040463a
push 0x428b78
lea edx, [ebp - 0x48]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa8]
call fcn.00403176
pop ecx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0040334a
pop ecx
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 6
call fcn.004026f5
push 0
lea ecx, [ebp - 0x48]
call fcn.004026b2
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40473e
push 0x428bec
mov ecx, esi
call fcn.00402781
jmp 0x404778
lea eax, [ebp - 0x78]
push eax
call fcn.004024aa
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x78]
mov ecx, esp
lea edi, [ebp - 0x30]
push eax
call fcn.004027b4
mov ecx, edi
call fcn.00406a9d
add esp, 0x18
mov eax, edi
mov ecx, esi
push eax
call fcn.00402732
lea ecx, [ebp - 0x78]
call fcn.004026f5
lea ecx, [ebp - 0x30]
call fcn.004026f5
lea ecx, [ebp - 0x60]
call fcn.004026f5
lea ecx, [ebp - 0x48]
call fcn.004026f5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x404db1
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x4222d3
call fcn.00421f24
sub esp, 0x34
push ebx
push esi
push edi
xor edi, edi
mov bl, dl
inc edi
mov esi, 0x428ff0
cmp cl, 1
jne 0x404e13
push edi
push 0x42d7b0
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00403234
and dword [ebp - 4], 0
sub esp, 0x14
mov ecx, esp
mov edx, eax
push esi
call fcn.0040314e
pop ecx
push dword [ebp + 8]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun_
mov ecx, 0x80000001
call fcn.00405bb1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
add esp, 0x20
call fcn.004026f5
cmp bl, 1
jne 0x404e56
push edi
push 0x42d7b0
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.00403234
sub esp, 0x14
mov dword [ebp - 4], edi
mov ecx, esp
mov edx, eax
push esi
call fcn.0040314e
pop ecx
push dword [ebp + 8]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun_
mov ecx, 0x80000002
call fcn.00405bb1
add esp, 0x20
lea ecx, [ebp - 0x40]
call fcn.004026f5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x405a9d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405af7
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push 0
push str.override
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x405af7
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x405afb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x405b3a
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x405b3a
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x405b3e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x405b82
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push eax
push str.license
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x405b82
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x405bee
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun_
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405c1e
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x405c1e
mov al, 1
leave
ret
xor al, al
leave
ret
Function at 0x405e92
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
lea eax, [ebp - 0x668]
push esi
push edi
mov edi, ecx
push edi
push eax
call fcn.00410e42
lea eax, [ebp - 0x668]
push 0x429398
push eax
call fcn.00410e64
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.00410e42
lea eax, [ebp - 0x210]
push 0x428b78
push eax
call fcn.00410e64
add esp, 0x20
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405fec
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x668]
push eax
call fcn.00410e42
pop ecx
pop ecx
mov byte [ebp - 1], 1
lea eax, [ebp - 0x460]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x405fd3
lea ecx, [ebp - 0x434]
call fcn.00406063
test eax, eax
jne 0x405fb8
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00410e64
test byte [ebp - 0x460], 0x10
pop ecx
pop ecx
je 0x405f77
lea ecx, [ebp - 0x210]
call fcn.00405e92
test eax, eax
je 0x405fe5
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405fa3
test byte [ebp - 0x460], 1
je 0x405f92
push 0x80
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x405fe5
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00410e42
pop ecx
pop ecx
mov al, byte [ebp - 1]
test al, al
jne 0x405f16
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405fee
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x405fe5
xor al, al
mov byte [ebp - 1], al
jmp 0x405fbb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x4062a8
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
xor ebx, ebx
mov ebp, ecx
push edi
mov edi, edx
sub eax, ebx
je 0x4062d1
sub eax, 1
jne 0x4062c7
push 4
pop eax
mov ecx, eax
jmp 0x4062d9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
jmp 0x4062d9
push 2
mov eax, 0x40000000
pop ecx
push ebx
push 0x80
push ecx
push ebx
push ebx
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4062f8
xor al, al
jmp 0x40632d
cmp dword [esp + 0x1c], 1
jne 0x40630f
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x406324
push ebx
lea eax, [esp + 0x14]
push eax
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x406324
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x40666f
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x406695
xor eax, eax
jmp 0x4066a8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
ret

Function at 0x4066eb
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4224b5
call fcn.00421f24
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x14], edx
mov ebx, ecx
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
je 0x4067db
push 0
inc esi
lea ecx, [ebp - 0x40]
push esi
call fcn.0040275d
xor eax, eax
lea ecx, [ebp - 0x40]
inc eax
push esi
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], al
call fcn.004026b2
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x40]
call fcn.004026b2
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push eax
lea ecx, [ebp - 0x40]
call fcn.004026c3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x429444
call fcn.00402781
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004027b4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00406181
add esp, 0x30
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
xor edi, edi
call fcn.004047dd
test eax, eax
je 0x4067cb
xor esi, esi
push 0
push esi
lea ecx, [ebp - 0x28]
call fcn.00406c80
push eax
lea ecx, [ebp - 0x40]
call fcn.00406e0f
cmp eax, 0xffffffff
jne 0x4067f9
inc edi
lea ecx, [ebp - 0x28]
movzx esi, di
call fcn.004047dd
cmp esi, eax
jb 0x4067a2
lea ecx, [ebp - 0x28]
call fcn.00406d0a
lea ecx, [ebp - 0x40]
call fcn.004026f5
mov byte [ebp - 0x10], 0
lea ecx, [ebp + 8]
call fcn.004026f5
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
test ebx, ebx
je 0x40680e
lea ecx, [ebp - 0x40]
call fcn.004026b2
push eax
push ebx
call fcn.00410e42
pop ecx
pop ecx
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x40682e
push esi
lea ecx, [ebp - 0x28]
call fcn.00406c80
mov ecx, eax
call fcn.004026b2
push eax
push edi
call fcn.00410e42
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.00406d0a
lea ecx, [ebp - 0x40]
call fcn.004026f5
jmp 0x4067df
Function at 0x4068ed
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push edi
xor ebx, ebx
mov ebp, edx
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x406917
xor al, al
jmp 0x406955
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ecx
mov esi, eax
mov ecx, ebp
push esi
call fcn.00406f74
push ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push esi
mov ecx, ebp
call fcn.004027ce
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x40694c
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop ebp
pop ebx
pop ecx
ret

Function at 0x418e8e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004187fc

Function at 0x418e99
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00418a37

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
fcomp qword [ebx]
push 0x2abacb3f
aas
add dword [ecx], esi
push edi
xor dword [ecx + edi*4], 0xaeca7e23
mov ebx, 0xd6544000
aam 0x63
scasb al, byte es:[edi]
ror dword [ecx], 0xf6
pop ebp
xchg ebp, eax
xchg ebp, eax
xchg ebp, eax
mov ebp, 0xd4c5f8b4
xor byte [edi - 0x40], bh
xor eax, 0x77d2ee39
push ecx
push esp
fmul qword ss:[ebx]
cmp byte [esi], 0xcb
add esi, edx
inc esp
mov dword [edi + 0x613479c1], ebp
jge 0x4153c1
mov ss, word [ebp + 0xe]
xor dword [ecx + ebp*8], 0x7e
mov al, 0x75
push ecx
salc
nop
retf
Function at 0x401090
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40330c], eax
mov eax, dword [ebp + 4]
mov dword [0x403159], eax
xor eax, eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x4010bb
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x403159]
mov dword [ebp - 0x48], eax
mov eax, 0x402291
mov dword [ebp - 0x54], eax
mov ecx, 0x403206
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0
push 0
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor ecx, ecx
push ecx
push dword [0x403159]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.bananas
push eax
mov eax, str.secondclass
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x403358], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403358]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x401179
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x40116b
mov esp, ebp
ret

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10022af0
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10022b85
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10022b51
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10022b4f
push 1
push 0x31a3
push 0x1bac
push 1
push 0x49a6
call fcn.100220df
add esp, 0x14
jmp 0x10022b83
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10022b83
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
jmp 0x10022bac
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
push 1
push 0x4b2
push 0x5d58
push 0xd25
push dword [ebp - 0x20]
push 0x6366
call fcn.10022496
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x10032fcb
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10033070
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003304c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1003302d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1003304a
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10018a67
mov dword [eax], 1
jmp 0x10033022
jmp 0x1003306e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1003306e
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x10033091
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
push 0x505b
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 0
call fcn.1002c213
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x1006d5f5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10078748]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1005dce8
mov dword [ebp - 0x14], eax
cmp dword [0x1061c058], esi
jne 0x1006d6e8
push 0x800
push esi
push 0x100075d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1006d675
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006d7c8
push esi
push esi
push 0x100075d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1006d7c8
push 0x100075f0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006d7c8
push eax
call ebx
push 0x100075fc
push edi
mov dword [0x1061c058], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000760c
push edi
mov dword [0x1061c05c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007620
push edi
mov dword [0x1061c060], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1061c068], eax
test eax, eax
je 0x1006d6e5
push 0x1000763c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1061c064], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006d70d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1006d700
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1006d722
push 4
pop eax
jmp 0x1006d7ca
cmp dword [ebp - 0x14], esi
je 0x1006d722
push dword [0x1061c058]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1006d707
mov eax, dword [0x1061c064]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1006d780
cmp dword [0x1061c068], edi
je 0x1006d780
push eax
call ebx
push dword [0x1061c068]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006d780
test eax, eax
je 0x1006d780
call ecx
test eax, eax
je 0x1006d775
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1006d775
test byte [ebp - 8], 1
jne 0x1006d780
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1006d7b0
mov eax, dword [0x1061c05c]
cmp eax, edi
je 0x1006d7ad
push eax
call ebx
test eax, eax
je 0x1006d7ad
call eax
mov esi, eax
test esi, esi
je 0x1006d7ad
mov eax, dword [0x1061c060]
cmp eax, edi
je 0x1006d7ad
push eax
call ebx
test eax, eax
je 0x1006d7ad
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1061c058]
call ebx
test eax, eax
je 0x1006d7c8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006d7ca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005b337
mov esp, ebp
pop ebp
ret
Function at 0x7ff9bc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7ff9c6
pushal
call 0x7ff9cc
pop ebp
sub ebp, 0x10
sub ebp, 0x3ff9bc
jmp 0x7ff9e2
mov eax, 0x3ff9bc
add eax, ebp
add eax, 0x4c
mov ecx, 0x5e2
mov edx, 0x12e3b9be
xor byte [eax], dl
inc eax
dec ecx
jne 0x7ff9f9
jmp 0x7ffa0c
xor eax, 0x82373573
mov esi, 0x7f3fbebe
inc esi
mov esi, 0x73bdbebe
push es
mov eax, 0x4bebebe
xchg esi, eax
mov esi, 0x5c49bebe
mov ebp, 0xb23f3576
mov esi, 0x7bbdbebe
out dx, al
out dx, al
salc
and dl, byte [eax]
mov al, 0xbe
salc
mov eax, dword [0xbfbe8ff5]
xchg edx, eax
lcall 0x562f, 0xf7e390d6
mov ebx, 0x57bebebe
nop
mov esi, 0xeaebbebe
jecxz 0x7ffa89
cmp esi, dword [esi + 0x35bebebe]
sub esi, dword [edx + 0x35bebebe]
xor ebp, dword [esi + 0x7fbebebe]
push edi
mov esp, 0x7c3dbc8f
mov edx, 0x4a3bb1f7
inc ecx
inc ecx
inc ecx
xor eax, 0xda339a92
lcall 0x3235, 0xbeb27cba
lcall 0x22d6, 0xbebebeba
adc byte [eax - 0xa5e2942], dh
invalid
mov esi, 0x8ff5a1d6
mov esi, 0x339a92bf
ficomp dword [edx - 0x654dc8be]
push esi
mov ebx, 0x57bebebe
sti
mov esp, 0x35ebbebe
push edx
inc ecx
retf
Function at 0x417fd0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x218
mov eax, dword [0x425044]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov word [esp + 0x14], 0
call fcn.004054f0
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx edx, word [esp + 8]
sub edx, 0x41
lea ebx, [esp + 4]
call fcn.00414aa0
mov ebx, dword [esp + 4]
call fcn.00414ba0
cmp eax, 0xffffffff
jne 0x41804f
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00401148
add esp, 0x218
ret
push esi
call fcn.00417da0
mov ecx, dword [esp + 0x218]
add esp, 4
pop ebx
xor ecx, esp
call fcn.00401148
add esp, 0x218
ret

Function at 0x12092720
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1209272a
pushal
call 0x12092730
pop ebp
sub ebp, 0x10
sub ebp, 0x2092720
mov al, byte [esp + 0x28]
cmp al, 1
je 0x12092754
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x1209275d
mov eax, 0x2092720
add eax, ebp
add eax, 0x63
mov ecx, 0x5c6
mov edx, 0xaec44b37
xor byte [eax], dl
inc eax
dec ecx
jne 0x12092774
jmp 0x12092787
mov esp, 0xbbebcfa
aaa
aaa
aaa
mov dh, 0xf6
iretd