joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48bfad
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

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

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

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, 0x7fffffff
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
dec ebx
jne 0x48c1a1
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov ecx, dword [edi]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
dec ebx
jne 0x48c1df
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], ebx
pop esi
pop ebx
ret

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

Disassembly:
mov edi, edi
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
dec esi
jne 0x48c258
pop esi
ret

Function at 0x495dd1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004a273c
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x495e08
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00495e29
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x49b4d3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x49b518
call fcn.004a273c
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x49b518
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x49b534
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004a29e6
mov ebx, eax
test edi, edi
je 0x49b532
test esi, esi
je 0x49b532
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4b9308
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004a0e7a
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4b9344
call fcn.004b9a6a
mov dword [esi + 0xc], 1
jmp 0x4b9349
call fcn.004b9a6a
cmp dword [esi], 0
je 0x4b9392
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4b936c
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004939a8
jmp 0x4b937d
push 0xff
mov ecx, esi
call fcn.00484592
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00485620
jmp 0x4b93b6
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4b93b6
push dword [esi]
push dword [ebp - 4]
call fcn.004b2032
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4b98ea
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004b9a6a
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4b9932
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004939a8
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00485620
jmp 0x4b993d
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004b2032
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4cc3fd
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004e85fe
call fcn.004a2790
cmp dword [eax + 0x14], 0
jne 0x4cc418
mov ecx, esi
pop esi
jmp fcn.004cb803
pop esi
ret

Function at 0x4de3b5
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.0048436e
call fcn.004a2790
cmp dword [eax + 0x14], 0
jne 0x4de3d0
mov ecx, esi
pop esi
jmp fcn.004ddc84
pop esi
ret
Function at 0x4e13c2
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x4e13f8
push 0x677f28
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4e1406
push str.SetFileAttributesTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4e1406
push dword [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x4e1408
cmp dword [esi + 4], 0
je 0x4e1406
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x608978
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push edi
mov edi, ecx
jne 0x608988
xor eax, eax
jmp 0x6089fd
cmp dword [ebp + 0xc], 0
je 0x608984
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x6089a1
call fcn.004a273c
mov eax, dword [eax + 0xc]
test eax, eax
je 0x608984
push esi
push dword [ebp + 0xc]
mov dword [edi + 8], eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x6089c9
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x6089cd
xor eax, eax
jmp 0x6089fc
push ebx
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x6089fb
push dword [ebp + 0xc]
mov esi, dword [edi]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, edi
call dword [esi + 4]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x61ef16
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.006290e0
mov eax, dword [ebp + 8]
add esp, 0xc
and dword [ebp - 0x34], 0
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x6471c8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x71c050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00635f0f
mov dword [ebp - 0x14], eax
cmp dword [0x72c06c], esi
jne 0x6472bb
push 0x800
push esi
push 0x6b2fa0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x647248
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x64739b
push esi
push esi
push 0x6b2fa0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x64739b
push 0x6b2fb8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x64739b
push eax
call ebx
push 0x6b2fc4
push edi
mov dword [0x72c06c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x6b2fd4
push edi
mov dword [0x72c070], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x72c074], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x72c07c], eax
test eax, eax
je 0x6472b8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x72c078], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x6472e0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6472d3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x6472f5
push 4
pop eax
jmp 0x64739d
cmp dword [ebp - 0x14], esi
je 0x6472f5
push dword [0x72c06c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x6472da
mov eax, dword [0x72c078]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x647353
cmp dword [0x72c07c], edi
je 0x647353
push eax
call ebx
push dword [0x72c07c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x647353
test eax, eax
je 0x647353
call ecx
test eax, eax
je 0x647348
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x647348
test byte [ebp - 8], 1
jne 0x647353
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x647383
mov eax, dword [0x72c070]
cmp eax, edi
je 0x647380
push eax
call ebx
test eax, eax
je 0x647380
call eax
mov esi, eax
test esi, esi
je 0x647380
mov eax, dword [0x72c074]
cmp eax, edi
je 0x647380
push eax
call ebx
test eax, eax
je 0x647380
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x72c06c]
call ebx
test eax, eax
je 0x64739b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x64739d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006309d4
mov esp, ebp
pop ebp
ret
Function at 0x65e15b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, edx
mov dword [ebp - 8], ecx
push edi
xor edi, edi
mov edx, dword [esi + 0x3c]
mov eax, dword [edx + esi]
and eax, 0x7fffffff
cmp eax, 0x4550
jne 0x65e1ea
mov eax, 0x10b
cmp word [edx + esi + 0x18], ax
jne 0x65e1ea
mov edx, dword [edx + esi + 0x78]
mov dword [ebp - 0xc], edx
test edx, edx
je 0x65e1ea
mov ecx, dword [edx + esi + 0x20]
mov eax, dword [edx + esi + 0x18]
add ecx, esi
push ebx
mov dword [ebp - 4], eax
mov ebx, edi
mov dword [ebp - 0x10], ecx
cmp ebx, eax
jae 0x65e1e9
mov ecx, dword [ecx + ebx*4]
mov edx, dword [ebp - 8]
add ecx, esi
call fcn.0065e1f7
test eax, eax
jne 0x65e1de
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
sub ecx, ecx
add ecx, ebx
mov eax, dword [edx + esi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + esi + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
add edi, esi
mov eax, dword [ebp - 4]
inc ebx
mov ecx, dword [ebp - 0x10]
test edi, edi
je 0x65e1a8
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x6e346308
Capabilities:
Encode data using xor

Disassembly:
mov dword [0x6e38d25e], ebp
mov dword [0x6e38d262], esi
mov dword [0x6e38d266], edi
xor edx, edx
mov ebp, esp
mov edi, dword [ebp + 4]
mov dword [0x6e38d25a], edi
mov esi, 0x6e38d26a
xor ebx, ebx
mov edx, 0x17ffc
mov dword [edx + edi], edx
sub edx, 4
jne 0x6e346333
mov dl, byte [esi]
movsx eax, byte [esi + edx*2 - 1]
add ah, byte [esi + edx*2]
xor ah, 0x80
shl eax, 0x10
mov dword [edi + edx*4 - 4], eax
mov dword [edi + edx*4 + 0x3fc], eax
movsx eax, byte [esi + edx*2]
mov ebp, eax
shl ebp, 8
add ebp, eax
shl ebp, 8
movsx eax, byte [esi + edx*2 - 1]
add ebp, eax
shl ebp, 8
add ebp, eax
mov dword [edi + edx*4 + 0xbffc], ebp
xor ebp, 0x80000000
mov dword [edi + edx*4 + 0xc3fc], ebp
dec edx
jne 0x6e34633d
mov dl, byte [esi]
lea esi, [esi + edx*2 + 2]
lea ebp, [edi + edx*4]
cmp byte [esi - 1], 0
jl 0x6e3463e9
xor ebx, ebx
xor ecx, ecx
mov eax, dword [edi + ebx*4]
xor eax, 0x80000000
sar eax, 0x10
mov dword [ebp], eax
mov eax, dword [edi + ecx*4]
xor eax, 0x80000000
add eax, dword [ebp]
mov dword [ebp], eax
mov dword [ebp + 0x400], eax
mov eax, dword [edi + ebx*4 + 0xc000]
mov dword [ebp + 0xc000], eax
mov eax, dword [edi + ecx*4 + 0xc000]
mov dword [ebp + 0xc400], eax
add ebp, 4
inc cl
cmp cl, byte [esi - 1]
jl 0x6e34639a
inc bl
cmp bl, byte [esi - 1]
jl 0x6e346398
jmp 0x6e346440
neg byte [esi - 1]
xor ecx, ecx
xor ebx, ebx
mov eax, dword [edi + ebx*4]
xor eax, 0x80000000
sar eax, 0x10
mov dword [ebp], eax
mov eax, dword [edi + ecx*4]
xor eax, 0x80000000
add eax, dword [ebp]
mov dword [ebp], eax
mov dword [ebp + 0x400], eax
mov eax, dword [edi + ebx*4 + 0xc000]
mov dword [ebp + 0xc000], eax
mov eax, dword [edi + ecx*4 + 0xc400]
mov dword [ebp + 0xc400], eax
add ebp, 4
inc bl
cmp bl, byte [esi - 1]
jl 0x6e3463f0
inc cl
cmp cl, byte [esi - 1]
jl 0x6e3463ee
neg byte [esi - 1]
add ebp, 0x400
add edi, 0x800
cmp byte [esi], 0
jne 0x6e34633b
mov ebp, dword [0x6e38d25e]
mov esi, dword [0x6e38d262]
mov edi, dword [0x6e38d266]
ret 4
Function at 0x6e34bde0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x44]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push eax
push ecx
push edx
push esi
call fcn.6e34ebe0
add esp, 0x10
mov ebx, eax
push ebx
push edi
push esi
call fcn.6e34cb60
add esp, 0xc
cmp dword [esi + 0x78], 0
jne 0x6e34be26
mov eax, dword [esi + 0x7c]
push eax
push esi
call fcn.6e341950
add esp, 8
test ebx, ebx
je 0x6e34be33
cmp ebx, 1
jne 0x6e34bed1
mov eax, dword [esi + 0x80]
cmp eax, 0xc
jl 0x6e34be4c
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x80], eax
jmp 0x6e34be56
mov dword [esi + 0x80], 6
mov eax, dword [esi + 0x1a8]
dec ebx
lea edx, [esp + 0x1c]
cmp ebx, 1
mov ecx, dword [eax + 4]
sbb eax, eax
push ecx
neg eax
lea ecx, [esp + 0x30]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
push esi
call fcn.6e34c8f0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
add esp, 0x24
push ecx
push edx
mov ecx, dword [esp + 0x24]
push eax
push ecx
push edi
push esi
call fcn.6e34bde0
lea edx, [esp + 0x44]
lea ecx, [esp + 0x60]
add esp, 0x18
mov eax, dword [edx]
mov ebx, dword [edx + 4]
mov dword [ecx], eax
mov eax, dword [edx + 8]
mov dword [ecx + 4], ebx
mov edx, dword [edx + 0xc]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
jmp 0x6e34bdee
mov eax, 1
cmp ebx, 3
jne 0x6e34bee7
mov edx, dword [edi]
xor eax, eax
mov cl, byte [esp + 0xc]
mov byte [edx], cl
inc dword [edi]
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
push eax
push ecx
mov eax, dword [esp + 0x54]
push edx
push eax
push edi
push esi
call fcn.6e34bf30
add esp, 0x1c
cmp dword [esi + 0x78], 0
jne 0x6e34bf28
mov eax, dword [esi + 0x80]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 0x7c]
push eax
mov dword [esi + 0x7c], eax
push esi
call fcn.6e341950
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x6e34cbf0
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
mov edx, dword [esp + 0xc]
push esi
sar edx, 1
push edi
mov esi, dword [esp + 0x20]
push ebp
mov ebx, dword [esp + 0x14]
cmp ebx, eax
jle 0x6e34cc2b
mov edi, esi
lea ebp, [edx - 1]
test edx, edx
je 0x6e34cc24
xor ecx, ecx
add edi, 2
mov cx, word [edi - 2]
xor eax, ecx
mov ecx, ebp
dec ebp
test ecx, ecx
jne 0x6e34cc12
add esi, dword [esp + 0x1c]
dec ebx
jne 0x6e34cc09
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x6e351f50
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x1c]
sub esp, 8
inc ecx
push ebx
imul ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x2c]
push esi
mov dword [esp + 0xc], 0
push edi
push ebp
mov ebp, dword [esp + 0x2c]
add ebp, ecx
cmp dword [esp + 0x3c], 1
jle 0x6e351fdf
fld dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x10], eax
lea esi, [ebp + 1]
mov eax, esi
sub eax, dword [esp + 0x24]
cmp dword [esp + 0x40], 1
jle 0x6e351fd1
xor ebx, ebx
mov edi, dword [esp + 0x40]
mov bl, byte [eax]
dec edi
xor ecx, ecx
xor edx, edx
mov cl, byte [esi]
mov dl, byte [esi - 1]
mov eax, ecx
inc esi
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, ecx
fild dword [esp + 0x14]
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
dec edi
mov dword [esp + 0x14], eax
fiadd dword [esp + 0x14]
faddp st(1)
jne 0x6e351fa0
add ebp, dword [esp + 0x24]
dec dword [esp + 0x10]
jne 0x6e351f87
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
imul eax, dword [esp + 0x40]
lea ecx, [eax*2]
mov eax, dword [esp + 0x44]
fld dword [eax]
fadd dword [esp + 0x14]
fstp dword [eax]
fld dword [esp + 0x14]
add dword [edx], ecx
mov dword [esp + 0x14], ecx
pushfd
cmp dword [0x6e3939f0], 0
jne 0x6e352019
fidiv dword [esp + 0x18]
jmp 0x6e352022
push dword [esp + 0x18]
call fcn.6e352bf8
popfd
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x6e352317
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x6e352397
call fcn.6e35352a
inc dword [0x6e393874]
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dl, ah
mov ecx, eax
and edx, 0xff
and ecx, 0xff
shr eax, 0x10
mov dword [0x6e393c38], edx
mov dword [0x6e393c34], ecx
mov dword [0x6e393c2c], eax
shl ecx, 8
add ecx, edx
mov dword [0x6e393c30], ecx
call fcn.6e353b93
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x6e37b3d8], eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [0x6e393878], eax
call fcn.6e353b88
call fcn.6e3536fc
call fcn.6e353631
call fcn.6e35343b
mov eax, 1
ret 0xc
test eax, eax
jne 0x6e35238f
mov eax, dword [0x6e393874]
test eax, eax
jle 0x6e3523bf
dec eax
cmp dword [0x6e393c64], 0
mov dword [0x6e393874], eax
jne 0x6e3523b8
call fcn.6e35347c
call fcn.6e353551
jmp 0x6e35238f
xor eax, eax
jmp 0x6e352394

Function at 0x6e35348b
Capabilities:
Terminate process

Disassembly:
mov dword [0x6e393c64], 1
cmp dword [esp + 8], 0
push ebx
push esi
mov ebx, dword [esp + 0x14]
mov byte [0x6e393c60], bl
jne 0x6e3534e7
cmp dword [0x6e37b3d4], 0
je 0x6e3534d5
mov esi, dword [0x6e37b3d0]
sub esi, 4
cmp dword [0x6e37b3d4], esi
ja 0x6e3534d5
mov eax, dword [esi]
test eax, eax
je 0x6e3534ca
call eax
sub esi, 4
cmp dword [0x6e37b3d4], esi
jbe 0x6e3534c2
push 0x6e3947ac
push 0x6e3947a8
call fcn.6e35350a
add esp, 8
push 0x6e3947b4
push 0x6e3947b0
call fcn.6e35350a
add esp, 8
test ebx, ebx
jne 0x6e353507
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebx
ret
Function at 0x6e353ca7
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 4
xor eax, eax
mov ecx, 0x6e394220
push edi
cmp dword [ecx], edx
je 0x6e353cc6
add ecx, 8
inc eax
cmp ecx, 0x6e394298
jb 0x6e353cb6
shl eax, 3
cmp dword [eax + 0x6e394220], edx
jne 0x6e353cfa
mov edx, dword [eax + str.0_9n_b]
push 0
lea eax, [esp + 8]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, dword [0x6e393ef8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
add esp, 4
ret
Function at 0x406b10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub ecx, ebp
mov ah, 0x66
mov eax, dword [edi + 6]
cmp ax, bx
jbe 0x406b37
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x406b31
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x406b22
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.004068dd
wait
push cs
jge 0x406bd8
lea eax, [ebp - 0x58]
push eax
call fcn.004068ed
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.004068a2
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 0x406bcb
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004068dd
cmp eax, 0x8db43801
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid