joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ac24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004295c8
cmp ebx, dword [ebp - 8]
jge 0x46ac87
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004299b0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004299b0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004299dc
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x46ac4d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x46ac90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004295c8
cmp ebx, dword [ebp - 8]
jge 0x46acf3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004299b0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004299b0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004299dc
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x46acb9
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x48cacc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x48cad4
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x48ccc6
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x48ccdc
mov eax, esi
call fcn.0048a958
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404c20
lea ecx, [ebp - 0x10]
mov edx, 0x48ccf0
mov eax, esi
call fcn.0048a958
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404c20
lea ecx, [ebp - 0x14]
mov edx, 0x48cd08
mov eax, esi
call fcn.0048a958
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404c20
lea ecx, [ebp - 0x18]
mov edx, 0x48cd24
mov eax, esi
call fcn.0048a958
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404c20
lea ecx, [ebp - 0x1c]
mov edx, 0x48cd40
mov eax, esi
call fcn.0048a958
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404c20
lea ecx, [ebp - 0x24]
mov edx, 0x48cd58
mov eax, esi
call fcn.0048a958
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004095ac
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409c68
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x48cd70
mov eax, esi
call fcn.0048a958
mov eax, dword [ebp - 0x28]
call fcn.00484430
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x48cd80
mov eax, esi
call fcn.0048a958
mov eax, dword [ebp - 0x2c]
call fcn.00484430
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x48cd98
mov eax, esi
call fcn.0048a958
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409c68
inc eax
je 0x48cc69
lea ecx, [ebp - 0x34]
mov edx, 0x48cd98
mov eax, esi
call fcn.0048a958
mov eax, dword [ebp - 0x34]
call fcn.00409c2c
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040b6f4
fstp qword [ebp - 0x3c]
wait
call fcn.0040ba8c
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x48cc84
lea ecx, [ebp - 0x40]
mov edx, 0x48cd98
mov eax, esi
call fcn.0048a958
mov eax, dword [ebp - 0x40]
call fcn.00484430
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x48cda8
mov eax, esi
call fcn.0048a958
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404c20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cccd
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404bf0
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404bf0
ret
Function at 0x493a58
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x493ab2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00493a48
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00482fa0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00482ba0
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493ab9
lea eax, [ebp - 4]
call fcn.00404bcc
ret

Function at 0x497550
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 [0x41b320]
call fcn.004056f0
xor eax, eax
push ebp
push 0x497694
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x502df0], 0
jne 0x4975a3
mov ecx, dword [0x504798]
mov dl, 1
mov eax, dword [0x408644]
call fcn.0040d980
call fcn.00404548
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403224
mov eax, ebx
call fcn.004054a8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4976a4
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.00406ae0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004054b8
test eax, eax
jle 0x49763b
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 0x497634
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404e54
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404e3c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040951c
test eax, eax
jne 0x497634
mov ebx, 0x15
jmp 0x497640
mov ebx, 0x10
jmp 0x497640
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 [0x502df0]
call fcn.004974a8
mov eax, dword [ebp - 8]
call fcn.004974a8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406af8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49769b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404bf0
lea eax, [ebp - 0x10]
mov edx, dword [0x41b320]
call fcn.004057c0
ret
Function at 0x49ae70
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.0049a910
test byte [ebx + 0x23d], 4
jne 0x49af05
mov edx, esp
mov eax, ebx
call fcn.0044354c
push esp
mov eax, ebx
call fcn.0044a1c8
push eax
push 0
mov eax, ebx
test eax, eax
je 0x49aea5
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x49aed6
mov ecx, dword [0x504b94]
mov dl, 1
mov eax, dword [0x497168]
call fcn.0040d980
call fcn.00404548
mov eax, ebx
call fcn.0049b444
cmp byte [ebx + 0x57], 0
jne 0x49af0c
mov eax, ebx
call fcn.0044a3cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x49af0c
push 0
mov eax, ebx
call fcn.0044a3cc
push eax
call sub.user32.dll_ShowWindow
jmp 0x49af0c
mov eax, ebx
call fcn.0044734c
add esp, 0x10
pop ebx
ret

Function at 0x49fca4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x49fd0b
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 8]
call fcn.00405218
push edi
mov eax, dword [ebp - 8]
call fcn.0040508c
push eax
push esi
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404c20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fd12
lea eax, [ebp - 8]
call fcn.00404bcc
ret

Function at 0x4a45d4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a465e
xor edx, edx
push ebp
push 0x4a463f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a465e
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a850c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a853a
mov eax, ebx
call fcn.004a8fc0
cmp dword [ebx + 0x40], 0
je 0x4a8533
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a85ab
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a859d
cmp dword [ebx + 8], 0
je 0x4a855c
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 0x4a856e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a859d
cmp dword [ebx + 8], 0
je 0x4a854f
cmp eax, 3
je 0x4a8581
dec eax
jne 0x4a854f
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 0x4a854f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a854f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a85c9
cmp dword [ebx + 0x14], 0xcc
je 0x4a85c9
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.004a85d4
pop ebx
ret

Function at 0x4b900c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040507c
mov eax, dword [ebp - 8]
call fcn.0040507c
xor eax, eax
push ebp
push 0x4b9129
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov ebx, 0x14
mov dword [ebp - 0x24], 0x14
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], 2
mov eax, dword [ebp - 8]
call fcn.0040508c
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 3
mov eax, 0x4b9138
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.0040508c
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4b910e
xor eax, eax
push ebp
push 0x4b9107
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x4b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x4b90e7
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4b90eb
xor eax, eax
jmp 0x4b90ed
mov al, 1
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b910e
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9130
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404bf0
ret
Function at 0x4b9140
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040507c
mov eax, dword [ebp - 8]
call fcn.0040507c
mov eax, dword [ebp - 0xc]
call fcn.0040507c
mov eax, dword [ebp + 0xc]
call fcn.0040507c
xor eax, eax
push ebp
push 0x4b92af
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.0040508c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, 0x4b92c0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.0040508c
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4b928c
xor edx, edx
push ebp
push 0x4b9285
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.0040508c
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040508c
push eax
mov ax, word [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.0040508c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x4b926e
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4b9265
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4b9269
xor eax, eax
jmp 0x4b926b
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b928c
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b92b6
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bf0
lea eax, [ebp + 0xc]
call fcn.00404bcc
ret
Function at 0x4b92c8
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x4b9390
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x4b9394
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x4b9390
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4b9387
xor eax, eax
push ebp
push 0x4b9380
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9387
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b9600
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b9814
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x105
mov eax, dword [ebp - 0x18]
call fcn.0040287c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b967e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x4b9668
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00404dc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9685
mov eax, dword [ebp - 8]
call fcn.0040289c
ret

Function at 0x4babb4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.00403224
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x4babee
cmp byte [ebp - 0xa], 0x31
jne 0x4babec
mov bl, 1
jmp 0x4babee
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bc238
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.0044a6d0
test al, al
je 0x4bc2f1
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x4bc2cf
cmp word [esi + 0x5f2], 0
je 0x4bc289
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x5f4]
call dword [esi + 0x5f0]
cmp byte [ebp - 9], 0
jne 0x4bc2a6
cmp dword [ebp - 4], 0
jbe 0x4bc2a2
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x4bc2a6
xor ebx, ebx
jmp 0x4bc2a8
mov bl, 1
test bl, bl
jne 0x4bc2f1
mov eax, dword [0x504d94]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4bc2f1
mov eax, dword [0x504d94]
mov eax, dword [eax]
call fcn.00463304
push 1
call sub.kernel32.dll_Sleep_1
test esi, esi
je 0x4bc2f1
cmp byte [esi + 0x588], 0
jne 0x4bc2f1
mov edx, 0xfffffdf3
mov eax, esi
call fcn.0049b27c
cmp eax, 4
jne 0x4bc266
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d8854
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4d8879
cmp dword [esp + 4], 5
jb 0x4d8879
mov al, 1
jmp 0x4d887b
xor eax, eax
add esp, 0x94
ret
Function at 0x4e943c
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x5041bc]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x4e9478
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4e9490
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4e9489
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403224
xor edx, edx
mov eax, 0x5043bc
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4e94fa
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4e94ae
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x4e9738
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4e9751
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4e974a
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4e9763
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4e975c
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004e932c
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4e977d
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004e943c
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4e9802
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4e981f
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004e93bc
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4e9848
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc