joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459d9c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459db3
add esp, 0xfffffff0
call fcn.00403774
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e720
mov eax, dword [0x4c4920]
cmp word [eax + 2], 0
jne 0x459ddb
mov eax, dword [0x4c4920]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b48c
mov eax, dword [0x4c4a58]
cmp word [eax + 2], 0
jne 0x459df5
mov eax, dword [0x4c4a58]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b684
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416294]
call fcn.00403420
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416294]
call fcn.00403420
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x420d2c]
call fcn.00428c1c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x459f7c
mov eax, dword [0x4c4794]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428fec
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45bc34
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c4794]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d6e0
test eax, eax
je 0x459eea
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004093f4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d708
test eax, eax
je 0x459efe
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004044b0
mov eax, dword [0x4c4528]
cmp byte [eax], 0
jne 0x459f32
mov eax, ebx
call fcn.0045a0a4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045be10
mov eax, ebx
call fcn.0045c7d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459f72
call fcn.004037cc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a324
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c5be4]
cmp dword [eax + 0x30], 0
je 0x45a3ce
cmp dword [ebx + 0x94], 0
jne 0x45a3c8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a2b4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a3c8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45a38e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a3c8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004186e0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a39d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45af30
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45af65
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404330
jmp 0x45af72
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404294
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45bfec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c02d
mov eax, esi
call fcn.00442654
test al, al
je 0x45c02d
mov eax, dword [ebx + 0x84]
call fcn.00442350
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c02d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442350
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x460038
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4600bb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.00402e24
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 3
lea eax, [ebp - 0x24]
mov ecx, 0x4600d4
mov edx, ebx
call fcn.0040454c
mov eax, dword [ebp - 0x24]
call fcn.00404700
mov dword [ebp - 0x16], eax
mov eax, 0x4600d8
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], 0x14
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4600c2
lea eax, [ebp - 0x24]
call fcn.00404240
ret

Function at 0x460554
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046f0
xor eax, eax
push ebp
push 0x4605cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404294
mov eax, dword [ebp - 4]
call fcn.00404500
mov esi, eax
test esi, esi
jle 0x4605b6
mov ebx, 1
mov eax, edi
call fcn.00404758
movzx edx, word [ebp - 6]
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x460599
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4605d3
lea eax, [ebp - 4]
call fcn.00404240
ret
Function at 0x462590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4625bf
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x46263e
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00460e4c
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x46260c
mov cx, word [esp]
sub cx, si
jmp 0x46260e
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4625f5
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x462634
mov cx, word [esp]
sub cx, si
jmp 0x462636
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x46261d
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x46269b
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00462264
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x462686
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x46269b
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x46259a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x468bd0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4c5c20
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x468bf2
shr eax, 1
xor eax, 0xedb88320
jmp 0x468bf4
shr eax, 1
dec edx
jne 0x468be0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x468bd9
mov byte [0x4c6020], 1
pop esi
pop ebx
ret

Function at 0x468c10
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4c6020], 0
jne 0x468c27
call fcn.00468bd0
mov eax, edi
dec eax
test eax, eax
jl 0x468c50
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4c5c20]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x468c31
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x46b6b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x46b6e1
dec al
je 0x46b71d
dec al
je 0x46b761
dec al
je 0x46b7cc
jmp 0x46b856
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x46b856
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x46b6f1
jmp 0x46b856
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46b856
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x46b72d
jmp 0x46b856
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46b856
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x46b78f
xor ebp, ebp
jmp 0x46b7a0
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x46b7a9
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x46b771
jmp 0x46b856
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46b856
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x46b824
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00468c58
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x46b7e0
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x470850
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4708a1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x470888
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x470878
jmp 0x4708a1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x470889
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47dd70
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.00418a88
mov esi, eax
xor eax, eax
push ebp
push 0x47ddea
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [esi + 8]
dec ebx
cmp ebx, 0
jl 0x47ddce
mov edx, ebx
mov eax, esi
call fcn.004186e0
test byte [eax + 0x58], 1
je 0x47ddc8
push 0
mov edx, ebx
mov eax, esi
call fcn.004186e0
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov edx, ebx
mov eax, esi
call fcn.004185d0
dec ebx
cmp ebx, 0xffffffff
jne 0x47dd9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ddf1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.00418aec
ret
Function at 0x47e5f4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415824]
call fcn.00404be8
xor eax, eax
push ebp
push 0x47e738
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c13c4], 0
jne 0x47e647
mov ecx, dword [0x4c4554]
mov dl, 1
mov eax, dword [0x4078e8]
call fcn.0040c918
call fcn.00403bdc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402e24
mov eax, ebx
call fcn.00404ab8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47e748
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405d78
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404ac8
test eax, eax
jle 0x47e6df
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47e6d8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004044c8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004044b0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004087dc
test eax, eax
jne 0x47e6d8
mov ebx, 0x15
jmp 0x47e6e4
mov ebx, 0x10
jmp 0x47e6e4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4c13c4]
call fcn.0047e54c
mov eax, dword [ebp - 8]
call fcn.0047e54c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405d90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e73f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404264
lea eax, [ebp - 0x10]
mov edx, dword [0x415824]
call fcn.00404cb8
ret

Function at 0x48a92c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48a95a
mov eax, ebx
call fcn.0048b3e0
cmp dword [ebx + 0x40], 0
je 0x48a953
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48a9cb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48a9bd
cmp dword [ebx + 8], 0
je 0x48a97c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x48a98e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48a9bd
cmp dword [ebx + 8], 0
je 0x48a96f
cmp eax, 3
je 0x48a9a1
dec eax
jne 0x48a96f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48a96f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48a96f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48a9e9
cmp dword [ebx + 0x14], 0xcc
je 0x48a9e9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048a9f4
pop ebx
ret
Function at 0x49fb70
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49fd50
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.004a4518
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4c3558], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4c355c], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4c3560], eax
mov eax, dword [0x4c4cc4]
cmp dword [eax], 2
sete byte [0x4c2d24]
push 0x49fd5c
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.004a36c4
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x4c2d24], 0
jne 0x49fbff
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.004a3808
test al, al
je 0x49fbff
mov eax, dword [ebp - 0x4c]
mov dword [0x4c612c], eax
jmp 0x49fc06
xor eax, eax
mov dword [0x4c612c], eax
call fcn.0049f8a8
and eax, 0x7f
cmp eax, 0x12
ja case.0x49fc17.0
jmp dword [eax*4 + 0x49fc1e]
mov byte [0x4c2d10], 1
jmp case.0x49fc17.0
mov byte [0x4c2d14], 1
jmp case.0x49fc17.0
mov byte [0x4c2d18], 1
jmp case.0x49fc17.0
mov byte [0x4c2d1c], 1
jmp case.0x49fc17.0
mov byte [0x4c2d20], 1
jmp case.0x49fc17.0
mov byte [0x4c2d28], 1
mov byte [0x4c2d2c], 1
jmp case.0x49fc17.0
mov byte [0x4c2d28], 1
mov byte [0x4c2d30], 1
jmp case.0x49fc17.0
mov byte [0x4c2d28], 1
mov byte [0x4c2d30], 1
mov byte [0x4c2d34], 1
jmp case.0x49fc17.0
mov byte [0x4c2d38], 1
jmp case.0x49fc17.0
mov byte [0x4c2d3c], 1
jmp case.0x49fc17.0
mov byte [0x4c2d40], 1
jmp case.0x49fc17.0
mov byte [0x4c2d44], 1
jmp case.0x49fc17.0
mov byte [0x4c2d48], 1
jmp case.0x49fc17.0
mov byte [0x4c2d4c], 1
jmp case.0x49fc17.0
mov byte [0x4c2d50], 1
jmp case.0x49fc17.0
mov byte [0x4c2d54], 1
jmp case.0x49fc17.0
mov byte [0x4c2d58], 1
jmp case.0x49fc17.0
mov byte [0x4c2d5c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fd57
lea eax, [ebp - 4]
call fcn.00404240
ret

Function at 0x4a1c34
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4a1c98
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004044b0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408c5c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1c9f
lea eax, [ebp - 0xc]
call fcn.00404240
ret
Function at 0x4a28f4
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x4a2909
add esp, 0xfffffff0
call fcn.00403774
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00403420
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.00404294
mov eax, esi
call fcn.00404700
push eax
xor eax, eax
mov al, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexA
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x4a295e
mov ecx, dword [0x4c4b5c]
mov dl, 1
mov eax, dword [0x4a26bc]
call fcn.0049d714
call fcn.00403bdc
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a2985
call fcn.004037cc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4a3808
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a38be
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404700
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x4a38a8
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.0040488c
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404700
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4a38a8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4a38d0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a38a8
cmp dword [ebp - 8], 0x34
jne 0x4a38a8
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a38c5
lea eax, [ebp - 0x10]
call fcn.00404240
ret

Function at 0x4a4dfc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.004a4db8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a4e70
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [0x4c7f94], eax
mov ebx, 0x4a4d44
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4a4e70
xor eax, eax
push ebp
push 0x4a4e69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4e70
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a4e78
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.004a4db8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a4ee3
mov ebx, dword [0x4c7f94]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4a4ee3
xor eax, eax
push ebp
push 0x4a4edc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4ee3
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4aa784
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov dword [ebp - 4], 0xff
mov ebx, 0x4aa7c0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x103]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4aa7b4
lea ebx, [ebp - 0x103]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4aa7e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4aa874
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404240
mov eax, dword [ebp - 4]
call fcn.00404500
test al, al
jbe 0x4aa85e
mov byte [ebp - 5], al
mov bl, 1
lea eax, [ebp - 0xc]
xor edx, edx
mov dl, bl
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
call fcn.00404428
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.00404508
xor eax, eax
mov al, bl
mov edx, dword [edi]
movzx eax, byte [edx + eax - 1]
add esi, eax
imul esi, dword [ebp + 0x10]
add esi, dword [ebp + 0xc]
inc ebx
dec byte [ebp - 5]
jne 0x4aa820
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa87b
lea eax, [ebp - 0xc]
call fcn.00404240
ret