joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x4661a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x4661a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x466dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.00466f04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.00466f20
push edx
push dword [ebp + 0x10]
push eax
call fcn.00466eec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00466f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00466ecb
push ecx
push dword [ebp + 8]
call fcn.00466f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00466f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00466ecb
push ecx
push dword [ebp + 8]
call fcn.00466f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00466f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00466ecb
push ecx
push dword [ebp + 8]
call fcn.00466f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00466f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00466ecb
cmp ecx, 0x2b
jne 0x466e0f
leave
ret 0xc

Function at 0x4684b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x468544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x58e30
push 0
call dword [eax + 0x20]
test eax, eax
je 0x4685d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x58e30
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x58e30
call fcn.004683fa
push 0x58e30
push dword [ebp + 0xc]
call fcn.004661a8
test eax, eax
jne 0x4685b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x58e30
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.004685dd
test eax, eax
je 0x4685d6
jmp 0x468574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x4685d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x46860b
Capabilities:
Terminate process

Disassembly:
call fcn.00468618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x401690
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x4017f2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4017f2
mov eax, dword [ebp + 0x10]
cmp eax, 1
jb 0x4017f2
push esi
xor esi, esi
test eax, eax
je 0x4017e7
dec eax
push ebx
mov bl, byte [ebp + 0xa]
shr eax, 2
inc eax
push edi
lea edi, [ecx + 2]
mov dword [ebp + 0xc], eax
mov dl, byte [edi - 2]
cmp dl, 0x2b
jne 0x4016dc
mov dl, 0x3e
jmp 0x40170a
cmp dl, 0x2f
jne 0x4016e5
mov dl, 0x3f
jmp 0x40170a
cmp dl, 0x39
jg 0x4016ef
add dl, 4
jmp 0x40170a
cmp dl, 0x3d
je 0x401708
cmp dl, 0x5a
jg 0x4016fe
sub dl, 0x41
jmp 0x40170a
cmp dl, 0x7a
jg 0x401708
sub dl, 0x47
jmp 0x40170a
mov dl, 0x40
mov cl, byte [edi - 1]
cmp cl, 0x2b
jne 0x401716
mov cl, 0x3e
jmp 0x401744
cmp cl, 0x2f
jne 0x40171f
mov cl, 0x3f
jmp 0x401744
cmp cl, 0x39
jg 0x401729
add cl, 4
jmp 0x401744
cmp cl, 0x3d
je 0x401742
cmp cl, 0x5a
jg 0x401738
sub cl, 0x41
jmp 0x401744
cmp cl, 0x7a
jg 0x401742
sub cl, 0x47
jmp 0x401744
mov cl, 0x40
mov al, cl
shl dl, 2
shr al, 4
add al, dl
mov edx, dword [ebp + 8]
mov byte [esi + edx], al
inc esi
mov al, byte [edi]
cmp al, 0x3d
je 0x40179d
mov bl, al
cmp bl, 0x2b
jne 0x401766
mov bl, 0x3e
jmp 0x40178f
cmp bl, 0x2f
jne 0x40176f
mov bl, 0x3f
jmp 0x40178f
cmp bl, 0x39
jg 0x401779
add bl, 4
jmp 0x40178f
cmp bl, 0x5a
jg 0x401783
sub bl, 0x41
jmp 0x40178f
cmp bl, 0x7a
jg 0x40178d
sub bl, 0x47
jmp 0x40178f
mov bl, 0x40
mov al, bl
shl cl, 4
shr al, 2
add al, cl
mov byte [esi + edx], al
inc esi
mov al, byte [edi + 1]
cmp al, 0x3d
je 0x4017d9
cmp al, 0x2b
jne 0x4017ac
mov al, 0x3e
jmp 0x4017ce
cmp al, 0x2f
jne 0x4017b4
mov al, 0x3f
jmp 0x4017ce
cmp al, 0x39
jg 0x4017bc
add al, 4
jmp 0x4017ce
cmp al, 0x5a
jg 0x4017c4
sub al, 0x41
jmp 0x4017ce
cmp al, 0x7a
jg 0x4017cc
sub al, 0x47
jmp 0x4017ce
mov al, 0x40
mov cl, bl
shl cl, 6
add cl, al
mov byte [esi + edx], cl
inc esi
add edi, 4
dec dword [ebp + 0xc]
jne 0x4016d0
pop edi
pop ebx
mov byte [esi + edx], 0
mov eax, esi
pop esi
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc

Function at 0x403aa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push ecx
push 0x403960
push 0
push 0
mov dword [ecx], esi
call fcn.0040fc9c
add esp, 0x18
mov edi, eax
test esi, esi
jne 0x403b14
test edi, edi
je 0x403b14
push 0xffffffffffffffff
push edi
call dword [0x41d17c]
lea eax, [ebp - 8]
push eax
push edi
call dword [0x41d178]
test eax, eax
je 0x403b14
cmp dword [ebp - 8], esi
jne 0x403b14
push 0x1f4
call dword [0x41d180]
pop edi
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fb0e
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040fb0e
mov esp, ebp
pop ebp
ret 4
Function at 0x4040c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ecx + 0x920]
mov eax, dword [ecx + 8]
push esi
push 0
mov dword [edx + 4], eax
mov edx, dword [ecx + 0x920]
mov eax, dword [ecx + 0xc]
push 0
mov dword [edx + 8], eax
mov eax, dword [ecx + 0x920]
push eax
push 0x403960
push 0
push 0
mov dword [eax], 0x404160
call fcn.0040fc9c
mov esi, eax
add esp, 0x18
mov eax, 0x404160
test eax, eax
jne 0x404143
test esi, esi
je 0x404143
push 0xffffffffffffffff
push esi
call dword [0x41d17c]
lea eax, [ebp - 8]
push eax
push esi
call dword [0x41d178]
test eax, eax
je 0x404143
cmp dword [ebp - 8], 0
jne 0x404143
push 0x1f4
call dword [0x41d180]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040fb0e
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ecx
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x428460], ecx
inc eax
cmp eax, 0x100
jb 0x40cbf3
cmp eax, 0x800
jae 0x40ccc3
nop
mov edx, dword [eax*4 + 0x428060]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x428460]
mov dword [eax*4 + 0x428460], edx
inc eax
cmp eax, 0x800
jb 0x40cca0
mov dword [0x427378], 0x40d880
call fcn.0040da10
mov ecx, dword [0x427378]
test eax, eax
mov edx, 0x40d920
cmove ecx, edx
mov dword [0x427378], ecx
pop ecx
ret

Function at 0x40df20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov eax, dword [eax]
and eax, 7
cmp edx, 5
jae 0x40df40
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
add edx, 0xfffffffc
or ebx, 0xffffffff
add edx, ecx
push esi
mov dword [ebp - 8], edx
lea ecx, [ecx]
Function at 0x40df5b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea esi, [edi + ecx]
cmp esi, edx
jae 0x40df69
mov cl, byte [esi]
and cl, 0xfe
inc byte [eax + 0x574e8f9]
inc esi
cmp esi, edx
jb 0x40df57
mov ecx, dword [ebp - 4]
mov edi, esi
sub edi, ecx
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x40e071
cmp ecx, 3
jbe 0x40df82
xor eax, eax
jmp 0x40dfc0
dec ecx
shl eax, cl
and eax, 7
je 0x40dfc0
movzx ecx, byte [eax + 0x422968]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x422960], 0
mov cl, byte [edx + 4]
je 0x40dfaa
test cl, cl
je 0x40dfaa
cmp cl, 0xff
jne 0x40dfbd
mov edx, dword [ebp - 8]
and eax, 3
mov ecx, dword [ebp - 4]
add eax, eax
mov ebx, edi
or eax, 1
inc edi
jmp 0x40df50
mov edx, dword [ebp - 8]
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test cl, cl
je 0x40dfe2
cmp cl, 0xff
je 0x40dfe2
mov ecx, dword [ebp - 4]
and eax, 3
add eax, eax
or eax, 1
inc edi
jmp 0x40df50
movzx edx, cl
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
sub edx, edi
lea ebx, [edx - 5]
test eax, eax
je 0x40e03e
movzx edx, byte [eax + 0x422968]
mov ecx, 0x18
shl edx, 3
sub ecx, edx
mov dword [ebp - 0xc], edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x40e02a
cmp dl, 0xff
jne 0x40e03e
mov ecx, 0x20
mov edx, 1
sub ecx, dword [ebp - 0xc]
shl edx, cl
dec edx
xor edx, ebx
jmp 0x40e000
mov edx, dword [ebp - 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
shr ecx, 8
add edi, 5
mov byte [esi + 2], cl
mov ecx, dword [ebp - 4]
jmp 0x40df50
pop esi
pop ebx
cmp ecx, 3
jbe 0x40e086
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40df95
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea esi, [edi + ecx]
cmp esi, edx
jae 0x40df69
mov cl, byte [esi]
and cl, 0xfe
inc byte [eax + 0x574e8f9]
inc esi
cmp esi, edx
jb 0x40df57
mov ecx, dword [ebp - 4]
mov edi, esi
sub edi, ecx
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x40e071
cmp ecx, 3
jbe 0x40df82
xor eax, eax
jmp 0x40dfc0
dec ecx
shl eax, cl
and eax, 7
je 0x40dfc0
movzx ecx, byte [eax + 0x422968]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x422960], 0
mov cl, byte [edx + 4]
je 0x40dfaa
test cl, cl
je 0x40dfaa
cmp cl, 0xff
jne 0x40dfbd
mov edx, dword [ebp - 8]
and eax, 3
mov ecx, dword [ebp - 4]
add eax, eax
mov ebx, edi
or eax, 1
inc edi
jmp 0x40df50
mov edx, dword [ebp - 8]
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test cl, cl
je 0x40dfe2
cmp cl, 0xff
je 0x40dfe2
mov ecx, dword [ebp - 4]
and eax, 3
add eax, eax
or eax, 1
inc edi
jmp 0x40df50
movzx edx, cl
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
sub edx, edi
lea ebx, [edx - 5]
test eax, eax
je 0x40e03e
movzx edx, byte [eax + 0x422968]
mov ecx, 0x18
shl edx, 3
sub ecx, edx
mov dword [ebp - 0xc], edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x40e02a
cmp dl, 0xff
jne 0x40e03e
mov ecx, 0x20
mov edx, 1
sub ecx, dword [ebp - 0xc]
shl edx, cl
dec edx
xor edx, ebx
jmp 0x40e000
mov edx, dword [ebp - 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
shr ecx, 8
add edi, 5
mov byte [esi + 2], cl
mov ecx, dword [ebp - 4]
jmp 0x40df50
pop esi
pop ebx
cmp ecx, 3
jbe 0x40e086
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x41ad12
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
push 0xfffffffffffffffe
pop eax
jbe 0x41ad38
push esi
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x488800]
inc ecx
dec edx
jne 0x41ad1b
pop edi
pop esi
ret

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 0x100019a7
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x10001a5a
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x10002bf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.100019a7
test eax, eax
je 0x10002c33
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x10002c33
cmp word [eax], 0x5a4d
jne 0x10002c33
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x10002c33
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10002c52
mov eax, dword [ebp + 8]
jmp 0x10002c4c
mov esp, ebp
pop ebp
ret 4
Function at 0x10006f7a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.10038620
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006fbf
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x1007445f
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.10001f82
add esp, 8
cmp eax, 0
jne 0x10007015
mov eax, dword [0x10076a84]
test eax, eax
je 0x10006ffc
push eax
mov ebx, eax
call fcn.10002038
inc eax
push eax
call fcn.100377c4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000700f
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10007046
push 6
call fcn.100377d0
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10007059
mov eax, 0x1007445f
push eax
push 1
mov ebx, 0x170
call fcn.10038ca0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x10007077
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10007088
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1000708f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.10038620
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100070d4
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x100070ff
push 6
call fcn.100377d0
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x1000711b
push eax
mov ebx, eax
call fcn.10002038
inc eax
push eax
call fcn.100377c4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10007120
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10007131
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x100075df
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x10007601
mov eax, 0xfffffffd
jmp 0x100076de
mov ebx, dword [0x10076a80]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x100076ac
mov ebx, dword [0x10076a80]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x10007650
mov ebx, dword [0x10076a80]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x10007650
mov eax, 1
jmp 0x10007652
xor eax, eax
test eax, eax
je 0x1000767e
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x10007667
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x10076a80]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x100076d4
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x100076de
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c624
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.100019a7
test eax, eax
je 0x1000c68f
push ecx
push ebx
xor eax, eax
xchg dword [ebp + 0xc], eax
xchg dword [ebp + 0x10], eax
mov ebx, dword [ebp + 8]
cmp ebx, 0xffff
jle 0x1000c68d
cmp word [ebx], 0x5a4d
jne 0x1000c68d
mov ecx, dword [ebx + 0x3c]
add ecx, ebx
cmp dword [ecx], 0x4550
jne 0x1000c68d
cmp dword [ebp + 0x10], 0
je 0x1000c681
movzx eax, word [ecx + 0x16]
and eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x10]
jne 0x1000c68d
cmp dword [ecx + 0x28], 0
je 0x1000c68d
add ebx, dword [ecx + 0x28]
mov dword [ebp + 0xc], ebx
pop ebx
pop ecx
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10002c52
mov eax, dword [ebp + 0xc]
jmp 0x1000c6a8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000e53f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1000e56d
push eax
mov ebx, eax
call fcn.10002038
inc eax
push eax
call fcn.100377c4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000e57e
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov dword [ebp - 4], eax
push connect
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x10074497
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1000e5b3
mov eax, 0x1007445f
push eax
push 4
mov ebx, 0x148
call fcn.10038660
add esp, 0x34
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x1000e6ae
push 0
mov ebx, 0x104
call fcn.10039240
add esp, 4
mov dword [ebp - 8], eax
push dword [ebp - 4]
push 0x10074497
push dword [ebp - 8]
mov ecx, 3
call fcn.100020a3
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000e613
push ebx
call fcn.100377ca
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1000e626
mov eax, 0x1007445f
push eax
push 1
mov ebx, 0x24c
call fcn.100392e0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000e64c
push ebx
call fcn.100377ca
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x1000e6ae
push 0
mov ebx, 0x104
call fcn.10039240
add esp, 4
mov dword [ebp - 8], eax
push dword [ebp - 4]
push 0x10074497
push dword [ebp - 8]
mov ecx, 3
call fcn.100020a3
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000e696
push ebx
call fcn.100377ca
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000e6aa
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x1000e6dd
push 6
call fcn.100377d0
add esp, 4
jmp 0x1000e6e2
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000e6f3
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100138eb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x18
call fcn.100377c4
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [0x10076b94], 0
jne 0x100139b7
mov ebx, dword [0x10076b98]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov eax, 0x10074b02
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10001aa0
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1001396b
push ebx
call fcn.100377ca
add esp, 4
lea eax, [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.10013a95
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1001398c
push ebx
call fcn.100377ca
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [0x10076b94], eax
push htons
push 0
push 0x100153ee
push 1
mov ebx, 0x9dc
call fcn.10037c60
add esp, 0x10
mov dword [0x10076b9c], eax
push 1
lea eax, [ebp - 4]
push eax
push 1
push 0
push 1
push 0
push dword [0x10076b9c]
push dword [0x10076b94]
call fcn.10013ab4
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10013a17
push 6
call fcn.100377d0
add esp, 4
mov dword [ebp - 8], eax
push 1
lea eax, [ebp - 4]
push eax
call fcn.1001521d
cmp dword [ebp - 8], 0
je 0x10013a70
push 2
push dword [ebp - 8]
call fcn.10012293
cmp dword [ebp + 0x1c], 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10013a67
push 1
push 0xffffffff
push dword [ebp + 0x18]
push dword [ebp - 8]
call fcn.100152aa
lea eax, [ebp - 8]
push eax
call fcn.1000b49b
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x10013a81
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18

Function at 0x100190c9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
push esi
push edi
push eax
push ebx
push ecx
push edx
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, esi
mov ebx, esi
shl ebx, 6
shr eax, 2
add ebx, eax
movsx edx, byte [ecx]
lea ebx, [edx + ebx - 0x61c88647]
xor ebx, esi
inc ecx
mov esi, ebx
cmp ecx, edi
jne 0x100190e8
mov dword [ebp - 4], ebx
pop edx
pop ecx
pop ebx
pop eax
pop edi
pop esi
push dword [ebp - 4]
call fcn.10019146
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.10016b57
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x10019140
mov esp, ebp
pop ebp
ret 0xc