joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001fcd1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001fd6e
push ebx
push esi
call fcn.1001fc9a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001b4e6
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001fd1b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001fd6d
push edi
push eax
call fcn.1001b346
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001fd3b
call fcn.1001a4e4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001fd6c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001b4e6
add esp, 0x20
test eax, eax
jne 0x1001fd5a
push edi
call fcn.1001a4e4
jmp 0x1001fd62
push ebx
call fcn.1001a4e4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1002241f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10017d1b
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1002248e
cmp esi, dword [ebp - 4]
je 0x10022489
cmp dword [ebp + 0xc], 0
je 0x10022489
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10022466
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10021f71
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10022490
xor eax, eax
inc eax
jmp 0x10022490
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100224f5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100323c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10017d1b
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10017d1b
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1002256c
cmp word [ecx], dx
je 0x1002256c
mov eax, dword [0x1002b1fc]
push edi
dec eax
push eax
push 0x1002b0e8
call fcn.10022494
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100225df
cmp word [eax], dx
je 0x100225df
mov eax, dword [edi]
test eax, eax
je 0x10022590
cmp word [eax], dx
je 0x10022590
lea eax, [ebp - 0x10]
push eax
call fcn.10021e77
jmp 0x10022599
lea eax, [ebp - 0x10]
push eax
call fcn.10021f12
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10022609
mov eax, dword [0x1002b0e4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1002add8
call fcn.10022494
add esp, 0xc
test al, al
je 0x10022609
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100225d4
cmp word [eax], di
je 0x100225d4
lea eax, [ebp - 0x10]
push eax
call fcn.10021e77
pop ecx
jmp 0x1002260b
lea eax, [ebp - 0x10]
push eax
call fcn.10021f12
jmp 0x100225d1
mov eax, dword [edi]
test eax, eax
je 0x100225f6
cmp word [eax], dx
je 0x100225f6
lea eax, [ebp - 0x10]
push eax
call fcn.10021e2c
pop ecx
jmp 0x10022609
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x100226d4
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10022319
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100226d4
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100226d4
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100226d4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10022661
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1001b0d9
test ebx, ebx
je 0x100226cf
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1001b0d9
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100226d4
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100226d4
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1002416a
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100226d6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000d965
leave
ret
Function at 0x10024851
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100247cd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100249c0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100249c0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10024975
jg 0x100248ad
test eax, eax
je 0x1002496b
push 1
push 0x1000
call fcn.1001aa62
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100248d0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10024962
push 0x8000
push ebx
call fcn.100246fe
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100248f9
jg 0x100248f4
cmp ecx, 0x1000
jb 0x100248f9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1001a2c8
add esp, 0x10
cmp eax, 0xffffffff
je 0x1002493e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100248f4
jl 0x10024925
test ecx, ecx
jne 0x100248e6
push dword [ebp - 0xc]
push ebx
call fcn.100246fe
push esi
call fcn.1001a4e4
add esp, 0xc
xor ebx, ebx
jmp 0x100249ce
cmp byte [edi + 0x24], 0
je 0x10024955
cmp dword [edi + 0x20], 5
jne 0x10024955
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10024960
mov ebx, dword [edi + 0x18]
jmp 0x10024962
xor ebx, ebx
push esi
call fcn.1001a4e4
pop ecx
jmp 0x100249ce
test ecx, ecx
jg 0x10024937
jl 0x10024975
test eax, eax
jae 0x10024937
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1001ca1e
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10024995
cmp byte [edi + 0x1c], 0
je 0x10024937
jmp 0x100249c6
push ebx
call fcn.100202be
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10024937
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100249ce
cmp byte [edi + 0x1c], 0
je 0x100249cb
mov ebx, dword [edi + 0x18]
jmp 0x100249ce
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1001ca1e
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10025ad0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10025afd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10025afd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4b81b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x58000]
mov dword [edi + 0xa209c], 0x6dd8f2f0
push edi
or ebp, 0xffffffff
jmp 0x4b81da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b81e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b81d0
mov eax, 1
add ebx, ebx
jne 0x4b81f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b8204
jne 0x4b8223
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8223
dec eax
add ebx, ebx
jne 0x4b8210
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b81e8
add ebx, ebx
jne 0x4b821f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b8275
xor ecx, ecx
sub eax, 3
jb 0x4b823b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b82aa
sar eax, 1
mov ebp, eax
jmp 0x4b8246
add ebx, ebx
jne 0x4b8246
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8214
inc ecx
add ebx, ebx
jne 0x4b8254
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8214
add ebx, ebx
jne 0x4b8261
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b8256
jne 0x4b8272
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b8256
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b8294
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b8286
jmp 0x4b81d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b8294
add edi, ecx
jmp 0x4b81d6
pop esi
mov edi, esi
mov ecx, 0x27f9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b82b2
cmp byte [edi], 0x34
jne 0x4b82b2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b82b7
lea edi, [esi + 0xb5000]
mov eax, dword [edi]
or eax, eax
je 0x4b8326
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb9b54]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb9bf4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b82e4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb9bf8]
or eax, eax
je 0x4b8320
mov dword [ebx], eax
add ebx, 4
jmp 0x4b8301
call dword [esi + 0xb9c08]
mov ebp, dword [esi + 0xb9bfc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b835a
sub esp, 0xffffff80
jmp fcn.004a2378
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x100010c6
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8ac
mov eax, dword [0x1001d008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x100012d3
mov eax, 0x800
xor ebx, ebx
push eax
mov dword [ebp - 0x8a8], eax
xor edi, edi
lea eax, [ebp - 0x890]
inc edi
push ebx
push eax
mov dword [ebp - 0x8ac], edi
call fcn.10005730
add esp, 0xc
push 0x44
pop eax
push 0x65
mov word [ebp - 0x20], ax
pop eax
push 0x66
mov word [ebp - 0x1e], ax
pop eax
push 0x61
mov word [ebp - 0x1c], ax
pop eax
push 0x75
mov word [ebp - 0x1a], ax
pop eax
push 0x6c
mov word [ebp - 0x18], ax
pop eax
push 0x74
pop ecx
push 0x53
mov word [ebp - 0x16], ax
pop eax
push 0x72
mov word [ebp - 0x12], ax
pop eax
push 0x69
mov word [ebp - 0xe], ax
pop eax
push 0x6e
mov word [ebp - 0xc], ax
pop eax
push 0x67
mov word [ebp - 0xa], ax
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x8a4]
push eax
push esi
push connect
mov word [ebp - 0x14], cx
mov word [ebp - 0x10], cx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100012d3
lea eax, [ebp - 0x8a8]
push eax
lea eax, [ebp - 0x890]
push eax
lea eax, [ebp - 0x8ac]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x8a4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100011d2
cmp dword [ebp - 0x8a4], ebx
je 0x100011cb
push dword [ebp - 0x8a4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x100012d6
lea eax, [ebp - 0x8a4]
push eax
push esi
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100012d3
lea eax, [ebp - 0x8a0]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x40
lea eax, [ebp - 0x90]
push ebx
push eax
call fcn.10005730
movzx eax, byte [ebp - 0x891]
push eax
movzx eax, byte [ebp - 0x892]
push eax
movzx eax, byte [ebp - 0x893]
push eax
movzx eax, byte [ebp - 0x894]
push eax
movzx eax, byte [ebp - 0x895]
push eax
movzx eax, byte [ebp - 0x896]
movaps xmm0, xmmword [0x1001aa40]
push eax
movzx eax, byte [ebp - 0x897]
push eax
movzx eax, byte [ebp - 0x898]
push eax
movzx eax, word [ebp - 0x89a]
push eax
movzx eax, word [ebp - 0x89c]
push eax
push dword [ebp - 0x8a0]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x30], 0x58323025
push eax
movups xmmword [ebp - 0x50], xmm0
lea eax, [ebp - 0x90]
mov dword [ebp - 0x2c], 0x58323025
movaps xmm0, xmmword [0x1001aa30]
push 0x40
push eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x28], 0x58323025
mov byte [ebp - 0x24], bl
call fcn.10001082
lea ecx, [ebp - 0x90]
add esp, 0x44
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100012ab
sub ecx, edx
lea eax, [ebp - 0x90]
push ecx
push eax
push edi
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x8a4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x100011b7
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000423e
mov esp, ebp
pop ebp
ret
Function at 0x10001924
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x1001d008]
xor eax, esp
mov dword [esp + 0x194], eax
cmp dword [ebp + 0xc], 1
jne 0x10001969
push 0x190
lea eax, [esp + 4]
push 0
push eax
call fcn.10005730
add esp, 0xc
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
jmp 0x10001975
cmp dword [ebp + 0xc], 0
jne 0x10001975
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x194]
xor eax, eax
xor ecx, esp
inc eax
call fcn.1000423e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10001fdf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x25a8
call fcn.10013f40
mov eax, dword [0x1001d008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov ebx, ecx
mov edi, 0x2598
push edi
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x25a4]
push ecx
call fcn.10013f70
mov eax, dword [ebp + 0x25a0]
lea esi, [ebp - 0x25a4]
add esp, 0xc
mov dword [ebp - 0x25a8], eax
mov eax, edi
call fcn.10013f40
mov edi, esp
mov ecx, 0x966
rep movsd dword es:[edi], dword [esi]
push 0x3e8
mov ecx, ebx
call fcn.10002495
test eax, eax
je 0x1000208e
push ebx
push 0
push 0x10001fa0
call fcn.100091a8
add esp, 0xc
mov ecx, ebx
mov esi, eax
push dword [ebp - 0x25a8]
call fcn.100020a1
mov ecx, ebx
call fcn.10002720
push dword [ebx + 0x4864]
mov dword [ebx + 0x4868], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x7d0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000423e
mov esp, ebp
pop ebp
ret 0x259c

Function at 0x100020a1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, ecx
mov dword [ebx], eax
cmp dword [edi + 0x4650], eax
je 0x10002191
mov dword [ebp - 8], eax
mov ecx, edi
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push 8
push eax
call fcn.100026b9
test eax, eax
je 0x10002191
push dword [edi + 0x4864]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x2598
call fcn.100045b8
lea ecx, [edi + 4]
mov dword [esp], 0x2598
mov esi, eax
push ecx
push esi
call fcn.10013f70
mov ecx, dword [edi + 0x4650]
add esp, 0xc
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x2514], ecx
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
cmp eax, 0x3ea
jb 0x1000217a
cmp eax, 0x3ec
jbe 0x10002168
cmp eax, 0x3ed
je 0x1000215e
cmp eax, 0x3ee
je 0x10002154
cmp eax, 0x3f1
je 0x1000217a
cmp eax, 0x3f2
jne 0x1000217a
push esi
push 0
push 0x10002353
jmp 0x10002170
push esi
push 0
push 0x100022ae
jmp 0x10002170
push esi
push 0
push 0x10002224
jmp 0x10002170
push esi
push 0
push 0x1000219a
call fcn.100091a8
add esp, 0xc
jmp 0x10002187
push 0x2598
push esi
call fcn.100045aa
pop ecx
pop ecx
xor eax, eax
cmp dword [ebx], eax
je 0x100020b2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10002495
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x27e8
call fcn.10013f40
mov eax, dword [0x1001d008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, 0x2598
lea eax, [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 0x25ac]
mov esi, ecx
push eax
call fcn.10013f70
add esp, 0xc
lea eax, [ebp - 0x25ac]
lea ebx, [esi + 4]
push edi
push eax
push ebx
call fcn.10013f70
add esp, 0xc
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x4654]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov eax, dword [ebx]
push 0x25
pop edx
push 0x73
pop ecx
mov dword [esi + 0x485c], eax
mov eax, dword [ebp + 8]
push 0x64
mov dword [esi + 0x262c], eax
add eax, 0xffffe0c0
mov word [ebp - 0x12], cx
pop ecx
push eax
lea eax, [esi + 0x251c]
mov word [ebp - 0xe], cx
push eax
lea eax, [ebp - 0x14]
mov word [ebp - 0x14], dx
push eax
lea eax, [esi + 0x25ac]
mov word [ebp - 0x10], dx
xor ecx, ecx
push 0x40
push eax
mov word [ebp - 0xc], cx
call fcn.10001026
add esp, 0x14
lea eax, [esi + 0x2634]
xor edi, edi
mov ecx, esi
mov dword [esi + 0x2630], edi
push eax
push edi
call fcn.10002e78
mov dword [esi + 0x464c], eax
test eax, eax
je 0x10002571
xor ecx, ecx
mov dword [esi + 0x4650], 0x7d4
inc ecx
jmp 0x10002573
mov ecx, edi
mov ebx, dword [esi + 0x4650]
test ebx, ebx
je 0x10002625
test ecx, ecx
je 0x10002625
test eax, eax
je 0x10002625
push 0x234
lea eax, [ebp - 0x27e0]
push edi
push eax
call fcn.10005730
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x27e4], eax
mov eax, dword [esi + 0x2518]
mov dword [ebp - 0x27c0], eax
lea eax, [esi + 0x4e0]
push eax
lea eax, [ebp - 0x27bc]
mov dword [ebp - 0x27e0], ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x27e4]
push eax
call fcn.10002976
mov eax, edi
mov ecx, 0x238
xor byte [ebp + eax - 0x27e4], 0xf5
inc eax
cmp eax, ecx
jb 0x100025ec
cmp dword [esi + 0x4650], 0x7d4
jne 0x10002616
push ecx
lea eax, [ebp - 0x27e4]
mov ecx, esi
push eax
call fcn.1000265c
mov edi, eax
test edi, edi
jne 0x10002621
mov ecx, esi
call fcn.10002720
mov eax, edi
jmp 0x1000262e
mov ecx, esi
call fcn.10002720
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000423e
mov esp, ebp
pop ebp
ret 0x259c

Function at 0x10002641
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x4650], 0x7d4
jne 0x10002656
pop ebp
jmp fcn.1000265c
xor eax, eax
pop ebp
ret 8
Function at 0x1000265c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x464c]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
and dword [ebp + 8], 0
mov dword [ebp - 4], ecx
test eax, eax
je 0x100026af
cmp eax, 0xffffffff
je 0x100026af
test ebx, ebx
jbe 0x100026aa
push 0
push ebx
push edi
push dword [ecx + 0x464c]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x100026af
mov ecx, dword [ebp + 8]
add edi, eax
add ecx, eax
sub ebx, eax
cmp ecx, dword [ebp + 0xc]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 4]
jb 0x10002682
xor eax, eax
inc eax
jmp 0x100026b1
xor eax, eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x100026b9
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [edx + 0x464c]
xor esi, esi
mov dword [ebp - 8], edx
mov dword [ebp + 8], esi
mov dword [ebp - 4], ecx
test eax, eax
je 0x10002716
cmp eax, 0xffffffff
je 0x10002716
test ecx, ecx
jbe 0x10002713
push esi
push ecx
push ebx
push dword [edx + 0x464c]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x10002716
mov edx, dword [ebp + 8]
add ebx, eax
mov ecx, dword [ebp - 4]
add edx, eax
sub ecx, eax
mov dword [ebp + 8], edx
cmp edx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [ebp - 4], ecx
jb 0x100026e6
xor esi, esi
inc esi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10002b9b
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 8], eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0x100
mov dword [ebp - 4], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
push 0x10
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.10014630
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
adc edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
rdtsc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jg 0x10002c3d
jge 0x10002c35
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jl 0x10002c21
jg 0x10002c3d
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jb 0x10002c21
rdtsc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push dword [ebp - 4]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebp - 8]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
sbb eax, dword [ebp - 0x24]
push 0
push 0xf424
push eax
push ecx
call fcn.10014630
pop edi
pop ebx
mov esp, ebp
pop ebp
ret