joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4056ca
Capabilities:
Contain obfuscated stackstrings

Disassembly:
ror byte [ebp - 0x12a43], 0xff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004047c8
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
invalid
invalid
cmpsd dword [esi], dword es:[edi]
cld
invalid

Function at 0x406503
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
invalid
invalid

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x45fdec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x45fde8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x45fde8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x602f0260
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1e5a276f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x60f71bb9
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x64535f7f
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10020e1
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x18
push 0x1001250
call fcn.01002ea0
mov edi, 0x94
mov eax, edi
call fcn.01003000
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 0x10]
mov dword [0x10062b8], eax
mov ecx, dword [esi + 4]
mov dword [0x10062c4], ecx
mov edx, dword [esi + 8]
mov dword [0x10062c8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x10062bc], esi
cmp eax, 2
je 0x1002141
or esi, 0x8000
mov dword [0x10062bc], esi
shl ecx, 8
add ecx, edx
mov dword [0x10062c0], ecx
cmp word [0x1000000], 0x5a4d
jne 0x100217f
mov eax, dword [0x100003c]
cmp dword [eax + 0x1000000], 0x4550
jne 0x100217f
movzx ecx, word [eax + 0x1000018]
cmp ecx, 0x10b
je 0x1002198
cmp ecx, 0x20b
je 0x1002185
and dword [ebp - 0x1c], 0
jmp 0x10021af
cmp dword [eax + 0x1000084], 0xe
jbe 0x100217f
xor ecx, ecx
cmp dword [eax + 0x10000f8], ecx
jmp 0x10021a9
cmp dword [eax + 0x1000074], 0xe
jbe 0x100217f
xor ecx, ecx
cmp dword [eax + 0x10000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
push 0
call fcn.01002e42
pop ecx
test eax, eax
jne 0x10021dc
cmp dword [0x10062a8], 2
je 0x10021c9
call fcn.0100268c
push 0x1c
call fcn.0100249f
push 0xff
call fcn.010022fe
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.01002c72
test eax, eax
jge 0x10021f1
push 0x1b
call fcn.010020b2
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x1006834], eax
call fcn.01002b45
mov dword [0x10062a0], eax
call fcn.01002a9c
test eax, eax
jge 0x1002217
push 8
call fcn.010020b2
pop ecx
call fcn.01002842
test eax, eax
jge 0x1002228
push 9
call fcn.010020b2
pop ecx
call fcn.01002358
mov dword [ebp - 0x24], eax
test eax, eax
je 0x100223b
push eax
call fcn.010020b2
pop ecx
mov eax, dword [0x10062d8]
mov dword [0x10062dc], eax
push eax
push dword [0x10062d0]
push dword [0x10062cc]
call fcn.01001e19
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x1c], 0
jne 0x100226b
push esi
call fcn.01002438
call fcn.01002470
jmp 0x100229d
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x34]
call fcn.01002edb
ret
Function at 0x100249f
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1006034]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x1006040]
je 0x10024c9
inc eax
cmp eax, 0x12
jb 0x10024ba
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x1006040]
mov dword [ebp - 0x110], esi
jne 0x1002674
mov eax, dword [0x10062a8]
cmp eax, 1
je 0x1002642
test eax, eax
jne 0x10024ff
cmp dword [0x100603c], 1
je 0x1002642
cmp ecx, 0xfc
je 0x1002674
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100253a
push 5
pop ecx
mov esi, 0x10015c4
lea edi, [ebp - 0x10c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ebx, [ebp - 0x10c]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002545
sub eax, edx
inc eax
cmp eax, 0x3c
jbe 0x100257d
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100255d
sub eax, edx
push 3
lea ebx, [ebp + eax - 0x147]
push 0x10015c0
push ebx
call fcn.01003270
add esp, 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002582
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0x1006044]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100259c
sub eax, esi
lea eax, [eax + ecx + 0x1c]
add eax, 3
and eax, 0xfffffffc
call fcn.01003000
mov edx, esp
push 6
pop ecx
mov esi, 0x10015a4
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
movsw word es:[edi], word [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10025c8
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10025d4
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 edi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10025ed
mov eax, dword [ebp - 0x110]
mov esi, 0x10015a0
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x1006044]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100260b
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1002617
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x12010
mov ecx, eax
and ecx, 3
push 0x1001578
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.0100316f
add esp, 0xc
jmp 0x1002674
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x1002674
mov esi, dword [esi + 0x1006044]
mov ecx, esi
lea edx, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x1002659
push 0
sub ecx, edx
lea edx, [ebp - 0x114]
push edx
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x120]
mov ecx, dword [ebp - 4]
call fcn.01001f9a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002b45
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1006410]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push edi
xor ebx, ebx
xor edi, edi
cmp eax, ebx
jne 0x1002b91
call esi
mov edi, eax
cmp edi, ebx
je 0x1002b77
mov dword [0x1006410], 1
jmp 0x1002b96
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1002b8c
push 2
pop eax
mov dword [0x1006410], eax
jmp 0x1002b91
mov eax, dword [0x1006410]
cmp eax, 1
jne 0x1002c0e
cmp edi, ebx
jne 0x1002ba2
call esi
mov edi, eax
cmp edi, ebx
je 0x1002c17
cmp word [edi], bx
mov eax, edi
je 0x1002bb7
inc eax
inc eax
cmp word [eax], bx
jne 0x1002ba9
inc eax
inc eax
cmp word [eax], bx
jne 0x1002ba9
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, edi
push ebx
sar eax, 1
inc eax
push eax
push edi
push ebx
push ebx
mov dword [ebp - 0xc], eax
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x1002c05
push eax
call fcn.01003438
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
je 0x1002c05
push ebx
push ebx
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push edi
push ebx
push ebx
call esi
test eax, eax
jne 0x1002c02
push dword [ebp - 4]
call fcn.01003373
pop ecx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1002c66
cmp eax, 2
je 0x1002c1b
cmp eax, ebx
je 0x1002c1b
xor eax, eax
jmp 0x1002c68
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x1002c17
cmp byte [esi], bl
je 0x1002c38
inc eax
cmp byte [eax], bl
jne 0x1002c2e
inc eax
cmp byte [eax], bl
jne 0x1002c2e
sub eax, esi
inc eax
mov edi, eax
push edi
call fcn.01003438
cmp eax, ebx
pop ecx
je 0x1002c5f
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100316f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x1006434], ebx
push esi
push edi
jne 0x10031f1
push 0x1001640
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x100322c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001634
push edi
call esi
test eax, eax
mov dword [0x1006434], eax
je 0x100322c
push 0x1001624
push edi
call esi
push 0x1001610
push edi
mov dword [0x1006438], eax
call esi
cmp dword [0x10062b8], 2
mov dword [0x100643c], eax
jne 0x10031f1
push 0x10015f4
push edi
call esi
test eax, eax
mov dword [0x1006444], eax
je 0x10031f1
push 0x10015dc
push edi
call esi
mov dword [0x1006440], eax
mov eax, dword [0x1006440]
test eax, eax
je 0x1003236
call eax
test eax, eax
je 0x100321d
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x1006444]
test eax, eax
je 0x100321d
test byte [ebp - 8], 1
jne 0x1003236
cmp dword [0x10062c4], 4
jb 0x1003230
or byte [ebp + 0x12], 0x20
jmp 0x1003255
xor eax, eax
jmp 0x1003265
or byte [ebp + 0x12], 4
jmp 0x1003255
mov eax, dword [0x1006438]
test eax, eax
je 0x1003255
call eax
mov ebx, eax
test ebx, ebx
je 0x1003255
mov eax, dword [0x100643c]
test eax, eax
je 0x1003255
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x1006434]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10041f2
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x1004223
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x100422a
cmp ebx, dword [ebp + 8]
jae 0x100422a
xor eax, eax
jmp 0x100441a
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x100423b
xor eax, eax
inc eax
jmp 0x1004419
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x1004251
cmp ecx, edx
jae 0x1004396
cmp dword [eax + 4], 0
je 0x100425a
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x1004242
cmp dword [ebp + 8], 0
je 0x100427c
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x1004396
cmp eax, esi
jae 0x1004396
mov eax, dword [0x1006450]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x10042a1
cmp dword [esi*4 + 0x1006458], edi
je 0x100439a
inc esi
cmp esi, eax
jl 0x100428f
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1004416
cmp dword [ebp - 8], 0x1000000
jne 0x1004416
test byte [ebp - 0xc], 0xcc
je 0x100431f
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x1004416
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1004416
cmp word [eax + 0x18], 0x10b
jne 0x1004416
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x1004416
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x100431f
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x100431f
test byte [ecx + 0x27], 0x80
jne 0x1004396
push 1
push 0x1006498
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x1004233
mov ecx, dword [0x1006450]
test ecx, ecx
mov edx, ecx
jle 0x1004353
lea eax, [ecx*4 + 0x1006454]
cmp dword [eax], edi
je 0x1004353
dec edx
sub eax, 4
test edx, edx
jg 0x1004347
test edx, edx
jne 0x1004384
push 0xf
pop ebx
cmp ecx, ebx
jg 0x1004360
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x1004378
lea eax, [edx*4 + 0x1006458]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x1004366
cmp ecx, 0x10
jge 0x1004384
inc ecx
mov dword [0x1006450], ecx
push 0
push 0x1006498
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x1004233
xor eax, eax
jmp 0x1004419
test esi, esi
jle 0x1004233
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x1006498
call ebx
test eax, eax
jne 0x1004233
cmp dword [esi*4 + 0x1006458], edi
je 0x10043f0
mov eax, dword [0x1006450]
lea esi, [eax - 1]
test esi, esi
jl 0x10043de
cmp dword [esi*4 + 0x1006458], edi
je 0x10043da
dec esi
jns 0x10043ce
test esi, esi
jge 0x10043ee
cmp eax, 0x10
jge 0x10043e9
inc eax
mov dword [0x1006450], eax
lea esi, [eax - 1]
jmp 0x10043f0
je 0x1004408
xor ecx, ecx
test esi, esi
jl 0x1004408
lea eax, [ecx*4 + 0x1006458]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x10043f6
push 0
push 0x1006498
call ebx
jmp 0x1004233
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1004fe3
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 4
pop eax
call fcn.01003000
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1005049
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x10062b8]
mov esi, dword [ebp - 0x40]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
lea edx, [esi - 1]
and ecx, 0x103
not edx
and edx, ebx
inc ecx
sub edx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffff1
add eax, 0x11
imul eax, esi
add eax, edi
cmp edx, eax
jae 0x100504d
xor eax, eax
jmp 0x100505a
lea eax, [ebp - 4]
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xe660481
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xe182d89
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4026b7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x94
mov eax, dword [ebp + 0x10]
lea ebx, [eax - 1]
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.cygwin1.dll_strerror
mov edx, eax
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Soliterm
mov dword [esp + 8], str._s:__s___s:_d_
mov dword [esp + 4], 0x64
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call sub.cygwin1.dll_snprintf
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x6c]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x408718
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.cygwin1.dll_exit
Function at 0x1001825
Capabilities:
Get hostname
Get session user name
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x100a370]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x144]
push eax
xor ebx, ebx
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x144], 0x64
mov dword [ebp - 0x134], ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x100191e
push 0xc8
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x100191e
push 8
pop ecx
xor eax, eax
push 2
pop esi
lea edi, [ebp - 0x164]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x164]
push eax
push ebx
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x164], esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x100191e
push 0x10012e4
call fcn.0100682a
pop ecx
cmp eax, 3
jne 0x100191e
lea eax, [ebp - 0x68]
push eax
call fcn.0100625b
mov dword [ebp - 0x13c], eax
cmp eax, ebx
je 0x100191e
mov eax, dword [ebp - 0x134]
push dword [eax + 0x14]
call fcn.0100625b
mov dword [ebp - 0x138], eax
cmp eax, ebx
je 0x100191e
push eax
push dword [ebp - 0x13c]
push 0x10012d8
call fcn.0100682a
add esp, 0xc
cmp eax, esi
je 0x1001982
cmp dword [ebp - 0x134], ebx
je 0x1001932
push dword [ebp - 0x134]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp dword [ebp - 0x13c], ebx
je 0x1001952
push dword [ebp - 0x13c]
push ebx
call edi
push eax
call esi
cmp dword [ebp - 0x138], ebx
je 0x1001966
push dword [ebp - 0x138]
push ebx
call edi
push eax
call esi
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x279f
push eax
call fcn.01005f9f
pop ecx
pop ecx
xor eax, eax
jmp 0x1001a0a
lea eax, [ebp - 0x68]
push eax
call fcn.0100565b
mov dword [ebp - 0x140], eax
cmp eax, ebx
je 0x10019d7
mov eax, dword [ebp - 0x134]
push dword [eax + 0x14]
call fcn.0100565b
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, eax
cmp edi, ebx
je 0x10019cf
mov eax, dword [sym.imp.msvcrt.dll__iob]
push edi
push dword [ebp - 0x140]
add eax, 0x40
push 0x27a0
push eax
call fcn.01005f9f
add esp, 0x10
push edi
call esi
push dword [ebp - 0x140]
call esi
push dword [ebp - 0x134]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
push dword [ebp - 0x13c]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call edi
push dword [ebp - 0x138]
push ebx
call esi
push eax
call edi
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01008359
leave
ret