joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100fc170
Capabilities:
Hash data using fnv

Disassembly:
mov eax, 0x1fffffff
bsr ecx, eax
push ebx
push ebp
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x14]
cmp ecx, eax
ja 0x100fc2bf
lea eax, [ecx - 1]
mov esi, dword [0x1015ef2c]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1015ef34
lea eax, [edi + edi]
push eax
call fcn.100fb820
mov ecx, dword [0x1015ef2c]
lea ebx, [edi - 1]
mov dword [0x1015ef40], ebx
mov dword [0x1015ef44], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x100fc2b8
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x1015ef34]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [esp + 0x14], eax
cmp ebx, esi
jne 0x100fc225
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x100fc28b
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x100fc258
mov eax, dword [eax]
cmp eax, ecx
je 0x100fc24f
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ecx
jmp 0x100fc28b
cmp ebx, eax
je 0x100fc26c
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x100fc29c
cmp ebx, eax
jne 0x100fc260
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x14]
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
je 0x100fc2b8
mov ebx, dword [0x1015ef40]
jmp 0x100fc1d4
mov ebx, dword [ecx + 4]
mov ebp, dword [eax]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x100fc28b
pop edi
pop esi
pop ebp
pop ebx
ret 4
push str.invalid_hash_bucket_count
call fcn.100feb15
int3

Function at 0x100fed30
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100fed0c
pop esi
leave
ret 8
Function at 0x101089ab
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.101252b0
mov eax, dword [0x10157010]
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.101154a5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x101089ed
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10108b49
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10125200
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 + 0x10158e20]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.10116450
mov ecx, dword [esi*4 + 0x10158e20]
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 0x10108b42
cmp eax, dword [edi + ecx + 0x24]
jne 0x10108b42
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 0x10108b42
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10116450
add esp, 0x14
test edx, edx
jl 0x10108b42
jg 0x10108ab8
test eax, eax
jb 0x10108b42
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10108b42
jl 0x10108ad2
cmp dword [ebp - 0x1008], eax
ja 0x10108b42
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10108af0
test ebx, ebx
je 0x10108b29
cmp ecx, edi
jae 0x10108b29
mov al, byte [ecx]
cmp al, 0xd
jne 0x10108b0a
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10108b16
cmp byte [ecx + 1], 0xa
jne 0x10108b16
inc ecx
jmp 0x10108b16
movzx eax, al
movsx eax, byte [eax + 0x101572f8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10108af0
cmp edx, ebx
jne 0x10108af0
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10108b47
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100fe7bf
leave
ret
Function at 0x101164cc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10158e20]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1011650c
cmp byte [ebx], 0xa
jne 0x1011650c
or byte [eax + edi + 0x28], 4
jmp 0x10116511
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x1011660f
mov al, byte [edx]
cmp al, 0x1a
je 0x101165f1
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x10116540
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x10116565
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x1011656f
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x10116522
jmp 0x1011660f
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101165ec
cmp dword [ebp - 0xc], 0
je 0x101165ec
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x10158e20]
test byte [eax + edi + 0x28], 0x48
je 0x101165c6
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x101165b1
mov byte [esi], dl
jmp 0x101165c2
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10158e20]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1011660f
cmp byte [ebp - 1], 0xa
jne 0x101165d5
cmp esi, ebx
jne 0x101165d5
mov byte [esi], 0xa
jmp 0x1011660e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1011646e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1011660f
mov byte [esi], 0xd
jmp 0x1011660e
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x10158e20]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1011660b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1011660f
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10116618
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x10158e20]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1011665b
cmp word [esi], dx
jne 0x1011665b
or byte [edi + eax + 0x28], 4
jmp 0x10116660
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x101167b3
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x10116793
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x101166a2
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x101166d8
cmp eax, edx
jae 0x101166e4
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x1011667a
jmp 0x101167b3
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1011678f
cmp dword [ebp - 0x14], 0
je 0x1011678f
mov eax, dword [ebx*4 + 0x10158e20]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x10116767
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x10116730
mov word [esi], cx
jmp 0x10116763
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10158e20]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x10158e20]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10158e20]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x101167b3
pop ebx
cmp word [ebp - 4], bx
jne 0x10116778
cmp esi, dword [ebp + 0xc]
jne 0x10116778
mov word [esi], bx
jmp 0x101167b0
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1011646e
add esp, 0x10
cmp word [ebp - 4], bx
je 0x101167b3
push 0xd
jmp 0x101167ac
mov ecx, dword [ebx*4 + 0x10158e20]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x101167aa
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x101167b3
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10116fd4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10116e45
Function at 0x101181b5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1012f5f4
push 0x1012f5ec
push str.FlsAlloc
push 0x1e
call fcn.10118022
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101181e9
push dword [ebp + 8]
mov ecx, esi
call dword [0x1012b29c]
call esi
jmp 0x101181ef
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10118233
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1012f604
push 0x1012f5fc
push str.FlsGetValue
push 0x20
call fcn.10118022
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1011826a
push dword [ebp + 8]
mov ecx, esi
call dword [0x1012b29c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1011bbbb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1011bc58
push ebx
push esi
call fcn.1011bb84
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1011bacd
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1011bc05
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1011bc57
push edi
push eax
call fcn.1011435e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1011bc25
call fcn.10114415
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1011bc56
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1011bacd
add esp, 0x20
test eax, eax
jne 0x1011bc44
push edi
call fcn.10114415
jmp 0x1011bc4c
push ebx
call fcn.10114415
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1011bc5b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1011bc6c
pop esi
ret
push ebx
push edi
push esi
call fcn.1011bb84
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1011435e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1011bc94
push ebx
push esi
push edi
call fcn.10101750
add esp, 0xc
push 0
call fcn.10114415
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1011c058
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1011bca9
Function at 0x10124179
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101240f5
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x101242f1
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x101242f1
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x101242a0
jg 0x101241d2
test eax, eax
je 0x10124296
push 1
push 0x1000
call fcn.10117d24
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x101241f8
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x1012428d
push 0x8000
push ebx
call fcn.10124026
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10124224
jg 0x1012421f
cmp ecx, 0x1000
jb 0x10124224
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.101178cc
add esp, 0x10
cmp eax, 0xffffffff
je 0x10124269
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1012421f
jl 0x10124250
test ecx, ecx
jne 0x10124211
push dword [ebp - 0xc]
push ebx
call fcn.10124026
push esi
call fcn.10114415
add esp, 0xc
xor edi, edi
jmp 0x10124302
cmp byte [edi + 0x24], 0
je 0x10124280
cmp dword [edi + 0x20], 5
jne 0x10124280
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1012428b
mov edi, dword [edi + 0x18]
jmp 0x1012428d
xor edi, edi
push esi
call fcn.10114415
pop ecx
jmp 0x10124302
test ecx, ecx
jg 0x10124262
jl 0x101242a0
test eax, eax
jae 0x10124262
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1011646e
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x101242c3
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x10124262
jmp 0x101242fa
push ebx
call fcn.10121d90
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10124262
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x10124302
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x101242ff
mov edi, dword [edi + 0x18]
jmp 0x10124302
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1011646e
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10125120
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1012514d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1012514d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401a23
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp edi, 0x58ced85
jg 0x401a47
inc edi
cmp edi, 0x1f6502b1
jl 0x401a2f
cmp dword [0x2c33a9c], 0x400
jne 0x401a9c
push str.Natipesun_subuguketevam_jutivotitag_roto_jam
push str.Ximoniwek
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeCmpStringHandles]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
push str.yogihubuwefugus
push esi
call fcn.004020c8
push esi
push esi
push esi
call fcn.00402098
push esi
push esi
call fcn.00401eb4
push esi
call fcn.0040230c
push esi
call fcn.0040231b
add esp, 0x24
xor edi, edi
cmp edi, 0xd0fe
jge 0x401aad
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
cmp edi, 0x3a37ee
jg 0x401ad4
inc edi
cmp edi, 0xe52f
jl 0x401a9e
mov eax, dword [0x4752d4]
mov dword [0x2c33a9c], eax
call fcn.00401763
mov edi, 0x3078f
cmp dword [0x2c33a9c], 0x51f
jne 0x401b00
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x401ae8
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10

Function at 0x408067
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x474410]
jne 0x408071
repz ret
jmp fcn.0040aab0
Function at 0x4090df
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x474410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405a01
and dword [ebp - 0x14], 0
cmp dword [0x47fe68], 0
mov dword [ebp - 0x18], eax
jne 0x409192
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40923a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40923a
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x47fe68], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x47fe6c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x47fe70], eax
call edi
push eax
call esi
mov dword [0x47fe78], eax
test eax, eax
je 0x409192
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x47fe74], eax
mov eax, dword [0x47fe74]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4091eb
cmp dword [0x47fe78], ecx
je 0x4091eb
push eax
call esi
push dword [0x47fe78]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4091eb
test ebx, ebx
je 0x4091eb
call edi
test eax, eax
je 0x4091e2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4091e2
test byte [ebp - 8], 1
jne 0x4091eb
or dword [ebp + 0x10], 0x200000
jmp 0x40921e
mov eax, dword [0x47fe6c]
cmp eax, dword [ebp - 0x18]
je 0x40921e
push eax
call esi
test eax, eax
je 0x40921e
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40921e
mov eax, dword [0x47fe70]
cmp eax, dword [ebp - 0x18]
je 0x40921e
push eax
call esi
test eax, eax
je 0x40921e
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x47fe68]
call esi
test eax, eax
je 0x40923a
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40923c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408067
leave
ret
Function at 0x4069e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x490d2b
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.00485b9a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x406a62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00483aac
mov eax, dword [eax]
push 0x4adc60
push eax
call fcn.00475ce4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00485e25
test bl, bl
je 0x406a62
push 0x4adc60
lea ecx, [esp + 0xc]
call fcn.004861b5
push 0x4adc6c
lea ecx, [esp + 0xc]
call fcn.004861b5
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 0x406a9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00485e25
jmp 0x406b69
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 0x406b22
lea edx, [esp + 0x7c]
push 0x4adc68
push edx
call fcn.00475ce4
add esp, 8
test eax, eax
je 0x406b22
lea eax, [esp + 0x7c]
push 0x4adc64
push eax
call fcn.00475ce4
add esp, 8
test eax, eax
je 0x406b22
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 0x406ab2
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.00485e25
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 0x407360
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 0x4073c2
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