joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2a0829dd
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5bf07022
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4030d0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
xor esi, esi
cmp dword [0xc28080], 0x594
mov dword [ebp - 0xc], eax
jne 0x403105
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov ecx, dword [0x808ef8]
mov edx, dword [0x808efc]
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], edx
call fcn.004030c0
mov ebx, dword [ebp - 8]
mov eax, dword [0x808f00]
mov ecx, dword [0x808f04]
add ebx, 0x23f
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], 0x20
jmp 0x403152
xor esi, esi
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov ecx, dword [0xc28080]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x4031b4
push esi
lea edx, [ebp - 0x42c]
push edx
push 0x402548
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
xor eax, eax
xor ecx, ecx
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], cx
mov edx, dword [ebp - 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov eax, dword [ebp - 4]
mov ecx, dword [0xc28080]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x4031ce
mov dword [0xc2761c], 0xedeb2e40
jmp 0x4031dc
cmp ecx, 0x3eb
jne 0x4031dc
mov dword [0xc26fd0], esi
mov ecx, dword [ebp - 8]
mov edx, edi
shr edx, cl
lea eax, [ebx + edi]
mov dword [ebp - 0x10], eax
mov dword [0xc27618], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0xc28080], 0xc
jne 0x40322f
lea ecx, [ebp - 0x10]
push ecx
push esi
push esi
lea edx, [ebp - 0x2c]
push edx
push esi
push esi
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_BackupRead]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 4]
lea esi, [ebx + edx]
add ebx, 0x61c88647
add eax, dword [ebp - 0x20]
xor eax, esi
xor ecx, eax
sub edi, ecx
sub dword [ebp - 0x18], 1
mov dword [ebp - 4], ecx
jne 0x403150
cmp dword [0xc28080], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
pop ebx
jne 0x403297
push 0
push 0x40257c
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
mov dword [esi + 4], edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4032b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xc28080]
mov ecx, dword [0xc26fd4]
shr eax, 3
sub esp, 0x808
test eax, eax
jbe 0x40338d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0xc28080], 0x959
jne 0x403373
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0x402598
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
lea eax, [ebp - 0x808]
push eax
push 0
push 0x402604
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
call dword [sym.imp.KERNEL32.dll_HeapLock]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
push ecx
call fcn.004030d0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4032f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404520
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8080c8]
jne 0x40452a
repz ret
jmp fcn.00406c8e

Function at 0x4068af
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.004045a1
and dword [ebp - 4], 0
cmp dword [0x809a10], 0
mov ebx, eax
jne 0x406960
push 0x4019f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406a11
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4019ec
push edi
call esi
test eax, eax
je 0x406a11
push eax
call fcn.0040452f
mov dword [esp], 0x4019dc
push edi
mov dword [0x809a10], eax
call esi
push eax
call fcn.0040452f
mov dword [esp], 0x4019c8
push edi
mov dword [0x809a14], eax
call esi
push eax
call fcn.0040452f
mov dword [esp], 0x4019ac
push edi
mov dword [0x809a18], eax
call esi
push eax
call fcn.0040452f
pop ecx
mov dword [0x809a20], eax
test eax, eax
je 0x406960
push 0x401994
push edi
call esi
push eax
call fcn.0040452f
pop ecx
mov dword [0x809a1c], eax
mov eax, dword [0x809a1c]
cmp eax, ebx
je 0x4069b8
cmp dword [0x809a20], ebx
je 0x4069b8
push eax
call fcn.004045aa
push dword [0x809a20]
mov esi, eax
call fcn.004045aa
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4069b8
test edi, edi
je 0x4069b8
call esi
test eax, eax
je 0x4069af
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4069af
test byte [ebp - 0xc], 1
jne 0x4069b8
or dword [ebp + 0x10], 0x200000
jmp 0x4069f1
mov eax, dword [0x809a14]
cmp eax, ebx
je 0x4069f1
push eax
call fcn.004045aa
pop ecx
test eax, eax
je 0x4069f1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4069f1
mov eax, dword [0x809a18]
cmp eax, ebx
je 0x4069f1
push eax
call fcn.004045aa
pop ecx
test eax, eax
je 0x4069f1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x809a10]
call fcn.004045aa
pop ecx
test eax, eax
je 0x406a11
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406a13
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
mov ebx, dword [eax]
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
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x38cc61ed
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x431060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6985285f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x402e8e
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x402eab
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x402eba
mov ebx, 0x40f0e0
mov eax, dword [ebp + 8]
test eax, eax
jl 0x402ecf
mov ecx, dword [0x423f98]
add ecx, eax
push ecx
call fcn.004030b3
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.00403081
test eax, eax
je 0x40302c
test byte [ebp + 0x17], 0x80
je 0x403015
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x40b050
mov dword [ebp - 0xc], eax
call fcn.00406005
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x403077
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x402f1f
mov esi, dword [ebp + 0x14]
mov edi, 0x40b0e0
push esi
push edi
call fcn.00403081
test eax, eax
je 0x40302c
sub dword [ebp + 0x14], esi
mov dword [0x40b068], edi
mov dword [0x40b06c], esi
mov eax, dword [ebp - 8]
mov ecx, 0x40b050
mov dword [0x40b070], ebx
mov dword [0x40b074], eax
call fcn.00406025
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x40300d
mov esi, dword [0x40b070]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x423ff4], 1
mov edi, eax
je 0x402fc1
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x402f8e
cmp dword [ebp + 0x14], 0
jne 0x402fc1
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x54]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0
call fcn.00404e84
mov dword [ebp - 0xc], edi
xor eax, eax
cmp esi, eax
je 0x403002
cmp dword [ebp + 0x10], eax
jne 0x402fea
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403011
cmp dword [ebp - 0x10], esi
jne 0x403011
add dword [ebp - 4], esi
jmp 0x402ff6
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x40b070]
cmp dword [ebp - 0x14], 1
jne 0x402f42
jmp 0x403077
cmp dword [ebp + 0x14], eax
jg 0x402f12
jmp 0x403077
push 0xfffffffffffffffc
jmp 0x40302e
push 0xfffffffffffffffe
jmp 0x40302e
test edi, edi
je 0x40306c
cmp dword [ebp + 0x14], esi
jge 0x403021
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.00403081
test eax, eax
jne 0x403074
push 0xfffffffffffffffd
pop eax
jmp 0x40307a
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x40303c
mov esi, dword [ebp + 0x14]
mov edi, 0x40b0e0
push esi
push edi
call fcn.00403081
test eax, eax
je 0x40302c
lea eax, [ebp + 0x10]
push 0
push eax
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403011
cmp esi, dword [ebp + 0x10]
jne 0x403011
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x403031
jmp 0x403077
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
ror esi, 0x48
mov edi, 0x5d
bswap edx
mov edi, 0x6d
dec eax
or edx, 0xe1
bswap eax
inc edi
bswap esi
inc ebx
and edx, 0x56
bswap ebx
not esi
dec edi
rol esi, 0xdd
imul edx
dec edi
neg edi
rol eax, 0xbb
imul edx
inc edx
or ebx, 0x15
or ebx, 0xcb
sub eax, 0xfe
imul ebx
or edx, 0x67
inc eax
rcr eax, 0x5a
rol edx, 0xbe
rol esi, 0x16
not eax
not edi
ror ebx, 0xa3
sub esi, 0x23
neg eax
bswap eax
inc edx
rcl edi, 0x20
rol esi, 0xb4
bswap eax
sub edi, 0x22
inc eax
imul eax
bswap edi
imul esi
neg edi
neg ebx
dec esi
sub edx, 0xfd
ror esi, 0x6f
xor ecx, ecx
xor edi, edi
inc edx
imul edx
dec esi
mov eax, 0x16
rcl edi, 0x10
rcl eax, 0x89
bswap edx
mov ebx, 0x90
dec ebx
mov eax, 0x1f
rol esi, 0x9a
ror edx, 0x72
dec eax
rol eax, 0x7f
sbb edi, 0x18
bswap edi
dec ebx
or edi, 0xd7
mov ebx, 0x27
imul eax
inc ebx
inc ebx
not ebx
not ebx
or edx, 0x35
inc ebx
not ebx
neg edx
add edx, 0xcb
neg eax
and eax, 0
sbb edx, 0x32
rcl eax, 0x81
inc esi
and edx, 0xe0
inc ebx
rcl ebx, 5
rcr edi, 0x67
not edx
rol edx, 0x86
rol edi, 0xf3
or esi, 0x78
ror ebx, 0x2b
not esi
rol ebx, 0x2a
rcr ebx, 0xf3
and edi, 0x39
rcr edi, 0x1c
not esi
or esi, 0x9b
mov ecx, dword [ebp + 0xc]
mov eax, 0x74
sub esi, 5
not esi
bswap eax
and esi, 0xba
rol ebx, 0xe1
bswap edx
ror esi, 0xc5
inc edx
imul edi
imul ebx
inc edi
mov edi, 0xcb
inc ebx
sbb esi, 0x7f
imul edx
bswap edx
bswap esi
add edi, 0x63
ror esi, 9
add ebx, 0x3d
mov esi, 0x61
dec edx
rol edx, 0x40
imul esi
imul eax
dec eax
or edx, 0x55
neg ebx
not ebx
dec edx
bswap edi
rcl eax, 0x23
sub edi, 0x51
and esi, 0xad
imul edi
imul ebx
add edx, 0x28
and edx, 2
dec edx
dec esi
ror esi, 0xc1
neg eax
neg eax
ror esi, 0x60
not ebx
mov edi, 0x1b
mov esi, 0x71
mov eax, 0x56
dec edx
mov edi, dword [ebp + 8]
xor esi, eax
xor eax, esi
mov esi, esi
xor esi, ebx
xor ebx, esi
mov ebx, eax
xor eax, ebx
xor eax, eax
mov esi, eax
mov eax, esi
xor eax, eax
mov esi, eax
not byte [edi]
xor esi, eax
mov esi, eax
xor eax, eax
mov ebx, eax
xor eax, esi
xor ebx, ebx
mov eax, esi
xor ebx, eax
mov ebx, esi
add byte [edi], 0x87
mov eax, esi
mov eax, ebx
xor ebx, eax
mov eax, esi
mov esi, eax
xor esi, esi
mov eax, ebx
xor eax, eax
mov eax, ebx
sub byte [edi], 0x53
xor eax, esi
mov eax, eax
mov eax, eax
mov eax, eax
mov esi, esi
mov esi, eax
mov eax, esi
xor ebx, ebx
mov esi, eax
imul byte [edi]
inc edi
loop 0x4027a2
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x402a00
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
not byte [edi]
xor ebx, eax
xor ebx, ebx
xor eax, eax
mov eax, esi
mov esi, ebx
mov ebx, ebx
xor eax, ebx
xor eax, esi
xor esi, eax
add byte [edi], 0x26
mov ebx, eax
mov ebx, esi
mov eax, ebx
xor eax, eax
xor esi, eax
mov ebx, ebx
xor eax, ebx
mov eax, esi
xor ebx, esi
sub byte [edi], 0x87
xor eax, esi
mov eax, eax
xor esi, esi
xor esi, esi
mov esi, eax
mov ebx, esi
xor esi, esi
xor esi, eax
mov ebx, ebx
imul byte [edi]
inc edi
loop 0x4029c5
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4021f0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x148
mov eax, dword [0x40e3e0]
xor eax, esp
mov dword [esp + 0x144], eax
push ebp
mov ebp, dword [esp + 0x154]
push esi
push edi
push 0x104
lea eax, [esp + 0x50]
push 0
push eax
call fcn.00404c50
mov eax, dword [esp + 0x164]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0xc
sub eax, 1
je 0x4022b0
sub eax, 1
je 0x40229e
sub eax, 1
jne 0x402300
lea ecx, [esp + 0x4c]
push ecx
push eax
push eax
push 0x23
push eax
call fcn.00403140
add esp, 0x14
lea edx, [esp + 0x4c]
push edx
call edi
cmp byte [esp + eax + 0x4b], 0x5c
je 0x40226c
mov byte [esp + eax + 0x4c], 0x5c
mov byte [esp + eax + 0x4d], 0
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402300
mov byte [ebp], 0
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.00404c23
add esp, 0x148
ret
lea ecx, [esp + 0x4c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x402254
push 0x104
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x4c]
push edx
call edi
cmp byte [esp + eax + 0x4b], 0x5c
je 0x4022d4
mov byte [esp + eax + 0x4c], 0x5c
inc eax
lea esi, [esp + eax + 0x4c]
push str.Temp
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402280
push 0x40b28c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.231207192716763661565672
call edi
dec eax
cmp eax, 8
jl 0x402284
mov al, byte [eax + str.231207192716763661565672]
cmp al, 0x30
jl 0x402284
cmp al, 0x39
jg 0x402284
movsx esi, al
sub esi, 0x30
and esi, reloc.WS2_32.dll_closesocket
jns 0x40233a
dec esi
or esi, 0xfffffffc
inc esi
push str.231207192716763661565672
add esi, 4
call edi
sub eax, esi
dec eax
xor ecx, ecx
lea eax, [eax + str.231207192716763661565672]
nop
mov dl, byte [eax]
test dl, dl
je 0x4023b5
test esi, esi
jle 0x4023b5
add dl, dl
inc dl
inc eax
mov byte [esp + ecx + 0xc], dl
mov dl, byte [eax]
dec esi
test dl, dl
je 0x4023aa
test esi, esi
jle 0x4023aa
add dl, dl
inc dl
inc eax
mov byte [esp + ecx + 0xd], dl
mov dl, byte [eax]
dec esi
test dl, dl
je 0x4023ad
test esi, esi
jle 0x4023ad
add dl, dl
inc dl
inc eax
mov byte [esp + ecx + 0xe], dl
mov dl, byte [eax]
dec esi
test dl, dl
je 0x4023b2
test esi, esi
jle 0x4023b2
add dl, dl
inc dl
mov byte [esp + ecx + 0xf], dl
add ecx, 4
dec esi
inc eax
cmp ecx, 0x40
jb 0x402350
jmp 0x4023b5
inc ecx
jmp 0x4023b5
add ecx, 2
jmp 0x4023b5
add ecx, 3
mov byte [esp + ecx + 0xc], 0x2e
push 0x40b288
lea ecx, [esp + ecx + 0x11]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x4c]
push edx
call edi
mov ecx, 0x104
sub ecx, eax
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x54]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [esp + eax + 0x54]
push ecx
call esi
push 0x103
lea edx, [esp + 0x50]
push edx
push ebp
call esi
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.00404c23
add esp, 0x148
ret