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

Disassembly:
mov byte [ebp - 9], 0xbf
call fcn.00587710
push eax
push esi
push dword [ebp + 8]
call fcn.005876c5
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00587710
push eax
push esi
push dword [ebp + 8]
call fcn.005876c5
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl

Function at 0x587b26
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00587710
push eax

Function at 0x587b67
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
push dword [ebp + 8]
call fcn.005876c5
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00587700
test al, 0xaf
dec esi
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00587700
push es
dec ecx
cmp byte [edx], 0x8d
invalid
invalid
Function at 0x587fef
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
invalid
test dword [esi], edi

Function at 0x588e1b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec ebp
cld
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x748], eax
mov eax, dword [ebp - 0x3ac]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x6f8], eax
and dword [ebp - 0x700], 0
jmp 0x588e50
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
mov eax, dword [ebp - 0x700]
cmp eax, dword [ebp - 0x38c]
jae 0x588ea2
mov eax, dword [ebp - 0x748]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
movsx ecx, byte [ebp - 8]
xor eax, ecx
mov ecx, dword [ebp - 0x748]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
mov eax, dword [ebp - 0x748]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
not eax
mov ecx, dword [ebp - 0x748]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
jmp 0x588e43
and dword [ebp - 0x700], 0
jmp 0x588eb8
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
mov eax, dword [ebp - 0x700]
cmp eax, dword [ebp - 0x688]
jae 0x588f0a
mov eax, dword [ebp - 0x6f8]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
movsx ecx, byte [ebp - 8]
xor eax, ecx
mov ecx, dword [ebp - 0x6f8]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
mov eax, dword [ebp - 0x6f8]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
not eax
mov ecx, dword [ebp - 0x6f8]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
jmp 0x588eab
and byte [ebp - 0x714], 0
and byte [ebp - 0x713], 0
invalid
test esi, ebp
clc
Function at 0x58d0da
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0057bfb0
mov eax, dword [0x634b28]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0059a5c6
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x58d11c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x58d278
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0057c4a0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x640960]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.005a4935
mov ecx, dword [esi*4 + 0x640960]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x58d271
cmp eax, dword [edi + ecx + 0x24]
jne 0x58d271
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x58d271
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.005a4935
add esp, 0x14
test edx, edx
jl 0x58d271
jg 0x58d1e7
test eax, eax
jb 0x58d271
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x58d271
jl 0x58d201
cmp dword [ebp - 0x1008], eax
ja 0x58d271
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x58d21f
test ebx, ebx
je 0x58d258
cmp ecx, edi
jae 0x58d258
mov al, byte [ecx]
cmp al, 0xd
jne 0x58d239
lea eax, [edi - 1]
cmp ecx, eax
jae 0x58d245
cmp byte [ecx + 1], 0xa
jne 0x58d245
inc ecx
jmp 0x58d245
movzx eax, al
movsx eax, byte [eax + 0x634f88]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x58d21f
cmp edx, ebx
jne 0x58d21f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x58d276
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0057b6ac
leave
ret

Function at 0x59f0d6
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5ffddc
push 0x5ffdd4
push 0x5fd498
push 0x1e
call fcn.0059ef03
mov esi, eax
add esp, 0x10
test esi, esi
je 0x59f10a
push dword [ebp + 8]
mov ecx, esi
call dword [0x5c8b0c]
call esi
jmp 0x59f110
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x59f154
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5ffdec
push 0x5ffde4
push 0x5fd4bc
push 0x20
call fcn.0059ef03
mov esi, eax
add esp, 0x10
test esi, esi
je 0x59f18b
push dword [ebp + 8]
mov ecx, esi
call dword [0x5c8b0c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x5afda0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x63fe64]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x640c80]
cmp eax, dword [ecx + 4]
jg 0x5afdc2
mov eax, 0x640c6c
ret
push 0x640c80
call fcn.0057bb6b
add esp, 4
cmp dword [0x640c80], 0xffffffff
jne 0x5afdbc
push esi
push 0x60acd0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x5afe45
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x60ace8
push esi
call edi
mov dword [0x640c6c], eax
test eax, eax
je 0x5afe44
push 0x60ad00
push esi
call edi
mov dword [0x640c70], eax
test eax, eax
je 0x5afe44
push 0x60ad14
push esi
call edi
mov dword [0x640c74], eax
test eax, eax
je 0x5afe44
push 0x60ad34
push esi
call edi
mov dword [0x640c78], eax
test eax, eax
je 0x5afe44
push 0x60ad48
push esi
call edi
mov dword [0x640c7c], eax
jmp 0x5afe44
pop edi
push 0x5c72b0
call fcn.0057ba23
push 0x640c80
call fcn.0057bb21
add esp, 8
pop esi
jmp 0x5afdbc
Function at 0x6ba900
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2b4000]
push edi
jmp 0x6ba91a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6ba921
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6ba910
mov eax, 1
add ebx, ebx
jne 0x6ba933
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6ba944
jne 0x6ba963
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6ba963
dec eax
add ebx, ebx
jne 0x6ba950
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6ba928
add ebx, ebx
jne 0x6ba95f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6ba9b5
xor ecx, ecx
sub eax, 3
jb 0x6ba97b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6ba9ea
sar eax, 1
mov ebp, eax
jmp 0x6ba986
add ebx, ebx
jne 0x6ba986
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6ba954
inc ecx
add ebx, ebx
jne 0x6ba994
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6ba954
add ebx, ebx
jne 0x6ba9a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6ba996
jne 0x6ba9b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6ba996
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6ba9d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6ba9c6
jmp 0x6ba916
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6ba9d4
add edi, ecx
jmp 0x6ba916
pop esi
mov edi, esi
mov ecx, 0x2be
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6ba9f2
cmp byte [edi], 1
jne 0x6ba9f2
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 0x6ba9f7
lea edi, [esi + 0x2b8000]
mov eax, dword [edi]
or eax, eax
je 0x6baa6f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2db350]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2db404]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6baa24
mov ecx, edi
jns 0x6baa53
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 + 0x2db408]
or eax, eax
je 0x6baa69
mov dword [ebx], eax
add ebx, 4
jmp 0x6baa41
call dword [esi + 0x2db418]
mov ebp, dword [esi + 0x2db40c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x6baaa3
sub esp, 0xffffff80
jmp 0x403a35
Function at 0x598be0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00598d90
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x598cde
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x598c81
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x598cc4
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x598c98
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x598cb3
test al, 0x40
je 0x598caa
mov ecx, dword [edi + 0x20]
jmp 0x598cb1
test al, 0x80
je 0x598cc4
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x598cc4
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x598c50
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x5990ce
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push 0x6e571b
push dword [0x7f2bc4]
call fcn.0040184a
add esp, 8
cmp eax, 0
jne 0x599112
mov eax, 0x71719a
push eax
mov ebx, dword [0x7f2bc4]
test ebx, ebx
je 0x59910c
push ebx
call fcn.005b9039
add esp, 4
pop eax
mov dword [0x7f2bc4], eax
call fcn.00599125
mov eax, 0
jmp 0x599121
mov esp, ebp
pop ebp
ret
Function at 0x5ccf40
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x6d53fb
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.006c44db
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x5ccfc2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.006c0f71
mov eax, dword [eax]
push 0x7d5de4
push eax
call fcn.006a00f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.006c4766
test bl, bl
je 0x5ccfc2
push 0x7d5de4
lea ecx, [esp + 0xc]
call fcn.006c4b42
push 0x7d5df0
lea ecx, [esp + 0xc]
call fcn.006c4b42
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 0x5ccffe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.006c4766
jmp 0x5cd0c9
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 0x5cd082
lea edx, [esp + 0x7c]
push 0x7d5dec
push edx
call fcn.006a00f4
add esp, 8
test eax, eax
je 0x5cd082
lea eax, [esp + 0x7c]
push 0x7d5de8
push eax
call fcn.006a00f4
add esp, 8
test eax, eax
je 0x5cd082
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 0x5cd012
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.006c4766
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 0x5cd8e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x6d547b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x7ed420]
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 0x5cda18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x5cd946
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.006c4766
xor eax, eax
jmp 0x5cda8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.006c48ef
push esi
lea ecx, [esp + 0xc]
call fcn.006c4b7e
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x7d5e24
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x5cda6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x7d5e1c
push accept
call fcn.00680eb0
test eax, eax
jne 0x5cda6d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x7d5e08
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00680eb0
test eax, eax
jne 0x5cda6d
lea eax, [esp + 0x14]
push 0x7d5e00
push eax
call fcn.006a1320
mov esi, eax
add esp, 8
test esi, esi
jne 0x5cda4c
lea ecx, [esp + 0x14]
push 0x7d5dfc
push ecx
call fcn.006a12a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x5cda4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x5cda4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.006c489f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5cd95e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.006c4766
xor eax, eax
jmp 0x5cda8f
mov byte [esi], 0
push 0x7d5df8
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.006c4766
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 0x5d3bea
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x6d5cc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.006c5e0f
xor ebp, ebp
mov dword [esi], 0x7ae7dc
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.005f4100
call fcn.005c2630
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.006c34b2
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.005c2630
mov dword [ebx], 0x7ae3ac
mov dword [edi], 0x7ae6f4
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x7ada48
lea ecx, [esi + 0xb0]
call fcn.005c2630
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], 0x7ae7d0
mov byte [esp + 0x38], 5
mov dword [esi], 0x7ae6fc
mov dword [esi + 0xac], ebp
call fcn.006d0897
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.006cb908
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x5d3d80
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x6d5d55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x7ae6fc
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 4
call fcn.006cb95f
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x7ad8b0
call fcn.005c2830
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 5
call fcn.006cb95f
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x7ad8b0
call fcn.005c2830
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.006c34e5
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x7ad8b0
call fcn.005c2830
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.006ce822
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x5dbb46
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x5dbb6e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret
Function at 0x5e5ef0
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 0x5e5f5e
cmp si, 0x69
ja 0x5e5f5e
add esi, 0xffd0
cmp si, 0x11
je 0x5e5f2e
push 0x11
call edi
test ax, ax
jge 0x5e5f2e
or esi, 0x2000
cmp si, 0x10
je 0x5e5f43
push 0x10
call edi
test ax, ax
jge 0x5e5f43
or esi, 0x4000
cmp si, 0x12
je 0x5e5f58
push 0x12
call edi
test ax, ax
jge 0x5e5f58
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x5e5f6b
mov esi, 0xbd
jmp 0x5e5f1f
cmp si, 0x6e
jne 0x5e5f78
mov esi, 0xbe
jmp 0x5e5f1f
cmp si, 0x6f
jne 0x5e5f19
mov esi, 0xbf
jmp 0x5e5f1f

Function at 0x5e7860
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7ff320]
xor edx, edx
cmp eax, edx
jne 0x5e7886
xor eax, eax
mov byte [eax + 0x7ff220], al
inc eax
cmp eax, 0x100
jl 0x5e786e
mov dword [0x7ff320], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7ff220
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5e7917
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 0x5e78ea
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 0x5e78b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x5e7990
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 0x5e79e3
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 0x5e79ca
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