joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499df0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5fc28c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x499fda
sub esp, 0x48
mov eax, dword [0x5d3290]
mov ecx, dword [esp + 0x50]
movzx edx, word [ecx + 0xa]
movzx ebx, word [ecx + 0xc]
movzx ebp, word [ecx + 2]
movzx esi, word [ecx + 8]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], 1
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call sym.time.Date
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.00469f1e
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.00469f1e
call sym.time.Time.abs
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x93a80
call sym.runtime.uint64mod
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
lea eax, [ebp + edx]
sar eax, 0x10
sar ebp, 0x1f
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x499ec7
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x499ee1
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x499f58
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x499f2e
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x499f2a
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x499f23
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x499f30
mov ebx, 0x1d
jmp 0x499f4e
mov ebp, eax
jmp 0x499f30
mov ebp, eax
cmp ebp, 0xd
jae 0x499fcd
lea eax, [ebp - 1]
lea edx, [0x5cc5a0]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x499fc3
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x499f58
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x499f8a
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x499f92
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
add esp, 0x48
ret
mov ecx, 0xd
call sym.runtime.panicIndex
mov eax, ebp
mov ecx, 0xd
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.time.pseudoUnix
Function at 0x4adb90
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5fc28c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4adc31
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx], ecx
jne 0x4adc27
movzx ecx, byte [eax + 4]
cmp byte [edx + 4], cl
jne 0x4adc27
movzx ecx, byte [eax + 5]
cmp byte [edx + 5], cl
jne 0x4adc27
movzx ecx, byte [eax + 6]
cmp byte [edx + 6], cl
jne 0x4adc27
movzx ecx, byte [eax + 7]
cmp byte [edx + 7], cl
jne 0x4adc27
movzx ecx, byte [eax + 8]
cmp byte [edx + 8], cl
jne 0x4adc27
movzx ecx, byte [eax + 9]
cmp byte [edx + 9], cl
jne 0x4adc27
movzx ecx, byte [eax + 0xa]
cmp byte [edx + 0xa], cl
jne 0x4adc27
movzx ecx, byte [eax + 0xb]
cmp byte [edx + 0xb], cl
jne 0x4adc27
movzx ecx, byte [eax + 0xc]
cmp byte [edx + 0xc], cl
jne 0x4adc27
add eax, 0x10
mov dword [esp], eax
lea eax, [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x4c
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
jmp 0x4adc29
xor eax, eax
mov byte [esp + 0x1c], al
add esp, 0x10
ret
call sym.runtime.morestack_noctxt
jmp sym.type:.eq.fmt.fmt
Function at 0x4b04f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x5fc28c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b05e1
sub esp, 0x1c
mov ecx, dword [esp + 0x20]
test byte [ecx], al
mov edx, dword [esp + 0x24]
and edx, 0x7f
shl edx, 5
add ecx, edx
mov dword [esp + 0x18], ecx
xor eax, eax
jmp 0x4b052c
mov ebx, dword [esp + 0xc]
inc ebx
mov ecx, dword [esp + 0x18]
mov eax, ebx
cmp eax, 4
jge 0x4b0565
mov dword [esp + 0xc], eax
lea edx, [ecx + eax*8]
mov dword [esp], edx
call sym.sync_atomic.LoadUint64
mov eax, dword [esp + 0x24]
cmp dword [esp + 4], eax
sete cl
mov edx, dword [esp + 0x28]
cmp dword [esp + 8], edx
sete bl
and ebx, ecx
test bl, bl
je 0x4b0521
mov byte [esp + 0x2c], 1
add esp, 0x1c
ret
xor eax, eax
mov edx, 0x84222325
jmp 0x4b056f
inc eax
cmp eax, 4
jge 0x4b0584
mov dword [esp + 0x14], eax
lea ebx, [ecx + eax*8]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
xor esi, esi
jmp 0x4b05da
and edx, 3
lea eax, [ecx + edx*8]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call sym.sync_atomic.StoreUint64
mov byte [esp + 0x2c], 0
add esp, 0x1c
ret
mov edi, ebp
and edi, 0xff
xor edx, edi
shr ebp, 8
mov edi, ebx
shl edi, 0x18
mov dword [esp + 0x10], edi
mov eax, edx
mov edi, 0x1b3
mul edi
inc esi
mov edi, dword [esp + 0x10]
or ebp, edi
shr ebx, 8
mov edx, eax
mov eax, dword [esp + 0x14]
cmp esi, 8
jl 0x4b05ab
jmp 0x4b056e
call sym.runtime.morestack_noctxt
jmp sym.internal_bisect._dedup_.seenLossy
Function at 0x4b1bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5fc28c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b1d6a
sub esp, 0x54
lea edi, [esp + 0x60]
xor eax, eax
call fcn.00469a3b
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
xor ebx, ebx
jmp 0x4b1bef
inc ebx
cmp edx, ebx
jle 0x4b1d0e
movzx ebp, byte [ecx + ebx]
xchg ebp, eax
cmp al, 0x25
xchg ebp, eax
je 0x4b1cb2
xchg ebp, eax
cmp al, 0x2e
xchg ebp, eax
je 0x4b1c63
xchg ebp, eax
cmp al, 0x3a
xchg ebp, eax
jne 0x4b1bee
lea edi, [esp + 0x28]
call fcn.00469a3b
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.net_netip.parseIPv6
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x20]
lea edi, [esp + 0x28]
lea esi, [esp + 8]
call fcn.00469f1e
lea edi, [esp + 0x60]
lea esi, [esp + 0x28]
call fcn.00469f1e
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x54
ret
lea edi, [esp + 0x28]
call fcn.00469a3b
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.net_netip.parseIPv4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x20]
lea edi, [esp + 0x28]
lea esi, [esp + 8]
call fcn.00469f1e
lea edi, [esp + 0x60]
lea esi, [esp + 0x28]
call fcn.00469f1e
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x54
ret
lea edi, [esp + 0x3c]
call fcn.00469a3a
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
lea ecx, [0x50e2c2]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0x14
lea edi, [esp + 0x60]
call fcn.00469a3b
lea ecx, [0x4fd580]
mov dword [esp], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x536520]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
add esp, 0x54
ret
lea edi, [esp + 0x3c]
call fcn.00469a3a
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
lea ecx, [0x50d82f]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0x12
lea edi, [esp + 0x60]
call fcn.00469a3b
lea ecx, [0x4fd580]
mov dword [esp], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x536520]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
add esp, 0x54
ret
call sym.runtime.morestack_noctxt
jmp sym.net_netip.ParseAddr
Function at 0x4b9620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5fc28c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b97dc
sub esp, 0x5c
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.00469a37
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4b9658
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
jmp 0x4b9681
lea eax, [0x4f1160]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x200
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, 0x200
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x38]
mov ebx, eax
xor eax, eax
call fcn.00469a37
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], ecx
movzx ecx, word [esp + 0x70]
shl ecx, 0xb
movzx edx, word [esp + 0x78]
movzx ebx, byte [esp + 0x75]
or edx, ecx
test bl, bl
je 0x4b96c4
or edx, 0x80
movzx eax, byte [esp + 0x74]
test al, al
je 0x4b96d3
or edx, 0x100
movzx eax, byte [esp + 0x73]
test al, al
je 0x4b96e2
or edx, 0x200
movzx eax, byte [esp + 0x72]
test al, al
je 0x4b96f1
or edx, 0x400
movzx eax, byte [esp + 0x6e]
test al, al
je 0x4b9700
or edx, 0xffff8000
movzx eax, byte [esp + 0x76]
test al, al
je 0x4b970c
or edx, 0x20
movzx eax, byte [esp + 0x77]
test al, al
je 0x4b9718
or edx, 0x10
movzx eax, word [esp + 0x6c]
mov word [esp + 0x46], ax
mov word [esp + 0x48], dx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + 0xc]
mov ebx, dword [esp + 0x38]
cmp eax, edx
jae 0x4b9788
mov dword [esp + 0x24], ecx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xc
lea eax, [0x4f1160]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], eax
add ecx, ebx
mov dword [esp], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xc
call sym.runtime.memmove
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], 1
lea edi, [esp + 0x7c]
lea esi, [esp + 0x38]
call fcn.00469ef6
add esp, 0x5c
ret
call sym.runtime.morestack_noctxt
jmp sym.vendor_golang.org_x_net_dns_dnsmessage.NewBuilder
Function at 0x4cd1c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5fc28c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cd331
sub esp, 0x48
mov eax, dword [esp + 0x78]
cmp eax, 4
jne 0x4cd257
mov ecx, dword [esp + 0x74]
cmp dword [ecx], 0x6c616964
je 0x4cd1f6
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
jmp 0x4cd263
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
test al, al
jne 0x4cd221
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
jmp 0x4cd263
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov ebx, ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
jmp 0x4cd263
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edx
mov ebp, dword [esp + 0x54]
mov dword [esp], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x5c]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call sym.net.favoriteAddrFamily
mov eax, dword [esp + 0x20]
movzx ecx, byte [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], cl
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
call sym.net.socket
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x48
ret
call sym.runtime.morestack_noctxt
jmp sym.net.internetSocket
Function at 0x39de0402
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x39de0411
pop dword [ebp - 0x20]
mov eax, 0x39de0411
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x3fe41477
sub dword [ebp - 0x30], 0xf191cf2c
mov dword [ebp - 0x2c], 0x41172f36
sub dword [ebp - 0x2c], 0xee3e2f1
mov dword [ebp - 0x28], 0x230e7c5a
add dword [ebp - 0x28], 0x293dc7d4
mov dword [ebp - 0x24], 0x965b9cc8
sub dword [ebp - 0x24], 0x965b9cc8
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x94a2e031
add dword [ebp - 0x30], 0xdfcf8925
mov dword [ebp - 0x2c], 0xc96b8d33
add dword [ebp - 0x2c], 0x7800d442
mov dword [ebp - 0x28], 0x396585c
sub dword [ebp - 0x28], 0xa026ebf0
mov dword [ebp - 0x24], 0xcf8f8776
add dword [ebp - 0x24], 0x3070788a
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x72cb3118
sub eax, 0x38ef2118
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3b64b
push 0
call eax
mov ecx, 0x47d5
mov edi, eax
mov edx, 0x39deca00
add edx, dword [ebp - 0x20]
mov esi, 0x4ebcbd8e
mov dword [ebp - 0xc], 0x2c49a96f
mov ebx, dword [edx]
sub dword [ebp - 0xc], esi
sub ebx, esi
add dword [ebp - 0x18], 0x269bdcae
mov dword [edi], ebx
xor dword [ebp - 0x18], edx
add edi, 0xcd38bca9
sub edi, 0xcd38bca5
add edx, 0xf768380
add edx, 0xf0897c84
loop 0x39de0517
add eax, 0x3d89bbb1
add eax, 0xc2775676
xor ebx, ebx
add ebx, eax
add eax, 0xa628849d
sub eax, 0xa6288498
mov ecx, 0x1ab90adb
sub ecx, 0xe0dd0adb
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x39de31d3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x39dca6b0]
jne 0x39de3cfd
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x39de6ed8], eax
mov dword [0x39de6ed4], ecx
mov dword [0x39de6ed0], edx
mov dword [0x39de6ecc], ebx
mov dword [0x39de6ec8], esi
mov dword [0x39de6ec4], edi
mov word [0x39de6ef0], ss
mov word [0x39de6ee4], cs
mov word [0x39de6ec0], ds
mov word [0x39de6ebc], es
mov word [0x39de6eb8], fs
mov word [0x39de6eb4], gs
pushfd
pop dword [0x39de6ee8]
mov eax, dword [ebp]
mov dword [0x39de6edc], eax
mov eax, dword [ebp + 4]
mov dword [0x39de6ee0], eax
lea eax, [ebp + 8]
mov dword [0x39de6eec], eax
mov eax, dword [ebp - 0x320]
mov dword [0x39de6e28], 0x10001
mov eax, dword [0x39de6ee0]
mov dword [0x39de6ddc], eax
mov dword [0x39de6dd0], 0xc0000409
mov dword [0x39de6dd4], 1
mov eax, dword [0x39dca6b0]
mov dword [ebp - 0x328], eax
mov eax, dword [0x39de6c34]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x39de6e20], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x39dcaa3c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x39de6e20], 0
jne 0x39de3ded
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x406670
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48ceeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00481fb8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4066f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047ff07
mov eax, dword [eax]
push 0x4a41e0
push eax
call fcn.00472154
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00482243
test bl, bl
je 0x4066f2
push 0x4a41e0
lea ecx, [esp + 0xc]
call fcn.004825d3
push 0x4a7d2c
lea ecx, [esp + 0xc]
call fcn.004825d3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40672e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00482243
jmp 0x4067f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4067b2
lea edx, [esp + 0x7c]
push 0x4a7d28
push edx
call fcn.00472154
add esp, 8
test eax, eax
je 0x4067b2
lea eax, [esp + 0x7c]
push 0x4a7d24
push eax
call fcn.00472154
add esp, 8
test eax, eax
je 0x4067b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406742
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00482243
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x406ff0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x407052
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x407060
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48cf6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4b6ca8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x407198
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4070c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00482243
xor eax, eax
jmp 0x40720f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00482380
push esi
lea ecx, [esp + 0xc]
call fcn.0048260f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4071ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00406ff0
test eax, eax
jne 0x4071ed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00406ff0
test eax, eax
jne 0x4071ed
lea eax, [esp + 0x14]
push 0x4a7d40
push eax
call fcn.004731d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4071cc
lea ecx, [esp + 0x14]
push 0x4a7d3c
push ecx
call fcn.00473150
mov esi, eax
add esp, 8
test esi, esi
jne 0x4071cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4071cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00482330
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4070de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00482243
xor eax, eax
jmp 0x40720f
mov byte [esi], 0
push 0x4a7d38
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00482243
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4126b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x41271e
cmp si, 0x69
ja 0x41271e
add esi, 0xffd0
cmp si, 0x11
je 0x4126ee
push 0x11
call edi
test ax, ax
jge 0x4126ee
or esi, 0x2000
cmp si, 0x10
je 0x412703
push 0x10
call edi
test ax, ax
jge 0x412703
or esi, 0x4000
cmp si, 0x12
je 0x412718
push 0x12
call edi
test ax, ax
jge 0x412718
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41272b
mov esi, 0xbd
jmp 0x4126df
cmp si, 0x6e
jne 0x412738
mov esi, 0xbe
jmp 0x4126df
cmp si, 0x6f
jne 0x4126d9
mov esi, 0xbf
jmp 0x4126df

Function at 0x413e10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4c7368]
xor edx, edx
cmp eax, edx
jne 0x413e36
xor eax, eax
mov byte [eax + 0x4c7268], al
inc eax
cmp eax, 0x100
jl 0x413e1e
mov dword [0x4c7368], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4c7268
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x413ec7
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 0x413e9a
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 0x413e68
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x413f40
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 0x413f93
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 0x413f7a
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