joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4129c0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x38]
push ebx
push esi
push edi
mov esi, eax
mov dword [ebp - 0xc], 0
mov eax, 1
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x1c]
call fcn.0040de00
call fcn.0040fa10
push eax
test eax, eax
jne 0x412b3b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
mov eax, esi
test esi, esi
jne 0x412a04
mov eax, 0x60b2e0
push eax
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
lea edx, [ebx - 1]
lea eax, [ebp - 0xc]
call fcn.0040bba0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x412a27
mov eax, 0x60b2e0
push eax
push ebx
mov eax, esi
test esi, esi
jne 0x412a34
mov eax, 0x60b2e0
push eax
call sub.kernel32.dll_GetFullPathNameW
mov edx, eax
test edx, edx
je 0x412af3
jmp 0x412a4b
sub edx, 1
cmp edx, 3
jbe 0x412a5c
mov eax, dword [ebp - 0xc]
cmp word [eax + edx*2 - 2], 0x5c
je 0x412a48
mov eax, ebx
mov edi, 0
sub eax, 1
sbb edi, 0
mov ecx, edx
mov ebx, 0
cmp edi, ebx
jne 0x412a78
cmp eax, ecx
je 0x412a80
lea eax, [ebp - 0xc]
call fcn.0040bba0
mov eax, sub.kernel32.dll_SetCurrentDirectoryW
mov edx, dword [ebp - 0xc]
call fcn.00412900
mov edx, dword [0x60c020]
test edx, edx
je 0x412aa0
mov eax, dword [0x60b150]
call edx
jmp 0x412aa5
mov eax, 0x60b154
cmp word [eax], 0
jne 0x412aff
mov eax, esi
test esi, esi
je 0x412ab5
mov eax, dword [eax - 4]
cmp eax, 2
jle 0x412aff
cmp word [esi + 2], 0x3a
jne 0x412aff
mov word [ebp - 8], 0x3d
mov ax, word [esi]
mov word [ebp - 6], ax
mov word [ebp - 4], 0x3a
mov word [ebp - 2], 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x412ae7
mov eax, 0x60b2e0
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_SetEnvironmentVariableW
jmp 0x412aff
mov eax, sub.kernel32.dll_SetCurrentDirectoryW
mov edx, esi
call fcn.00412900
mov edx, dword [0x60c020]
test edx, edx
je 0x412b12
mov eax, dword [0x60b150]
call edx
jmp 0x412b17
mov eax, 0x60b154
cmp word [eax], 2
jne 0x412b3b
mov edx, dword [0x60c020]
test edx, edx
je 0x412b31
mov eax, dword [0x60b150]
call edx
jmp 0x412b36
mov eax, 0x60b154
mov word [eax], 3
call fcn.0040e080
lea eax, [ebp - 0xc]
call fcn.0040b3a0
pop eax
test eax, eax
je 0x412b52
call fcn.0040e1b0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412b60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x44]
push ebx
push esi
push edi
mov bl, al
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov eax, 1
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x18]
call fcn.0040de00
call fcn.0040fa10
push eax
test eax, eax
jne 0x412ce7
test bl, bl
je 0x412c9b
movzx eax, bl
sub eax, 0xffffffc0
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov word [ebp - 4], 0
mov word [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov edi, eax
lea edx, [edi - 1]
mov eax, dword [ebp - 0x44]
call fcn.0040bba0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
test edx, edx
jne 0x412bf6
mov edx, 0x60b2e0
push edx
push edi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
test esi, esi
jne 0x412c52
call sub.kernel32.dll_GetLastError
call fcn.00402e80
lea eax, [ebp - 0x3c]
call fcn.0040a670
movzx eax, bl
sub eax, 0xffffffc0
lea edx, [ebp - 0x40]
call fcn.0040ac20
mov edx, dword [ebp - 0x40]
mov ecx, 0x5a52e4
lea eax, [ebp - 0x3c]
call fcn.0040a970
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0040b5c0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
call fcn.0040b650
jmp 0x412ce7
mov ecx, edi
mov ebx, 0
sub ecx, 1
sbb ebx, 0
mov eax, esi
mov edx, 0
cmp ebx, edx
jne 0x412c6e
cmp ecx, eax
je 0x412c78
mov eax, dword [ebp - 0x44]
mov edx, esi
call fcn.0040bba0
cmp byte [0x5887c0], 0
jne 0x412ce7
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
lea edx, [ebp - 0x38]
call fcn.0040beb0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
call fcn.0040b650
jmp 0x412ce7
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov edi, eax
lea edx, [edi - 1]
mov eax, dword [ebp - 0x44]
call fcn.0040bba0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
test eax, eax
jne 0x412cbf
mov eax, 0x60b2e0
push eax
push edi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x5887c0], 0
jne 0x412ce7
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
lea edx, [ebp - 0x38]
call fcn.0040beb0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
call fcn.0040b650
call fcn.0040e080
lea eax, [ebp - 0x40]
call fcn.0040a670
lea eax, [ebp - 0x3c]
call fcn.0040a670
lea eax, [ebp - 0x38]
call fcn.0040b3a0
pop eax
test eax, eax
je 0x412d0e
call fcn.0040e1b0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413080
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x114], 0
mov dword [0x60b250], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov eax, ebp
mov edx, 0
call fcn.00413260
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x60b250]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.00403770
call sub.kernel32.dll_GetCommandLineA
mov dword [0x5885b0], eax
mov esi, dword [0x5885b0]
jmp 0x413220
add esi, 1
movzx eax, byte [esi]
sub eax, 1
cmp eax, 0x20
jb 0x413110
cmp byte [esi], 0
je 0x413229
mov byte [ebp - 0x10c], 0
mov edi, esi
mov dword [ebp - 0x110], 0
jmp 0x413185
mov al, byte [esi]
cmp al, 1
jb 0x41317b
sub al, 0x20
jbe 0x41314c
sub al, 2
je 0x41315f
jmp 0x41317b
mov al, byte [ebp - 0x10c]
test al, al
je 0x41318a
add dword [ebp - 0x110], 1
jmp 0x413182
cmp byte [esi + 1], 0x22
je 0x413176
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x413182
add esi, 1
jmp 0x413182
add dword [ebp - 0x110], 1
add esi, 1
cmp byte [esi], 0
jne 0x41313c
test dword [ebp - 0x114], 0xffffffff
je 0x413219
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x114]
mov eax, ebp
call fcn.00413260
mov byte [ebp - 0x10c], 0
mov esi, edi
mov eax, dword [0x60b250]
mov edx, dword [ebp - 0x114]
mov ebx, dword [eax + edx*4]
jmp 0x413211
mov al, byte [esi]
cmp al, 1
jb 0x413207
sub al, 0x20
jbe 0x4131d8
sub al, 2
je 0x4131eb
jmp 0x413207
mov al, byte [ebp - 0x10c]
test al, al
je 0x413216
mov al, byte [esi]
mov byte [ebx], al
add ebx, 1
jmp 0x41320e
cmp byte [esi + 1], 0x22
je 0x413202
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x41320e
add esi, 1
jmp 0x41320e
mov al, byte [esi]
mov byte [ebx], al
add ebx, 1
add esi, 1
cmp byte [esi], 0
jne 0x4131c8
mov byte [ebx], 0
add dword [ebp - 0x114], 1
cmp byte [esi], 0
jne 0x413113
mov ebx, dword [ebp - 0x114]
mov dword [0x60b240], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x60b250
call fcn.004109f0
mov eax, dword [0x60b250]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x426990
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], cl
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.kernel32.dll_GetLocaleInfoW
mov dword [ebp - 0x1c], eax
cmp eax, 2
jle 0x426a2c
mov eax, dword [ebp - 0x1c]
sub eax, 2
mov dword [ebp - 0x20], 0
cmp eax, dword [ebp - 0x20]
jl 0x426a48
sub dword [ebp - 0x20], 1
nop
add dword [ebp - 0x20], 1
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
mov word [ebp - 0x24], dx
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
cmp dx, 0x20
jb 0x426a48
sub dx, 0x20
je 0x426a25
sub dx, 0x80
je 0x426a25
sub dx, 0x1f62
jb 0x426a48
sub dx, 1
jbe 0x426a25
sub dx, 6
je 0x426a25
sub dx, 0x26
jne 0x426a48
jmp 0x426a25
cmp eax, dword [ebp - 0x20]
jg 0x4269d8
jmp 0x426a48
cmp dword [ebp - 0x1c], 2
jne 0x426a3c
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x426a48
mov al, byte [ebp - 0xc]
call fcn.0040b810
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x426a96
sub ax, 0x21
je 0x426aa4
sub ax, 0x17
je 0x426aaa
sub ax, 0x222
je 0x426ab0
sub ax, 0x392
je 0x426ab6
sub ax, 1
je 0x426abc
sub ax, 0x1996
je 0x426ac2
sub ax, 1
je 0x426ac8
sub ax, 6
je 0x426ace
sub ax, 0xb
je 0x426ada
sub ax, 0x1b
je 0x426ad4
sub ax, 0x367
je 0x426ae0
jmp 0x426ae6
mov ax, word [ebp - 0x24]
call fcn.0040b880
mov byte [ebp - 0x10], al
jmp 0x426aec
mov byte [ebp - 0x10], 0x20
jmp 0x426aec
mov byte [ebp - 0x10], 0x2e
jmp 0x426aec
mov byte [ebp - 0x10], 0x27
jmp 0x426aec
mov byte [ebp - 0x10], 0x2c
jmp 0x426aec
mov byte [ebp - 0x10], 0x27
jmp 0x426aec
mov byte [ebp - 0x10], 0x20
jmp 0x426aec
mov byte [ebp - 0x10], 0x20
jmp 0x426aec
mov byte [ebp - 0x10], 0x20
jmp 0x426aec
mov byte [ebp - 0x10], 0x20
jmp 0x426aec
mov byte [ebp - 0x10], 0x2d
jmp 0x426aec
mov byte [ebp - 0x10], 0x27
jmp 0x426aec
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x10], al
mov al, byte [ebp - 0x10]
leave
ret

Function at 0x4377f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push dword [ebx + 4]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x43780a
mov dword [ebx + 0xc], 0
pop ebx
leave
ret

Function at 0x44c0b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x44c0bc
mov eax, 0x60b2e0
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x44c0cf
and eax, 0x10
sete al
jmp 0x44c0d1
mov al, 0
leave
ret

Function at 0x44c0e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x44c0ec
mov eax, 0x60b2e0
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x44c0ff
and eax, 0x10
seta al
jmp 0x44c101
mov al, 0
leave
ret

Function at 0x44c400
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edx
test eax, eax
jne 0x44c40e
mov eax, 0x60b2e0
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
je 0x44c41f
mov ebx, 0
jmp 0x44c426
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop ebx
leave
ret
Function at 0x44ca70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x38]
push ebx
push esi
mov dword [ebp - 0x38], 0
mov eax, 1
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x18]
call fcn.0040de00
call fcn.0040fa10
push eax
test eax, eax
jne 0x44cb34
mov ebx, 1
sub ebx, 1
mov esi, esi
add ebx, 1
lea eax, [ebx*4 + 0x60ca9c]
mov edx, 0
call fcn.00408f10
mov dword [ebx*4 + 0x60cabc], 0xffffffff
cmp ebx, 7
jl 0x44caa8
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x44cb34
push 1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
mov cx, 0
mov edx, 0xa
call fcn.004098d0
mov eax, dword [ebp - 0x38]
mov edx, 1
call fcn.004441d0
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x44cb34
push 4
push ebx
push esi
mov eax, 0x44c930
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x44c9d0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
call fcn.0040e080
lea eax, [ebp - 0x38]
call fcn.00403df0
pop eax
test eax, eax
je 0x44cb4b
call fcn.0040e1b0
pop esi
pop ebx
leave
ret
Function at 0x44d1f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x48]
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, 1
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0040de00
call fcn.0040fa10
push eax
test eax, eax
jne 0x44d33c
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.004437d0
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 4]
call fcn.00408f10
lea eax, [ebp - 4]
mov cl, 1
mov dx, 1
call fcn.0040a510
mov eax, dword [ebp - 0x48]
mov edx, 0
call fcn.00408f10
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x44]
jmp 0x44d32b
lea ecx, [ebp - 0x34]
mov eax, ebx
mov dx, 0
call fcn.00409830
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 8]
call fcn.00408f10
mov eax, dword [ebp - 8]
test eax, eax
je 0x44d2a3
mov eax, dword [eax - 4]
mov dword [ebp - 0x40], eax
lea esi, [ebp - 8]
mov al, 0
mov dx, 1
mov cl, al
mov eax, esi
call fcn.0040a510
mov edx, dword [ebp - 8]
mov al, 0x3d
call fcn.00409e30
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [edi - 1]
mov ecx, eax
mov eax, dword [ebp - 8]
mov edx, 1
call fcn.00409d00
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004437d0
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 4]
call fcn.004099d0
test eax, eax
jne 0x44d320
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x44d302
mov eax, dword [eax - 4]
sub eax, edi
mov ecx, eax
lea eax, [edi + 1]
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00409d00
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
call fcn.00408f10
jmp 0x44d334
mov edx, dword [ebp - 0x40]
lea eax, [ebx + edx]
add eax, 1
mov ebx, eax
cmp byte [ebx], 0
jne 0x44d280
push dword [ebp - 0x44]
call sub.kernel32.dll_FreeEnvironmentStringsA
call fcn.0040e080
lea eax, [ebp - 0x3c]
call fcn.00403df0
lea eax, [ebp - 0x38]
call fcn.00403df0
lea eax, [ebp - 0x34]
call fcn.00403df0
lea eax, [ebp - 4]
call fcn.00403df0
lea eax, [ebp - 8]
call fcn.00403df0
pop eax
test eax, eax
je 0x44d373
call fcn.0040e1b0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44d380
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x3c]
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, 1
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0040de00
call fcn.0040fa10
push eax
test eax, eax
jne 0x44d484
mov eax, dword [ebp - 0x3c]
mov edx, 0
call fcn.0040b650
call sub.kernel32.dll_GetEnvironmentStringsW
mov edi, eax
mov esi, edi
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0044a600
jmp 0x44d473
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040b600
mov edx, dword [ebp - 4]
mov al, 0x3d
call fcn.0040be60
mov ebx, eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebx - 1]
mov ecx, eax
mov eax, dword [ebp - 4]
mov edx, 1
call fcn.0040bdb0
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0044a600
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 8]
call fcn.0040bb60
test eax, eax
jne 0x44d462
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x44d444
mov eax, dword [eax - 4]
sub eax, ebx
mov ecx, eax
lea eax, [ebx + 1]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0040bdb0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
call fcn.0040b650
jmp 0x44d47e
mov eax, esi
call fcn.00404300
shl eax, 1
lea eax, [esi + eax]
add eax, 2
mov esi, eax
cmp word [esi], 0
jne 0x44d3f0
push edi
call sub.kernel32.dll_FreeEnvironmentStringsW
call fcn.0040e080
lea eax, [ebp - 0x38]
call fcn.0040b3a0
lea eax, [ebp - 0x34]
call fcn.0040b3a0
lea eax, [ebp - 4]
call fcn.0040b3a0
lea eax, [ebp - 8]
call fcn.0040b3a0
pop eax
test eax, eax
je 0x44d4b3
call fcn.0040e1b0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x469250
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x4c]
mov byte [ebp - 4], al
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, 1
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x24]
call fcn.0040de00
call fcn.0040fa10
push eax
test eax, eax
jne 0x4693a5
cmp byte [ebp - 4], 0
je 0x46934f
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.0040ad30
mov eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call sub.kernel32.dll_GetCurrentDirectoryW
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.0040ad30
lea eax, [ebp - 0x44]
call fcn.0040b3a0
movzx eax, byte [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x48]
call fcn.0040b900
mov edx, dword [ebp - 0x48]
mov ecx, 0x5b83d0
lea eax, [ebp - 0x44]
call fcn.0040b690
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x10]
call fcn.0040b590
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
test eax, eax
jne 0x46934f
push 0
movzx eax, byte [ebp - 4]
add eax, 0x40
lea ecx, [ebp - 0x4c]
mov dx, 0
call fcn.004097d0
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
mov ecx, 0x5b83e0
call fcn.00409010
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
jmp 0x4693a5
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.0040ad30
mov eax, dword [ebp - 0xc]
push eax
push dword [ebp - 0x18]
call sub.kernel32.dll_GetCurrentDirectoryW
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.0040ad30
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
call fcn.0040b1f0
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
call fcn.00408f10
cmp byte [ebp - 4], 0
je 0x4693a5
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
call fcn.0040e080
lea eax, [ebp - 0x4c]
call fcn.00403df0
lea eax, [ebp - 0x48]
call fcn.0040b3a0
lea eax, [ebp - 0x44]
call fcn.0040b3a0
lea eax, [ebp - 0xc]
call fcn.0040a670
lea eax, [ebp - 0x10]
call fcn.0040a670
lea eax, [ebp - 0x14]
call fcn.0040a670
pop eax
test eax, eax
je 0x4693e4
call fcn.0040e1b0
leave
ret

Function at 0x469520
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x34]
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0
mov eax, 1
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0040de00
call fcn.0040fa10
push eax
test eax, eax
jne 0x46956b
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0040caa0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x469562
mov eax, 0x60b2e0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 8], eax
call fcn.0040e080
lea eax, [ebp - 0x34]
call fcn.0040b3a0
pop eax
test eax, eax
je 0x469582
call fcn.0040e1b0
mov eax, dword [ebp - 8]
leave
ret
Function at 0x4880b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 4]
mov edi, edx
mov dword [esp], eax
lea eax, [ecx - 1]
mov esi, eax
mov ecx, 0
cmp esi, ecx
jl 0x4880f8
sub ecx, 1
lea esi, [esi]
add ecx, 1
mov al, byte [esp]
mov dl, byte [edi]
xor dl, al
movzx eax, dl
mov ebx, eax
mov eax, dword [esp]
shr eax, 8
mov edx, dword [ebx*4 + 0x60d100]
xor edx, eax
mov dword [esp], edx
add edi, 1
cmp esi, ecx
jg 0x4880d0
mov eax, dword [esp]
lea esp, [esp + 4]
pop edi
pop esi
pop ebx
ret
Function at 0x4a6460
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x50]
mov dword [ebp - 4], eax
call fcn.00408ee0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x50], 0
mov eax, 1
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x24]
call fcn.0040de00
call fcn.0040fa10
push eax
test eax, eax
jne 0x4a655b
mov byte [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x4a655b
mov eax, dword [ebp - 4]
call fcn.004a6090
mov byte [ebp - 0x18], al
test al, al
je 0x4a64d6
mov eax, dword [ebp - 4]
call fcn.004a6100
test al, al
je 0x4a64d6
mov eax, dword [ebp - 4]
mov dl, 1
call fcn.004a61e0
mov byte [ebp - 8], al
jmp 0x4a655b
cmp byte [ebp - 0x18], 0
je 0x4a64f0
mov edx, dword [ebp - 4]
mov al, 0x20
call fcn.00409e30
test eax, eax
jle 0x4a64f0
mov byte [ebp - 0x14], 1
jmp 0x4a64f4
mov byte [ebp - 0x14], 0
cmp byte [ebp - 0x14], 0
je 0x4a6522
push 0
mov eax, 0x5c459c
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], eax
mov eax, 0x5c459c
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0x4c]
lea eax, [ebp - 4]
mov ecx, 2
call fcn.00409280
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0040caa0
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0xc]
call fcn.0040b590
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4a654a
mov eax, 0x60b2e0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta byte [ebp - 8]
call fcn.0040e080
lea eax, [ebp - 0x50]
call fcn.0040b3a0
lea eax, [ebp - 0xc]
call fcn.0040a670
lea eax, [ebp - 4]
call fcn.00403df0
pop eax
test eax, eax
je 0x4a6582
call fcn.0040e1b0
mov al, byte [ebp - 8]
leave
ret

Function at 0x4a6a70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov ecx, eax
mov eax, 0
lea ebx, [ecx + 1]
movzx edx, byte [ecx]
add edx, 1
and edx, 0xff
lea edx, [ecx + edx]
jmp 0x4a6aa1
mov ecx, eax
shl ecx, 5
sub ecx, eax
movzx esi, byte [ebx]
xor esi, ecx
mov eax, esi
add ebx, 1
cmp ebx, edx
jb 0x4a6a90
pop esi
pop ebx
ret
Function at 0x4b2430
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x4b2460
mov eax, esi
call fcn.004b6890
cmp byte [esi + 0x40], 0
je 0x4b2459
mov dword [esi + 0x14], 0xcf
mov bl, 1
jmp 0x4b24f8
mov dword [esi + 0x14], 0xcb
cmp dword [esi + 0x14], 0xcb
jne 0x4b24da
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x4b24d2
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4b2489
mov eax, esi
mov edx, dword [esi + 8]
call dword [edx]
mov eax, esi
mov edx, dword [esi + 0x184]
call dword [edx]
mov edi, eax
test edi, edi
jne 0x4b249d
mov bl, 0
jmp 0x4b24f8
cmp edi, 2
je 0x4b24d2
cmp dword [esi + 8], 0
je 0x4b247c
cmp edi, 3
je 0x4b24b2
cmp edi, 1
jne 0x4b247c
mov eax, dword [esi + 8]
add dword [eax + 4], 1
mov edx, dword [esi + 8]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
jl 0x4b247c
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
jmp 0x4b247c
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x4b24ef
cmp dword [esi + 0x14], 0xcc
je 0x4b24ef
mov ecx, dword [esi + 0x14]
mov eax, esi
mov dl, 0x14
call fcn.004b27e0
mov eax, esi
call fcn.004b2500
mov bl, al
mov al, bl
pop edi
pop esi
pop ebx
ret