joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417900
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, esi
push edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417910
sub eax, edx
add eax, 6
and eax, 0xfffffffc
call fcn.0041e3c0
mov ebx, esp
lea edx, [ebx + 2]
mov byte [ebx], 0x2d
mov byte [ebx + 1], 0x2d
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x417934
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x41795c
push 0x274
push 0x4323f0
push 0x4323f8
call fcn.0041e3fd
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.004174b0
add esp, 4
mov esi, eax
call fcn.004178a0
test al, al
jne 0x41797a
push 2
call fcn.0042153a
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x417990
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
mov eax, esi
call fcn.00417700
add esp, 0xc
test eax, eax
je 0x4179d5
mov eax, dword [0x446138]
push esi
push eax
push 0x432404
push 0x43c810
call fcn.00420340
add esp, 0x10
push 2
call fcn.0042153a
mov esi, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
call fcn.004178a0
test al, al
jne 0x4179f3
push 2
call fcn.0042153a
push ebx
call fcn.0041bf50
push edi
call fcn.0041bf50
add esp, 8
pop edi
pop ebx
pop esi
add esp, 0xc
ret

Function at 0x4183e0
Capabilities:
Terminate process

Disassembly:
push esi
call fcn.00417500
call fcn.00417610
mov esi, eax
test esi, esi
je 0x41840e
push esi
call fcn.00418220
add esp, 4
test al, 1
jne 0x418405
push 2
call fcn.0042153a
push esi
call fcn.0041bf50
add esp, 4
pop esi
ret

Function at 0x41abc0
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push edi
xor edi, edi
test ebp, ebp
jle 0x41ac4e
lea edx, [ebp - 1]
mov eax, 0xaaaaaaab
mul edx
push ebx
push esi
mov esi, dword [esp + 0x14]
shr edx, 1
add esi, 2
inc edx
lea edi, [edx + edx*2]
lea esp, [esp]
movzx eax, byte [esi - 2]
shr eax, 2
mov al, byte [eax + 0x43b900]
mov byte [ecx], al
movzx ebx, byte [esi - 1]
xor eax, eax
mov al, byte [esi - 2]
shr ebx, 4
inc ecx
add esi, 3
and eax, 3
shl eax, 4
mov al, byte [eax + ebx + 0x43b900]
mov byte [ecx], al
movzx ebx, byte [esi - 3]
xor eax, eax
mov al, byte [esi - 4]
shr ebx, 6
inc ecx
and eax, 0xf
mov al, byte [ebx + eax*4 + 0x43b900]
mov byte [ecx], al
xor eax, eax
mov al, byte [esi - 3]
inc ecx
and eax, 0x3f
mov al, byte [eax + 0x43b900]
mov byte [ecx], al
inc ecx
dec edx
jne 0x41abf0
pop esi
pop ebx
lea edx, [ebp + 1]
cmp edi, edx
jne 0x41ac67
mov eax, ecx
mov byte [ecx - 1], 0x3d
mov byte [ecx], 0
mov ecx, dword [esp + 0x14]
pop edi
sub eax, ecx
pop ebp
ret
add ebp, 2
cmp edi, ebp
jne 0x41ac76
mov al, 0x3d
mov byte [ecx - 2], al
mov byte [ecx - 1], al
mov eax, ecx
mov byte [ecx], 0
mov ecx, dword [esp + 0x14]
pop edi
sub eax, ecx
pop ebp
ret
Function at 0x41be60
Capabilities:
Terminate process

Disassembly:
push 0
call fcn.0041da10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [0x446138]
push eax
push ecx
push edx
push 0x4349ec
push 3
call fcn.0041e020
add esp, 0x18
push 1
call fcn.0042153a
int3

Function at 0x41c0d0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x170
push ebp
push 0x105
lea eax, [esp + 0x70]
xor ebp, ebp
push eax
push ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
call dword [0x42e054]
push eax
call dword [0x42e050]
cmp eax, ebp
je 0x41c2d4
cmp eax, 0x105
jae 0x41c2d4
push ebx
push ebp
push ebp
push ebp
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 1
call dword [0x42e04c]
mov ebx, eax
cmp ebx, ebp
je 0x41c2d3
push esi
push edi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x38]
push eax
push ebp
push ebp
push 0xc
push 1
push ebp
push ebp
mov dword [esp + 0x54], 0x44
call dword [0x42e048]
push eax
lea ecx, [esp + 0x9c]
push ecx
call dword [0x42e044]
mov esi, eax
test esi, esi
je 0x41c2a0
mov edx, dword [esp + 0x18]
push edx
push 0x434a60
call fcn.00418a50
add esp, 8
mov esi, eax
push esi
push 0x10c
push ebp
push 4
push ebp
push 0xffffffffffffffff
call dword [0x42e040]
mov ebp, eax
call dword [0x42e03c]
push esi
mov edi, eax
call fcn.0041bf50
add esp, 4
test ebp, ebp
je 0x41c29e
cmp edi, 0xb7
je 0x41c29e
mov edi, dword [0x42e024]
push 0
push 0
push 0
push 2
push ebp
call edi
test eax, eax
je 0x41c29e
push eax
mov dword [eax], ebx
call dword [0x42e01c]
mov eax, dword [esp + 0x14]
push eax
call dword [0x42e038]
mov esi, eax
test esi, esi
jne 0x41c213
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push ecx
call dword [0x42e034]
jmp 0x41c2a0
mov edx, dword [esp + 0x10]
push 0x493e0
push 0
lea eax, [esp + 0x28]
push eax
push 2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edx
call dword [0x42e030]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x41c2a0
push 0
push 0
push 0
push 4
push ebp
call edi
mov edi, eax
test edi, edi
je 0x41c29e
mov al, byte [edi + 4]
test al, al
je 0x41c26b
push 0x105
lea ecx, [edi + 5]
push 0
push ecx
call fcn.00420d20
add esp, 0xc
test eax, eax
je 0x41c29e
mov edx, dword [esp + 0x18]
push edx
push 0x434aa8
call fcn.0042168b
mov al, byte [edi + 4]
add esp, 8
test al, al
je 0x41c295
lea eax, [edi + 5]
push eax
push 0x434a84
call fcn.0042168b
add esp, 8
push edi
call dword [0x42e01c]
jmp 0x41c2a0
xor esi, esi
mov edi, dword [0x42e020]
push ebx
call edi
test ebp, ebp
je 0x41c2b0
push ebp
call edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41c2bb
push eax
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41c2c6
push eax
call edi
pop edi
test esi, esi
pop esi
je 0x41c2d3
push 0
call fcn.0042153a
pop ebx
pop ebp
add esp, 0x170
ret
Function at 0x41c480
Capabilities:
Terminate process

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x101
call fcn.0041e138
test eax, eax
je 0x41c4b8
mov ecx, dword [0x446138]
push ecx
push 0x434b3c
push 0x43c810
call fcn.00420340
add esp, 0xc
push 1
call fcn.0042153a
cmp word [esp], 0x101
jae 0x41c4e5
mov edx, dword [0x446138]
push edx
push 0x434b3c
push 0x43c810
call fcn.00420340
add esp, 0xc
call fcn.0041e132
push 1
call fcn.0042153a
push 0x41bfe0
call fcn.00421eeb
add esp, 4
push 0x434b24
push 0x434b14
call dword [0x42e054]
push eax
call dword [0x42e05c]
test eax, eax
je 0x41c514
push 0x80000001
call eax
push 1
push 0x41c320
call dword [0x42e060]
add esp, 0x190
ret

Function at 0x41cc40
Capabilities:
Hash data with md5

Disassembly:
jmp 0x41cc70
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], ecx
ret
Function at 0x41da20
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x41da7d
mov al, byte [esp + 0xc]
test al, al
mov eax, 0x430ca4
jne 0x41da3b
mov eax, 0x431df8
push eax
push esi
call fcn.0041eba1
add esp, 8
test eax, eax
mov dword [0x444d04], eax
jne 0x41daa5
call fcn.0041e306
mov eax, dword [eax]
push eax
call fcn.0041cbf0
mov ecx, dword [0x446138]
push eax
push esi
push ecx
push 0x435138
push 0x43c810
call fcn.00420340
add esp, 0x18
push 1
call fcn.0042153a
push 0x43c810
mov dword [0x444d04], 0x43c810
call fcn.0042d852
push eax
call fcn.00420f32
add esp, 8
test eax, eax
je 0x41daa5
mov byte [0x444d08], 1
pop esi
ret

Function at 0x421ff3
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x18
push 0x435928
call fcn.004239c0
mov edi, 0x94
mov eax, edi
call fcn.0041e3c0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x42e10c]
mov ecx, dword [esi + 0x10]
mov dword [0x445a70], ecx
mov eax, dword [esi + 4]
mov dword [0x445a7c], eax
mov edx, dword [esi + 8]
mov dword [0x445a80], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x445a74], esi
cmp ecx, 2
je 0x422053
or esi, 0x8000
mov dword [0x445a74], esi
shl eax, 8
add eax, edx
mov dword [0x445a78], eax
xor edi, edi
push edi
call dword [0x42e054]
cmp word [eax], 0x5a4d
jne 0x42208c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42208c
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4220a4
cmp eax, 0x20b
je 0x422091
mov dword [ebp - 0x1c], edi
jmp 0x4220b8
cmp dword [ecx + 0x84], 0xe
jbe 0x42208c
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x4220b2
cmp dword [ecx + 0x74], 0xe
jbe 0x42208c
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00428b20
pop ecx
test eax, eax
jne 0x4220cc
push 0x1c
call fcn.00421fcf
pop ecx
call fcn.00422b09
test eax, eax
jne 0x4220dd
push 0x10
call fcn.00421fcf
pop ecx
call fcn.00428704
mov dword [ebp - 4], edi
call fcn.004274d7
test eax, eax
jge 0x4220f6
push 0x1b
call fcn.00421faa
pop ecx
call dword [0x42e048]
mov dword [0x446574], eax
call fcn.00429b5e
mov dword [0x445b40], eax
call fcn.00429abc
test eax, eax
jge 0x42211c
push 8
call fcn.00421faa
pop ecx
call fcn.00429889
test eax, eax
jge 0x42212d
push 9
call fcn.00421faa
pop ecx
push 1
call fcn.0042140d
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, edi
je 0x422143
push eax
call fcn.00421faa
pop ecx
mov eax, dword [0x445a90]
mov dword [0x445a94], eax
push eax
push dword [0x445a88]
push dword [0x445a84]
call fcn.0041b4a0
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x1c], edi
jne 0x422172
push esi
call fcn.0042153a
call fcn.0042155c
jmp 0x4221a4
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x34]
call fcn.004239fb
ret
Function at 0x42a565
Capabilities:
Parse pe header

Disassembly:
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 0x42a593
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x42a59a
cmp ebx, dword [eax + 4]
jae 0x42a59a
xor eax, eax
jmp 0x42a78a
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x42a5ab
xor eax, eax
inc eax
jmp 0x42a789
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x42a5c1
cmp ecx, edx
jae 0x42a706
cmp dword [eax + 4], 0
je 0x42a5ca
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x42a5b2
cmp dword [ebp + 8], 0
je 0x42a5ec
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x42a706
cmp eax, esi
jae 0x42a706
mov eax, dword [0x445f58]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x42a611
cmp dword [esi*4 + 0x445f60], edi
je 0x42a70a
inc esi
cmp esi, eax
jl 0x42a5ff
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x42e0b4]
test eax, eax
je 0x42a786
cmp dword [ebp - 8], 0x1000000
jne 0x42a786
test byte [ebp - 0xc], 0xcc
je 0x42a68f
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x42a786
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x42a786
cmp word [eax + 0x18], 0x10b
jne 0x42a786
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x42a786
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x42a68f
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x42a68f
test byte [ecx + 0x27], 0x80
jne 0x42a706
push 1
push 0x445fa0
call dword [0x42e0b8]
test eax, eax
jne 0x42a5a3
mov ecx, dword [0x445f58]
test ecx, ecx
mov edx, ecx
jle 0x42a6c3
lea eax, [ecx*4 + 0x445f5c]
cmp dword [eax], edi
je 0x42a6c3
dec edx
sub eax, 4
test edx, edx
jg 0x42a6b7
test edx, edx
jne 0x42a6f4
push 0xf
pop ebx
cmp ecx, ebx
jg 0x42a6d0
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x42a6e8
lea eax, [edx*4 + 0x445f60]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x42a6d6
cmp ecx, 0x10
jge 0x42a6f4
inc ecx
mov dword [0x445f58], ecx
push 0
push 0x445fa0
call dword [0x42e0b8]
jmp 0x42a5a3
xor eax, eax
jmp 0x42a789
test esi, esi
jle 0x42a5a3
mov ebx, dword [0x42e0b8]
push 1
push 0x445fa0
call ebx
test eax, eax
jne 0x42a5a3
cmp dword [esi*4 + 0x445f60], edi
je 0x42a760
mov eax, dword [0x445f58]
lea esi, [eax - 1]
test esi, esi
jl 0x42a74e
cmp dword [esi*4 + 0x445f60], edi
je 0x42a74a
dec esi
jns 0x42a73e
test esi, esi
jge 0x42a75e
cmp eax, 0x10
jge 0x42a759
inc eax
mov dword [0x445f58], eax
lea esi, [eax - 1]
jmp 0x42a760
je 0x42a778
xor ecx, ecx
test esi, esi
jl 0x42a778
lea eax, [ecx*4 + 0x445f60]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x42a766
push 0
push 0x445fa0
call ebx
jmp 0x42a5a3
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405750
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x460b0b
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.00455a3b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4057d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045398a
mov eax, dword [eax]
push 0x4741f0
push eax
call fcn.00446654
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00455cc6
test bl, bl
je 0x4057d2
push 0x4741f0
lea ecx, [esp + 0xc]
call fcn.00456056
push 0x477d38
lea ecx, [esp + 0xc]
call fcn.00456056
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 0x40580e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00455cc6
jmp 0x4058d9
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 0x405892
lea edx, [esp + 0x7c]
push 0x477d34
push edx
call fcn.00446654
add esp, 8
test eax, eax
je 0x405892
lea eax, [esp + 0x7c]
push 0x477d30
push eax
call fcn.00446654
add esp, 8
test eax, eax
je 0x405892
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 0x405822
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.00455cc6
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 0x4060d0
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 0x406132
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 0x406140
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x460b8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x47e298]
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 0x406278
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4061a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00455cc6
xor eax, eax
jmp 0x4062ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00455e03
push esi
lea ecx, [esp + 0xc]
call fcn.00456092
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 0x4062cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004060d0
test eax, eax
jne 0x4062cd
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 closesocket
mov ecx, edi
call fcn.004060d0
test eax, eax
jne 0x4062cd
lea eax, [esp + 0x14]
push 0x477d4c
push eax
call fcn.00447690
mov esi, eax
add esp, 8
test esi, esi
jne 0x4062ac
lea ecx, [esp + 0x14]
push 0x477d48
push ecx
call fcn.00447610
mov esi, eax
add esp, 8
test esi, esi
jne 0x4062ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4062af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00455db3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4061be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00455cc6
xor eax, eax
jmp 0x4062ef
mov byte [esi], 0
push 0x477d44
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.00455cc6
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 0x4168d0
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 0x41693e
cmp si, 0x69
ja 0x41693e
add esi, 0xffd0
cmp si, 0x11
je 0x41690e
push 0x11
call edi
test ax, ax
jge 0x41690e
or esi, 0x2000
cmp si, 0x10
je 0x416923
push 0x10
call edi
test ax, ax
jge 0x416923
or esi, 0x4000
cmp si, 0x12
je 0x416938
push 0x12
call edi
test ax, ax
jge 0x416938
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41694b
mov esi, 0xbd
jmp 0x4168ff
cmp si, 0x6e
jne 0x416958
mov esi, 0xbe
jmp 0x4168ff
cmp si, 0x6f
jne 0x4168f9
mov esi, 0xbf
jmp 0x4168ff

Function at 0x417fb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x48e8e0]
xor edx, edx
cmp eax, edx
jne 0x417fd6
xor eax, eax
mov byte [eax + 0x48e7e0], al
inc eax
cmp eax, 0x100
jl 0x417fbe
mov dword [0x48e8e0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x48e7e0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x418067
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 0x41803a
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 0x418008
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4180e0
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 0x418133
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 0x41811a
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 0x41eb70
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x41ed08
cmp ebp, ebx
jle 0x41ed08
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x41ebce
dec eax
or eax, 0xfffffff8
inc eax
je 0x41ebd5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x41ebe4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x41ebeb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00455a07
add esp, 4
cmp eax, ebx
je 0x41ec0c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00455a07
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x41ecfe
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x41ece5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x41ecd1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x41ecc6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x41ecd4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x41ecd4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x41ec70
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x41ec61
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x421d70
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x462058
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x421da9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.0045d3b4
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0045d400
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00421e30
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0045d43d
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24