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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push 0
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push eax
push dword [ebp + 0x14]
call sub.kernel32.dll_WriteFile
test eax, eax
setne al
movsx eax, al
push eax
call fcn.00402d10
mov esi, eax
cmp dword [0x407e8c], 0xffffffff
je 0x402ed1
mov eax, dword [ebp + 0x14]
cmp eax, dword [0x407e88]
jne 0x402ed1
lea eax, [ebp - 0x1c]
push eax
push dword [0x407e88]
call sub.kernel32.dll_GetConsoleScreenBufferInfo
movsx eax, word [ebp - 0x18]
mov dword [0x407e94], eax
movsx eax, word [ebp - 0x16]
mov dword [0x407e98], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402fe8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
push esi
push edi
mov edi, 3
push 0x4089c4
call fcn.0040614c
mov esi, dword [eax]
push 0x4089c4
call fcn.0040614c
mov dword [eax], 0x40
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x38c]
push eax
push 0
call fcn.004059b4
call fcn.00405830
lea eax, [ebp - 0x150]
push eax
push 1
call fcn.004058bc
call fcn.00404474
test eax, eax
jne 0x403129
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x190]
push eax
push 0x40
push 0
call fcn.00405994
call fcn.00404474
test eax, eax
jne 0x40309f
cmp word [ebp - 0x190], 0x5a4d
jne 0x40309f
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x154]
call fcn.004058d8
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x190]
push eax
push 2
push 0
call fcn.00405994
jmp 0x4030a9
mov dword [ebp - 0x154], 0
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x154]
call fcn.004058d8
call fcn.00404474
test eax, eax
jne 0x40310d
cmp word [ebp - 0x190], 0x4550
jne 0x40310d
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x288]
push eax
push 0xf8
push 0
call fcn.00405994
call fcn.00404474
test eax, eax
jne 0x40310d
cmp dword [ebp - 0x288], 0x4550
jne 0x40310d
cmp word [ebp - 0x22c], 3
jne 0x40310d
mov edi, 2
lea eax, [ebp - 0x150]
push eax
call fcn.00405908
push 0x4089bc
call fcn.0040614c
mov dword [eax], 0
push 0x4089c4
call fcn.0040614c
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403180
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push dword [ebp + 0x1c]
call sub.kernel32.dll_CreateThread
mov esi, eax
push esi
call sub.kernel32.dll_CloseHandle
test esi, esi
setne al
movsx eax, al
push eax
call fcn.00402d10
mov esi, eax
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x403224
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
cmp dword [0x407f2c], 0
je 0x403246
mov eax, dword [0x407f2c]
mov dword [ebp - 4], eax
jmp 0x4032db
push 0x104
call fcn.00404548
mov dword [ebp - 4], eax
push 0x104
push dword [ebp - 4]
push 0
call sub.kernel32.dll_GetModuleFileNameA
push dword [ebp - 4]
call fcn.00404010
inc eax
mov ebx, eax
call sub.kernel32.dll_GetCommandLineA
mov esi, eax
mov al, byte [esi]
dec al
cmp al, 0x1f
jbe 0x40328b
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.004031bc
mov esi, eax
inc esi
push esi
call fcn.00404010
inc eax
mov edi, eax
lea eax, [ebp - 4]
push eax
mov eax, ebx
add eax, edi
inc eax
push eax
call fcn.004045a8
call sub.kernel32.dll_AreFileApisANSI
test eax, eax
jne 0x4032bc
push edi
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push esi
call sub.user32.dll_CharToOemBuffA
jmp 0x4032c9
push esi
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push edi
call fcn.00404d88
mov eax, dword [ebp - 4]
add eax, ebx
add eax, edi
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov dword [0x407f2c], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4033b8
Capabilities:
Contain obfuscated stackstrings
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov dword [ebp - 0x24], 0x52414853
mov dword [ebp - 0x20], 0x454d4445
mov dword [ebp - 0x1c], 0x5356354d
call sub.kernel32.dll_GetCurrentProcessId
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0xb
call fcn.00404cfc
xor eax, eax
mov bl, 0
cmp dword [0x407ed0], 0
jne 0x403406
push 0x407c20
push 1
call fcn.00402c1c
mov dword [0x407ed0], eax
cmp dword [0x407ed0], 0
jne 0x40341f
push 0x8000
call fcn.00404548
mov esi, eax
mov bl, 1
jmp 0x403459
lea eax, [ebp - 0x24]
push eax
push 0
push 6
call dword [0x407ed0]
test eax, eax
jne 0x403449
lea eax, [ebp - 0x24]
push eax
push 0x8000
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov bl, 1
push 0
push 0
push 0
push 6
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
test bl, bl
je 0x403482
push esi
push 0x8000
push 0xff
call fcn.00404de4
push esi
push 0x24
push 0
call fcn.00404de4
mov eax, esi
add eax, 0xc
push eax
call fcn.00404630
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403830
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
call fcn.004037bc
lea edx, [ebp - 0x400]
movzx ecx, word [ebp + 0x14]
dec ecx
xor esi, esi
jmp 0x403868
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov word [edx + 2], ax
mov eax, dword [ebp + 0x18]
movzx eax, byte [eax]
mov word [edx], ax
inc dword [ebp + 0x18]
add edx, 4
inc esi
cmp ecx, esi
jge 0x40384e
mov ax, word [ebp + 0x14]
mov word [ebp - 0x404], ax
mov word [ebp - 0x402], 1
mov word [ebp - 0x408], 0
mov word [ebp - 0x406], 0
mov ax, word [ebp + 0x10]
mov word [ebp - 0x410], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40e], ax
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0x14]
add ecx, eax
dec ecx
mov word [ebp - 0x40c], cx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40a], ax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x408]
push dword [ebp - 0x404]
lea eax, [ebp - 0x400]
push eax
push dword [0x407e88]
call sub.kernel32.dll_WriteConsoleOutputA
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x403c10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x403c30
mov al, byte [ebp - 4]
jmp 0x403c33
mov al, byte [ebp + 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405c6c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
or edi, 0xffffffff
or eax, 0xffffffff
mov dword [ebp - 0x24], 0
xor esi, esi
mov edx, dword [0x408280]
add edx, 0x24
mov esi, edx
cmp dword [edx], 0xffffffff
je 0x405caa
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405ca5
mov ecx, dword [edx + 8]
cmp ecx, dword [esi + 8]
jbe 0x405ca5
mov esi, edx
add edx, 0x10
jmp 0x405c8e
mov edx, esi
cmp dword [edx], 0xffffffff
je 0x405dbe
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405dbe
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405dbc
mov ecx, dword [edx + 8]
sub dword [ebp + 0x10], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [edx + 0xc]
test edx, edx
je 0x405dbc
mov cl, byte [edx]
sub cl, 0x3c
jne 0x405cf2
jmp 0x405dbc
sub cl, 3
jne 0x405d0c
inc edx
mov dword [ebp - 0xc], edx
movzx ecx, byte [edx]
inc ecx
add edx, ecx
mov byte [ebp - 0x25], 1
jmp 0x405db7
inc cl
jne 0x405d20
movzx ecx, word [edx + 1]
add edi, ecx
add edx, 3
jmp 0x405db7
inc cl
jne 0x405d34
movzx ecx, word [edx + 1]
add edi, ecx
mov ecx, dword [edx + 3]
add eax, ecx
add edx, 7
jmp 0x405d47
movzx ecx, byte [edx]
shr ecx, 6
add edi, ecx
mov cl, byte [edx]
and cl, 0x3f
movzx ecx, cl
add eax, ecx
inc edx
cmp eax, dword [ebp + 0x10]
jne 0x405d51
mov esi, eax
mov dword [ebp - 0x24], edi
cmp eax, dword [ebp + 0x10]
jl 0x405dae
sub eax, dword [ebp + 0x10]
cmp eax, 0xa
jle 0x405d64
cmp byte [ebp - 0x25], 0
jne 0x405dac
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov eax, dword [ebp + 0xc]
mov byte [eax], cl
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp eax, dword [ebp - 0x14]
jle 0x405d9a
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dl, byte [eax + ecx]
xor dl, 0xaa
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov byte [eax + ecx], dl
jmp 0x405d75
movzx eax, word [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
add esi, dword [ebp - 0x18]
mov eax, esi
jmp 0x405dbe
jmp 0x405dbc
mov esi, eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x25], 0
jmp 0x405ce4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x406294
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10
cld
push ecx
call fcn.00406270
call fcn.004033b8
mov dword [0x408280], eax
lea edx, [eax + 0x18]
mov dword [0x4082e0], edx
pop edx
call fcn.004060f0
call sub.kernel32.dll_GetEnvironmentStrings
mov dword [0x4082ac], eax
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x4082c0], eax
mov dword [0x4082e8], eax
call fcn.00402fe8
cmp eax, 3
setb byte [0x408289]
call fcn.00404008
lea eax, [esp]
xor edx, edx
mov ecx, dword fs:[edx]
mov dword fs:[edx], eax
mov dword [eax], ecx
mov dword [eax + 4], 0x406520
mov dword [eax + 8], ebp
jmp dword [esp + 0x10]
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x409be9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x409bf8
pop dword [ebp - 0x20]
mov eax, 0x409bf8
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x6f65071a
add dword [ebp - 0x30], 0xdeed3e31
mov dword [ebp - 0x2c], 0x69b03405
sub dword [ebp - 0x2c], 0x377ce7c0
mov dword [ebp - 0x28], 0x1fb56aae
sub dword [ebp - 0x28], 0xd3692680
mov dword [ebp - 0x24], 0x3d135871
add dword [ebp - 0x24], 0xc2eca78f
lea eax, [ebp - 0x30]
push eax
mov eax, 0xad425d11
add eax, 0x52ffd363
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x95a487be
sub dword [ebp - 0x30], 0x21321e68
mov dword [ebp - 0x2c], 0x5adcc637
sub dword [ebp - 0x2c], 0x197064c2
mov dword [ebp - 0x28], 0x8ca4821d
sub dword [ebp - 0x28], 0x293515b1
mov dword [ebp - 0x24], 0x45574a57
sub dword [ebp - 0x24], 0x45574a57
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3bf63
push 0
call eax
mov ecx, 0x408f
xor esi, esi
add esi, eax
mov edx, 0xb5906d8f
add edx, 0x4ab2d671
add edx, dword [ebp - 0x20]
mov ebx, 0xa6dbab17
sub ebx, 0x54d4ab92
mov dword [ebp - 8], 0x4e256b24
mov edi, dword [edx]
mov dword [ebp - 8], 0x1507e142
sub edi, ebx
mov dword [ebp - 0x1c], 0x43c35a23
mov dword [esi], edi
xor dword [ebp - 8], edx
add esi, 0x9ede74bb
sub esi, 0x9ede74b7
add edx, 0xc84ac2e2
sub edx, 0xc84ac2de
loop 0x409d0c
add eax, 0xf48316be
add eax, 0xb7dde51
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48d030]
jne 0x401073
repz ret
jmp fcn.00402061

Function at 0x408d0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404f5a
and dword [ebp - 4], 0
cmp dword [0x48fb68], 0
mov ebx, eax
jne 0x408dbc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408e6d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408e6d
push eax
call fcn.00404ee8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x48fb68], eax
call esi
push eax
call fcn.00404ee8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48fb6c], eax
call esi
push eax
call fcn.00404ee8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48fb70], eax
call esi
push eax
call fcn.00404ee8
pop ecx
mov dword [0x48fb78], eax
test eax, eax
je 0x408dbc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404ee8
pop ecx
mov dword [0x48fb74], eax
mov eax, dword [0x48fb74]
cmp eax, ebx
je 0x408e14
cmp dword [0x48fb78], ebx
je 0x408e14
push eax
call fcn.00404f63
push dword [0x48fb78]
mov esi, eax
call fcn.00404f63
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408e14
test edi, edi
je 0x408e14
call esi
test eax, eax
je 0x408e0b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408e0b
test byte [ebp - 0xc], 1
jne 0x408e14
or dword [ebp + 0x10], 0x200000
jmp 0x408e4d
mov eax, dword [0x48fb6c]
cmp eax, ebx
je 0x408e4d
push eax
call fcn.00404f63
pop ecx
test eax, eax
je 0x408e4d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408e4d
mov eax, dword [0x48fb70]
cmp eax, ebx
je 0x408e4d
push eax
call fcn.00404f63
pop ecx
test eax, eax
je 0x408e4d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48fb68]
call fcn.00404f63
pop ecx
test eax, eax
je 0x408e6d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408e6f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405c90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x40b3d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x40b3d0]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x405ce5
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x405cde
test esi, esi
je 0x405cde
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x405cc0
mov dword [esp], 0x40b3d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x68e52950
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x68e52b14
pushal
mov esi, 0x68e50015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x68e5297a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x68e52981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x68e52970
mov eax, 1
add ebx, ebx
jne 0x68e52993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x68e52988
jne 0x68e529a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x68e52988
xor ecx, ecx
sub eax, 3
jb 0x68e529b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x68e52a2a
mov ebp, eax
add ebx, ebx
jne 0x68e529c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x68e529d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x68e529f4
inc ecx
add ebx, ebx
jne 0x68e529e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x68e529d5
jne 0x68e529f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x68e529d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x68e52a14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x68e52a05
jmp 0x68e52976
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x68e52a14
add edi, ecx
jmp 0x68e52976
pop esi
mov edi, esi
mov ecx, 0x35
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x68e52a32
cmp byte [edi], 0
jne 0x68e52a32
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 0x68e52a37
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x68e52aa6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x68e52a64
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12054]
or eax, eax
je 0x68e52aa0
mov dword [ebx], eax
add ebx, 4
jmp 0x68e52a81
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x68e52ad7
cmp al, 0xef
ja 0x68e52aca
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x68e52aac
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x68e52ab9
mov ebp, dword [esi + 0x12058]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x68e52b0b
sub esp, 0xffffff80
jmp 0x68e414b0
Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x18af7cb1
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, str.EY
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x27c42345
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x438c91
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
add ebx, 0xf30780be
call fcn.00438cca
add ebx, ecx
inc ebx
xor dword [eax], edi
and ebx, ebx
dec ebx
inc eax
or ebx, ecx
cmp eax, edx
jne fcn.00438c91
sub ebx, 1
sub ecx, 0xa0284167
ret
Function at 0x10011833
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10011842
pop dword [ebp - 0x10]
mov eax, 0xade15654
sub eax, 0x9de03e12
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x4488d
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0xc43b3d58
add ecx, 0x3bc50fc6
mov edx, eax
mov esi, 0x536d70be
add esi, 0xbcab0142
add esi, dword [ebp - 0x10]
mov ebx, 0x37e56bda
xor dword [ebp - 4], 0xca706899
mov edi, dword [esi]
sub dword [ebp - 4], edx
xor edi, ebx
xor dword [ebp - 4], 0x1b17c5a3
mov dword [edx], edi
add edx, 4
add esi, 4
loop 0x10011896
add eax, 0x1274b
mov ebx, eax
add eax, 5
mov ecx, 0x7e3edd42
add ecx, 0x91c122be
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x10072260
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x100722fb
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x100722b2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x100722b2
cmp esi, ebx
jge 0x100722b2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x100722f5
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x100722f5
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100783dc]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100783dc]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1007230d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x10072530
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
mov eax, dword [ebp + 8]
je 0x10072558
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x10072572
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10011833
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10076450
leave
ret 4

Function at 0x10072740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x10072776
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x100727d5
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10011833
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10011833
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10011833
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10076450
leave
ret 0x10
Function at 0x100727f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1007281c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1007284d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1007284b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10011833
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1007284d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10076450
leave
ret 8