joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002ac57
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x3c]
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [edx], edi
jne 0x1002ac92
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx]
or eax, 0x1e
push edi
and eax, 0x87f3f
push eax
push edx
push edi
push ecx
call dword [ecx + 0x18]
add esp, 0x14
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x1002ad76
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x1002accc
mov eax, dword [ebx + 0x80]
push edi
cdq
push ecx
push edx
push eax
call fcn.10075180
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], eax
jmp 0x1002accc
xor edi, edi
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x1002ad76
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xc], edi
cmp edi, dword [ebx + 0x18]
ja 0x1002ad66
test byte [esi + 0x14], 0x20
jne 0x1002ad66
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [edi - 1]
push 0
push ecx
call fcn.10075180
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp edi, 1
jne 0x1002ad10
call fcn.1002a3a5
push dword [ebp - 0x14]
mov eax, dword [esi]
push dword [ebp - 0x18]
mov dword [ebp - 8], eax
push dword [ebx + 0x80]
push eax
mov eax, dword [ebx + 0x3c]
call fcn.10022f9c
add esp, 0x10
mov dword [ebp - 4], eax
cmp edi, 1
jne 0x1002ad48
mov esi, dword [ebp - 8]
add esi, 0x18
lea edi, [ebx + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
cmp edi, dword [ebx + 0x20]
jbe 0x1002ad50
mov dword [ebx + 0x20], edi
mov eax, dword [ebp + 8]
push dword [esi]
mov eax, dword [eax + 0x58]
mov ebx, edi
call fcn.10034d1c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
pop ecx
cmp dword [ebp - 4], 0
mov eax, dword [esi + 8]
mov dword [ebp + 0xc], eax
je 0x1002acca
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100413c1
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x100413d3
xor eax, eax
jmp 0x100414c2
push esi
mov esi, dword [ebp + 8]
push 0x50
call fcn.10023b7d
mov esi, eax
pop ecx
test esi, esi
je 0x100414c1
push ebx
push dword [ebp + 0x10]
mov ebx, dword [edi]
push dword [ebp + 8]
call fcn.1004114b
push dword [ebp + 0x10]
mov dword [esi], eax
push dword [edi + 8]
push dword [ebp + 8]
call fcn.1004120e
push 0
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push eax
push dword [ebp + 8]
call fcn.10040efb
push dword [ebp + 0x10]
mov dword [esi + 0xc], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x10]
call fcn.1004114b
push 0
push dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
push eax
push dword [ebp + 8]
call fcn.10040efb
push dword [ebp + 0x10]
mov dword [esi + 0x14], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x18]
call fcn.1004114b
add esp, 0x44
push dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
push dword [edi + 0x1c]
push dword [ebp + 8]
call fcn.100413c1
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x28]
push eax
push dword [ebp + 8]
call fcn.10040efb
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp + 8]
call fcn.10040efb
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov ax, word [edi + 6]
or dword [esi + 0x38], 0xffffffff
or dword [esi + 0x3c], 0xffffffff
mov ecx, 0xfff7
and ax, cx
add esp, 0x2c
or dword [esi + 0x40], 0xffffffff
mov word [esi + 6], ax
mov dword [esi + 0x24], ebx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x100434d4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x100435ec
test esi, esi
je 0x100435ec
movzx edx, word [edi + 2]
mov eax, 0x800
mov ecx, edx
and ecx, eax
mov ebx, eax
cmp cx, bx
je 0x10043590
movzx ecx, word [esi + 2]
mov ebx, ecx
and ebx, eax
cmp bx, ax
je 0x10043590
xor cl, dl
test cl, 0x10
jne 0x10043590
mov al, byte [edi]
cmp al, byte [esi]
jne 0x10043590
push dword [esi + 8]
push dword [edi + 8]
call fcn.100434d4
pop ecx
pop ecx
test eax, eax
jne 0x10043590
push dword [esi + 0xc]
push dword [edi + 0xc]
call fcn.100434d4
pop ecx
pop ecx
test eax, eax
jne 0x10043590
mov ebx, dword [esi + 0x10]
mov edi, dword [edi + 0x10]
call fcn.100435fb
test eax, eax
jne 0x10043590
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x18]
cmp eax, dword [esi + 0x18]
jne 0x10043590
mov ax, word [edi + 0x1c]
cmp ax, word [esi + 0x1c]
jne 0x10043590
movzx eax, word [edi + 2]
mov ecx, eax
mov eax, 0x400
and ecx, eax
mov edx, eax
cmp cx, dx
jne 0x10043595
mov cx, word [esi + 2]
and cx, dx
cmp cx, ax
jne 0x10043590
mov eax, dword [edi + 4]
cmp eax, dword [esi + 4]
je 0x100435bf
push 2
pop eax
jmp 0x100435f7
cmp byte [edi], 0x98
je 0x100435bf
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x100435bf
mov dx, word [esi + 2]
mov ebx, eax
and dx, bx
cmp dx, ax
je 0x10043590
mov edx, dword [esi + 4]
test edx, edx
je 0x10043590
call fcn.10025541
test eax, eax
jne 0x10043590
movzx ecx, word [edi + 2]
mov dx, word [esi + 2]
mov eax, 0x100
and ecx, eax
and dx, ax
cmp cx, dx
je 0x100435db
xor eax, eax
inc eax
jmp 0x100435f7
test cx, cx
je 0x100435e8
mov eax, dword [edi + 0x14]
cmp eax, dword [esi + 0x14]
jne 0x10043590
xor eax, eax
jmp 0x100435f7
mov eax, esi
sub eax, edi
neg eax
sbb eax, eax
and eax, 2
pop edi
pop esi
pop ebx
ret
Function at 0x1005980c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x18]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x3c], eax
push eax
mov eax, dword [esi + 4]
call fcn.100586a4
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x14]
imul edx, edx, 0x28
add edx, edi
cmp byte [ebx + 0x16], 0
pop ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], edx
jne 0x10059a04
cmp dword [ebx + 0x34], 0
jne 0x10059a04
jmp 0x100599f8
mov eax, 0x100
cmp word [edi + 0x10], ax
jne 0x100599f5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
not eax
and eax, dword [edi + 0x20]
not ecx
and ecx, dword [edi + 0x24]
and eax, dword [ebp + 0x14]
and ecx, dword [ebp + 0x18]
or eax, ecx
jne 0x100599f5
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x160]
mov esi, dword [ecx + 0x164]
and eax, dword [esp + 0x28]
and esi, dword [esp + 0x2c]
or eax, esi
je 0x100599f5
mov esi, dword [ecx + 0x14]
fldz
mov ebx, dword [ecx + 0x1c]
imul esi, esi, 0x28
fst qword [esp + 0x20]
fstp qword [esp + 0x30]
and dword [esp + 0x10], 0
add esi, ebx
and dword [esp + 0x14], 0
jmp 0x10059994
mov eax, 0x200
cmp word [ebx + 0x10], ax
jne 0x100598f5
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebx + 0xc]
jmp 0x10059942
mov eax, dword [esp + 0x3c]
cmp dword [ebx + 8], eax
jne 0x10059991
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x20]
lea eax, [esp + 0x70]
push dword [ebp + 0x1c]
mov dword [esp + 0x74], ecx
push dword [ebp + 0x18]
mov byte [esp + 0x88], 0x45
push dword [ebp + 0x14]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x90], 1
push eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call fcn.1005a883
fld qword [esp + 0x70]
fadd qword [esp + 0x38]
mov ecx, dword [ebp + 0x28]
mov eax, dword [esp + 0x78]
or dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
fstp qword [esp + 0x38]
fld qword [esp + 0x60]
or dword [esp + 0x2c], eax
fadd qword [esp + 0x48]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
add esp, 0x18
fstp qword [esp + 0x30]
fld qword [ecx + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x1005999f
add ebx, 0x28
cmp ebx, esi
jb 0x100598d4
mov ecx, dword [ebp + 0x28]
cmp dword [ebp + 0x24], 0
je 0x100599c2
fld qword [esp + 0x30]
push ecx
push ecx
fstp qword [esp]
call fcn.100597ce
fmul qword [esp + 0x38]
add esp, 8
fadd qword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [ecx + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x100599f5
mov eax, dword [esp + 0x10]
fld qword [esp + 0x20]
fstp qword [ecx + 0x18]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x14]
fld qword [esp + 0x30]
fstp qword [ecx + 8]
mov dword [ecx + 0x24], eax
mov dword [ecx], sym.WidgiInstallHelper.dll_Ordinal_14
mov dword [ecx + 0x10], edi
add edi, 0x28
mov dword [esp + 0x1c], edi
cmp edi, edx
jb 0x10059862
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10061a57
Capabilities:
Check mutex on windows
Write file on windows

Disassembly:
push ebp
sub esp, 0x4c
lea ebp, [esp - 4]
mov eax, dword [0x100a52b4]
xor eax, ebp
mov dword [ebp + 0x4c], eax
push 0x88
mov eax, 0x10085e02
call fcn.1006cd70
and dword [ebp - 4], 0
cmp dword [0x100a96fc], 0
mov edi, dword [ebp + 0x58]
mov esi, ecx
mov ebx, edx
jne 0x10061a99
call fcn.10061bf6
test eax, eax
je 0x10061bd1
push edi
mov ecx, ebx
push esi
lea ebx, [ebp + 0x14]
call fcn.10061c3d
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
cmp dword [ebp + 0x2c], 8
mov eax, dword [ebp + 0x18]
jae 0x10061ab7
lea eax, [ebp + 0x18]
push 0xfde9
push eax
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x90]
push eax
mov dword [ebp - 0x94], ecx
call fcn.1001898c
mov byte [ebp - 4], 2
push dword [ebp - 0x94]
lea ecx, [ebp + 0x30]
call fcn.100100ef
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x94], eax
je 0x10061b01
push dword [ebp - 0x94]
call fcn.10069966
pop ecx
xor edi, edi
push edi
lea eax, [ebp + 0x10]
push eax
push ebx
push str.S:_ML__NW___LW_
mov dword [ebp + 4], 0xc
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], edi
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x10061b2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10061b35
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
cmp dword [0x100a97e4], 8
mov eax, dword [0x100a97d0]
jae 0x10061b48
mov eax, 0x100a97d0
push eax
push edi
lea eax, [ebp + 4]
push eax
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
xor eax, eax
cmp esi, edi
setne al
mov dword [ebp + 0x10], esi
cmp eax, edi
jne 0x10061b6d
call fcn.10017687
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x48], 0x10
mov eax, dword [ebp + 0x34]
mov dword [ebp], edi
jae 0x10061b85
lea eax, [ebp + 0x34]
push edi
lea ecx, [ebp]
push ecx
push dword [ebp + 0x44]
push eax
push dword [0x100a96fc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp esi, edi
je 0x10061bac
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], edi
je 0x10061bbd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp + 8], edi
push edi
push ebx
lea ecx, [ebp + 0x30]
call fcn.100118ae
push edi
push ebx
lea esi, [ebp + 0x14]
call fcn.10001673
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4c]
xor ecx, ebp
call fcn.10069957
add ebp, 0x50
leave
ret 4
Function at 0x10068bdf
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x100a8560], 0
push esi
jne 0x10068b52
call fcn.10068a78
test eax, eax
je 0x10068b95
mov eax, dword [0x100a8560]
cmp eax, 1
jne 0x10068b73
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x10068b95
pop esi
ret
push eax
call dword [0x100a8568]
test eax, eax
jne 0x10068bdd
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10068b99
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x100a8560]
call dword [0x100a8568]
mov edi, eax
test edi, edi
je 0x10068bbe
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x10068bda
mov edi, esi
add esi, 0xff0
push edi
push dword [0x100a8560]
call dword [0x100a8564]
add edi, 0x10
cmp edi, esi
jb 0x10068bc6
mov eax, edi
pop edi
pop esi
ret
jmp 0x10068b3f

Function at 0x10069957
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100a52b4]
jne 0x10069961
repz ret
jmp fcn.1006fc6d
Function at 0x1007c27b
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.100721e0
and dword [ebp - 4], 0
cmp dword [0x100a92a0], 0
mov ebx, eax
jne 0x1007c32c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1007c3dd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1007c3dd
push eax
call fcn.1007216e
mov dword [esp], 0x1008a8f0
push edi
mov dword [0x100a92a0], eax
call esi
push eax
call fcn.1007216e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100a92a4], eax
call esi
push eax
call fcn.1007216e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100a92a8], eax
call esi
push eax
call fcn.1007216e
pop ecx
mov dword [0x100a92b0], eax
test eax, eax
je 0x1007c32c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1007216e
pop ecx
mov dword [0x100a92ac], eax
mov eax, dword [0x100a92ac]
cmp eax, ebx
je 0x1007c384
cmp dword [0x100a92b0], ebx
je 0x1007c384
push eax
call fcn.100721e9
push dword [0x100a92b0]
mov esi, eax
call fcn.100721e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1007c384
test edi, edi
je 0x1007c384
call esi
test eax, eax
je 0x1007c37b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1007c37b
test byte [ebp - 0xc], 1
jne 0x1007c384
or dword [ebp + 0x10], 0x200000
jmp 0x1007c3bd
mov eax, dword [0x100a92a4]
cmp eax, ebx
je 0x1007c3bd
push eax
call fcn.100721e9
pop ecx
test eax, eax
je 0x1007c3bd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1007c3bd
mov eax, dword [0x100a92a8]
cmp eax, ebx
je 0x1007c3bd
push eax
call fcn.100721e9
pop ecx
test eax, eax
je 0x1007c3bd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100a92a0]
call fcn.100721e9
pop ecx
test eax, eax
je 0x1007c3dd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1007c3df
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x480a8e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004681a7
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x480ac6
xor eax, eax
jmp 0x480af2
cmp esi, dword [ebp - 4]
je 0x480aef
cmp dword [ebp + 0xc], 0
je 0x480aef
push dword [edi + 0x9c]
call fcn.0048069c
push dword [edi + 0x9c]
mov esi, eax
call fcn.00465be2
pop ecx
pop ecx
cmp esi, eax
je 0x480ac2
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x21366368
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..didat
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x634f1609
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40fe10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40fe32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40fe39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40fe28
mov eax, 1
add ebx, ebx
jne 0x40fe4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40fe40
jne 0x40fe5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40fe40
xor ecx, ecx
sub eax, 3
jb 0x40fe70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40fee2
mov ebp, eax
add ebx, ebx
jne 0x40fe7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40fe88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40feac
inc ecx
add ebx, ebx
jne 0x40fe98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40fe8d
jne 0x40fea9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40fe8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40fecc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40febd
jmp 0x40fe2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40fecc
add edi, ecx
jmp 0x40fe2e
pop esi
mov edi, esi
mov ecx, 0x29a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40feea
cmp byte [edi], 4
jne 0x40feea
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 eax, ebx
loop 0x40feef
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40ff67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf0c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40ff1c
mov ecx, edi
jns 0x40ff4b
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 + 0xf0cc]
or eax, eax
je 0x40ff61
mov dword [ebx], eax
add ebx, 4
jmp 0x40ff39
call dword [esi + 0xf0d0]
popal
jmp 0x4086ff
Function at 0x40709c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4070c0
xor eax, eax
test eax, eax
je 0x4070d3
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4070d3
xor ecx, ecx
jmp 0x4070d6
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40b524]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x433a9c], 0
push esi
jne 0x407230
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 0x40720a
mov dword [ecx*4 + 0x433a98], eax
inc ecx
cmp ecx, 0x100
jl 0x407205
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x407261
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 + 0x433a98]
xor eax, esi
inc ecx
dec edx
jne 0x407243
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x100eb98e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, 0
sete dl
cmp eax, 0
sete dh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov byte [ebp - 0x16], dh
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
mov dl, byte [ebp - 0x16]
and cl, dl
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x100ebb7f
jmp 0x100eba91
mov eax, dword [ebp - 0x20]
mov dword [0x1019be88], 0xaad
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
jne 0x100ebaf8
jmp 0x100ebb05
mov eax, dword [ebp - 0x38]
mov ecx, eax
add ecx, 1
mov edx, dword [ebp - 0x30]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov word [ebp - 0x42], si
mov word [ebp - 0x44], bx
jb 0x100eba59
mov ax, word [ebp - 0x42]
mov word [ebp - 0x44], ax
mov ax, word [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x48]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov byte [ebp - 0x49], bl
mov dword [ebp - 0x38], esi
jne 0x100eba1a
jmp 0x100ebb36
mov dword [0x1019be88], 0x185d
mov dword [0x1019be84], 0x205
mov ecx, dword fs:[0x18]
mov dword [0x1019be84], 0x212c
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov dword [0x1019be88], 0x13d0
mov eax, dword [eax + 0x14]
cmp eax, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], eax
je 0x100ebb70
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x21], cl
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x20], eax
jmp 0x100eb9d8
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x100ebb7f
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
xor eax, eax
mov ecx, dword [ebp - 0x58]
mov dx, word [ecx]
mov dword [0x1019be84], 0xffffe74d
shr dx, 1
movzx esi, dx
cmp dx, 0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x38], eax
je 0x100ebb4d
jmp 0x100eba1a
mov dword [0x1019be84], 0x1b01
mov al, byte [ebp - 0x49]
test al, 1
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ecx
jne 0x100ebb7f
mov dword [0x1019be84], 0x25ac
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
mov dword [ebp - 0x20], eax
jne 0x100eb9d8
xor eax, eax
mov dword [0x1019be88], 0x23cc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret