joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4133e0
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.0040e130
call fcn.0040fdf0
push eax
test eax, eax
jne 0x413567
test bl, bl
je 0x41351b
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.0040bf00
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
test edx, edx
jne 0x413476
mov edx, 0x7722e0
push edx
push edi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
test esi, esi
jne 0x4134d2
call sub.kernel32.dll_GetLastError
call fcn.00402dd0
lea eax, [ebp - 0x3c]
call fcn.0040a890
movzx eax, bl
sub eax, 0xffffffc0
lea edx, [ebp - 0x40]
call fcn.0040ae40
mov edx, dword [ebp - 0x40]
mov ecx, 0x6c12e4
lea eax, [ebp - 0x3c]
call fcn.0040ab90
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0040b7e0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
call fcn.0040b8c0
jmp 0x413567
mov ecx, edi
mov ebx, 0
sub ecx, 1
sbb ebx, 0
mov eax, esi
mov edx, 0
cmp ebx, edx
jne 0x4134ee
cmp ecx, eax
je 0x4134f8
mov eax, dword [ebp - 0x44]
mov edx, esi
call fcn.0040bf00
cmp byte [0x69d8e0], 0
jne 0x413567
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
lea edx, [ebp - 0x38]
call fcn.0040c210
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
call fcn.0040b8c0
jmp 0x413567
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov edi, eax
lea edx, [edi - 1]
mov eax, dword [ebp - 0x44]
call fcn.0040bf00
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
test eax, eax
jne 0x41353f
mov eax, 0x7722e0
push eax
push edi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x69d8e0], 0
jne 0x413567
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
lea edx, [ebp - 0x38]
call fcn.0040c210
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
call fcn.0040b8c0
call fcn.0040e3b0
lea eax, [ebp - 0x40]
call fcn.0040a890
lea eax, [ebp - 0x3c]
call fcn.0040a890
lea eax, [ebp - 0x38]
call fcn.0040b5c0
pop eax
test eax, eax
je 0x41358e
call fcn.0040e4e0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413890
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 [0x772250], 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.00413a70
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x772250]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.004036c0
call sub.kernel32.dll_GetCommandLineA
mov dword [0x69d6d0], eax
mov esi, dword [0x69d6d0]
jmp 0x413a30
add esi, 1
movzx eax, byte [esi]
sub eax, 1
cmp eax, 0x20
jb 0x413920
cmp byte [esi], 0
je 0x413a39
mov byte [ebp - 0x10c], 0
mov edi, esi
mov dword [ebp - 0x110], 0
jmp 0x413995
mov al, byte [esi]
cmp al, 1
jb 0x41398b
sub al, 0x20
jbe 0x41395c
sub al, 2
je 0x41396f
jmp 0x41398b
mov al, byte [ebp - 0x10c]
test al, al
je 0x41399a
add dword [ebp - 0x110], 1
jmp 0x413992
cmp byte [esi + 1], 0x22
je 0x413986
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x413992
add esi, 1
jmp 0x413992
add dword [ebp - 0x110], 1
add esi, 1
cmp byte [esi], 0
jne 0x41394c
test dword [ebp - 0x114], 0xffffffff
je 0x413a29
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x114]
mov eax, ebp
call fcn.00413a70
mov byte [ebp - 0x10c], 0
mov esi, edi
mov eax, dword [0x772250]
mov edx, dword [ebp - 0x114]
mov ebx, dword [eax + edx*4]
jmp 0x413a21
mov al, byte [esi]
cmp al, 1
jb 0x413a17
sub al, 0x20
jbe 0x4139e8
sub al, 2
je 0x4139fb
jmp 0x413a17
mov al, byte [ebp - 0x10c]
test al, al
je 0x413a26
mov al, byte [esi]
mov byte [ebx], al
add ebx, 1
jmp 0x413a1e
cmp byte [esi + 1], 0x22
je 0x413a12
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x413a1e
add esi, 1
jmp 0x413a1e
mov al, byte [esi]
mov byte [ebx], al
add ebx, 1
add esi, 1
cmp byte [esi], 0
jne 0x4139d8
mov byte [ebx], 0
add dword [ebp - 0x114], 1
cmp byte [esi], 0
jne 0x413923
mov ebx, dword [ebp - 0x114]
mov dword [0x772240], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x772250
call fcn.00410dd0
mov eax, dword [0x772250]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4153d0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov dx, 0
sub dx, 1
mov esi, esi
add dx, 1
movsx eax, dx
mov ecx, eax
mov bx, 1
sub bx, 1
nop
add bx, 1
mov eax, ecx
and eax, 1
je 0x415409
mov eax, ecx
shr eax, 1
xor eax, 0xedb88320
mov ecx, eax
jmp 0x41540f
mov eax, ecx
shr eax, 1
mov ecx, eax
cmp bx, 8
jl 0x4153f0
mov ax, dx
and eax, 0xffff
mov dword [eax*4 + 0x775000], ecx
cmp dx, 0xff
jl 0x4153dc
pop ebx
ret
Function at 0x415430
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 4]
mov esi, eax
mov edi, edx
mov ebx, ecx
cmp dword [0x775004], 0
jne 0x41544b
call fcn.004153d0
not esi
mov dword [esp], esi
mov edx, ebx
mov ebx, 1
cmp edx, ebx
jl 0x415486
sub ebx, 1
mov esi, esi
add ebx, 1
mov al, byte [esp]
mov cl, byte [edi]
xor cl, al
movzx eax, cl
mov ecx, dword [esp]
shr ecx, 8
mov eax, dword [eax*4 + 0x775000]
xor ecx, eax
mov dword [esp], ecx
add edi, 1
cmp edx, ebx
jg 0x415460
mov eax, dword [esp]
not eax
lea esp, [esp + 4]
pop edi
pop esi
pop ebx
ret
Function at 0x4291f0
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 0x42928c
mov eax, dword [ebp - 0x1c]
sub eax, 2
mov dword [ebp - 0x20], 0
cmp eax, dword [ebp - 0x20]
jl 0x4292a8
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 0x4292a8
sub dx, 0x20
je 0x429285
sub dx, 0x80
je 0x429285
sub dx, 0x1f62
jb 0x4292a8
sub dx, 1
jbe 0x429285
sub dx, 6
je 0x429285
sub dx, 0x26
jne 0x4292a8
jmp 0x429285
cmp eax, dword [ebp - 0x20]
jg 0x429238
jmp 0x4292a8
cmp dword [ebp - 0x1c], 2
jne 0x42929c
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x4292a8
mov al, byte [ebp - 0xc]
call fcn.0040bbd0
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x4292f6
sub ax, 0x21
je 0x429304
sub ax, 0x17
je 0x42930a
sub ax, 0x222
je 0x429310
sub ax, 0x392
je 0x429316
sub ax, 1
je 0x42931c
sub ax, 0x1996
je 0x429322
sub ax, 1
je 0x429328
sub ax, 6
je 0x42932e
sub ax, 0xb
je 0x42933a
sub ax, 0x1b
je 0x429334
sub ax, 0x367
je 0x429340
jmp 0x429346
mov ax, word [ebp - 0x24]
call fcn.0040bc40
mov byte [ebp - 0x10], al
jmp 0x42934c
mov byte [ebp - 0x10], 0x20
jmp 0x42934c
mov byte [ebp - 0x10], 0x2e
jmp 0x42934c
mov byte [ebp - 0x10], 0x27
jmp 0x42934c
mov byte [ebp - 0x10], 0x2c
jmp 0x42934c
mov byte [ebp - 0x10], 0x27
jmp 0x42934c
mov byte [ebp - 0x10], 0x20
jmp 0x42934c
mov byte [ebp - 0x10], 0x20
jmp 0x42934c
mov byte [ebp - 0x10], 0x20
jmp 0x42934c
mov byte [ebp - 0x10], 0x20
jmp 0x42934c
mov byte [ebp - 0x10], 0x2d
jmp 0x42934c
mov byte [ebp - 0x10], 0x27
jmp 0x42934c
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x10], al
mov al, byte [ebp - 0x10]
leave
ret

Function at 0x43b160
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 0x43b17a
mov dword [ebx + 0xc], 0
pop ebx
leave
ret
Function at 0x450990
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x45099c
mov eax, 0x7722e0
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4509af
and eax, 0x10
sete al
jmp 0x4509b1
mov al, 0
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x4509cc
mov eax, 0x7722e0
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4509df
and eax, 0x10
seta al
jmp 0x4509e1
mov al, 0
leave
ret

Function at 0x450bd0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x450bdc
mov eax, 0x7722e0
push eax
call sub.kernel32.dll_GetFileAttributesW
leave
ret

Function at 0x451200
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.0040e130
call fcn.0040fdf0
push eax
test eax, eax
jne 0x4512c4
mov ebx, 1
sub ebx, 1
mov esi, esi
add ebx, 1
lea eax, [ebx*4 + 0x77590c]
mov edx, 0
call fcn.00408f80
mov dword [ebx*4 + 0x77592c], 0xffffffff
cmp ebx, 7
jl 0x451238
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 0x4512c4
push 1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
mov cx, 0
mov edx, 0xa
call fcn.00409940
mov eax, dword [ebp - 0x38]
mov edx, 1
call fcn.004474a0
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x4512c4
push 4
push ebx
push esi
mov eax, 0x4510c0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x451160
push eax
call sub.kernel32.dll_EnumCalendarInfoA
call fcn.0040e3b0
lea eax, [ebp - 0x38]
call fcn.00403db0
pop eax
test eax, eax
je 0x4512db
call fcn.0040e4e0
pop esi
pop ebx
leave
ret
Function at 0x451980
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.0040e130
call fcn.0040fdf0
push eax
test eax, eax
jne 0x451acc
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.00446940
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 4]
call fcn.00408f80
lea eax, [ebp - 4]
mov cl, 1
mov dx, 1
call fcn.0040a730
mov eax, dword [ebp - 0x48]
mov edx, 0
call fcn.00408f80
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x44]
jmp 0x451abb
lea ecx, [ebp - 0x34]
mov eax, ebx
mov dx, 0
call fcn.004098a0
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 8]
call fcn.00408f80
mov eax, dword [ebp - 8]
test eax, eax
je 0x451a33
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.0040a730
mov edx, dword [ebp - 8]
mov al, 0x3d
call fcn.0040a050
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.00409f20
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00446940
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 4]
call fcn.00409bf0
test eax, eax
jne 0x451ab0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x451a92
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.00409f20
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
call fcn.00408f80
jmp 0x451ac4
mov edx, dword [ebp - 0x40]
lea eax, [ebx + edx]
add eax, 1
mov ebx, eax
cmp byte [ebx], 0
jne 0x451a10
push dword [ebp - 0x44]
call sub.kernel32.dll_FreeEnvironmentStringsA
call fcn.0040e3b0
lea eax, [ebp - 0x3c]
call fcn.00403db0
lea eax, [ebp - 0x38]
call fcn.00403db0
lea eax, [ebp - 0x34]
call fcn.00403db0
lea eax, [ebp - 4]
call fcn.00403db0
lea eax, [ebp - 8]
call fcn.00403db0
pop eax
test eax, eax
je 0x451b03
call fcn.0040e4e0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x451b10
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.0040e130
call fcn.0040fdf0
push eax
test eax, eax
jne 0x451c14
mov eax, dword [ebp - 0x3c]
mov edx, 0
call fcn.0040b8c0
call sub.kernel32.dll_GetEnvironmentStringsW
mov edi, eax
mov esi, edi
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0044f010
jmp 0x451c03
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040b820
mov edx, dword [ebp - 4]
mov al, 0x3d
call fcn.0040c1c0
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.0040c110
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0044f010
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 8]
call fcn.0040bec0
test eax, eax
jne 0x451bf2
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x451bd4
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.0040c110
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
call fcn.0040b8c0
jmp 0x451c0e
mov eax, esi
call fcn.004042a0
shl eax, 1
lea eax, [esi + eax]
add eax, 2
mov esi, eax
cmp word [esi], 0
jne 0x451b80
push edi
call sub.kernel32.dll_FreeEnvironmentStringsW
call fcn.0040e3b0
lea eax, [ebp - 0x38]
call fcn.0040b5c0
lea eax, [ebp - 0x34]
call fcn.0040b5c0
lea eax, [ebp - 4]
call fcn.0040b5c0
lea eax, [ebp - 8]
call fcn.0040b5c0
pop eax
test eax, eax
je 0x451c43
call fcn.0040e4e0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48ef40
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 0x48ef88
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 + 0x775f70]
xor edx, eax
mov dword [esp], edx
add edi, 1
cmp esi, ecx
jg 0x48ef60
mov eax, dword [esp]
lea esp, [esp + 4]
pop edi
pop esi
pop ebx
ret
Function at 0x4ae380
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x50]
mov dword [ebp - 4], eax
call fcn.00408f50
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x50], 0
mov eax, 1
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x24]
call fcn.0040e130
call fcn.0040fdf0
push eax
test eax, eax
jne 0x4ae47b
mov byte [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x4ae47b
mov eax, dword [ebp - 4]
call fcn.004adfb0
mov byte [ebp - 0x18], al
test al, al
je 0x4ae3f6
mov eax, dword [ebp - 4]
call fcn.004ae020
test al, al
je 0x4ae3f6
mov eax, dword [ebp - 4]
mov dl, 1
call fcn.004ae100
mov byte [ebp - 8], al
jmp 0x4ae47b
cmp byte [ebp - 0x18], 0
je 0x4ae410
mov edx, dword [ebp - 4]
mov al, 0x20
call fcn.0040a050
test eax, eax
jle 0x4ae410
mov byte [ebp - 0x14], 1
jmp 0x4ae414
mov byte [ebp - 0x14], 0
cmp byte [ebp - 0x14], 0
je 0x4ae442
push 0
mov eax, 0x6e4e7c
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], eax
mov eax, 0x6e4e7c
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0x4c]
lea eax, [ebp - 4]
mov ecx, 2
call fcn.004092f0
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0040cdc0
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0xc]
call fcn.0040b7b0
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4ae46a
mov eax, 0x7722e0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta byte [ebp - 8]
call fcn.0040e3b0
lea eax, [ebp - 0x50]
call fcn.0040b5c0
lea eax, [ebp - 0xc]
call fcn.0040a890
lea eax, [ebp - 4]
call fcn.00403db0
pop eax
test eax, eax
je 0x4ae4a2
call fcn.0040e4e0
mov al, byte [ebp - 8]
leave
ret

Function at 0x4ae9e0
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 0x4aea11
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 0x4aea00
pop esi
pop ebx
ret
Function at 0x4ba430
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x4ba460
mov eax, esi
call fcn.004be890
cmp byte [esi + 0x40], 0
je 0x4ba459
mov dword [esi + 0x14], 0xcf
mov bl, 1
jmp 0x4ba4f8
mov dword [esi + 0x14], 0xcb
cmp dword [esi + 0x14], 0xcb
jne 0x4ba4da
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x4ba4d2
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4ba489
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 0x4ba49d
mov bl, 0
jmp 0x4ba4f8
cmp edi, 2
je 0x4ba4d2
cmp dword [esi + 8], 0
je 0x4ba47c
cmp edi, 3
je 0x4ba4b2
cmp edi, 1
jne 0x4ba47c
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 0x4ba47c
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
jmp 0x4ba47c
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x4ba4ef
cmp dword [esi + 0x14], 0xcc
je 0x4ba4ef
mov ecx, dword [esi + 0x14]
mov eax, esi
mov dl, 0x14
call fcn.004ba7e0
mov eax, esi
call fcn.004ba500
mov bl, al
mov al, bl
pop edi
pop esi
pop ebx
ret

Function at 0x4d3b50
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x38]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_GetProcessAffinityMask
test eax, eax
je 0x4d3ba7
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
sub dword [ebp - 0x2c], 1
add dword [ebp - 0x2c], 1
mov eax, 1
mov ecx, dword [ebp - 0x2c]
shl eax, cl
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
and eax, edx
je 0x4d3b9f
add dword [ebp - 4], 1
cmp dword [ebp - 0x2c], 0x1f
jl 0x4d3b80
jmp 0x4d3bb6
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret
Function at 0x4d9030
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
push ebx
mov dword [ebp - 4], eax
cmp dword [eax + 0x28], 0
je 0x4d9078
mov eax, dword [0x69e320]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x168]
cmp eax, dword [edx + 0x28]
jne 0x4d9078
mov eax, dword [0x69e320]
cmp byte [eax + 0x114], 0
jne 0x4d9078
mov eax, dword [0x69e760]
mov edx, dword [0x69e760]
mov edx, dword [edx]
call dword [edx + 0x6c]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov ebx, dword [ebp - 4]
mov eax, dword [0x69e760]
mov edx, dword [0x69e760]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx + 4]
jne 0x4d916e
mov eax, dword [0x69e320]
cmp byte [eax + 0x114], 0
jne 0x4d916e
mov eax, dword [0x69e760]
mov edx, dword [0x69e760]
mov edx, dword [edx]
call dword [edx + 0x6c]
call fcn.0056bce0
mov eax, dword [0x69e320]
cmp dword [eax + 0x168], 0
je 0x4d9133
push 0x10
push 0
mov eax, dword [0x69e320]
mov eax, dword [eax + 0x168]
push dword [eax + 0x25c]
mov eax, dword [0x69e320]
mov eax, dword [eax + 0x168]
push dword [eax + 0x250]
mov eax, dword [0x69e320]
mov eax, dword [eax + 0x168]
push dword [eax + 0x130]
push 0
mov eax, dword [ebp - 4]
push dword [eax + 4]
call sub.user32.dll_SetWindowPos
mov eax, dword [0x69e320]
mov eax, dword [eax + 0x168]
call fcn.004f7120
test al, al
je 0x4d9133
push 0
mov eax, dword [0x69e320]
call fcn.004223f0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax + 4]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov eax, dword [0x69e320]
call fcn.00425360
jmp 0x4d9205
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
je 0x4d91c3
mov eax, dword [ebp - 4]
mov edx, dword [0x69e320]
mov eax, dword [eax + 0x28]
cmp eax, dword [edx + 0x168]
jne 0x4d91c3
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax + 4]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov eax, dword [0x69e320]
call fcn.00425360
jmp 0x4d9205
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
je 0x4d9205
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
test dword [eax + 0x488], 8
je 0x4d9205
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov dword [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov eax, dword [0x69e760]
mov edx, dword [0x69e760]
mov edx, dword [edx]
call dword [edx + 0x8c]
pop ebx
leave
ret
Function at 0x4de050
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], 8
mov eax, fcn.004dca70
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.00413830
mov dword [ebp - 0x20], eax
mov eax, str.MAINICON
push eax
push dword [0x7722b0]
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4de0a6
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x1c], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, str.Window
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassW
test ax, ax
setne byte [ebp - 8]
cmp byte [ebp - 8], 0
je 0x4de11e
or dword [ebp - 0x30], 0x800
cmp dword [0x6b6fc0], 6
jb 0x4de0f8
or dword [ebp - 0x30], 0x20000
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov eax, str.HintWindow
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassW
test ax, ax
setne byte [ebp - 8]
mov al, byte [ebp - 8]
leave
ret

Function at 0x4defe0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x34]
push ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov byte [ebp - 0xc], 0
mov eax, dword [ebp - 8]
push dword [eax - 8]
call sub.user32.dll_GetClipboardData
mov edx, dword [ebp - 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x14], 0
je 0x4df08d
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalSize
mov edx, dword [ebp - 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x1c], 0
jle 0x4df08d
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalLock
mov edx, dword [ebp - 8]
mov dword [edx - 0x18], eax
mov eax, 1
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x18]
call fcn.0040e130
call fcn.0040fdf0
push eax
test eax, eax
jne 0x4df06f
mov eax, dword [ebp - 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
call dword [ebx + 0x84]
call fcn.0040e3b0
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalUnlock
pop eax
test eax, eax
je 0x4df089
call fcn.0040e4e0
mov byte [ebp - 0xc], 1
mov al, byte [ebp - 0xc]
pop ebx
leave
ret