joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464ce1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4b592c]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 4], eax
je 0x464d57
push ebx
call fcn.00464caa
test eax, eax
pop ecx
jne 0x464d26
mov dword [0x4c584c], 0xf
mov dword [0x4c5848], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
pop ebx
call fcn.0045c1a1
leave
ret
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x104
lea eax, [ebp + 8]
add bl, 0x40
push eax
mov byte [ebp + 8], bl
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x2e
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x464d69
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x464d19
inc eax
cmp eax, 0x104
ja 0x464d19
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x464da0
cmp eax, dword [ebp + 0x10]
jg 0x464d84
mov eax, dword [ebp + 0x10]
push eax
call fcn.0045d440
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x464db4
mov dword [0x4c5848], 0xc
jmp 0x464d19
cmp eax, dword [ebp + 0x10]
jle 0x464db4
mov dword [0x4c5848], 0x22
jmp 0x464d19
lea eax, [ebp - 0x108]
push eax
push ecx
call fcn.0045e680
pop ecx
pop ecx
jmp 0x464d1b

Function at 0x466d1f
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00461d90
mov eax, dword [0x4b592c]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x4c72b0]
mov dword [ebp - 4], eax
jae 0x466e62
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x4c72c0]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x466e62
push 1
push esi
push ebx
call fcn.00463b19
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x466e6c
push 2
push esi
push ebx
call fcn.00463b19
add esp, 0xc
cmp eax, 0xffffffff
je 0x466e6c
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x466e0c
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.004638e0
push 0x8000
push ebx
call fcn.00467202
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x466dcb
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.00460d60
add esp, 0xc
cmp eax, 0xffffffff
je 0x466de9
sub edi, eax
test edi, edi
jg 0x466dc0
jmp 0x466dff
cmp dword [0x4c584c], 5
jne 0x466dfc
mov dword [0x4c5848], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.00467202
pop ecx
pop ecx
jmp 0x466e4c
jge 0x466e4c
push 0
push dword [ebp + 0xc]
push ebx
call fcn.00463b19
push ebx
call fcn.00465248
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x466e4c
mov dword [0x4c5848], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4c584c], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.00463b19
add esp, 0xc
mov eax, esi
pop edi
jmp 0x466e6f
mov dword [0x4c5848], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0045c1a1
leave
ret
Function at 0x4676d2
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x4676eb
or eax, 0xffffffff
jmp 0x46774c
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x467748
push 0x3d
push esi
call fcn.004678d2
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x467748
cmp esi, eax
je 0x467748
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x4c5874]
sete cl
cmp eax, dword [0x4c5878]
mov dword [ebp - 8], ecx
jne 0x46772e
mov edi, eax
call fcn.00467671
mov dword [0x4c5874], eax
cmp eax, ebx
jne 0x467787
cmp dword [ebp + 0xc], ebx
je 0x467750
cmp dword [0x4c587c], ebx
je 0x467750
call fcn.00467172
test eax, eax
je 0x467787
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x467759
xor eax, eax
jmp 0x46774b
push 4
call fcn.0045d440
cmp eax, ebx
pop ecx
mov dword [0x4c5874], eax
je 0x467748
mov dword [eax], ebx
cmp dword [0x4c587c], ebx
jne 0x467787
push 4
call fcn.0045d440
cmp eax, ebx
pop ecx
mov dword [0x4c587c], eax
je 0x467748
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x4c5874]
call fcn.00467624
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x4677e8
cmp dword [esi], ebx
je 0x4677e8
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0045d452
cmp dword [ebp - 8], ebx
pop ecx
jne 0x4677cb
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x467829
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x4677c2
mov eax, edi
shl eax, 2
push eax
push dword [0x4c5874]
call fcn.0045f4ad
cmp eax, ebx
pop ecx
pop ecx
je 0x467829
jmp 0x467824
cmp dword [ebp - 8], ebx
jne 0x467894
cmp edi, ebx
jge 0x4677f7
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4c5874]
call fcn.0045f4ad
cmp eax, ebx
pop ecx
pop ecx
je 0x467748
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x4c5874], eax
cmp dword [ebp + 0xc], ebx
je 0x46787e
push dword [ebp - 4]
call fcn.0045d4b0
inc eax
inc eax
push eax
call fcn.0045d440
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x46787e
push dword [ebp - 4]
push esi
call fcn.0045e680
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x467877
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0045d452
pop ecx
cmp dword [ebp - 8], ebx
je 0x46788c
push dword [ebp - 4]
call fcn.0045d452
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x46774b
push dword [ebp - 4]
call fcn.0045d452
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x467755
Function at 0x467c60
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x495628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
push edi
push 0
mov esi, ecx
push 0
lea ecx, [esp + 0x18]
call fcn.0043cbd0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov edx, dword [esi + 0x60]
mov edi, eax
sub eax, edx
push eax
lea ecx, [esi + 0x7c]
mov dword [esp + 0xc], eax
call fcn.0048f100
fild dword [esp + 8]
mov edx, dword [esi]
mov ecx, esi
fstp dword [esp + 0xc]
call dword [edx + 0x30]
mov dword [esp + 8], eax
fild dword [esp + 8]
fdivr dword [esp + 0xc]
fst dword [esp + 0x18]
fcomp dword [0x4a3c30]
fnstsw ax
test ah, 0x41
jne 0x467cd8
mov dword [esp + 0x18], 0x3ea8f5c3
mov ecx, dword [esi + 0x54]
lea edx, [esp + 0x10]
mov dword [esi + 0x60], edi
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
mov ecx, dword [esi + 0x58]
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
call dword [eax + 0x7c]
mov ecx, dword [esi + 0x58]
mov eax, dword [ecx]
call dword [eax + 0x80]
mov ecx, dword [esi + 0x5c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00471c40
mov dword [esp + 0x40], 0
call fcn.0046ae40
mov ecx, dword [esi + 0x5c]
call fcn.00469720
test al, al
je 0x467d3b
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx]
lea eax, [esp + 0x1c]
push eax
call dword [edx + 0x78]
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
sub eax, edi
push eax
lea ecx, [esi + 0x64]
call fcn.0048f100
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00471cb0
mov ecx, dword [esp + 0x38]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x468c20
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x1c]
push esi
push edi
mov esi, ecx
mov edx, dword [esi + 0x198]
mov ecx, dword [esp + 0x28]
dec eax
push 0
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x10]
dec ecx
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
fild dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, 0x10
fstp dword [esi + 0x130]
fild dword [esp + 0x28]
fstp dword [esi + 0x134]
mov edx, dword [eax + 0x18]
cmp edx, ecx
jb 0x468c86
mov eax, dword [eax + 4]
jmp 0x468c89
add eax, 4
cmp dword [0x4b6528], ecx
mov ecx, dword [0x4b6514]
jae 0x468c9c
mov ecx, 0x4b6514
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
push esi
push edx
mov edx, dword [esp + 0x1c]
push 0
push 0
sub edx, edi
mov edi, dword [esp + 0x18]
inc edx
push edx
mov edx, dword [esp + 0x24]
sub edx, edi
inc edx
push edx
mov edx, dword [esi + 0x198]
push DirectSoundCreate
push DirectSoundCreate
push edx
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push eax
mov dword [esi + 0x194], eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x194]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x194]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
add esp, 0x10
ret 0x10
Function at 0x46a0e0
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00469ac0
test al, al
je 0x46a285
mov ecx, dword [esi + 0x44]
call fcn.00468a20
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
push 0xfffffffffffffff0
push edi
call ebx
push 0xffffffffffffffec
push edi
mov dword [esi + 0xcc], eax
call ebx
mov dword [esi + 0xd0], eax
lea eax, [esi + 0xd4]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongA]
push DirectSoundCreate
push 0xfffffffffffffff0
push edi
call ebx
push 8
push 0xffffffffffffffec
push edi
call ebx
push 0
push edi
call dword [sym.imp.USER32.dll_SetMenu]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
push 0x11
push edi
push eax
call dword [ecx + 0x50]
test eax, eax
mov dword [esi + 0xe4], eax
jl 0x46a1f6
mov ecx, dword [esi + 0xc8]
mov eax, dword [esi + 0x48]
mov edx, dword [eax]
push 0
push 0
push 0x20
push ecx
mov ecx, dword [esi + 0xc4]
push ecx
push eax
call dword [edx + 0x54]
test eax, eax
mov dword [esi + 0xe4], eax
jl 0x46a1b0
push 0
mov ecx, esi
call fcn.00469c40
mov eax, dword [esi + 0x50]
test eax, eax
je 0x46a1e8
pop edi
mov al, 1
mov byte [esi + 0xc0], al
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0x1e
lea ebp, [esi + 0xe8]
push str.IDirectDraw::SetDisplayMode_:
mov ecx, ebp
call fcn.00403de0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov ecx, eax
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x46a1d4
sub ecx, dword [esp + 0x10]
push ecx
push eax
mov ecx, ebp
call fcn.00405420
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
push 8
push edi
push eax
call dword [ecx + 0x50]
jmp 0x46a234
push 0x23
lea ebp, [esi + 0xe8]
push str.IDirectDraw::SetCooperativeLevel_:
mov ecx, ebp
call fcn.00403de0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov ecx, eax
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x46a220
sub ecx, dword [esp + 0x10]
push ecx
push eax
mov ecx, ebp
call fcn.00405420
mov eax, dword [esi + 0xcc]
push eax
push 0xfffffffffffffff0
push edi
call ebx
mov ecx, dword [esi + 0xd0]
push ecx
push 0xffffffffffffffec
push edi
call ebx
mov eax, dword [esi + 0xd8]
mov edx, dword [esi + 0xe0]
mov ecx, dword [esi + 0xd4]
push 1
sub edx, eax
push edx
mov edx, dword [esi + 0xdc]
sub edx, ecx
push edx
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x48], 0
push 0x12
push str.setupFullScreen_:
push 0
lea ecx, [esi + 0xe8]
call fcn.00469950
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
Function at 0x46a5a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4958d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
je 0x46a5e1
mov dword [esi + 4], 0x4a43f0
mov dword [esi + 0x10], 0x4a43e8
mov dword [esi + 0x108], 0x4a1230
push ebx
mov ecx, esi
call fcn.00472650
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 4]
mov dword [esi], 0x4a3f20
mov dword [esi + 0xc], 0x4a3efc
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], 0x49b9c8
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
mov dword [esi + eax], ebx
mov dword [esp + 0x18], 1
lea edi, [esi + 0x34]
mov eax, edi
lea ecx, [eax + 4]
mov dword [esp + 0x24], eax
mov dword [eax], 0x49e5c8
call fcn.00427440
mov byte [esp + 0x18], 3
mov ecx, dword [esi + 4]
mov dword [esi], 0x4a43cc
mov dword [esi + 0xc], 0x4a43a8
mov dword [edi], 0x4a43a4
mov edx, dword [ecx + 4]
mov dword [edx + esi + 4], 0x4a4398
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x20]
lea ecx, [eax - 0x104]
mov dword [eax + esi], ecx
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0x100], 0xf
mov dword [esi + 0xfc], ebx
mov byte [esi + 0xec], bl
mov byte [esp + 0x18], 4
mov eax, dword [esi + 0x44]
mov dword [esi + 0x30], ebx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
call dword [eax]
sub esp, 0xc
mov edi, esp
mov eax, 0x46a4d0
xor ecx, ecx
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [esi + 0x44]
xor edx, edx
push esi
add ecx, 0x170
mov dword [edi + 8], edx
call fcn.00469eb0
sub esp, 0xc
mov edi, esp
mov eax, 0x469760
xor ecx, ecx
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [esi + 0x44]
xor edx, edx
push esi
add ecx, 0x160
mov dword [edi + 8], edx
call fcn.00469eb0
xor ecx, ecx
sub esp, 0xc
mov eax, 0x46a560
mov edx, esp
mov dword [edx], eax
mov dword [edx + 4], ecx
mov ecx, dword [esi + 0x44]
push esi
add ecx, 0x180
mov dword [edx + 8], ebx
call fcn.00469eb0
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 8
Function at 0x472c50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x495a8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
test eax, eax
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
je 0x472c84
mov dword [esi + 4], 0x49b9e0
mov dword [esi + 0x38], 0x4a1230
push 0
mov ecx, esi
call fcn.00452210
mov dword [esp + 0x14], 0
lea edi, [esi + 0xc]
mov ecx, edi
call fcn.0045c010
mov byte [esp + 0x14], 1
mov eax, dword [esi + 4]
mov dword [esi], 0x49b9dc
mov dword [edi], 0x49b9d4
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], 0x49b9c8
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
lea ecx, [eax - 0x34]
mov dword [eax + esi], ecx
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0
mov byte [esi + 0x1c], 0
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4795b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4795e0
push esi
call fcn.004810a0
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x4795d9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x479657
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x479647
mov eax, dword [esi + 8]
test eax, eax
je 0x479604
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x479643
cmp eax, 2
je 0x479647
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4795f7
cmp eax, 3
je 0x47962a
cmp eax, 1
jne 0x4795f7
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x4795f7
mov ecx, dword [esi + 0x11c]
add dword [eax + 8], ecx
jmp 0x4795f7
xor al, al
pop esi
ret
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x84], edx
call fcn.00479440
pop esi
ret
cmp eax, 0xcc
je 0x479677
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [esi]
push esi
call dword [eax]
add esp, 4
call fcn.00479440
pop esi
ret
Function at 0x47dc70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x47dc7b
xor eax, eax
ret
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
cmp edi, 8
not esi
jb 0x47dd73
mov ebp, edi
shr ebp, 3
xor edx, edx
mov dl, byte [ecx]
mov eax, esi
shr eax, 8
sub edi, 8
xor edx, esi
and edx, 0xff
mov esi, dword [edx*4 + 0x4a6ea0]
xor edx, edx
mov dl, byte [ecx + 1]
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4a6ea0]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4a6ea0]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4a6ea0]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4a6ea0]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4a6ea0]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4a6ea0]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4a6ea0]
shr eax, 8
xor eax, esi
inc ecx
dec ebp
mov esi, eax
jne 0x47dc96
test edi, edi
je 0x47dd92
xor eax, eax
mov al, byte [ecx]
xor eax, esi
and eax, 0xff
mov ebp, dword [eax*4 + 0x4a6ea0]
shr esi, 8
xor esi, ebp
inc ecx
dec edi
jne 0x47dd77
pop edi
mov eax, esi
pop esi
not eax
pop ebp
ret
Function at 0x40709f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 8]
push eax
xor eax, eax
push eax
push dword [ebp + 8]
mov esi, ecx
push edx
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov ecx, eax
mov dword [esi], eax
call fcn.0040705a
pop esi
pop ebp
ret 4

Function at 0x408c93
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00407597
test eax, eax
jne 0x408cb1
push eax
push eax
push esi
push 0x4082d6
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
ret
push dword [0x422738]
mov ecx, esi
push dword [esi + 4]
call fcn.0040790b
push 0x2d
pop ecx
call fcn.00403ce0
push eax
invalid
mov dl, 4
invalid

Function at 0x409617
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
invalid
test dword [ebx - 4], eax
invalid

Function at 0x40b100
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
ret

Function at 0x40b600
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x20]
and edi, 0x3f
mov byte [edi + esi + 0x28], 0x80
inc edi
xor ebx, ebx
mov ebp, edx
cmp edi, 0x38
je 0x40b635
jmp 0x40b620
and edi, 0x3f
jne 0x40b62b
push esi
call fcn.0040b140
mov byte [esi + edi + 0x28], bl
inc edi
cmp edi, 0x38
jne 0x40b620
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
push esi
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
call fcn.0040b140
xor eax, eax
mov ecx, dword [esi + eax*4 + 4]
mov edx, dword [esi + eax*4]
bswap edx
bswap ecx
mov dword [ebp], edx
mov dword [ebp + 4], ecx
add eax, 2
add ebp, 8
cmp eax, 8
jb 0x40b657
pop edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
pop esi
pop ebp
pop ebx
ret
Function at 0x423e50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x423e6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x423e71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x423e60
mov eax, 1
add ebx, ebx
jne 0x423e83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x423e78
jne 0x423e94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423e78
xor ecx, ecx
sub eax, 3
jb 0x423ea8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x423f1a
mov ebp, eax
add ebx, ebx
jne 0x423eb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x423ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x423ee4
inc ecx
add ebx, ebx
jne 0x423ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x423ec5
jne 0x423ee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423ec5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x423f04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x423ef5
jmp 0x423e66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x423f04
add edi, ecx
jmp 0x423e66
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x423f22
cmp byte [edi], 9
jne 0x423f22
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 0x423f27
lea edi, [esi + 0x21000]
mov eax, dword [edi]
or eax, eax
je 0x423f9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28198]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x28260]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x423f54
mov ecx, edi
jns 0x423f83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x28264]
or eax, eax
je 0x423f99
mov dword [ebx], eax
add ebx, 4
jmp 0x423f71
call dword [esi + 0x28274]
mov ebp, dword [esi + 0x28268]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x423fd3
sub esp, 0xffffff80
jmp 0x41382f

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx