joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bfba
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.004444f0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x44c055
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x463290]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x44c055
cmp eax, 1
je 0x44c076
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x44c055
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x44c022
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x44c051
xor eax, eax
inc eax
jmp 0x44c095
cmp edi, eax
jae 0x44c059
xor eax, eax
jmp 0x44c095
cmp eax, esi
jae 0x44c060
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov eax, dword [0x463290]
jmp 0x44c079
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44d0ee
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x46357c], ebx
push esi
push edi
jne 0x44d16e
push str.user32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44d1a9
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x458834
push edi
call esi
test eax, eax
mov dword [0x46357c], eax
je 0x44d1a9
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x463580], eax
call esi
cmp dword [0x463290], 2
mov dword [0x463584], eax
jne 0x44d16e
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x46358c], eax
je 0x44d16e
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x463588], eax
mov eax, dword [0x463588]
test eax, eax
je 0x44d1b3
call eax
test eax, eax
je 0x44d19a
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x46358c]
test eax, eax
je 0x44d19a
test byte [ebp - 8], 1
jne 0x44d1b3
cmp dword [0x46329c], 4
jb 0x44d1ad
or byte [ebp + 0x12], 0x20
jmp 0x44d1d2
xor eax, eax
jmp 0x44d1e2
or byte [ebp + 0x12], 4
jmp 0x44d1d2
mov eax, dword [0x463580]
test eax, eax
je 0x44d1d2
call eax
mov ebx, eax
test ebx, ebx
je 0x44d1d2
mov eax, dword [0x463584]
test eax, eax
je 0x44d1d2
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x46357c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44d31a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x44d348
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x44d34f
cmp ebx, dword [eax + 4]
jae 0x44d34f
xor eax, eax
jmp 0x44d53f
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x44d360
xor eax, eax
inc eax
jmp 0x44d53e
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x44d376
cmp ecx, edx
jae 0x44d4bb
cmp dword [eax + 4], 0
je 0x44d37f
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x44d367
cmp dword [ebp + 8], 0
je 0x44d3a1
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x44d4bb
cmp eax, esi
jae 0x44d4bb
mov eax, dword [0x463590]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x44d3c6
cmp dword [esi*4 + 0x463598], edi
je 0x44d4bf
inc esi
cmp esi, eax
jl 0x44d3b4
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x44d53b
cmp dword [ebp - 8], 0x1000000
jne 0x44d53b
test byte [ebp - 0xc], 0xcc
je 0x44d444
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x44d53b
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x44d53b
cmp word [eax + 0x18], 0x10b
jne 0x44d53b
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x44d53b
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x44d444
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x44d444
test byte [ecx + 0x27], 0x80
jne 0x44d4bb
push 1
push 0x4635d8
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
test eax, eax
jne 0x44d358
mov ecx, dword [0x463590]
test ecx, ecx
mov edx, ecx
jle 0x44d478
lea eax, [ecx*4 + 0x463594]
cmp dword [eax], edi
je 0x44d478
dec edx
sub eax, 4
test edx, edx
jg 0x44d46c
test edx, edx
jne 0x44d4a9
push 0xf
pop ebx
cmp ecx, ebx
jg 0x44d485
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x44d49d
lea eax, [edx*4 + 0x463598]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x44d48b
cmp ecx, 0x10
jge 0x44d4a9
inc ecx
mov dword [0x463590], ecx
push 0
push 0x4635d8
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
jmp 0x44d358
xor eax, eax
jmp 0x44d53e
test esi, esi
jle 0x44d358
mov ebx, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push 1
push 0x4635d8
call ebx
test eax, eax
jne 0x44d358
cmp dword [esi*4 + 0x463598], edi
je 0x44d515
mov eax, dword [0x463590]
lea esi, [eax - 1]
test esi, esi
jl 0x44d503
cmp dword [esi*4 + 0x463598], edi
je 0x44d4ff
dec esi
jns 0x44d4f3
test esi, esi
jge 0x44d513
cmp eax, 0x10
jge 0x44d50e
inc eax
mov dword [0x463590], eax
lea esi, [eax - 1]
jmp 0x44d515
je 0x44d52d
xor ecx, ecx
test esi, esi
jl 0x44d52d
lea eax, [ecx*4 + 0x463598]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x44d51b
push 0
push 0x4635d8
call ebx
jmp 0x44d358
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44dc41
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.004444f0
mov eax, dword [0x45ccc0]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x4635e4]
mov dword [ebp - 4], eax
jae 0x44dd84
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x463600]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x44dd84
push 1
push esi
push ebx
call fcn.0044a6d8
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x44dd8e
push 2
push esi
push ebx
call fcn.0044a6d8
add esp, 0xc
cmp eax, 0xffffffff
je 0x44dd8e
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x44dd2e
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00449170
push 0x8000
push ebx
call fcn.0044de6c
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x44dced
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.004491d0
add esp, 0xc
cmp eax, 0xffffffff
je 0x44dd0b
sub edi, eax
test edi, edi
jg 0x44dce2
jmp 0x44dd21
cmp dword [0x463288], 5
jne 0x44dd1e
mov dword [0x463284], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.0044de6c
pop ecx
pop ecx
jmp 0x44dd6e
jge 0x44dd6e
push 0
push dword [ebp + 0xc]
push ebx
call fcn.0044a6d8
push ebx
call fcn.0044c931
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x44dd6e
mov dword [0x463284], 0xd
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [0x463288], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.0044a6d8
add esp, 0xc
mov eax, esi
pop edi
jmp 0x44dd91
mov dword [0x463284], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.004490dd
leave
ret
Function at 0x44e33c
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x44e355
or eax, 0xffffffff
jmp 0x44e3b6
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x44e3b2
push 0x3d
push esi
call fcn.0044e53c
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x44e3b2
cmp esi, eax
je 0x44e3b2
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x4632b0]
sete cl
cmp eax, dword [0x4632b4]
mov dword [ebp - 8], ecx
jne 0x44e398
mov edi, eax
call fcn.0044e2db
mov dword [0x4632b0], eax
cmp eax, ebx
jne 0x44e3f1
cmp dword [ebp + 0xc], ebx
je 0x44e3ba
cmp dword [0x4632b8], ebx
je 0x44e3ba
call fcn.0044dddc
test eax, eax
je 0x44e3f1
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x44e3c3
xor eax, eax
jmp 0x44e3b5
push 4
call fcn.00444a39
cmp eax, ebx
pop ecx
mov dword [0x4632b0], eax
je 0x44e3b2
mov dword [eax], ebx
cmp dword [0x4632b8], ebx
jne 0x44e3f1
push 4
call fcn.00444a39
cmp eax, ebx
pop ecx
mov dword [0x4632b8], eax
je 0x44e3b2
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x4632b0]
call fcn.0044e28e
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x44e452
cmp dword [esi], ebx
je 0x44e452
lea esi, [esi + edi*4]
push dword [esi]
call fcn.00444c1d
cmp dword [ebp - 8], ebx
pop ecx
jne 0x44e435
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x44e493
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x44e42c
mov eax, edi
shl eax, 2
push eax
push dword [0x4632b0]
call fcn.00444a4b
cmp eax, ebx
pop ecx
pop ecx
je 0x44e493
jmp 0x44e48e
cmp dword [ebp - 8], ebx
jne 0x44e4fe
cmp edi, ebx
jge 0x44e461
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4632b0]
call fcn.00444a4b
cmp eax, ebx
pop ecx
pop ecx
je 0x44e3b2
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x4632b0], eax
cmp dword [ebp + 0xc], ebx
je 0x44e4e8
push dword [ebp - 4]
call fcn.004460f0
inc eax
inc eax
push eax
call fcn.00444a39
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x44e4e8
push dword [ebp - 4]
push esi
call fcn.0044b9a0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableA]
test eax, eax
jne 0x44e4e1
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.00444c1d
pop ecx
cmp dword [ebp - 8], ebx
je 0x44e4f6
push dword [ebp - 4]
call fcn.00444c1d
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x44e3b5
push dword [ebp - 4]
call fcn.00444c1d
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x44e3bf
Function at 0x43b400
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x36000]
push edi
jmp 0x43b41a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43b421
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43b410
mov eax, 1
add ebx, ebx
jne 0x43b433
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43b428
jne 0x43b444
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43b428
xor ecx, ecx
sub eax, 3
jb 0x43b458
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43b4ca
mov ebp, eax
add ebx, ebx
jne 0x43b463
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43b470
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43b494
inc ecx
add ebx, ebx
jne 0x43b480
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43b475
jne 0x43b491
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43b475
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43b4b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43b4a5
jmp 0x43b416
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43b4b4
add edi, ecx
jmp 0x43b416
pop esi
mov edi, esi
mov ecx, 0x24a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43b4d2
cmp byte [edi], 1
jne 0x43b4d2
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 0x43b4d7
lea edi, [esi + 0x39000]
mov eax, dword [edi]
or eax, eax
je 0x43b54f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3c978]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3ca2c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43b504
mov ecx, edi
jns 0x43b533
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 + 0x3ca30]
or eax, eax
je 0x43b549
mov dword [ebx], eax
add ebx, 4
jmp 0x43b521
call dword [esi + 0x3ca40]
mov ebp, dword [esi + 0x3ca34]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x43b583
sub esp, 0xffffff80
jmp 0x40323c
Function at 0x413dfa
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x413e20
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x413e20
xor al, al
jmp 0x413e35
mov edx, dword [ebp - 4]
xor eax, eax
xor ecx, ecx
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x415c5a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.004153f5
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004153aa
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.004153f5
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004153aa
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
sbb edi, esp
invalid
jmp dword [ebx - 0x3e37a3a]
invalid
inc dword [ecx - 0x3e27a3a]
invalid
dec dword [edx - 0x3e17a3a]
invalid
call [ebx - 0x3e07a3a]
invalid
inc dword [edx - 0x3df7a3a]
invalid
dec dword [ebx - 0x3de7a3a]
invalid
jmp dword [esi - 0x3dd7a3a]
test dword [edx], esp
cld
invalid
dec dword [edi - 0x3dc7a3a]
invalid
inc dword [eax - 0x3db7a3a]
invalid
dec dword [edx - 0x3da7a3a]
invalid
inc dword [edx - 0x3d97a3a]
invalid
dec dword [ebx - 0x3d87a3a]
invalid
jmp [edi - 0x3d77a3a]
invalid
invalid
out dx, al
lea eax, [ebp - 0x3ec]
push eax
call fcn.004153f5
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004153aa
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.004153e5
invalid

Function at 0x4160a2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x4160d9
cmp dword [ebp - 0x398], 0
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x403203
pop dword [ebp - 0x10]
mov eax, 0x403203
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x26cf620c
add dword [ebp - 0x20], 0x2782e33f
mov dword [ebp - 0x1c], 0xce94b343
sub dword [ebp - 0x1c], 0x9c6166fe
mov dword [ebp - 0x18], 0xdc6650ba
sub dword [ebp - 0x18], 0x901a0c8c
mov dword [ebp - 0x14], 0xe618f16a
add dword [ebp - 0x14], 0x19e70e96
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x57c26bda
sub dword [ebp - 0x20], 0xe3500284
mov dword [ebp - 0x1c], 0x1da09494
add dword [ebp - 0x1c], 0x23cbcce1
mov dword [ebp - 0x18], 0x989681a9
sub dword [ebp - 0x18], 0x3527153d
mov dword [ebp - 0x14], 0xcbba48d
sub dword [ebp - 0x14], 0xcbba48d
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x722a92c8
add eax, 0x8e15dde0
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x37f45
push 0
call eax
mov ecx, 0x4d71
xor esi, esi
add esi, eax
mov edi, 0xa85c2bf2
sub edi, 0xa81b2bf2
add edi, dword [ebp - 0x10]
mov edx, 0x8a251af1
sub dword [ebp - 0xc], 0xc5c596b8
mov ebx, dword [edi]
sub dword [ebp - 8], edi
xor ebx, edx
xor dword [ebp - 4], 0x70a22cc0
mov dword [esi], ebx
add dword [ebp - 0xc], ebx
add esi, 0x7487ff42
sub esi, 0x7487ff3e
add edi, 0xf44fe7b1
add edi, 0xbb01853
loop 0x403311
add eax, 0x7931cde6
add eax, 0x86cf5ab1
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x10030a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10030a0f
pop dword [ebp - 0x4c]
mov eax, 0x31ce17be
add eax, 0xde34f251
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xe760cde7
add dword [ebp - 0x5c], 0x66f17764
mov dword [ebp - 0x58], 0x83a0bd8c
add dword [ebp - 0x58], 0xae928eb9
mov dword [ebp - 0x54], 0x40848608
sub dword [ebp - 0x54], 0xf43841da
mov dword [ebp - 0x50], 0xc416a642
sub dword [ebp - 0x50], 0xc416a642
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x2c144693
add eax, 0xe3efb9a9
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xe749575
sub dword [ebp - 0x5c], 0x9a022c1f
mov dword [ebp - 0x58], 0xd6fbfa8a
add dword [ebp - 0x58], 0x6a7066eb
mov dword [ebp - 0x54], 0x9031c591
add dword [ebp - 0x54], 0xd33da6db
mov dword [ebp - 0x50], 0x40b1421d
add dword [ebp - 0x50], 0xbf4ebde3
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x44c07
push 0
call eax
mov ecx, 0x4173
xor esi, esi
add esi, eax
mov edi, 0xb7e74952
sub edi, 0xa7e1db52
add edi, dword [ebp - 0x4c]
mov edx, 0xb4546b0
sub edx, 0x47fc7c1a
sub dword [ebp - 0x24], ecx
mov ebx, dword [edi]
xor dword [ebp - 0x14], edi
add ebx, edx
xor dword [ebp - 0x24], ebx
mov dword [esi], ebx
xor dword [ebp - 0x48], 0x25e52024
add esi, 4
add edi, 0x3b88a3b8
add edi, 0xc4775c4c
loop 0x10030b28
add eax, 0xbc59d120
add eax, 0x43a7277f
mov ebx, eax
add eax, 5
mov ecx, 0xf72ca7b4
sub ecx, 0xe72ca7b4
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x10031820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1004f37c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10031850
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10031880
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x10031880
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1003197a
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x100318a9
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100318dd
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x1003197a
cmp eax, 1
jle 0x1003193b
cmp eax, 3
jne 0x1003197a
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.10030a00
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10031959
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1003197a
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1003197a
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10038620
mov esp, ebp
pop ebp
ret 4