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

Disassembly:
push 0xffffffffffffffff
push 0x4efaa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x4f2448]
push 0
lea ecx, [esp + 0x20]
call fcn.004e839b
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00476020
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004e82c9
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004e4b8a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004e4b8a
push 1
push 0
push 0
mov ecx, esi
call fcn.004e4b32
push 1
push 0
push 1
mov ecx, esi
call fcn.004e4b32
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004e840d
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x476840
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4efac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004e839b
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00476020
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004e82c9
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x4f2448]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x476904
cmp dword [esp + 0x40], 1
jne 0x476902
cmp ecx, eax
jge 0x476904
mov eax, ecx
cmp eax, 0xc8
jge 0x476910
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004766c0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x4f244c]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004e840d
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x477100
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4efb73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004e2fab
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x4f20bc]
push eax
mov ecx, edi
call fcn.004e8643
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004e9b5f
test eax, eax
je 0x47721c
mov ecx, dword [esp + 0x3c]
call fcn.004e8670
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4f2428]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4771e0
push edi
mov ecx, esi
call fcn.004e5cd5
mov ecx, esi
call fcn.004773c0
cmp dword [esp + 0x38], 1
jne 0x477215
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004e5e10
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x479400
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x479433
push esi
call fcn.004877b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x47942c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4794b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4794a2
mov eax, dword [esi + 8]
test eax, eax
je 0x479457
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x47949e
cmp eax, 2
je 0x4794a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47944a
cmp eax, 3
je 0x47947d
cmp eax, 1
jne 0x47944a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x47944a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x47944a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004794e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4794c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004794e0
add esp, 4
pop esi
ret
Function at 0x4ae010
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x66f418]
xor edx, edx
cmp eax, edx
jne 0x4ae036
xor eax, eax
mov byte [eax + 0x66f318], al
inc eax
cmp eax, 0x100
jl 0x4ae01e
mov dword [0x66f418], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x66f318
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4ae0c7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4ae09a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4ae068
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4ae140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4ae193
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4ae17a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b4b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f037e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004b5440
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x516904
call fcn.004e1713
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4b4bb3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004e1713
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4b4bac
push 0
mov ecx, eax
call fcn.004abc50
mov dword [esi + 0xc], eax
jmp 0x4b4bb5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4b4bb5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x68dbf0
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
cmp ebx, esi
je 0x68dd52
cmp edi, esi
je 0x68dd52
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x48], 0x44434241
mov dword [ebp - 0x44], 0x48474645
mov dword [ebp - 0x40], 0x4c4b4a49
mov dword [ebp - 0x3c], 0x504f4e4d
mov dword [ebp - 0x38], 0x54535251
mov dword [ebp - 0x34], 0x58575655
mov dword [ebp - 0x30], 0x62615a59
mov dword [ebp - 0x2c], 0x66656463
mov dword [ebp - 0x28], 0x6a696867
mov dword [ebp - 0x24], 0x6e6d6c6b
mov dword [ebp - 0x20], 0x7271706f
mov dword [ebp - 0x1c], 0x76757473
mov dword [ebp - 0x18], 0x7a797877
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x2f2b3938
mov dword [ebp - 4], esi
mov ecx, edi
mov dword [ebp - 8], eax
cmp edx, esi
jbe 0x68dd42
add edi, 4
jmp 0x68dca3
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x68dcb8
mov dword [ebp - 4], 2
jmp 0x68dcd9
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x68dccf
mov dword [ebp - 4], 1
jmp 0x68dcd9
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x68dd52
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx + 1], bl
mov ebx, dword [ebp - 4]
cmp ebx, 1
jbe 0x68dd10
mov byte [ecx + 2], 0x3d
jmp 0x68dd1d
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x48]
mov byte [ecx + 2], al
add ecx, 3
add edi, 3
test ebx, ebx
je 0x68dd2c
mov byte [ecx], 0x3d
jmp 0x68dd32
mov dl, byte [ebp + edx - 0x48]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x68dca0
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub ecx, edi
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x54b0a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf4000]
push edi
jmp 0x54b0ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x54b0c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54b0b0
mov eax, 1
add ebx, ebx
jne 0x54b0d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54b0e4
jne 0x54b103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54b103
dec eax
add ebx, ebx
jne 0x54b0f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x54b0c8
add ebx, ebx
jne 0x54b0ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54b155
xor ecx, ecx
sub eax, 3
jb 0x54b11b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54b18a
sar eax, 1
mov ebp, eax
jmp 0x54b126
add ebx, ebx
jne 0x54b126
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54b0f4
inc ecx
add ebx, ebx
jne 0x54b134
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54b0f4
add ebx, ebx
jne 0x54b141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54b136
jne 0x54b152
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54b136
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54b174
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54b166
jmp 0x54b0b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54b174
add edi, ecx
jmp 0x54b0b6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54b192
cmp byte [edi], 0x11
jne 0x54b192
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 0x54b197
lea edi, [esi + 0x144000]
mov eax, dword [edi]
or eax, eax
je 0x54b20f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1bd14c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1bd2c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54b1c4
mov ecx, edi
jns 0x54b1f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1bd2cc]
or eax, eax
je 0x54b209
mov dword [ebx], eax
add ebx, 4
jmp 0x54b1e1
call dword [esi + 0x1bd2dc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x54b240
cmp al, 0xef
ja 0x54b233
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x54b215
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x54b222
mov ebp, dword [esi + 0x1bd2d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x54b274
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x41a179
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x42c72c
push 1
xor ebx, ebx
push ebx
push 0x42c7fc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41a24a
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x42c7ec
push eax
call dword [ecx]
test eax, eax
jl 0x41a241
cmp byte [ebp + 8], bl
je 0x41a1cc
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x41a1e9
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x41a1fb
push 0x42b5cc
jmp 0x41a1fe
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x41a213
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x41a224
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x41a238
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x41a264
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x41f30e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4312a8]
jne 0x41f318
repz ret
jmp fcn.00424d0d

Function at 0x421eb2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
Function at 0x423788
Capabilities:
Resolve function by parsing pe exports

Disassembly:
in al, dx
add ebp, 0x24
push esp
call fcn.004215e7
mov ah, 0x90
les esp, [ecx + 0x30a164]
add byte [eax], al
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x4237ab
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.004215e7
out 0x68, al
add edx, dword [edx - 0x75]
clc
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.004215e7
shl edi, 0xb8
fimul word [ecx - 0x75]
xor al, 0x8b
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x4237d4
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x4237d4
call fcn.004215e7
invalid
Function at 0x100037cd
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
mov edi, 0x1000
xor ebx, ebx
push edi
push 0x40
mov dword [0x10013a40], ebx
mov dword [0x10013a44], ebx
mov dword [0x10013a48], ebx
call esi
mov dword [0x10013a40], eax
cmp eax, ebx
jne 0x10003806
or eax, 0xffffffff
jmp 0x1000386b
push 0x2ee0
push 0x40
call esi
mov dword [0x10013a4c], eax
cmp eax, ebx
jne 0x10003826
push dword [0x10013a40]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10003801
lea eax, [ebp - 4]
push eax
push 0x40
push edi
push dword [0x10013a40]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp eax, 1
je 0x10003869
push dword [0x10013a40]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [0x10013a4c]
call esi
mov dword [0x10013a40], ebx
mov dword [0x10013a4c], ebx
jmp 0x10003801
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10003aae
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x10013af0], esi
je 0x10003ac1
xor eax, eax
jmp 0x10003aec
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x10003a79
push esi
push esi
mov dword [0x10013af0], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
je 0x10003ae9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
leave
ret

Function at 0x10003aef
Capabilities:
Create tcp socket

Disassembly:
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x10003b07
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
ret
Function at 0x10003b22
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push ebx
push edi
lea eax, [ebp - 0x1a4]
push eax
push 0x202
mov dword [ebp - 0xc], 0x4000
call dword [sym.imp.WS2_32.dll_WSAStartup]
push dword [ebp - 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
mov dword [ebp - 4], eax
test eax, eax
je 0x10003bb2
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSAEnumProtocolsW]
lea ecx, [ebp - 0xc]
push ecx
push eax
push 0
call esi
cmp eax, 0xffffffff
jne 0x10003bd8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push dword [ebp - 4]
push 0
cmp eax, 0x2747
je 0x10003b95
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10003baf
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0xc]
push 0
call ebx
push eax
call edi
mov dword [ebp - 4], eax
test eax, eax
jne 0x10003bb6
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret
lea ecx, [ebp - 0xc]
push ecx
push eax
push 0
call esi
cmp eax, 0xffffffff
jne 0x10003bd8
xor esi, esi
push dword [ebp - 4]
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, esi
jmp 0x10003bb1
and dword [ebp - 0x14], 0
and dword [ebp - 8], 0
test eax, eax
jle 0x10003c2e
mov ecx, dword [ebp - 4]
add ecx, 0x14
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
push 4
pop ecx
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x10003c0d
inc dword [ebp - 8]
add dword [ebp - 0x10], 0x274
cmp dword [ebp - 8], eax
jl 0x10003bed
jmp 0x10003c2e
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x10003c27
mov esi, dword [ebp - 8]
imul esi, esi, 0x274
add esi, dword [ebp - 4]
mov ecx, 0x9d
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], 1
mov esi, dword [ebp - 0x14]
jmp 0x10003bc6
Function at 0x10003d20
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x908
push ebx
push esi
push edi
call fcn.10003b08
test eax, eax
je 0x10003e19
lea eax, [ebp - 0x4fc]
push eax
push dword [ebp + 8]
call fcn.10003b22
pop ecx
pop ecx
test eax, eax
je 0x10003e19
and dword [ebp - 0x288], 0
push 0x204
lea eax, [ebp - 0x284]
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x704]
push eax
push dword [ebp + 8]
mov esi, 0x104
mov dword [ebp - 4], esi
call sub.WS2_32.dll_WSCGetProviderPath
test eax, eax
jne 0x10003e19
push esi
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x704]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10003e19
push str.WSPStartup
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
call fcn.10003c33
lea ecx, [ebp - 0x80]
push ecx
sub esp, 0x3c
push 0xf
pop ecx
mov esi, eax
mov edi, esp
lea eax, [ebp - 0x4fc]
push eax
lea eax, [ebp - 0x908]
push eax
push 0x202
rep movsd dword es:[edi], dword [esi]
call ebx
test eax, eax
jne 0x10003e19
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x10003e14
push 0x1e
pop ecx
lea esi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
inc eax
jmp 0x10003e1b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret