joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409f5b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
push 0x68
push dword [0x425858]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp byte [0x42696c], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
mov dword [ebp - 4], edi
mov ebx, 0xb1
jne 0x409fbd
mov ecx, dword [0x424724]
call fcn.0040523a
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push 0
push ebx
push edi
call esi
push 0x40e7e0
push 0
push 0xc2
push edi
call esi
mov byte [0x42696c], 1
mov edi, 0x5f5e100
push edi
push edi
push ebx
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x60]
push eax
push 0
push 0x43a
push dword [ebp - 4]
mov dword [ebp - 0x60], 0x5c
call esi
xor eax, eax
inc eax
cmp byte [ebp + 8], 0
mov byte [ebp - 0x47], 0
mov dword [ebp - 0x5c], eax
je 0x40a00d
mov ecx, dword [ebp - 0x58]
and ecx, 0xbfffffff
or ecx, eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x4c], 0xa0
mov dword [ebp - 0x5c], 0x40000001
lea ecx, [ebp - 0x60]
push ecx
push eax
push 0x444
push dword [ebp - 4]
call esi
push dword [ebp + 0xc]
push 0
push 0xc2
push dword [ebp - 4]
call esi
push edi
push edi
push ebx
push dword [ebp - 4]
call esi
cmp byte [ebp + 8], 0
je 0x40a057
mov eax, dword [ebp - 0x58]
and eax, 0xfffffffe
or eax, 0x40000000
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x60]
push eax
push 1
push 0x444
push dword [ebp - 4]
call esi
push 0x40e804
push 0
push 0xc2
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40a92b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.004012c0
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x40a946
mov byte [ebx], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40a950
mov byte [eax], 0
test edi, edi
je 0x40a9f9
movzx eax, word [edi]
test ax, ax
je 0x40a9f9
push esi
xor esi, esi
xor ecx, ecx
movzx eax, ax
inc edi
inc edi
cmp ax, 0x3d
jne 0x40a989
cmp dword [ebp + 0xc], 0
je 0x40a995
test esi, esi
jne 0x40a995
test ebx, ebx
je 0x40a985
mov byte [ebx], 1
mov esi, edx
jmp 0x40a9a4
cmp ax, 0xd
je 0x40a9b7
cmp ax, 0xa
je 0x40a9b9
mov word [edx], ax
mov eax, dword [ebp + 0x14]
inc edx
add eax, 0xfffffffe
inc edx
cmp ecx, eax
jg 0x40a9af
movzx eax, word [edi]
inc ecx
test ax, ax
jne 0x40a969
jmp 0x40a9b9
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
jmp 0x40a9b9
inc edi
inc edi
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov word [edx], ax
test ebx, ebx
je 0x40a9f4
mov word [ebx], ax
test esi, esi
je 0x40a9f4
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [ebp + 0x14]
lea eax, [ebp - 0x2000]
push eax
push ebx
call fcn.0040ca32
xor eax, eax
mov word [esi], ax
mov eax, edi
pop esi
jmp 0x40a9fb
xor eax, eax
pop edi
pop ebx
leave
ret 0x10
Function at 0x40aa40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push 0x400
lea eax, [ebp - 0x820]
push eax
call fcn.0040da77
cmp byte [0x42696d], 0
jne 0x40aace
push 6
push dword [0x410014]
lea eax, [ebp - 0x820]
push eax
call fcn.004076a0
push eax
call fcn.0040d68c
test eax, eax
jne 0x40aace
push 0x40e884
call fcn.0040da64
lea eax, [ebp - 0x820]
push eax
call fcn.0040979c
xor ecx, ecx
push 0x1e
mov word [ebp + eax*2 - 0x81e], cx
push ecx
lea eax, [ebp - 0x20]
push eax
call fcn.004094be
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x820]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
leave
ret

Function at 0x40ab99
Capabilities:
Delete file

Disassembly:
push ebx
xor ebx, ebx
mov byte [0x425849], 1
cmp dword [0x425858], ebx
je 0x40abc1
push 0x7d
call fcn.004092a6
push eax
push 2
push dword [0x425858]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [0x425858]
mov dword [0x42584c], ebx
mov byte [0x425848], 1
cmp eax, ebx
je 0x40ac22
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x42697c], ebx
jne 0x40abf0
cmp byte [0x42696c], bl
je 0x40abf8
cmp dword [0x425850], ebx
jne 0x40ac1a
push ebx
push 1
push 0x111
push dword [0x425858]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40ac1a
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00409b52
cmp dword [0x425858], ebx
jne 0x40ac0e
cmp byte [0x425860], bl
pop ebx
je 0x40ac30
jmp fcn.0040aa40
ret

Function at 0x40ac6c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
xor ebx, ebx
cmp byte [0x425868], bl
je 0x40acec
cmp word [0x424728], bx
je 0x40acec
push esi
push 0x424728
lea esi, [ebp - 0x808]
call fcn.0040ac31
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
pop esi
test eax, eax
jne 0x40acec
push dword [ebp + 8]
call fcn.0040979c
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x808]
push 1
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
leave
ret 4
Function at 0x40acf1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004012c0
cmp byte [0x425868], 0
je 0x40ad98
push esi
push dword [ebp + 8]
lea esi, [ebp - 0x100c]
call fcn.0040ac31
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
test eax, eax
jne 0x40ad98
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x100c]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40ad8f
shr dword [ebp - 4], 1
mov eax, 0x3ff
cmp dword [ebp - 4], eax
jae 0x40ad73
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x80c], cx
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 8]
call fcn.0040ca32
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 8

Function at 0x40aec0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp byte [0x425846], 0
mov eax, dword [ebp + 0xc]
mov dword [0x425738], eax
mov eax, dword [ebp + 0x10]
mov dword [0x42573c], eax
mov eax, dword [ebp + 0x14]
mov dword [0x425730], eax
je 0x40aef0
xor eax, eax
inc eax
jmp 0x40af19
cmp byte [0x425847], 0
je 0x40aefe
push 2
pop eax
jmp 0x40af19
push dword [ebp + 8]
push 0x40a12b
push dword [0x425858]
push str.REPLACEFILEDLG
push dword [0x425734]
call esi
dec eax
je 0x40af6b
dec eax
je 0x40af7d
dec eax
je 0x40af64
dec eax
jne 0x40af48
push dword [ebp + 8]
push 0x40a477
push dword [0x425858]
push str.RENAMEDLG
push dword [0x425734]
call esi
test eax, eax
je 0x40aeca
mov al, 0x52
jmp 0x40af78
dec eax
je 0x40af59
dec eax
mov al, 0x4e
jne 0x40af78
mov byte [0x425847], 1
jmp 0x40af78
mov byte [0x42584a], 1
mov al, 0x43
jmp 0x40af78
mov byte [0x425846], 1
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov al, 0x59
pop esi
pop ebp
ret 0x10
mov al, 0x4e
jmp 0x40af78
Function at 0x40b0ba
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.004012c0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40b2f1
push esi
call fcn.0040979c
cmp eax, 0x3f6
jae 0x40b2f1
push edi
push 0x3c
pop edi
push edi
push ebx
lea eax, [ebp - 0x40]
push eax
call fcn.004094be
movzx ecx, word [esi]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0x5c0
cmp cx, 0x22
jne 0x40b111
lea eax, [esi + 2]
mov dword [ebp - 0x30], eax
jmp 0x40b114
mov dword [ebp - 0x30], esi
xor eax, eax
cmp cx, bx
je 0x40b16a
mov ecx, esi
cmp word [ecx], 0x22
jne 0x40b13c
jmp 0x40b12c
cmp word [esi + eax*2], 0x22
je 0x40b135
inc eax
cmp word [esi + eax*2], bx
jne 0x40b125
jmp 0x40b13c
push 0x20
pop ecx
mov word [esi + eax*2], cx
cmp word [esi + eax*2], 0x20
je 0x40b156
cmp word [esi + eax*2 + 2], 0x2f
je 0x40b156
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40b11d
jmp 0x40b16a
lea eax, [esi + eax*2]
cmp word [eax], 0x20
jne 0x40b164
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x2c], eax
cmp byte [ebp + 8], bl
jne 0x40b17f
cmp word [0x42606a], bx
je 0x40b17f
mov dword [ebp - 0x2c], 0x42606a
push dword [ebp - 0x30]
mov dword [ebp - 0x24], 1
call fcn.00407813
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40b1ab
push str..inf
push eax
call fcn.0040d5cf
test eax, eax
jne 0x40b1ab
mov dword [ebp - 0x34], 0x40e8d0
push dword [ebp - 0x30]
call fcn.00403a01
mov bl, al
test bl, bl
je 0x40b1d1
lea eax, [ebp - 0x1040]
push eax
push dword [ebp - 0x30]
call fcn.00407471
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x30], eax
cmp byte [ebp + 8], 0
je 0x40b20f
test bl, bl
jne 0x40b20f
push dword [ebp - 0x30]
lea eax, [ebp - 0x840]
push eax
call fcn.004097c6
push str..exe
lea eax, [ebp - 0x840]
push eax
call fcn.00409833
lea eax, [ebp - 0x840]
push eax
call fcn.00403a01
test al, al
je 0x40b2f0
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [ebp - 0x40]
push eax
call edi
test eax, eax
setne al
test al, al
jne 0x40b241
and dword [ebp - 0x3c], 0xfffffbff
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x30], esi
call edi
test eax, eax
setne al
test al, al
je 0x40b2f0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
xor bl, bl
cmp byte [0x425860], bl
jne 0x40b256
cmp byte [ebp + 8], bl
je 0x40b28c
mov eax, dword [0x425858]
test eax, eax
je 0x40b276
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40b276
push 0
push dword [0x425858]
call esi
mov bl, 1
push 0x7d0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 8]
call fcn.0040aa01
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x40b2ac
push str..exe
push dword [ebp - 4]
call fcn.0040d5cf
test eax, eax
je 0x40b2dc
cmp byte [0x425860], 0
je 0x40b2c2
cmp byte [ebp + 8], 0
jne 0x40b2c2
push 0x1b58
jmp 0x40b2d6
xor eax, eax
cmp byte [ebp + 8], al
sete al
dec eax
and eax, 0xfffffce0
add eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test bl, bl
je 0x40b2f0
cmp byte [ebp + 8], 0
je 0x40b2f0
push 1
push dword [0x425858]
call esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40c74d
Capabilities:
Accept command line arguments
Read file via mapping
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 1
call fcn.0040cd35
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, 0x42d8d0
call fcn.0040d789
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp esi, ebx
je 0x40c7dd
push esi
call fcn.0040a788
cmp byte [0x425869], bl
je 0x40c7d5
push str.winrarsfxmappingfile.tmp
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40c7ca
push 0x20000
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, ebx
je 0x40c7c3
push esi
push str.sfxcmd
call edi
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40c7dd
push esi
push str.sfxcmd
call edi
push 0x400
mov esi, 0x424f30
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push str.sfxname
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push 0x64
push edi
mov dword [0x425734], edi
mov dword [0x425840], edi
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x65
push dword [0x425840]
mov dword [0x424f2c], eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
lea ecx, [ebp - 8]
mov dword [0x424f28], eax
call fcn.0040dae7
push esi
mov ecx, 0x426998
call fcn.0040928f
lea ecx, [ebp - 0x40]
call fcn.00405217
lea ecx, [ebp - 0x24]
call fcn.00405217
push 0x64
call fcn.00409e5b
push 0x64
mov dword [ebp - 0x28], eax
call fcn.00409e5b
push ebx
push 0x40bf64
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x40]
mov dword [0x424724], eax
push str.STARTDLG
lea eax, [ebp - 0x24]
push edi
mov dword [0x424720], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [ebp - 0x24]
mov dword [0x424720], ebx
mov dword [0x424724], ebx
call fcn.0040522d
lea ecx, [ebp - 0x40]
call fcn.0040522d
lea ecx, [ebp - 8]
call fcn.0040db39
cmp byte [0x425860], bl
je 0x40c8b8
call fcn.0040aa40
push 0x100
push ebx
push 0x425740
call fcn.004094be
cmp dword [0x42697c], ebx
jbe 0x40c8db
push dword [0x426970]
call fcn.0040933b
push dword [0x424f2c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x424f28]
cmp eax, ebx
je 0x40c8f5
push eax
call esi
cmp dword [0x42698c], ebx
jne 0x40c914
cmp byte [0x42584a], bl
je 0x40c914
push 0xff
mov ecx, 0x42698c
call fcn.004019a2
mov eax, dword [0x426984]
mov byte [0x42584a], 1
cmp eax, ebx
je 0x40c92a
push eax
call fcn.0040aa01
call dword [sym.imp.ole32.dll_OleUninitialize]
push dword [0x42698c]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40d035
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [0x422680]
mov ecx, eax
xor ecx, dword [esp + 4]
shr eax, 8
mov edx, 0xff
and ecx, edx
xor eax, dword [ecx*4 + 0x4100d0]
mov ecx, dword [0x422688]
mov dword [0x422680], eax
movzx eax, al
add eax, dword [0x422684]
imul eax, eax, 0x8088405
inc eax
mov dword [0x422684], eax
shr eax, 0x18
xor eax, ecx
and eax, edx
shr ecx, 8
xor ecx, dword [eax*4 + 0x4100d0]
mov eax, dword [esp + 4]
mov dword [0x422688], ecx
ret 4

Function at 0x40d0c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [ebp + 0xc]
call fcn.0040d08f
push 0xc
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.004094eb
xor esi, esi
lea edx, [ebp + esi - 0xc]
call fcn.0040d015
xor byte [edx], al
movzx eax, byte [edx]
push eax
call fcn.0040d035
inc esi
cmp esi, 0xc
jl 0x40d0e7
movzx ax, byte [ebp - 1]
movzx ecx, ax
mov eax, dword [0x411548]
test byte [eax + 0x28], 2
movzx eax, byte [0x4215b7]
jne 0x40d122
movzx eax, byte [0x4215bf]
movzx ecx, cx
cmp ecx, eax
je 0x40d12e
or eax, 0xffffffff
jmp 0x40d173
mov ecx, dword [0x421560]
mov eax, ecx
cdq
cmp edx, dword [0x410924]
push edi
jl 0x40d150
mov edx, dword [0x410920]
jg 0x40d14c
cmp eax, edx
jbe 0x40d150
mov edi, edx
jmp 0x40d152
mov edi, ecx
mov esi, dword [0x421558]
jmp 0x40d16c
dec edi
call fcn.0040d015
xor byte [esi], al
movzx eax, byte [esi]
push eax
call fcn.0040d035
inc esi
test edi, edi
jne 0x40d15a
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x40da77
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8
Function at 0x401180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, 0xfc
mov ecx, 0x786f
mov ebx, 0x7540
mov esi, 0x5f6b
mov edx, 0x4b04
mov edi, 0x6f
cmp eax, 0x6f
cmovg eax, edi
dec edx
jne 0x4011a4
lea ecx, [ecx]
mov eax, 0xac769185
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4011b0
mov eax, 0x5cfa
lea ebx, [ebx]
dec eax
jne 0x4011d0
mov edi, dword [ebp + 8]
test edi, edi
je 0x40124e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40124e
cmp edi, eax
jae 0x40124e
sub eax, edi
mov dword [ebp + 0xc], eax
mov edi, 0x7d05
nop
mov eax, 0x76b981db
imul edi
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4011f0
mov edi, dword [ebp + 8]
mov eax, 0x7e07e07f
imul ebx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x401206
lea esp, [esp]
mov eax, 0x95a02569
imul esi
add edx, esi
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x401220
mov edx, dword [ebp + 0xc]
xor ecx, ecx
test edx, edx
je 0x40124e
mov edi, edi
mov al, byte [ecx + edi + 1]
sub al, 0x6a
xor byte [ecx + edi], al
inc ecx
cmp ecx, edx
jb 0x401240
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402ca0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, 0x73d7
mov esi, 0xb59
mov eax, 0x2f149903
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402cb3
inc byte [edi + 0x12]
movzx ebx, byte [edi + 0x12]
movzx ecx, byte [ebx + edi + 0x24]
movzx eax, byte [edi + 0xe]
add ebx, edi
add ecx, eax
mov byte [edi + 0xe], cl
lea ecx, [ecx]
mov eax, 0x66666667
imul esi
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402ce0
mov dl, byte [ebx + 0x24]
movzx ecx, cl
movzx eax, byte [ecx + edi + 0x24]
mov byte [ebx + 0x24], al
mov byte [ecx + edi + 0x24], dl
movzx eax, byte [ebx + 0x24]
movzx ecx, byte [ebp + 0xc]
add al, dl
movzx eax, al
mov al, byte [eax + edi + 0x24]
pop edi
movzx eax, al
pop esi
xor eax, ecx
pop ebx
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x69143279
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x10dd4512
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x40fff7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x410025
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x410043
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040ff5d
jmp 0x410043
mov eax, dword [esi + 0x14]
test eax, eax
je 0x410043
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0040ff5d
test edi, edi
mov eax, edi
jne 0x41002d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10005260
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], 0x4f46f8d6
mov cl, byte [esp + 0x33]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x17e2846c
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
xor edi, edi
mov ebx, 0x210ccb74
sub ebx, esi
sbb edi, edx
mov byte [esp + 0x1f], cl
mov cx, word [esp + 0x30]
mov dword [esp + 0x18], eax
mov word [esp + 0x16], cx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
jb 0x10005322
jmp 0x100052c4
mov ax, 0xe4d2
mov ecx, dword [esp + 0x40]
or ecx, 0x113f4cf1
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0xc]
add ecx, 0x1c5c93df
mov edx, dword [esp + 0x10]
adc edx, 0
mov esi, dword [ebp + 8]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov di, word [esp + 0x16]
sub ax, di
mov word [esp + 0x30], ax
cmp esi, 0x10000
ja 0x1000532c
jmp 0x10005352
mov eax, dword [esp + 0x34]
add eax, 0xb0b9072a
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jmp 0x10005316
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0x74ec63d2
mov eax, dword [ebp + 8]
mov cl, byte [esp + 0x1f]
or cl, 0x68
sub eax, 0x1000
mov byte [esp + 0x33], cl
mov dword [ebp + 8], eax
mov ax, 0xb6d0
mov ecx, dword [ebp + 8]
mov word [esp + 2], ax
mov ecx, dword fs:[ecx]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0xc]
and eax, 0x31f7ba14
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x20]
mov dx, word [esp + 2]
mov si, word [esp + 0x16]
sub dx, si
mov word [esp + 0x30], dx
cmp eax, 0x1000
jb 0x10005309
jmp 0x10005322
Function at 0x100053a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x38
lea eax, [fcn.100053a0]
mov cl, byte [esp + 0x33]
mov word [esp + 0x22], 0xef1f
mov dword [esp + 0x18], 0x4f95fac7
mov dl, cl
xor dl, 0xff
mov byte [esp + 0x33], dl
mov dword [esp + 0x1c], eax
mov byte [esp + 0xf], cl
jmp 0x1000542d
mov eax, dword [esp + 0x24]
xor eax, 0xffffffff
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov al, 1
test al, 1
jne 0x1000542d
jmp 0x100054aa
mov ax, word [esp + 0x20]
xor ax, 0x8e5f
mov word [esp + 0x20], ax
mov ax, word [esp + 0x22]
add ax, 0x7314
mov word [esp + 0x16], ax
mov ax, word [esp + 0x20]
imul ax, word [esp + 0x20]
mov word [esp + 0x20], ax
cmp word [esp + 0x16], 0x88cb
jb 0x1000544d
jmp 0x1000544d
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x58573c70
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100053f6
jmp 0x100054c4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + ecx]
mov word [esp + 0x20], 0x7e83
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov esi, 0x3373be64
mov dword [esp + 8], eax
mov eax, ecx
mov dword [esp + 4], edx
mul esi
mov ecx, dword [esp + 4]
imul ecx, ecx, 0x3373be64
add edx, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 8]
cmp eax, 0x4550
je 0x1000550d
jmp 0x100054a8
cmp dword [esp + 0x18], 0x79fe9d99
jb 0x100053d6
jmp 0x10005498
jmp 0x100054c4
mov dword [esp + 0x10], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
jmp 0x10005498
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
and ecx, 0x1b60a0b0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [esp + 0x28]
or ecx, 0x2e278cab
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x28]
or ecx, 0x987d545
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
jmp 0x100053eb
mov al, byte [esp + 0xf]
or al, al
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x33], al
mov dword [esp + 0x10], ecx
jmp 0x10005498
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
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
nop
mov ecx, 0x2c4121a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x4a806f29
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219