joyce8/EMBER2024-capa huggingface dataset:
Function at 0x112d3058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.112d31a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x112d307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x112d306a
add dl, dl
jne 0x112d3089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x112d30dc
xor eax, eax
add dl, dl
jne 0x112d3096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x112d317d
add dl, dl
jne 0x112d30a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112d30b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112d30bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112d30c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x112d30d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x112d3075
mov eax, 1
add dl, dl
jne 0x112d30ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112d30f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x112d30e1
sub eax, ebx
mov ebx, 1
jne 0x112d3128
mov ecx, 1
add dl, dl
jne 0x112d310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x112d3119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x112d3105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x112d3075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x112d313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x112d314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x112d3136
cmp eax, 0x7d00
jae 0x112d316d
cmp eax, 0x500
jb 0x112d3168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x112d3075
cmp eax, 0x7f
ja 0x112d3170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x112d3075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x112d319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x112d3075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403143
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
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 0x403160
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x40316f
mov ebx, 0x4204e0
mov eax, dword [ebp + 8]
test eax, eax
jl 0x403184
mov ecx, dword [0x447778]
add ecx, eax
push ecx
call fcn.00403335
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.0040331f
test eax, eax
je 0x4032d6
test byte [ebp + 0x17], 0x80
je 0x4032bf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x414450
mov dword [ebp - 0xc], eax
call fcn.00406752
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x403315
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x4031d4
mov esi, dword [ebp + 0x14]
mov edi, 0x41c4e0
push esi
push edi
call fcn.0040331f
test eax, eax
je 0x4032d6
sub dword [ebp + 0x14], esi
mov dword [0x414468], edi
mov dword [0x41446c], esi
mov eax, dword [ebp - 8]
mov ecx, 0x414450
mov dword [0x414470], ebx
mov dword [0x414474], eax
call fcn.00406772
test eax, eax
mov dword [ebp - 0x10], eax
jl 0x4032b7
mov esi, dword [0x414470]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x4477d4], 1
mov edi, eax
je 0x403276
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x403243
cmp dword [ebp + 0x14], 0
jne 0x403276
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 - 0x50]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push 0
call fcn.00405342
mov dword [ebp - 0xc], edi
test esi, esi
je 0x4032ab
cmp dword [ebp + 0x10], 0
jne 0x403293
push esi
push ebx
push dword [ebp + 0xc]
call fcn.00405e5b
test eax, eax
je 0x4032bb
add dword [ebp - 4], esi
jmp 0x40329f
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x414470]
cmp dword [ebp - 0x10], 1
jne 0x4031f7
jmp 0x403315
cmp dword [ebp + 0x14], 0
jg 0x4031c7
jmp 0x403315
push 0xfffffffffffffffc
jmp 0x4032d8
push 0xfffffffffffffffe
jmp 0x4032d8
test edi, edi
je 0x40330a
cmp dword [ebp + 0x14], esi
jge 0x4032cb
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.0040331f
test eax, eax
jne 0x403312
push 0xfffffffffffffffd
pop eax
jmp 0x403318
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x4032e6
mov esi, dword [ebp + 0x14]
mov edi, 0x41c4e0
push esi
push edi
call fcn.0040331f
test eax, eax
je 0x4032d6
push esi
push edi
push dword [ebp + 0xc]
call fcn.00405e5b
test eax, eax
je 0x4032bb
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x4032db
jmp 0x403315
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x405808
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x408384
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x408374
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x405859
xor eax, eax
jmp 0x405880
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405880
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
jne 0x405855
call esi
pop esi
leave
ret 4

Function at 0x4058ba
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x43e530], 0x44
push eax
xor eax, eax
push 0x43e530
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4058f9
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4058fd
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
ret 4

Function at 0x40599b
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405d8f
mov edi, eax
cmp edi, 0xffffffff
je 0x4059dc
test byte [esp + 0x10], 1
push esi
je 0x4059be
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x4059c4
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x4059cd
xor eax, eax
inc eax
jmp 0x4059de
test byte [esp + 0x10], 4
jne 0x4059dc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x4059e3
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405ca1
test bl, 8
mov dword [ebp - 0xc], eax
je 0x405a22
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x4477a8], eax
jmp 0x405bac
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405a3c
test eax, eax
je 0x405b5a
test bl, 2
je 0x405b5a
mov esi, 0x43a530
push edi
push esi
call fcn.00406221
cmp dword [ebp + 8], 0
je 0x405a5b
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x405a61
push edi
call fcn.00405bfa
cmp byte [edi], 0
jne 0x405a6f
cmp byte [0x43a530], 0x5c
jne 0x405a7a
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x14c]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x405b50
lea eax, [ebp - 0x120]
push 0x3f
push eax
lea esi, [ebp - 0x120]
call fcn.00405bde
cmp byte [eax], 0
je 0x405ac0
cmp byte [ebp - 0x1c], 0
je 0x405ac0
lea esi, [ebp - 0x1c]
cmp byte [esi], 0x2e
jne 0x405ad6
mov al, byte [esi + 1]
test al, al
je 0x405b2f
cmp al, 0x2e
jne 0x405ad6
cmp byte [esi + 2], 0
je 0x405b2f
push esi
push ebx
call fcn.00406221
test byte [ebp - 0x14c], 0x10
je 0x405afb
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405b2f
push dword [ebp + 0xc]
push edi
call fcn.004059e3
jmp 0x405b2f
push dword [ebp - 4]
push edi
call fcn.0040599b
test eax, eax
jne 0x405b27
cmp dword [ebp - 4], eax
je 0x405b1f
push edi
push 0xfffffffffffffff1
call fcn.00405342
push 0
push edi
call fcn.00405ffa
jmp 0x405b2f
inc dword [0x4477a8]
jmp 0x405b2f
push edi
push 0xfffffffffffffff2
call fcn.00405342
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405a9e
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405b5a
and byte [ebx - 1], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405bac
cmp dword [ebp - 0xc], esi
jne 0x405b6e
inc dword [0x4477a8]
jmp 0x405bac
push edi
call fcn.00406598
test eax, eax
je 0x405bac
push edi
call fcn.00405bb3
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.0040599b
test eax, eax
jne 0x405ba4
cmp dword [ebp - 4], esi
je 0x405b66
push edi
push 0xfffffffffffffff1
call fcn.00405342
push esi
push edi
call fcn.00405ffa
jmp 0x405bac
push edi
push 0xffffffffffffffe5
call fcn.00405342
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405ca1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x43c530
push esi
call fcn.00406221
push esi
call fcn.00405c4c
mov edi, eax
test edi, edi
jne 0x405cc2
xor eax, eax
jmp 0x405d14
push edi
call fcn.004064ff
test byte [0x447738], 0x80
je 0x405cdb
mov al, byte [edi]
test al, al
je 0x405cbe
cmp al, 0x5c
je 0x405cbe
sub edi, esi
jmp 0x405cf3
call fcn.00406598
test eax, eax
je 0x405ced
test byte [eax], 0x10
je 0x405cbe
push esi
call fcn.00405bfa
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x405cdf
call fcn.00405bb3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405d8f
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
je 0x405dae
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
pop esi
ret 4

Function at 0x405db4
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405de3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40a3d4]
dec edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x405e28
test edi, edi
jne 0x405dee
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x405e22
Function at 0x405e8a
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x43eab8], 0x4c554e
mov edi, 0x400
mov ebp, 0x43eab8
je 0x405ed6
push 1
push 0
push esi
call fcn.00405db4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x405ff5
cmp eax, edi
jg 0x405ff5
mov esi, 0x43eeb8
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x405ff5
cmp eax, edi
jg 0x405ff5
push esi
push ebp
push str._s_s_r_n
push 0x43e6b8
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x447730]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.004062b4
push 4
push 0xc0000000
push esi
call fcn.00405db4
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x405ff5
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405fee
push edi
push esi
push ebp
call fcn.00405e2c
test eax, eax
je 0x405fee
push str._Rename__r_n
push esi
call fcn.00405d19
test eax, eax
jne 0x405f8c
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x405fc1
add eax, 0xa
push 0x40a3d8
push eax
call fcn.00405d19
mov ebp, eax
test ebp, ebp
je 0x405fbd
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x405fae
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x405fa8
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x405fc3
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x43e6b8
push eax
call fcn.00405d6f
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00405e5b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x405ffa
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x40601d
push dword [esp + 8]
push dword [esp + 8]
call fcn.00405e8a
pop ecx
pop ecx
inc dword [0x4477b0]
ret 8

Function at 0x406108
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
mov dword [ebp - 4], 0x2000
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004060a7
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x406177
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 0xc]
push esi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and byte [esi + 0x1fff], 0
test edi, edi
pop edi
jne 0x406177
cmp dword [ebp + 0xc], 1
je 0x40617a
cmp dword [ebp + 0xc], 2
je 0x40617a
and byte [esi], 0
pop esi
leave
ret 0x14
Function at 0x4065bf
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 0x4065e3
xor eax, eax
test eax, eax
je 0x4065f5
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4065f5
xor ecx, ecx
jmp 0x4065f8
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 0x4066e4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43f2bc], 0
push esi
jne 0x40671b
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 0x4066f5
mov dword [ecx*4 + 0x43f2b8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066f0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40674c
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 + 0x43f2b8]
xor eax, esi
inc ecx
dec edx
jne 0x40672e
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7b2a063b
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, str.GpEp
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x700741d9
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401d20
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4305c0]
xor eax, ebp
mov dword [ebp - 4], eax
movq xmm0, qword [ecx]
push ebx
push esi
push edi
lea esi, [ebp - 0x14]
lea edi, [ebp - 0x13]
lea ebx, [ebp - 0x12]
lea eax, [ebp - 0x11]
movq qword [ebp - 0x14], xmm0
movq xmm0, qword [ecx + 8]
sub esi, ecx
sub edi, ecx
sub ebx, ecx
sub eax, ecx
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x18], eax
mov edx, 4
movzx eax, byte [esi + ecx]
lea ecx, [ecx + 4]
movzx eax, byte [eax + 0x4316e0]
mov byte [ecx - 4], al
movzx eax, byte [edi + ecx - 4]
movzx eax, byte [eax + 0x4316e0]
mov byte [ecx - 3], al
movzx eax, byte [ebx + ecx - 4]
movzx eax, byte [eax + 0x4316e0]
mov byte [ecx - 2], al
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + ecx - 4]
movzx eax, byte [eax + 0x4316e0]
mov byte [ecx - 1], al
dec edx
jne 0x401d62
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410fdd
mov esp, ebp
pop ebp
ret

Function at 0x4020b0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4305c0]
xor eax, ebp
mov dword [ebp - 4], eax
movq xmm0, qword [ecx]
push ebx
push esi
push edi
lea esi, [ebp - 0x14]
lea edi, [ebp - 0x13]
lea ebx, [ebp - 0x12]
lea eax, [ebp - 0x11]
movq qword [ebp - 0x14], xmm0
movq xmm0, qword [ecx + 8]
sub esi, ecx
sub edi, ecx
sub ebx, ecx
sub eax, ecx
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x18], eax
mov edx, 4
movzx eax, byte [esi + ecx]
lea ecx, [ecx + 4]
movzx eax, byte [eax + 0x4317e0]
mov byte [ecx - 4], al
movzx eax, byte [edi + ecx - 4]
movzx eax, byte [eax + 0x4317e0]
mov byte [ecx - 3], al
movzx eax, byte [ebx + ecx - 4]
movzx eax, byte [eax + 0x4317e0]
mov byte [ecx - 2], al
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + ecx - 4]
movzx eax, byte [eax + 0x4317e0]
mov byte [ecx - 1], al
dec edx
jne 0x4020f2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410fdd
mov esp, ebp
pop ebp
ret
Function at 0x402fa0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [0x439230]
push esi
push edi
mov edi, dword [0x439248]
test edi, edi
je 0x402ff9
mov ecx, dword [0x439224]
lea eax, [ebx + 1]
lea edx, [ecx + 3]
sub ecx, ebx
mov esi, edi
mov ebx, ecx
jmp 0x402fd0
movzx ecx, byte [edx - 3]
mov byte [eax - 1], cl
movzx ecx, byte [ebx + eax]
mov byte [eax], cl
movzx ecx, byte [edx - 1]
mov byte [eax + 1], cl
movzx ecx, byte [edx]
mov byte [eax + 2], cl
lea edx, [edx + 4]
lea eax, [eax + 4]
dec esi
jne 0x402fd0
mov ebx, dword [0x439230]
mov eax, dword [0x439244]
inc eax
imul eax, dword [0x43924c]
mov esi, edi
mov dword [ebp - 0x18], eax
cmp edi, eax
jae 0x4030ef
mov dword [ebp - 0xc], ebx
xor edx, edx
mov eax, esi
div edi
mov ebx, dword [ebx + esi*4 - 4]
mov dword [ebp - 0x10], ebx
mov ecx, eax
imul ecx, edi
mov dword [ebp - 0x14], eax
cmp ecx, esi
jne 0x40307f
mov ecx, ebx
shr ecx, 8
movzx eax, cl
mov edx, ebx
movzx eax, byte [eax + 0x4316e0]
mov byte [ebp - 4], al
shr edx, 0x10
movzx eax, dl
shr ebx, 0x18
movzx eax, byte [eax + 0x4316e0]
mov byte [ebp - 3], al
movzx eax, byte [ebx + 0x4316e0]
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 2], al
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebx*4 + 0x4316b0]
movzx eax, al
movzx eax, byte [eax + 0x4316e0]
mov byte [ebp - 1], al
xor ebx, dword [ebp - 4]
jmp 0x4030ce
cmp edi, 6
jbe 0x4030ce
mov eax, esi
sub eax, ecx
cmp eax, 4
jne 0x4030ce
movzx eax, bl
movzx eax, byte [eax + 0x4316e0]
mov byte [ebp - 8], al
mov eax, ebx
shr eax, 8
movzx eax, al
movzx eax, byte [eax + 0x4316e0]
mov byte [ebp - 7], al
mov eax, ebx
shr eax, 0x10
movzx eax, al
shr ebx, 0x18
movzx eax, byte [eax + 0x4316e0]
mov byte [ebp - 6], al
movzx eax, byte [ebx + 0x4316e0]
mov byte [ebp - 5], al
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc esi
mov eax, dword [ecx]
xor eax, ebx
mov ebx, dword [0x439230]
add ecx, 4
mov dword [ebx + esi*4 - 4], eax
mov dword [ebp - 0xc], ecx
cmp esi, dword [ebp - 0x18]
jb 0x403016
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403b60
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea eax, [ecx + 1]
mov edx, 4
jmp 0x403b70
movzx ecx, byte [eax - 1]
lea eax, [eax + 4]
movzx ecx, byte [ecx + str.cw]
mov byte [eax - 5], cl
movzx ecx, byte [eax - 4]
movzx ecx, byte [ecx + str.cw]
mov byte [eax - 4], cl
movzx ecx, byte [eax - 3]
movzx ecx, byte [ecx + str.cw]
mov byte [eax - 3], cl
movzx ecx, byte [eax - 2]
movzx ecx, byte [ecx + str.cw]
mov byte [eax - 2], cl
dec edx
jne 0x403b70
ret

Function at 0x4047b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x4305c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x8d
lea eax, [ebp - 0xa3]
mov ebx, edx
mov esi, ecx
push 0
push eax
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], esi
mov byte [ebp - 0xa4], 0
call fcn.00416b30
add esp, 0xc
lea edx, [ebp - 0xa4]
mov ecx, esi
call fcn.00404730
lea eax, [ebx + 1]
lea esi, [ebp - 0xa3]
mov edi, 8
mov edi, edi
mov edx, 4
movzx ecx, byte [esi - 1]
xor byte [eax - 1], cl
movzx ecx, byte [esi]
xor byte [eax], cl
movzx ecx, byte [esi + 1]
xor byte [eax + 1], cl
movzx ecx, byte [esi + 2]
xor byte [eax + 2], cl
add esi, 4
lea eax, [eax + 4]
dec edx
jne 0x404815
mov ecx, ebx
call fcn.004037e0
lea eax, [ebx + 1]
dec edi
jne 0x404810
mov ecx, dword [ebp - 0xa8]
mov ax, word [ebp - 0x24]
xorps xmm0, xmm0
movq qword [ebp - 0x13], xmm0
mov word [ebp - 0x14], ax
mov eax, dword [ecx + 0x82]
mov dword [ebp - 0x12], eax
mov eax, dword [ecx + 0x86]
mov dword [ebp - 0xb], 0
mov dword [ebp - 0xe], eax
mov eax, dword [ecx + 0x8a]
mov word [ebp - 7], 0
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0x12]
sub eax, ebx
mov dword [ebp - 0xa8], eax
lea esi, [ebp - 0x14]
lea edi, [ebp - 0x13]
sub esi, ebx
sub edi, ebx
lea eax, [ebp - 0x11]
sub eax, ebx
mov edx, ebx
mov ebx, dword [ebp - 0xa8]
mov word [ebp - 6], 0x80
mov dword [ebp - 0xb0], eax
mov ecx, 4
movzx eax, byte [esi + edx]
xor byte [edx], al
movzx eax, byte [edi + edx]
xor byte [edx + 1], al
movzx eax, byte [ebx + edx]
xor byte [edx + 2], al
mov eax, dword [ebp - 0xb0]
lea edx, [edx + 4]
movzx eax, byte [eax + edx - 4]
xor byte [edx - 1], al
dec ecx
jne 0x4048b6
mov ecx, dword [ebp - 0xac]
call fcn.004037e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410fdd
mov esp, ebp
pop ebp
ret