joyce8/EMBER2024-capa huggingface dataset:
Function at 0x501c51
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004e9760
mov eax, dword [0x547008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004fb186
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x501c93
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x501def
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0050cbf0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x54c688]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004fc4d0
mov ecx, dword [esi*4 + 0x54c688]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x501de8
cmp eax, dword [ecx + edi + 0x24]
jne 0x501de8
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x501de8
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004fc4d0
add esp, 0x14
test edx, edx
jl 0x501de8
jg 0x501d5e
test eax, eax
jb 0x501de8
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x501de8
jl 0x501d78
cmp dword [ebp - 0x1008], eax
ja 0x501de8
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x501d96
test ebx, ebx
je 0x501dcf
cmp ecx, edi
jae 0x501dcf
mov al, byte [ecx]
cmp al, 0xd
jne 0x501db0
lea eax, [edi - 1]
cmp ecx, eax
jae 0x501dbc
cmp byte [ecx + 1], 0xa
jne 0x501dbc
inc ecx
jmp 0x501dbc
movzx eax, al
movsx eax, byte [eax + 0x547280]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x501d96
cmp edx, ebx
jne 0x501d96
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x501ded
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004e8be6
leave
ret

Function at 0x505dc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x505ded
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x505ded
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x506e76
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x51e730
push str.FlsAlloc
push 0x1f
call fcn.005073d2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x506eaa
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x506eb0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x506ef4
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x51e754
push str.FlsGetValue
push 0x21
call fcn.005073d2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x506f2b
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x506f33
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x51e768
push str.FlsSetValue
push 0x22
call fcn.005073d2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x506f6d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x50ae97
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x547008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.005066aa
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.005066aa
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x50af0e
cmp word [ecx], dx
je 0x50af0e
mov eax, dword [0x51f12c]
push edi
dec eax
push eax
push 0x51f018
call fcn.0050b087
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x50af81
cmp word [eax], dx
je 0x50af81
mov eax, dword [edi]
test eax, eax
je 0x50af32
cmp word [eax], dx
je 0x50af32
lea eax, [ebp - 0x10]
push eax
call fcn.0050b0e8
jmp 0x50af3b
lea eax, [ebp - 0x10]
push eax
call fcn.0050b3e3
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x50afab
mov eax, dword [0x51f014]
push dword [ebp - 0x14]
dec eax
push eax
push 0x51ed08
call fcn.0050b087
add esp, 0xc
test al, al
je 0x50afab
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x50af76
cmp word [eax], di
je 0x50af76
lea eax, [ebp - 0x10]
push eax
call fcn.0050b0e8
pop ecx
jmp 0x50afad
lea eax, [ebp - 0x10]
push eax
call fcn.0050b3e3
jmp 0x50af73
mov eax, dword [edi]
test eax, eax
je 0x50af98
cmp word [eax], dx
je 0x50af98
lea eax, [ebp - 0x10]
push eax
call fcn.0050b525
pop ecx
jmp 0x50afab
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x50b076
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0050b617
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x50b076
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x50b076
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x50b076
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x50b003
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0050716c
test ebx, ebx
je 0x50b071
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0050716c
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x50b076
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x50b076
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004fb6d7
add esp, 0x10
xor eax, eax
inc eax
jmp 0x50b078
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e8be6
leave
ret
Function at 0x50b71d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.005066aa
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x50b78c
cmp esi, dword [ebp - 4]
je 0x50b787
cmp dword [ebp + 0xc], 0
je 0x50b787
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x50b764
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0050b7e6
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x50b78e
xor eax, eax
inc eax
jmp 0x50b78e
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x50bb35
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x547008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x50bb80
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0050bcab
test al, al
jne 0x50bb7a
sub edx, 2
cmp edx, edi
jne 0x50bb60
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x50bba2
lea eax, [edi + 2]
cmp edx, eax
je 0x50bba2
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0050ba81
add esp, 0x10
jmp 0x50bc9c
push esi
lea ecx, [ebp - 0x255]
call fcn.0050bcab
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x50bbe5
push dword [ebp - 0x25c]
jmp 0x50bb92
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x50bc22
cmp word [ebp - 0x226], 0
je 0x50bc43
cmp word [ebp - 0x226], ax
jne 0x50bc22
cmp word [ebp - 0x224], 0
je 0x50bc43
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0050ba81
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x50bc8f
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x50bbfc
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x50bc77
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x50bc9c
push 0x50bcd0
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00502ba0
add esp, 0x10
jmp 0x50bc6c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e8be6
leave
ret
Function at 0x50cd96
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x50ce33
push ebx
push esi
call fcn.0050ce84
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0050cc9a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x50cde0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x50ce32
push edi
push eax
call fcn.00453a20
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x50ce00
call fcn.004e1280
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x50ce31
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0050cc9a
add esp, 0x20
test eax, eax
jne 0x50ce1f
push edi
call fcn.004e1280
jmp 0x50ce27
push ebx
call fcn.004e1280
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x50ce36
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x50ce47
pop esi
ret
push ebx
push edi
push esi
call fcn.0050ce84
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00453a20
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x50ce6f
push ebx
push esi
push edi
call fcn.004ebca0
add esp, 0xc
push 0
call fcn.004e1280
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x50cec6
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0050d131

Function at 0x50ee23
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x547008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x50ee66
call fcn.004fad6a
mov dword [eax], 0xf
call fcn.004fad57
mov dword [eax], 0xd
call fcn.004fc0eb
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e8be6
leave
ret
test eax, eax
jne 0x50ee6d
inc eax
jmp 0x50ee5a
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x50ee58
xor eax, eax
cmp ecx, 1
setne al
jmp 0x50ee5a
Function at 0x518130
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x230
mov eax, dword [0x547008]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [0x55bdec], 0
je 0x518168
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e8be6
mov eax, ebx
add esp, 0x230
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [0x55bdd8]
test esi, esi
jne 0x51820d
push 0xc
call fcn.004e82a5
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.004ec220
add esp, 0xc
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push edi
call fcn.0041f0b0
movzx eax, byte [esi + 0xb]
test al, al
js 0x5181cb
and eax, 0x7f
mov ecx, esi
jmp 0x5181d0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
test eax, eax
je 0x5181f9
add eax, eax
test eax, eax
je 0x5181f9
lea edx, [eax - 2]
cmp word [ecx + eax - 2], 0x5c
mov eax, edx
jne 0x5181d6
cmp edx, 0xfffffffe
je 0x5181f9
sar edx, 1
inc edx
mov ecx, esi
push 0xffffffffffffffff
push edx
call fcn.00499500
mov ecx, esi
push 9
push str.debug.log
call fcn.0047d900
mov dword [0x55bdd8], esi
test byte [0x54b5f0], 1
je 0x518151
xorps xmm0, xmm0
movups xmmword [ebp - 0x22c], xmm0
movups xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 0x21c], 0
cmp byte [esi + 0xb], 0
jns 0x51823d
mov esi, dword [esi]
lea eax, [ebp - 0x23c]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x51827a
mov eax, dword [ebp - 0x220]
cmp dword [ebp - 0x21c], 0x40000001
sbb eax, 0
jb 0x51827a
mov eax, dword [0x55bdd8]
cmp byte [eax + 0xb], 0
jns 0x518273
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x55bdd8]
cmp byte [eax + 0xb], 0
jns 0x518287
mov eax, dword [eax]
sub esp, 0x1c
movaps xmm0, xmmword [0x533d50]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x55bdec], eax
mov bl, 1
inc eax
cmp eax, 1
ja 0x518151
lea esi, [ebp - 0x216]
push 0x206
push 0xff
push esi
call fcn.004ec220
add esp, 0xc
mov word [esi - 2], 0
lea edi, [ebp - 0x218]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x51839c
mov esi, dword [0x55bdd8]
push edi
call fcn.005043ab
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.0047d870
mov ecx, dword [0x55bdd8]
call fcn.004994c0
cmp word [eax], 0x5c
je 0x51833c
mov ecx, dword [0x55bdd8]
push 1
push 0x52cf80
call fcn.0047d900
mov ecx, dword [0x55bdd8]
push 9
push str.debug.log
call fcn.0047d900
mov eax, dword [0x55bdd8]
cmp byte [eax + 0xb], 0
jns 0x51835b
mov eax, dword [eax]
sub esp, 0x1c
movaps xmm0, xmmword [0x533d50]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x55bdec], eax
inc eax
cmp eax, 1
ja 0x518151
mov dword [0x55bdec], 0
xor ebx, ebx
jmp 0x518151
Function at 0x407e15
Capabilities:
Terminate process

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

Function at 0x1002df80
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002e144
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f000]
push edi
or ebp, 0xffffffff
jmp 0x1002dfaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1002dfb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002dfa0
mov eax, 1
add ebx, ebx
jne 0x1002dfc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1002dfb8
jne 0x1002dfd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002dfb8
xor ecx, ecx
sub eax, 3
jb 0x1002dfe8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002e05a
mov ebp, eax
add ebx, ebx
jne 0x1002dff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1002e000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1002e024
inc ecx
add ebx, ebx
jne 0x1002e010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1002e005
jne 0x1002e021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002e005
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002e044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002e035
jmp 0x1002dfa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002e044
add edi, ecx
jmp 0x1002dfa6
pop esi
mov edi, esi
mov ecx, 0xc42
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002e062
cmp byte [edi], 0x11
jne 0x1002e062
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 0x1002e067
lea edi, [esi + 0x2a000]
mov eax, dword [edi]
or eax, eax
je 0x1002e0d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e44c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e49c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002e094
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2e4a0]
or eax, eax
je 0x1002e0d0
mov dword [ebx], eax
add ebx, 4
jmp 0x1002e0b1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1002e107
cmp al, 0xef
ja 0x1002e0fa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002e0dc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1002e0e9
mov ebp, dword [esi + 0x2e4a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x1002e13b
sub esp, 0xffffff80
jmp 0x10013194
Function at 0x10001f80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov edx, 0x25
push esi
push edi
mov esi, 0x1006eb10
xor edi, edi
mov ecx, edi
mov eax, edi
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebp + edi*4 - 0x400], eax
inc edi
cmp edi, 0x100
jl 0x10001f97
or eax, 0xffffffff
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ebp + ecx*4 - 0x400]
sub edx, 1
jne 0x10002034
pop edi
pop esi
not eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10004390
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
push esi
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
push edi
push 0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x40], 0x10002160
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x60], str.rlJlvyeZPfzixmFoNZCXjVDIU
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
push 0
push 0
push 0
push 0x258
push 0x320
push 0x80000000
push 0x80000000
push 0xcf0000
push str.zlazppXXWXePUzWSTuqOg
push dword [esp + 0x84]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x10004477
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x10]
push 0
push 0
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
push 0
push eax
movaps xmmword [esp + 0x20], xmm0
movq qword [esp + 0x30], xmm0
call esi
test eax, eax
je 0x10004477
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call esi
test eax, eax
jne 0x10004454
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10004480
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
push esi
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
push edi
lea eax, [esp + 0x38]
movlpd qword [esp + 0x40], xmm0
push eax
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x40], 0x10003460
mov dword [esp + 0x4c], 0
mov dword [esp + 0x60], str.MooUHoOeRTnixaQPiWNRWup
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
push 0
push 0
push 0
push 0x258
push 0x320
push 0x80000000
push 0x80000000
push 0xcf0000
push str.rayvBICCRPUdIrRa
push dword [esp + 0x84]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x100cca0c], eax
test eax, eax
je 0x10004568
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x10]
push 0
push 0
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
push 0
push eax
movaps xmmword [esp + 0x20], xmm0
movq qword [esp + 0x30], xmm0
call esi
test eax, eax
je 0x10004568
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call esi
test eax, eax
jne 0x10004545
pop edi
pop esi
mov esp, ebp
pop ebp
ret