joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1011e860
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d116d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x10247340]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, 0x10276188
call fcn.10172e30
mov ecx, dword [ebp - 0x10]
call fcn.1011ea50
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.Source::C_Miscellaneous.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], str.Default
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], str.cs_baggage_skybox_
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], str.cs_tibet
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], str.embassy
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], str.italy
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], str.jungle
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1c], str.nukeblank
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x20], str.office
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], str.sky_csgo_cloudy01
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], str.sky_csgo_night02
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], str.sky_csgo_night02b
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], str.sky_dust
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], str.sky_venice
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], str.vertigo
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], str.vietnam
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], str.sky_descent
mov eax, dword [ebp - 0x10]
add eax, 0x44
mov dword [ebp - 0x54], eax
push ecx
movss xmm0, dword [0x101d5a5c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101d5a5c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101d5a5c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101d5a5c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x54]
call fcn.1002a890
mov eax, dword [ebp - 0x10]
add eax, 0x54
mov dword [ebp - 0x54], eax
push ecx
movss xmm0, dword [0x101d5a5c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101d5a5c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101d5a5c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101d5a5c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x54]
call fcn.1002a890
mov eax, dword [ebp - 0x10]
add eax, 0x64
mov dword [ebp - 0x54], eax
push ecx
movss xmm0, dword [0x101d5a5c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101d5a5c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101d5a5c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101d5a5c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x54]
call fcn.1002a890
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x74], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1015fa50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, 0x10278c95
call fcn.10172e30
mov dword [ebp - 4], 0
jmp 0x1015fa75
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jae 0x1015fa98
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
imul eax, dword [ebp + 8], 0x1000193
mov dword [ebp + 8], eax
jmp 0x1015fa6c
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1016cc10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov ecx, 0x102795ce
call fcn.10172e30
mov dword [ebp - 4], 0
cmp dword [0x1026e2f4], 0
jne 0x1016cc3b
mov eax, dword [ebp - 4]
jmp 0x1016cdce
mov dword [ebp - 8], 0
jmp 0x1016cc4d
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [0x1026e2f0]
jae 0x1016cc6b
push 1
imul ecx, dword [ebp - 8], 0x14
add ecx, dword [0x1026e2f4]
call fcn.1016c3a0
jmp 0x1016cc44
mov dword [ebp - 0xc], 0
jmp 0x1016cc7d
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x1026e2f0]
jae 0x1016cc9c
imul eax, dword [ebp - 0xc], 0x14
mov ecx, dword [0x1026e2f4]
mov edx, dword [ecx + eax + 8]
mov byte [edx + 0x38], 1
jmp 0x1016cc74
mov dword [ebp - 0x10], 0
jmp 0x1016ccae
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x1016cceb
mov dword [ebp - 0x14], 0
jmp 0x1016ccc6
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x1026e2f0]
jae 0x1016cce9
imul eax, dword [ebp - 0x14], 0x14
mov ecx, dword [0x1026e2f4]
mov ecx, dword [ecx + eax + 8]
add ecx, 0x58
call fcn.1016ac70
jmp 0x1016ccbd
jmp 0x1016cca5
mov dword [ebp - 0x18], 0
jmp 0x1016ccfd
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x1026e2f0]
jae 0x1016cdb2
imul eax, dword [ebp - 0x18], 0x14
mov ecx, dword [0x1026e2f4]
mov edx, dword [ecx + eax + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
imul eax, dword [ebp - 0x18], 0x14
mov ecx, dword [0x1026e2f4]
mov edx, dword [ecx + eax + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1016cd56
imul eax, dword [ebp - 0x18], 0x14
mov ecx, dword [0x1026e2f4]
lea ecx, [ecx + eax + 1]
call fcn.1016c550
imul eax, dword [ebp - 0x18], 0x14
mov ecx, dword [0x1026e2f4]
mov edx, dword [ecx + eax + 4]
mov dword [ebp - 0x5c], edx
cmp dword [ebp - 0x5c], 0
je 0x1016cd7c
push 1
mov ecx, dword [ebp - 0x5c]
call fcn.1016c9d0
mov dword [ebp - 0x60], eax
jmp 0x1016cd83
mov dword [ebp - 0x60], 0
imul eax, dword [ebp - 0x18], 0x14
mov ecx, dword [0x1026e2f4]
mov dword [ecx + eax + 4], 0
imul eax, dword [ebp - 0x18], 0x14
mov ecx, dword [0x1026e2f4]
mov edx, dword [ecx + eax + 0x10]
push edx
call dword [sym.imp.ucrtbased.dll_free]
add esp, 4
jmp 0x1016ccf4
mov eax, dword [0x1026e2f4]
push eax
call dword [sym.imp.ucrtbased.dll_free]
add esp, 4
mov dword [0x1026e2f4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1016daf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, 0x102795ce
call fcn.10172e30
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
push 0xf
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10172520
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1017254c
mov dword [ebp - 4], 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call fcn.101724e0
mov esp, ebp
pop ebp
ret 8
Function at 0x404229
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
ret

Function at 0x404252
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x427a2c], 0
push esi
mov esi, edx
jne 0x40428a
mov edx, ecx
push ebx
lea ecx, [ebp - 0xc]
call fcn.0040429a
mov eax, dword [eax]
mov edx, esi
mov ecx, eax
call fcn.00404229
mov bl, al
push dword [ebp - 0xc]
call fcn.004030da
pop ecx
mov al, bl
pop ebx
jmp 0x404297
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop esi
leave
ret

Function at 0x4042e9
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x427a2c], 0
jne 0x40431a
mov edx, ecx
push ebx
lea ecx, [ebp - 0xc]
call fcn.0040429a
mov ecx, dword [eax]
call fcn.00404237
mov bl, al
push dword [ebp - 0xc]
call fcn.004030da
pop ecx
mov al, bl
pop ebx
leave
ret
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
leave
ret

Function at 0x4043a9
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x427a2c], 0
jne 0x4043da
mov edx, ecx
push ebx
lea ecx, [ebp - 0xc]
call fcn.0040429a
mov ecx, dword [eax]
call fcn.0040439a
mov bl, al
push dword [ebp - 0xc]
call fcn.004030da
pop ecx
mov al, bl
pop ebx
leave
ret
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
leave
ret

Function at 0x404611
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x427a2c], 0
push esi
mov esi, ecx
jne 0x404645
push ebx
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.0040429a
mov ecx, dword [eax]
call fcn.004045f3
mov bl, al
push dword [ebp - 0xc]
call fcn.004030da
pop ecx
mov al, bl
pop ebx
jmp 0x40465e
xor edx, edx
mov ecx, esi
call fcn.00404252
test al, al
je 0x40465e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
pop esi
leave
ret
Function at 0x4048e9
Capabilities:
Get common file path

Disassembly:
mov eax, 0x41e050
call fcn.0041d040
sub esp, 0x18
push ebx
xor ebx, ebx
cmp byte [0x427a2c], bl
push esi
mov esi, ecx
je 0x40494d
push edi
mov edi, 0x105
cmp dword [esi + 8], edi
jg 0x404915
push edi
call fcn.00402126
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [esi]
xor edx, edx
cmp word [ecx], bx
je 0x404931
mov edi, ecx
inc edx
inc edi
inc edi
cmp word [edi], bx
jne 0x404929
mov word [ecx + edx*2], bx
cmp eax, ebx
mov dword [esi + 4], edx
pop edi
jbe 0x404949
cmp eax, 0x104
ja 0x404949
push 1
pop eax
jmp 0x40499c
xor eax, eax
jmp 0x40499c
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.004033a2
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.004048ad
test al, al
je 0x404991
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.004041a5
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00401ccb
push dword [ebp - 0x24]
call fcn.004030da
pop ecx
mov bl, 1
push dword [ebp - 0x18]
call fcn.004030da
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x404f45
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x404f6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x404f6b
xor al, al
jmp 0x404f8b
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.0041d1d0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x405b34
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ebx, ecx
push edi
mov eax, dword [esi]
and dword [esi + 4], 0
and byte [eax], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
test edi, edi
jne 0x405b61
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
jmp 0x405b98
cmp edi, dword [esi + 8]
jl 0x405b6e
push edi
mov ecx, esi
call fcn.004033a2
mov eax, dword [esi]
inc edi
push edi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, esi
mov edi, eax
call fcn.00404a09
test edi, edi
jne 0x405b96
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
neg eax
jmp 0x405b98
mov al, 1
pop edi
pop esi
pop ebx
ret 4
Function at 0x405b9e
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x41e210
call fcn.0041d040
sub esp, 0x18
cmp byte [0x427a2c], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x405c1f
mov esi, dword [ebp + 8]
mov eax, dword [esi]
and dword [esi + 4], 0
and word [eax], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
je 0x405c0e
cmp edi, dword [esi + 8]
jl 0x405be1
push edi
mov ecx, esi
call fcn.00402126
mov eax, dword [esi]
inc edi
push edi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi]
xor ebx, ebx
xor edx, edx
cmp word [ecx], bx
je 0x405c03
mov edi, ecx
inc edx
inc edi
inc edi
cmp word [edi], bx
jne 0x405bfb
mov word [ecx + edx*2], bx
cmp eax, ebx
mov dword [esi + 4], edx
jne 0x405c1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
jmp 0x405c70
mov al, 1
jmp 0x405c70
xor esi, esi
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.004033a2
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov dword [ebp - 4], esi
call fcn.00405b34
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.00404190
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.00401ccb
push dword [ebp - 0x24]
call fcn.004030da
push dword [ebp - 0x18]
call fcn.004030da
pop ecx
mov al, bl
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40d4fd
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get number of processors

Disassembly:
mov eax, 0x41ef66
call fcn.0041d040
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 3
xor ebx, ebx
or eax, 0xffffffff
lea ecx, [esi + 0x38]
pop edi
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
push edi
mov dword [ebp - 0x10], esi
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00402126
lea ecx, [esi + 0x44]
push edi
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00402126
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 4
mov dword [esi + 0x50], 0x4213c4
lea ecx, [esi + 0x64]
push edi
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00402126
lea ecx, [esi + 0x70]
push edi
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00402126
lea ecx, [esi + 0x7c]
push edi
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00402126
lea ecx, [esi + 0x88]
push edi
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00402126
lea ecx, [esi + 0x94]
call fcn.0041bf80
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x412f1b
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41fa60
call fcn.0041d040
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x421778
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x4219e4
push 4
mov ebx, 0x4217f8
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.0040178a
mov dword [esi + 0x3c], 0x421a84
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.0040178a
mov dword [edi], 0x421a8c
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00411a19
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0041254a
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00411a19
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0041254a
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00411a19
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0041254a
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00411a19
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0041254a
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0041254a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41b660
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
ret
Function at 0x41be90
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x41beb8
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41bec7
mov eax, 1
ret 4
Function at 0x4202e7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0x18], 0x4e52454b
mov dword [ebp - 0x14], 0x32334c45
mov dword [ebp - 0x10], 0x6c6c642e
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
mov eax, dword [eax + 0x80]
add eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp eax, 0
je 0x420398
add eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004202a1
cmp eax, 0
jne 0x420392
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0
je 0x420392
and eax, 0x80000000
jne 0x42038c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
add eax, 2
mov ebx, dword [ebp + 0xc]
push eax
push ebx
push eax
call fcn.004202a1
cmp eax, 0
pop eax
jne 0x42038c
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 8]
mov ebx, dword [ebp - 4]
sub eax, dword [ebx]
mov ebx, dword [ebx + 0x10]
add ebx, dword [ebp + 8]
add eax, ebx
mov eax, dword [eax]
leave
ret 8
add dword [ebp - 8], 4
jmp 0x420346
add dword [ebp - 4], 0x14
jmp 0x42031e
mov eax, 0
leave
ret 8

Function at 0x420507
Capabilities:
Check os version
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
mov dword [ebp - 4], eax
push 4
push 0x3000
push dword [ebp - 4]
push 0
call fcn.00420042
call dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x54]
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call fcn.00420267
lea ebx, [ebp - 0x10]
push ebx
push 2
push eax
push dword [ebp - 0xc]
call fcn.00420050
call dword [eax]
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 6]
movzx esi, word [eax + 0x14]
add esi, dword [ebp - 8]
add esi, 0x18
cmp ecx, 0
je 0x420592
push esi
push ecx
mov eax, dword [ebp - 0xc]
add eax, dword [esi + 0xc]
mov ebx, dword [ebp + 8]
add ebx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push ecx
push ebx
push eax
call fcn.00420267
pop ecx
pop esi
add esi, 0x28
dec ecx
jmp 0x42056c
push dword [ebp - 0xc]
call fcn.004203e7
push dword [ebp - 0xc]
call fcn.0042044c
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 6]
movzx esi, word [eax + 0x14]
add esi, dword [ebp - 8]
add esi, 0x18
cmp ecx, 0
je 0x4205e0
push esi
push ecx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x24]
and eax, 0xffff
push eax
push dword [esi + 8]
mov eax, dword [ebp - 0xc]
add eax, dword [esi + 0xc]
push eax
call fcn.00420050
call dword [eax]
pop ecx
pop esi
add esi, 0x28
dec ecx
jmp 0x4205b3
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xa4]
cmp eax, 5
jne 0x4205fe
push dword [ebp - 4]
push dword [ebp - 0xc]
call fcn.004201d0
jmp 0x420609
push dword [ebp - 4]
push dword [ebp - 0xc]
call fcn.00420139
mov eax, dword [ebp - 0xc]
leave
ret 4
Function at 0x405f00
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 8], 0xffffffff
je 0x405f14
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x405f0d
cmp dword [esi + 8], 0xffffffff
jne 0x405f0d
push 4
lea ecx, [ebp - 4]
mov dword [esi + 8], eax
push ecx
push 4
push 0xffff
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.WS2_32.dll_setsockopt]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x405f50
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x4ee318]
xor eax, esp
mov dword [esp + 0x34], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
lea ecx, [esp + 0x20]
push edi
mov dword [esp + 0xc], esi
call fcn.004092e0
cmp dword [esp + 0x34], 0
je 0x40603e
push dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, 2
movdqa xmmword [esp + 0x14], xmm0
mov word [esp + 0x14], ax
call dword [sym.imp.WS2_32.dll_ntohs]
cmp dword [esp + 0x38], 0x10
mov word [esp + 0x12], ax
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
je 0x405fd9
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push 0x10
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
setns al
jmp 0x406040
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x40603e
mov ecx, dword [edi + 0xc]
xor esi, esi
cmp dword [ecx], esi
je 0x40603e
xor edx, edx
nop
movsx eax, word [edi + 0xa]
push eax
push dword [ecx + edx]
lea eax, [esp + 0x1c]
push eax
call fcn.00486750
add esp, 0xc
lea eax, [esp + 0x10]
push 0x10
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 8]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x40606e
mov ecx, dword [edi + 0xc]
inc esi
cmp dword [ecx + esi*4], 0
lea edx, [esi*4]
jne 0x406000
xor al, al
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0xb], al
jb 0x40605b
push dword [esp + 0x24]
call fcn.0047e7c0
mov al, byte [esp + 0xf]
add esp, 4
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.0047e7a3
mov esp, ebp
pop ebp
ret 8
mov al, 1
jmp 0x406040