joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a536c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403e40
mov eax, dword [ebp - 8]
call fcn.00403e40
mov ebx, 0x5c5370
xor eax, eax
push ebp
push 0x5a5747
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40d104]
call fcn.00402e3c
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebx], 0x46415448
mov dword [ebx + 4], 2
mov dword [ebx + 8], 0xffffffff
mov dword [ebx + 0xc], 0xffffffff
mov dword [ebx + 0x10], 0xffffffff
mov dword [ebx + 0x14], 0xffffffff
mov dword [ebx + 0x18], 0xffffffff
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x20], 0xffffffff
mov dword [ebx + 0x24], 0xffffffff
mov dword [ebx + 0x28], 0xffffffff
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebx + 0x34], eax
xor eax, eax
mov dword [ebx + 0x38], eax
xor eax, eax
mov dword [ebx + 0x3c], eax
xor eax, eax
push ebp
push 0x5a5725
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov ecx, 0x40
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 8]
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 8], 0
je 0x5a54bb
mov eax, dword [ebp - 0x10]
call fcn.00410750
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
call fcn.00403c8c
add eax, 2
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
call fcn.004026a8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x20]
mov eax, ebx
xor ecx, ecx
mov edx, dword [ebp - 0x28]
call fcn.00402b14
xor eax, eax
push ebp
push 0x5a54b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
call fcn.00407bcc
mov edx, ebx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a54bb
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
call fcn.004026c0
ret
mov eax, dword [ebp - 0x10]
call fcn.00410750
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.004026a8
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x5a5548
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
mov cl, 0xff
mov edx, dword [ebp - 0x18]
call fcn.00402b14
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x14]
dec ebx
test ebx, ebx
jl 0x5a5521
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.0040e188
mov dword [esi], eax
add esi, 4
inc edi
dec ebx
jne 0x5a550e
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a554f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.004026c0
ret
Function at 0x40633a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x40635e
xor eax, eax
test eax, eax
je 0x406370
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406370
xor ecx, ecx
jmp 0x406373
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x40645f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce04], 0
push esi
jne 0x406496
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406470
mov dword [ecx*4 + 0x42ce00], eax
inc ecx
cmp ecx, 0x100
jl 0x40646b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4064c7
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce00]
xor eax, esi
inc ecx
dec edx
jne 0x4064a9
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0xee28dc
Capabilities:
Encode data using xor

Disassembly:
jmp 0xee28e6
pushal
call 0xee28ec
pop ebp
sub ebp, 0x10
sub ebp, 0xae28dc
jmp 0xee2902
mov eax, 0xae28dc
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bd
mov edx, 0x969cc9a2
xor byte [eax], dl
inc eax
dec ecx
jne 0xee2919
jmp 0xee292c
sub dword [edi + 0x29], ebp
sub ebx, dword [esi + 0x23a2a2a2]
arpl word [edx - 0x5e], bx
mov byte [0x1a6fa1a2], al
movsb byte es:[edi], byte [esi]
mov byte [0x8a18a2a2], al
mov byte [0x4055a2a2], al
mov eax, dword [0xae23296a]
mov byte [0x67a1a2a2], al
das
mov byte [esi - 0x7959d4a2], 0x2f
mov byte [esi - 0x7959d4a2], 0xca
mov edx, 0xcaa283b2
pushal
mov edx, 0x8ea3a22f
xchg dl, cl
mov al, 0x3a
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x27d914b0
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x695c667f
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x100653d0
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, eax
push edi
mov ecx, ebx
call fcn.10065530
mov edi, eax
test edi, edi
jne 0x100653ed
lea eax, [edi + 0xb]
pop edi
pop ebx
add esp, 0x10
ret
push 0x1006a048
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x104
jae 0x10065423
test eax, eax
je 0x10065423
push 0x10068030
push 0
push 0x100670c4
push 0x1006a048
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1006542e
pop edi
mov eax, 3
pop ebx
add esp, 0x10
ret
push ebp
mov ebp, dword [edi + 8]
push esi
mov esi, dword [edi + 0xc]
mov eax, dword [esi + ebx]
push 0
push 0
push 2
push 0
push 0
add esi, ebx
push 0x40000000
push 0x10068030
mov dword [0x1006a038], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x10065471
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [esi + 4]
push edi
push 0
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
movzx edx, byte [esi + 8]
lea ecx, [esi + 8]
shr edx, 5
inc edx
mov ebx, eax
lea eax, [ebp - 8]
cmp edx, 1
jne 0x100654b2
push ebx
mov edx, edi
call section..text001
add esp, 4
jmp 0x100654c6
cmp edx, 2
jne 0x100654c4
push ebx
mov edx, edi
call fcn.100651b0
add esp, 4
jmp 0x100654c6
xor eax, eax
cmp edi, eax
je 0x100654d1
mov esi, 0xd
jmp 0x100654f7
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x20]
push ecx
push edi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100654f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x10065509
mov eax, dword [esp + 0x18]
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x10065523
push 0x10068030
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x10065590
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push esi
push esi
push edi
call sub.PSAPI.DLL_EnumProcessModules
mov ecx, dword [esp + 0x10]
push 4
push 0x1000
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebp, eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push eax
push ebp
push edi
call sub.PSAPI.DLL_EnumProcessModules
mov ebx, dword [esp + 0x10]
shr ebx, 2
test ebx, ebx
jbe 0x10065619
mov edx, dword [ebp + esi*4]
push 0xc
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call sub.PSAPI.DLL_GetModuleInformation
mov eax, dword [esp + 0x18]
cmp eax, 0x1006a030
ja 0x1006560e
mov ecx, dword [esp + 0x1c]
add ecx, eax
cmp ecx, 0x1006a030
ja 0x10065615
inc esi
cmp esi, ebx
jb 0x100655e3
jmp 0x10065619
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
push 0
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x100657c0
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, dword [0x1006a040]
mov eax, edi
call fcn.100653d0
mov esi, eax
test esi, esi
je 0x100657f3
push esi
push 0x10067100
push 0x10069030
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
call fcn.10065640
pop edi
mov eax, esi
pop esi
ret
push 0x10068030
mov dword [0x1006a03c], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10065828
push 0x10067178
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10065847
push edi
call eax
add esp, 4
mov edi, eax
jmp 0x1006584c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10067190
push 0x10069030
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
call fcn.10065640
mov edi, 1
test esi, esi
je 0x10065857
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x10068030
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
pop edi
pop esi
ret
Function at 0x10065870
Capabilities:
Delete file
Query environment variable
Terminate process

Disassembly:
cmp dword [0x1006a030], 0
jne 0x100658a1
call fcn.10065590
mov dword [0x1006a040], eax
call fcn.100657c0
mov ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
mov dword [0x1006a034], ecx
mov dword [0x1006a030], 1
jmp 0x100658a7
mov ecx, dword [0x1006a034]
cmp dword [0x1006a03c], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
mov edi, dword [esp + 0x10]
je 0x100658f4
mov eax, dword [0x1006a040]
test eax, eax
jne 0x100658ce
push eax
call esi
mov ecx, dword [0x1006a034]
mov edx, dword [eax + 0x3c]
push ebx
mov ebx, 0x2000
test word [edx + eax + 0x16], bx
pop ebx
je 0x100658f4
test edi, edi
jne 0x100658f4
push 0x10068030
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [0x1006a034]
test ecx, ecx
jne 0x10065975
mov eax, dword [0x1006a040]
test eax, eax
jne 0x10065904
push eax
call esi
mov ecx, dword [eax + 0x3c]
mov edx, 0x2000
test word [ecx + eax + 0x16], dx
je 0x1006591a
pop edi
xor eax, eax
pop esi
ret 0xc
push 0x1000
push 0x10069030
push 0x100671f4
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x10065967
mov ax, word [0x10069030]
xor edx, edx
mov ecx, 0x10069030
cmp dx, ax
je 0x10065967
movzx eax, ax
lea ebx, [ebx]
movzx eax, ax
lea edx, [esi + esi*4]
add ecx, 2
lea esi, [eax + edx*2 - 0x30]
movzx eax, word [ecx]
xor edx, edx
cmp dx, ax
jne 0x10065950
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x1006a040]
push eax
push edi
push ecx
call dword [section..data001]
pop edi
pop esi
ret 0xc

Function at 0x10065e3c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10068010]
jne 0x10065e46
repz ret
jmp fcn.100660ed
Function at 0x401071
Capabilities:
Hide graphical window

Disassembly:
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [0x404053], eax
push 0x4b
push 0x4b
push 0
push 0
push 0
push dword [0x404053]
call 0x401071
call fcn.0040131f
push 0
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffffa0
mov dword [ebp - 0x60], 1
cmp dword [ebp + 8], 0
jne 0x40108e
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [ebp + 8], eax
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 0x3000
push dword [ebp - 0x2c]
pop dword [0x404027]
push 0x40100f
pop dword [ebp - 0x28]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [ebp + 8]
pop dword [ebp - 0x1c]
push 0x1f4
push dword [ebp + 8]
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x58], eax
mov dword [0x404043], eax
push dword [ebp - 0x58]
pop dword [ebp - 0x18]
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
push eax
pop dword [ebp - 0x14]
mov dword [0x40404f], eax
push 0xff0000
call sub.gdi32.dll_CreateSolidBrush
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x5c]
pop dword [ebp - 0x10]
cmp dword [ebp + 0xc], 0
jne 0x401113
mov dword [ebp - 0xc], 0x40401e
jmp 0x40111a
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str.Principale
push dword [ebp - 0x58]
pop dword [ebp - 4]
push dword [ebp - 0x58]
pop dword [0x404047]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
mov dword [0x40404b], eax
push 0
lea eax, [ebp - 0x34]
push eax
push 0
push 0x30
call sub.user32.dll_SystemParametersInfoA
push ebx
lea ebx, [ebp - 0x34]
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
pop ebx
mov dword [ebp - 0x38], eax
push ebx
lea ebx, [ebp - 0x34]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
pop ebx
mov dword [ebp - 0x3c], eax
push dword [ebp + 0x1c]
push dword [ebp - 0x38]
call fcn.00401356
mov dword [ebp - 0x38], eax
push dword [ebp + 0x18]
push dword [ebp - 0x3c]
call fcn.00401356
mov dword [ebp - 0x3c], eax
push ebx
lea ebx, [ebp - 0x34]
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
pop ebx
mov edx, eax
sub edx, dword [ebp - 0x38]
shr edx, 1
mov dword [ebp - 0x54], edx
push ebx
lea ebx, [ebp - 0x34]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
pop ebx
mov edx, eax
sub edx, dword [ebp - 0x3c]
shr edx, 1
mov dword [ebp - 0x50], edx
mov dword [0x40402b], 0
mov dword [0x40402f], 0x2cf0000
push 0
push dword [ebp + 8]
push 0
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push dword [0x40402f]
push str.Modifier_titremain
push str.Principale
push dword [0x40402b]
call sub.user32.dll_CreateWindowExA
push 1
push dword [0x404033]
call sub.user32.dll_ShowWindow
push dword [0x404033]
call sub.user32.dll_UpdateWindow
mov eax, dword [ebp - 0x60]
leave
ret 0x18
Function at 0x40137d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
mov dword [ebp - 0x60], 1
cmp dword [ebp + 8], 0
jne 0x40139a
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [ebp + 8], eax
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 0x3000
push dword [ebp - 0x2c]
pop dword [0x404080]
push 0x40101e
pop dword [ebp - 0x28]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [ebp + 8]
pop dword [ebp - 0x1c]
push 0x1f4
push dword [ebp + 8]
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x5c], eax
mov dword [0x40409c], eax
push dword [ebp - 0x5c]
pop dword [ebp - 0x18]
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
push eax
pop dword [ebp - 0x14]
mov dword [0x4040a8], eax
push 0xffff
call sub.gdi32.dll_CreateSolidBrush
mov dword [ebp - 0x50], eax
push dword [ebp - 0x50]
pop dword [ebp - 0x10]
cmp dword [ebp + 0xc], 0
jne 0x40141f
mov dword [ebp - 0xc], str.MAINMENU
jmp 0x401426
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str.Boopy_Woopy
push dword [ebp - 0x5c]
pop dword [ebp - 4]
push dword [ebp - 0x5c]
pop dword [0x4040a0]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
mov dword [0x4040a4], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 0xc]
call sub.user32.dll_GetClientRect
push ebx
lea ebx, [ebp - 0x4c]
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
pop ebx
mov dword [ebp - 0x38], eax
push ebx
lea ebx, [ebp - 0x4c]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
pop ebx
mov dword [ebp - 0x3c], eax
push dword [ebp + 0x1c]
push dword [ebp - 0x38]
call fcn.00401356
mov dword [ebp - 0x38], eax
push dword [ebp + 0x18]
push dword [ebp - 0x3c]
call fcn.00401356
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0x10], 0
je 0x4014a3
push dword [ebp + 0x10]
push dword [ebp - 0x3c]
call fcn.00401356
mov dword [ebp - 0x54], eax
jmp 0x4014aa
mov dword [ebp - 0x54], 0
cmp dword [ebp + 0x14], 0
je 0x4014c0
push dword [ebp + 0x14]
push dword [ebp - 0x38]
call fcn.00401356
mov dword [ebp - 0x58], eax
jmp 0x4014c7
mov dword [ebp - 0x58], 0
mov dword [0x404084], 0
mov dword [0x404088], 0x40cf0000
push 0
push dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x58]
push dword [ebp - 0x54]
push dword [0x404088]
push str.Modifier_titrechild
push str.Boopy_Woopy
push dword [0x404084]
call sub.user32.dll_CreateWindowExA
push 1
push dword [0x40408c]
call sub.user32.dll_ShowWindow
push dword [0x40408c]
call sub.user32.dll_UpdateWindow
mov eax, dword [ebp - 0x60]
leave
ret 0x18
Function at 0x4014df
Capabilities:
Encode data using base64

Disassembly:
push 0x1c
mov eax, 0x510229
call fcn.004d18c4
mov edi, ecx
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x28], ebx
mov eax, edx
cmp dword [edx + 0x14], 0x10
jb 0x401505
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [edx + 0x10]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
mov dword [ebp - 4], ebx
mov edi, ebx
mov dword [ebp - 0x28], 1
test ecx, ecx
je 0x40167f
push 3
pop esi
jmp 0x401530
mov ecx, dword [ebp - 0x24]
mov al, byte [eax]
dec ecx
mov byte [ebp + edi - 0x14], al
inc edi
mov eax, dword [ebp - 0x1c]
mov dl, byte [ebp - 0x13]
inc eax
mov dword [ebp - 0x24], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x4015c9
mov esi, dword [ebp - 0x20]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x557edc], 0x10
mov ecx, 0x557ec8
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x557ec8]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.004021b6
inc edi
cmp edi, 4
jl 0x40158e
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov eax, dword [ebp - 0x1c]
mov ch, byte [ebp - 0xf]
push 3
pop esi
cmp dword [ebp - 0x24], 0
jne 0x40152d
mov dword [ebp - 0x24], edi
test edi, edi
je 0x40167f
mov eax, edi
cmp edi, esi
jge 0x4015fe
cmp eax, esi
jae 0x401688
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x4015e6
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x40166a
mov esi, dword [ebp - 0x20]
mov edi, eax
cmp dword [0x557edc], 0x10
mov ecx, 0x557ec8
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x557ec8]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.004021b6
inc ebx
cmp ebx, edi
jl 0x40163b
mov edi, dword [ebp - 0x24]
push 3
pop esi
cmp edi, esi
jge 0x40167f
sub esi, edi
mov ecx, dword [ebp - 0x20]
push 0x3d
call fcn.004021b6
sub esi, 1
jne 0x401670
mov eax, dword [ebp - 0x20]
call fcn.004d188d
ret
call fcn.004d060c
int3
Function at 0x403149
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
ret

Function at 0x40599f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x84]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 4]
push str.btn_close
mov ecx, eax
call fcn.0041a752
lea ecx, [ebp - 0x84]
mov esi, eax
call fcn.0041a4f5
test esi, esi
jne 0x4059eb
call fcn.0040be79
push 0xffffffffffffffff
mov ecx, edi
call fcn.00405a88
jmp 0x405a37
mov eax, dword [ebx]
lea ecx, [ebp - 0x84]
push ecx
mov ecx, ebx
call dword [eax + 4]
push str.btnbrow
mov ecx, eax
call fcn.0041a752
lea ecx, [ebp - 0x84]
mov esi, eax
call fcn.0041a4f5
test esi, esi
jne 0x405a37
lea eax, [edi + 0x900]
cmp dword [eax + 0x14], 0x10
jb 0x405a24
mov eax, dword [eax]
push 1
xor ecx, ecx
push ecx
push ecx
push eax
push 0x53aa10
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebx
leave
ret 4