joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b1a24
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x4b1a86
call fcn.004b19d4
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004ab624
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004ab624
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4b1b04
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x54cbdc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4b1bde
cmp dword [0x54cbd8], 0
jne 0x4b1bde
cmp dword [0x54cde4], 0
je 0x4b1b98
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004b18d4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4b1b7e
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004b18d4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4b1b7e
lea ebx, [ebp - 0x84]
jmp 0x4b1b7f
inc ebx
call fcn.004b1ac0
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x4b1c19
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x54cbe0
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004ab624
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x54cbe3
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x4b1c19
cmp dword [0x54cbd8], 0
je 0x4b1bf8
cmp dword [0x54cbd8], 0xffffffff
je 0x4b1c19
push esi
call dword [0x54cbd8]
pop ecx
mov eax, dword [0x54cbdc]
test eax, eax
je 0x4b1c19
cmp dword [0x54cbdc], 0xffffffff
je 0x4b1c19
cmp byte [eax], 0
je 0x4b1c19
push esi
push eax
call fcn.004b1a24
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b243c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x54ec70], 0
jne 0x4b24bd
cmp dword [0x54ec90], 0
jne 0x4b246c
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x54ec90], eax
test eax, eax
jne 0x4b246c
push str.GetEnvironmentStrings_failed
call fcn.004b1c30
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x54ec90]
jmp 0x4b2480
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004ab624
pop ecx
mov edi, eax
test eax, eax
jne 0x4b2478
lea edi, [ebp + 1]
push edi
call fcn.004aa670
pop ecx
mov ebx, eax
mov dword [0x54ec74], ebx
test ebx, ebx
jne 0x4b24aa
xor eax, eax
jmp 0x4b2580
push edi
mov edx, dword [0x54ec90]
push edx
push ebx
call fcn.004ab480
add esp, 0xc
jmp 0x4b24dd
xor esi, esi
mov ebx, dword [0x54ec70]
jmp 0x4b24d7
push eax
call fcn.004ab624
pop ecx
test eax, eax
jne 0x4b24d3
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4b24c7
lea ebx, [esi + 4]
push 4
mov dword [0x54ec78], ebx
inc ebx
push ebx
call fcn.004aa470
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x4b2500
xor eax, eax
jmp 0x4b2580
cmp dword [0x54ec70], 0
jne 0x4b2531
xor esi, esi
mov ebx, dword [0x54ec74]
mov eax, dword [esp]
mov ebp, eax
jmp 0x4b2522
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004ab624
pop ecx
mov edi, eax
test eax, eax
jne 0x4b2518
jmp 0x4b2562
xor esi, esi
mov ebx, dword [0x54ec70]
mov eax, dword [esp]
mov edi, eax
jmp 0x4b255c
push eax
call fcn.004ab624
pop ecx
test eax, eax
je 0x4b2551
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x4b2555
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4b2540
mov eax, dword [0x54ec70]
test eax, eax
je 0x4b2572
push eax
call fcn.004aa680
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x54ec70], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4b307c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
jge 0x4b30a2
test esi, esi
je 0x4b30a2
call fcn.004b1a8c
mov dword [eax], 0x13
or eax, 0xffffffff
jmp 0x4b3114
call fcn.004b2d90
mov ebx, eax
test eax, eax
jne 0x4b30bd
call fcn.004b1a8c
mov dword [eax], 8
or eax, 0xffffffff
jmp 0x4b3114
mov edx, dword [ebp + 0x10]
mov dword [ebx + 4], edx
lea edx, [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], ecx
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x54], eax
push edx
mov ecx, dword [ebp + 0x18]
push ecx
push ebx
push 0x4b2fd8
push esi
mov eax, dword [ebp + 0x14]
push eax
call sub.KERNEL32.DLL_CreateThread
test eax, eax
jne 0x4b3108
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x718
jne 0x4b3101
push 0x59
call fcn.004ad8e8
pop ecx
jmp 0x4b3114
call fcn.004ad954
jmp 0x4b3114
mov dword [ebx + 8], eax
test edi, edi
je 0x4b3114
mov edx, dword [ebp - 4]
mov dword [edi], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x10001a69
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
xor esi, esi
mov ebx, ecx
inc esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
push edi
mov dword [esp + 0x14], 0
jmp 0x10001aa0
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x24], 0x64a6847d
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x10001a90
mov dword [esp + 0x14], 2
cmp dword [esp + 0x14], 0
jl 0x10001bb1
mov dword [esp + 0x1c], 0x9e22401d
mov dword [esp + 0x1c], 0x67d0
cmp dword [esp + 0x1c], 0x6ae6
jle 0x10001b34
xor edi, edi
xor esi, esi
mov dword [esp + 0x18], esi
mov ebx, esi
mov esi, 0x1e57
mov ecx, ebx
mov eax, edi
shl eax, cl
lea ecx, [esp + 0x40]
cdq
push edx
push eax
call fcn.10001a31
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10001aff
mov eax, dword [eax]
push eax
call fcn.1004b116
pop ecx
push 0
push 1
lea ecx, [esp + 0x48]
call fcn.100022d2
dec ebx
dec esi
jne 0x10001ae3
mov esi, dword [esp + 0x18]
inc esi
mov dword [esp + 0x18], esi
cmp esi, 0x3de8
jl 0x10001adc
inc edi
cmp edi, 0x6b84
jl 0x10001ad6
xor esi, esi
inc esi
cmp dword [esp + 0x1c], 0x66a8
jge 0x10001b49
push str.jcbr_bko_vxt_xovn_vxa_ypaugp_xntaso_sweusu_cezj_dfrbhrdek_wqjrsk
call fcn.1004b116
pop ecx
mov dword [esp + 0x18], 0
jmp 0x10001b63
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x30], 8
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 4
jl 0x10001b53
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [esp + eax*4 + 0x24]
cmp eax, esi
setl cl
cmp ecx, dword [esp + 0x30]
jle 0x10001b83
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], 0xffff
dec dword [esp + 0x1c]
mov byte [esp + 0x13], 0
cmp byte [esp + 0x13], 0
je 0x10001ba3
push 0
call dword [sym.imp.ole32.dll_CoTaskMemFree]
dec dword [esp + 0x14]
jns 0x10001aba
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], 0xfffffff2
jmp 0x10001be7
mov byte [esp + 0x13], 0
cmp byte [esp + 0x13], 0
je 0x10001bcf
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov byte [esp + 0x13], 0
cmp byte [esp + 0x13], 0
je 0x10001be3
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xffffffea
jl 0x10001bbb
push ebx
push 0x5a19
push 0x64b1
call fcn.10043bd9
pop ecx
pop ecx
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006721
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp byte [ebp + 0x10], 0
je 0x10006749
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x10006773
push 0
push 0x25a1
push 0x26f
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x10006773
cmp dword [ecx], 0xffffffff
je 0x10006773
push 0xffffffffffffffff
push dword [ecx]
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x18]
push eax
call fcn.10008369
mov ecx, dword [ebp + 0x14]
push eax
call fcn.10008207
push 0
push 1
lea ecx, [ebp - 0x18]
call fcn.10008b6b
mov esp, ebp
pop ebp
ret
Function at 0x10007fa8
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
test dl, dl
je 0x10007fb8
mov ecx, dword [ebp + 8]
pop ebp
jmp 0x1000b26c
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x10007fc8
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop ebp
ret
mov eax, 0x10063ce6
call fcn.10063318
sub esp, 0x60
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x10], ebx
je 0x1000b3cd
push 0x5f
pop eax
push 2
mov dword [ebp - 0x20], 0x6e00c701
mov ecx, ebx
mov dword [ebp - 0x1c], 0x6f9c8403
mov word [ebp - 0x16], ax
pop esi
cmp esi, 4
jne 0x1000b2af
push esi
pop ecx
push 6
pop esi
jmp 0x1000b2d6
movzx edx, byte [ebp + esi - 0x1f]
mov eax, esi
sub eax, ecx
movzx eax, byte [ebp + eax - 0x22]
movzx eax, word [ebp + eax*2 - 0x18]
mov ecx, eax
and eax, edx
or ecx, edx
sub ecx, eax
movzx eax, byte [ebp + esi - 0x20]
mov word [ebp + eax*2 - 0x18], cx
mov ecx, ebx
add esi, 2
cmp esi, 8
jb 0x1000b2a3
xor eax, eax
mov dword [ebp - 0x24], 7
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x38]
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x28], ebx
call fcn.10008a0e
push edi
lea edx, [ebp - 0x38]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x68]
call fcn.1000b4aa
pop ecx
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.10009b6f
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.10008b6b
push ebx
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.10008b6b
mov dword [ebp - 0x18], ebx
mov esi, 0x5a19
mov word [ebp - 0x14], bx
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
push ebx
push ebx
push esi
push 0x5f65
call fcn.10043bd9
pop ecx
pop ecx
call eax
mov dword [edi + 0x18], eax
test eax, eax
je 0x1000b3be
push 0xffffffffffffffff
push eax
push esi
push 0xd939
call fcn.10043bd9
pop ecx
pop ecx
call eax
cmp eax, 0x80
je 0x1000b3c2
test eax, eax
je 0x1000b3c2
push dword [edi + 0x18]
push esi
push 0xde85
call fcn.10043bd9
pop ecx
pop ecx
call eax
mov dword [edi + 0x18], ebx
push 0x12c
push esi
push 0x79e1
call fcn.10043bd9
pop ecx
pop ecx
call eax
push eax
push esi
push 0xd939
call fcn.10043bd9
pop ecx
pop ecx
call eax
jmp 0x1000b342
push 0x64
jmp 0x1000b39d
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.10008b6b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b4d0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, edx
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x10], ebx
inc edx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ebx
jmp 0x1000b4fe
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x1c], 0x64a6847d
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x1000b4f0
mov dword [ebp - 8], 2
cmp dword [ebp - 8], ebx
jl 0x1000b567
mov dword [ebp - 0xc], 0x9e22401d
mov dword [ebp - 0xc], ebx
jmp 0x1000b52a
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x2c], 8
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jl 0x1000b51c
mov eax, dword [ebp - 8]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x1c]
cmp eax, edx
setl cl
cmp ecx, dword [ebp - 0x2c]
jle 0x1000b546
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], 0xffff
dec dword [ebp - 0xc]
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1000b562
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor edx, edx
inc edx
dec dword [ebp - 8]
jns 0x1000b510
mov dword [ebp - 8], 0xfffffff2
jmp 0x1000b591
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1000b57f
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1000b58e
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffea
jl 0x1000b570
push ecx
mov edx, edi
mov ecx, esi
call fcn.1002f976
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b921
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x10063d35
call fcn.10063318
sub esp, 0x24
cmp byte [ebp + 0xc], 0
push esi
mov byte [ebp - 0x10], dl
je 0x1000ba05
cmp byte [ebp + 8], 0
je 0x1000b9f6
push ebx
xor ebx, ebx
lea ecx, [ebp - 0x24]
inc ebx
push ebx
call fcn.10001f82
xor esi, esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 0xb7161ab6
mov dword [ebp - 0x14], 0xce028f4e
push 3
call fcn.10001f82
mov byte [ebp - 4], bl
mov dword [ebp - 0x18], 0xf215a609
mov dword [ebp + 0xc], esi
jmp 0x1000b98f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x24]
mov dword [eax + ecx*4], 0xfffffff9
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], ebx
jl 0x1000b97f
push 0xd20
push esi
push 0x1cf4
push ebx
push 0x7fab
push esi
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x30]
call fcn.1000ba69
mov eax, dword [ebp - 0x24]
xor ecx, ecx
add esp, 0x18
cmp dword [eax], ebx
setle cl
xor eax, eax
cmp ecx, ebx
lea ecx, [ebp - 0x30]
setle al
add eax, 0x5de1e27e
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov dword [eax], esi
call fcn.10001fdf
lea ecx, [ebp - 0x24]
call fcn.10001fdf
pop ebx
jmp 0x1000ba36
cmp byte [ecx], 0
je 0x1000ba36
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1000ba36
test dl, dl
je 0x1000ba13
push 0
call dword [sym.imp.USER32.dll_RegisterClassW]
jmp 0x1000ba36
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x1000ba36
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x6a3367f5
inc dword [edx]
cmp dword [edx], 2
jl 0x1000ba24
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000bdea
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x14], 0
push ebx
push esi
mov ebx, edx
mov esi, ecx
je 0x1000be4f
cmp byte [ebp + 0x10], 0
je 0x1000be2f
mov byte [ebp + 0x17], 0
cmp byte [ebp + 0x17], 0
je 0x1000beb7
push 0x2aaf
push 0x41d4
push 0
push 1
mov dl, 1
mov ecx, 0x714d
call fcn.1000b921
add esp, 0x10
jmp 0x1000beb7
mov dword [esi], 0xa
jmp 0x1000be48
mov byte [ebp + 0x17], 0
cmp byte [ebp + 0x17], 0
je 0x1000be46
call fcn.1000bf7d
dec dword [esi]
cmp dword [esi], 0xffffffe5
jge 0x1000be37
jmp 0x1000beb7
cmp byte [ebp + 0xc], 0
je 0x1000bea5
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x20]
dec dword [edx]
mov eax, dword [esi]
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, dword [ecx]
jge 0x1000be6d
mov eax, dword [edx]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov ecx, dword [edx]
xor edx, edx
mov eax, dword [esi]
cmp ecx, eax
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
setl dl
sub edx, 9
neg edx
mov eax, dword [eax]
sbb edx, edx
inc edx
sub edx, eax
je 0x1000be93
mov eax, dword [ecx]
mov eax, dword [ecx]
mov eax, dword [ebx]
mov ecx, dword [edi]
pop edi
imul eax, dword [ecx], 0xa0b2
mov dword [ecx + 4], eax
jmp 0x1000beb7
push 0
push 0x25a1
push 0x26f
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
pop ebx
pop ebp
ret

Function at 0x1000cf3d
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0x55cb
cmp dword [ebp - 4], 0x5692
push esi
push edi
jle 0x1000cf96
xor esi, esi
xor edi, edi
lea eax, [edi + esi]
cdq
lea ecx, [ebp - 0x1c]
push edx
push eax
call fcn.10001a31
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000cf71
mov eax, dword [eax]
push eax
call fcn.1004b116
pop ecx
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.100022d2
inc edi
cmp edi, 0x6cff
jl 0x1000cf59
inc esi
cmp esi, 0x33a
jl 0x1000cf57
cmp byte [ebp + 0x10], 0
je 0x1000cfa7
mov eax, dword [ebp + 0x18]
push 0xb
pop ecx
mov word [eax], cx
jmp 0x1000cfb7
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x1000cfb7
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [ebp - 4], 0x551e
jge 0x1000cfcb
push str.jcjgff_cvbgy_ydlwmvfu_cafzpx_wrbk_qln_tzbu_giislhdyg_skaquj_zrk_lyingcw_hahaeha
call fcn.1004b116
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000d020
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10063dc8
call fcn.10063318
sub esp, 0x38
push ebx
push esi
mov dword [ebp - 0x24], 0x3664
mov al, cl
cmp dword [ebp - 0x24], 0x3825
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], edx
mov byte [ebp - 0x15], al
jle 0x1000d0b8
xor esi, esi
xor edi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov eax, ebx
cdq
idiv ecx
mov eax, edi
mov ecx, edx
sar eax, cl
lea ecx, [ebp - 0x44]
xor eax, esi
cdq
push edx
push eax
call fcn.10001a31
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000d078
mov eax, dword [eax]
push eax
call fcn.1004b116
pop ecx
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.100022d2
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x122a
jl 0x1000d056
inc ebx
cmp ebx, 0x28f8
jl 0x1000d051
inc edi
cmp edi, 0x77e8
jl 0x1000d04f
inc esi
cmp esi, 0x6925
jl 0x1000d04d
mov al, byte [ebp - 0x15]
test al, al
je 0x1000d103
cmp byte [ebp + 8], 0
je 0x1000d0ee
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x1000d1e1
mov esi, dword [ebp + 0x1c]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xd5816210
inc dword [edx]
cmp dword [edx], 2
jl 0x1000d0d7
jmp 0x1000d1e1
mov ecx, dword [ebp + 0x24]
lea eax, [ebp - 0x28]
and dword [ebp - 0x28], 0
push eax
call fcn.10008843
jmp 0x1000d1e1
mov dword [ebp - 0x20], 0x66cd
cmp dword [ebp - 0x20], 0x6a1a
jle 0x1000d15d
xor esi, esi
xor edi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov eax, ebx
sar eax, cl
mov ecx, 0x10081838
xor eax, edi
xor eax, esi
cdq
push edx
push eax
call fcn.10001e6d
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0xa16
jl 0x1000d11e
inc ebx
cmp ebx, 0x52c6
jl 0x1000d119
inc edi
cmp edi, 0x7503
jl 0x1000d117
inc esi
cmp esi, 0x5c09
jl 0x1000d115
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x62f9
jge 0x1000d179
mov edx, str.spzzi_nywisld_qaeaeho_ndtxppdj_wyi_jzehhud_oceb_beiy_aowtz_qtbuvyo_tbrpqe_eolslasd
mov ecx, 0x10081838
call fcn.100038af
cmp byte [ebp + 0xc], 0
je 0x1000d1be
mov edx, dword [ebp + 0x20]
mov dword [edx], 0
cmp dword [edx], 3
jge 0x1000d1e1
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 1
inc dword [edx]
cmp dword [edx], 3
jl 0x1000d190
jmp 0x1000d1e1
mov edx, dword [ebp + 0x18]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x1000d1e1
mov esi, dword [ebp - 0x2c]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 7
inc dword [edx]
cmp dword [edx], 2
jl 0x1000d1cf
cmp dword [ebp - 0x24], 0x3375
jge 0x1000d1f5
push str.laff_lpbhflh_puofyuui_mvuuu_bpbbyqa_qknbm_plh_bwbneonq_hxkcklo_hmldapk_jwjqavtfl_sambpdv
call fcn.1004b116
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10012a2b
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006409c
call fcn.10063318
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x10012ae9
mov dword [ebp - 0x14], 0x18ee
cmp dword [ebp - 0x14], 0x1986
jle 0x10012a8d
xor esi, esi
xor edi, edi
xor ebx, ebx
mov ecx, ebx
mov eax, edi
sar eax, cl
mov ecx, 0x10081838
xor eax, esi
cdq
push edx
push eax
call fcn.10001e6d
inc ebx
cmp ebx, 0x7603
jl 0x10012a5d
inc edi
cmp edi, 0x3851
jl 0x10012a5b
inc esi
cmp esi, 0xbbe
jl 0x10012a59
cmp byte [ebp + 0xc], 0
je 0x10012aaa
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x10012ab1
push 1
mov ecx, 0x568a
call fcn.10012865
pop ecx
jmp 0x10012ab1
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
inc dword [eax]
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x179c
jge 0x10012acd
mov edx, str.wlevjtmk_fkwq_bwyolos_pqspzi
mov ecx, 0x10081838
call fcn.100038af
jmp 0x10012b23
cmp byte [ebp + 8], 0
je 0x10012b0e
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
jmp 0x10012b07
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x43af7806
inc dword [edx]
cmp dword [edx], 3
jl 0x10012afa
jmp 0x10012b23
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0
je 0x10012b23
push 0
push 0x2408
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10013d8a
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 0x10013da1
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

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

Disassembly:
push esi
mov edx, 0x10146ca4
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, 0x10147030
jl 0x10013dd1
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, 0x101472d4
jl 0x10013e11
mov ecx, dword [0x10148020]
xor ecx, dword [0x10146ca4]
and ecx, edi
xor ecx, dword [0x10148020]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x10146ca0], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x101472d4]
mov dword [0x10147660], eax
pop esi
ret
Function at 0x10017e79
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10017eb9
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10017ea3
push 0x24a3
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10017eb7
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10017eb7
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x10017ecd
push 0x7770
push 0x488c
push 0
call fcn.10018b59
add esp, 0xc
mov esp, ebp
pop ebp
ret