joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d2f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x40d30a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d311
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d300
mov eax, 1
add ebx, ebx
jne 0x40d323
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40d318
jne 0x40d334
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d318
xor ecx, ecx
sub eax, 3
jb 0x40d348
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d3ba
mov ebp, eax
add ebx, ebx
jne 0x40d353
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40d360
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40d384
inc ecx
add ebx, ebx
jne 0x40d370
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40d365
jne 0x40d381
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d365
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40d3a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d395
jmp 0x40d306
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d3a4
add edi, ecx
jmp 0x40d306
pop esi
mov edi, esi
mov ecx, 0xc1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40d3c2
cmp byte [edi], 2
jne 0x40d3c2
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 0x40d3c7
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40d436
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d3f4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd09c]
or eax, eax
je 0x40d430
mov dword [ebx], eax
add ebx, 4
jmp 0x40d411
call dword [esi + 0xd098]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40d467
cmp al, 0xef
ja 0x40d45a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40d43c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40d449
mov ebp, dword [esi + 0xd0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x40d49b
sub esp, 0xffffff80
jmp 0x4067b0
Function at 0x42b070
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x23000]
push edi
or ebp, 0xffffffff
jmp 0x42b092
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42b099
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42b088
mov eax, 1
add ebx, ebx
jne 0x42b0ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42b0a0
jne 0x42b0bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b0a0
xor ecx, ecx
sub eax, 3
jb 0x42b0d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42b142
mov ebp, eax
add ebx, ebx
jne 0x42b0db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42b0e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42b10c
inc ecx
add ebx, ebx
jne 0x42b0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42b0ed
jne 0x42b109
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b0ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42b12c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42b11d
jmp 0x42b08e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42b12c
add edi, ecx
jmp 0x42b08e
pop esi
mov edi, esi
mov ecx, 0x2e9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42b14a
cmp byte [edi], 1
jne 0x42b14a
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 0x42b14f
lea edi, [esi + 0x28000]
mov eax, dword [edi]
or eax, eax
je 0x42b1be
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2b6f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2b764]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42b17c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2b76c]
or eax, eax
je 0x42b1b8
mov dword [ebx], eax
add ebx, 4
jmp 0x42b199
call dword [esi + 0x2b768]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x42b1ef
cmp al, 0xef
ja 0x42b1e2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x42b1c4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x42b1d1
mov ebp, dword [esi + 0x2b770]
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 0x42b223
sub esp, 0xffffff80
jmp 0x40d488
Function at 0x100092a5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100174a0]
jne 0x100092af
repz ret
jmp fcn.1000caca

Function at 0x10009426
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10009461
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10009448
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10009459
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10009463
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1000943e
xor eax, eax
pop edi
pop esi
ret

Function at 0x100096d4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
invalid
Function at 0x930194
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x93019a
pop ebp
sub ebp, 6
sub ebp, 0x530194
jmp 0x9301f8
jmp 0x930201
mov eax, 0x530194
add eax, ebp
add eax, 0x93
mov ecx, 0x628
mov edx, 0x94afb762
xor byte [eax], dl
inc eax
dec ecx
jne 0x930218
jmp 0x93022b
or byte [edx], ah
or ah, byte [edx + 0x72]
bound esp, qword [edx + 0xa]
bound ebp, qword [esi - 0x5dae9db2]
xor bl, byte [ebp + 0x2b231af7]
bound esi, qword [edx]
jmp 0x5f7eebf5
Function at 0x49360b
Capabilities:
Terminate process

Disassembly:
call fcn.00493618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x40a880
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x408015
lea edi, [esi - 0x7015]
push edi
jmp 0x40a89a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a8a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a890
mov eax, 1
add ebx, ebx
jne 0x40a8b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a8a8
jne 0x40a8c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a8a8
xor ecx, ecx
sub eax, 3
jb 0x40a8d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40a94a
mov ebp, eax
add ebx, ebx
jne 0x40a8e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a8f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40a914
inc ecx
add ebx, ebx
jne 0x40a900
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a8f5
jne 0x40a911
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a8f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40a934
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40a925
jmp 0x40a896
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40a934
add edi, ecx
jmp 0x40a896
pop esi
mov edi, esi
mov ecx, 0x178
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40a952
cmp byte [edi], 1
jne 0x40a952
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 0x40a957
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40a9c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a984
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa058]
or eax, eax
je 0x40a9c0
mov dword [ebx], eax
add ebx, 4
jmp 0x40a9a1
call dword [esi + 0xa054]
mov ebp, dword [esi + 0xa05c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x40a9fa
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x10003c20
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x1017bda4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x94
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.10010a40
add esp, 0xc
mov dword [ebp - 0xd8], 0x94
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [ebp - 0x3c]
mov ecx, esi
mov edx, dword [ebp - 0x38]
mov eax, edx
shrd ecx, eax, 0x14
shr eax, 0x14
sub esi, dword [ebp - 0x34]
push ecx
sbb edx, dword [ebp - 0x30]
shrd esi, edx, 0x14
push esi
push dword [ebp - 0xcc]
shr edx, 0x14
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
push str.PREMIUM
push str._CheckSystemInformation__ClientVersion:__s__SystemVersion:__d._d._d__MemoryUsage:__d__dmb
push 0
call fcn.10005b90
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop esi
call fcn.1000deee
mov esp, ebp
pop ebp
ret

Function at 0x10003cd0
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1017bda4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 4], 0xffffffff
je 0x10003d5b
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x10003d33
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10003d33
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.100104c0
add esp, 0xc
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10003d6f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10003d6f
mov ecx, esi
call fcn.10004280
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000deee
mov esp, ebp
pop ebp
ret 8
push 0x23
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x10003dc8
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10003d98
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x10003dad
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
pop edi
mov byte [esi + 0x100038], 0
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000deee
mov esp, ebp
pop ebp
ret 8
push 0x80000
lea eax, [esi + 0xc]
push 0
push eax
call fcn.10010a40
push 0x80000
lea eax, [esi + 0x80010]
mov dword [esi + 0x8000c], 0
push 0
push eax
call fcn.10010a40
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [esi + 0x100010], 0
xor ecx, ebp
mov byte [esi + 0x100038], 1
mov al, 1
pop edi
pop esi
call fcn.1000deee
mov esp, ebp
pop ebp
ret 8
Function at 0x10003e80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100291c6
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x1017bda4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x654], eax
mov eax, dword [0x1002b7ec]
mov dword [ebp - 0x18], eax
mov ax, word [0x1002b7f0]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x620]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10003fe4
lea esi, [ebp - 0x620]
nop dword [eax]
mov ax, word [esi]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x220]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10003fd0
xor eax, eax
mov dword [ebp - 0x624], 7
mov dword [ebp - 0x628], 0
mov word [ebp - 0x638], ax
cmp word [ebx], ax
je 0x10003f4f
mov eax, ebx
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10003f40
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x638]
call fcn.10007c10
cmp word [ebp - 0x220], 0
mov dword [ebp - 4], 0
jne 0x10003f71
xor ecx, ecx
jmp 0x10003f8f
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003f80
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x638]
call fcn.10008590
mov edi, eax
cmp edi, 0xffffffff
jne 0x10004002
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x624]
cmp eax, 8
jb 0x10003fd0
inc eax
lea ecx, [ebp - 0x638]
push eax
push dword [ebp - 0x638]
call fcn.10007f30
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10003fd0
cmp word [esi], ax
jne 0x10003ef0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000deee
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x650]
call fcn.100026d0
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x638]
push esi
inc eax
mov byte [ebp - 4], 1
push eax
push edi
call fcn.100099d0
mov eax, dword [ebp - 0x63c]
cmp eax, 8
jb 0x10004048
inc eax
lea ecx, [ebp - 0x650]
push eax
push dword [ebp - 0x650]
call fcn.10007f30
cmp dword [ebp - 0x624], 8
lea eax, [ebp - 0x638]
cmovae eax, dword [ebp - 0x638]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x654]
call fcn.1001327d
mov eax, dword [ebp - 0x624]
add esp, 0xc
cmp eax, 8
jb 0x1000408c
inc eax
lea ecx, [ebp - 0x638]
push eax
push dword [ebp - 0x638]
call fcn.10007f30
mov al, 1
jmp 0x10003fe6
Function at 0x100040a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000c
call fcn.1000df00
mov eax, dword [0x1017bda4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x80008], eax
lea ebx, [edi + 0x10001c]
push ebx
mov dword [ebp - 0x8000c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 4], 0xffffffff
je 0x10004263
cmp byte [edi + 0x100038], 0
je 0x10004263
push esi
push 0x80000
lea eax, [ebp - 0x80004]
push 0
push eax
call fcn.10010a40
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x80004]
push esi
push dword [ebp - 0x80008]
push eax
call fcn.100104c0
add esp, 0x18
cmp byte [ebp - 0x80004], 0xc1
jne 0x10004136
push dword [ebp - 0x80002]
lea eax, [esi - 3]
push eax
lea eax, [ebp - 0x80001]
jmp 0x10004146
push dword [ebp - 0x80001]
lea eax, [esi - 4]
push eax
lea eax, [ebp - 0x80000]
push eax
call fcn.10005dd0
mov ecx, dword [edi + 0x100010]
add esp, 0xc
test ecx, ecx
jle 0x100041a8
lea eax, [ecx + esi]
cmp eax, 0x80000
jle 0x10004186
mov ecx, edi
call fcn.10004280
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000deee
mov esp, ebp
pop ebp
ret 8
push esi
lea eax, [ebp - 0x80004]
push eax
lea eax, [edi + 0x80010]
add eax, ecx
push eax
call fcn.100104c0
add esp, 0xc
add dword [edi + 0x100010], esi
push ebx
jmp 0x100041d9
xor ebx, ebx
test esi, esi
jle 0x100041d2
nop
push 0
push esi
lea eax, [ebp - 0x80004]
add eax, ebx
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x100041f4
sub esi, eax
add ebx, eax
test esi, esi
jg 0x100041b0
mov eax, dword [ebp - 0x8000c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000deee
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1000423a
mov ecx, dword [edi + 0x100010]
lea eax, [ecx + esi]
cmp eax, 0x80000
jg 0x1000423a
lea eax, [ebp - 0x80004]
add eax, ebx
push esi
push eax
lea eax, [edi + 0x80010]
add eax, ecx
push eax
call fcn.100104c0
add esp, 0xc
lea eax, [edi + 0x10001c]
add dword [edi + 0x100010], esi
jmp 0x100041d8
mov ecx, edi
call fcn.10004280
lea eax, [edi + 0x10001c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000deee
mov esp, ebp
pop ebp
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.1000deee
mov esp, ebp
pop ebp
ret 8
Function at 0x10005100
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x1017bda4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x294]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0xff
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1000deee
mov esp, ebp
pop ebp
ret

Function at 0x10005a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x1017bda4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x88], eax
cmp dword [ebx + 0x18], 0
je 0x10005b74
push esi
push edi
lea ecx, [ebp - 0x80]
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 4]
mov dword [ebp - 0x84], esi
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebx + 0x18]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push edi
push dword [ebx + 0x14]
mov esi, eax
push dword [ebx + 0x10]
push 0
push 0
push dword [ebp - 0x84]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [ebx + 0x20], 1
jne 0x10005b62
push str.Segoe_UI
push 2
push 5
push 0
push 8
push 1
push 0
push 0
push 0
push 0x12c
push 0
push 0
push 0
push 0xe
call dword [sym.imp.GDI32.dll_CreateFontA]
mov edi, dword [ebp - 0x84]
push eax
push edi
call esi
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebx + 0x120]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esi, [ebx + 0x21]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005af0
mov eax, dword [ebx + 0x14]
sub ecx, edx
push ecx
push esi
sub eax, 0x25
push eax
push 0x12
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, 0x3e
xor ecx, ecx
mov al, byte [ecx + str.P03__1fuxyk]
xor al, dl
mov byte [ebp + ecx - 0x30], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x29
jb 0x10005b12
lea eax, [ebp - 0x30]
mov byte [ebp - 7], 0
push eax
push esi
call fcn.1000ae50
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005b40
mov eax, dword [ebx + 0x14]
sub ecx, edx
push ecx
push esi
sub eax, 0xf
push eax
mov eax, dword [ebx + 0x10]
sub eax, 0xdc
push eax
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x88]
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1000deee
mov esp, ebp
pop ebp
ret 4
Function at 0x10005dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov bl, byte [ebp + 0x10]
movsx eax, bl
movd xmm0, eax
xor eax, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
test edx, edx
jle 0x10005e61
push esi
mov esi, dword [ebp + 8]
cmp edx, 0x20
jb 0x10005e4b
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x10005e0d
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm2, xmmword [0x1002be70]
mov edi, edx
sub edi, ecx
lea ecx, [esi + 0x10]
nop dword [eax + eax]
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
pxor xmm0, xmm2
psubb xmm0, xmm1
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x20]
pxor xmm0, xmm2
psubb xmm0, xmm1
movups xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x10005e20
pop edi
cmp eax, edx
jge 0x10005e60
nop
mov cl, byte [eax + esi]
xor cl, 0xa0
sub cl, bl
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x10005e50
pop esi
pop ebx
pop ebp
ret

Function at 0x10005e70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1017bda4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10c]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push 1
push 0
push eax
push closesocket
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10005edf
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push esi
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x108]
xor ecx, ebp
pop esi
call fcn.1000deee
mov esp, ebp
pop ebp
ret

Function at 0x10005f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1017bda4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10c]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push 1
push 0
push eax
push closesocket
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10005f6f
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push esi
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x108]
xor ecx, ebp
pop esi
call fcn.1000deee
mov esp, ebp
pop ebp
ret