joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401810
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
cmp eax, 0x11
je 0x401838
cmp eax, 0x13
jne 0x40182f
test byte [section..data], 8
jne 0x401840
leave
xor eax, eax
ret 0x10
leave
jmp sym._ExtCabCallback_16.part.0
mov eax, dword [edx]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Extracted__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.ExtCabCallback
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
xor eax, eax
leave
ret 0x10
Function at 0x402ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x402b08
cmp byte [esi + ebx - 1], 0xa
je 0x402adc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4060a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x403130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x403308
mov edi, dword [0x4060a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x403217
test byte [0x404018], 8
jne 0x4032b0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x404028], 8
jne 0x403270
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x4031b9
cmp esi, 3
jbe 0x403228
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x4031ca
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x405234]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x4031b9
mov dword [esp], 0x404028
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x403190
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x403190
mov dword [esp], 0x404018
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x40317b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x403183
mov eax, 0xffffffff
jmp 0x403217

Function at 0x403380
Capabilities:
Accept command line arguments
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x4033f0
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x40347b
cmp ax, 9
je 0x403468
cmp ax, 0x20
je 0x403468
mov dword [ebp - 0x54], 0
xor edi, edi
nop
cmp ax, 0x5c
je 0x4034d0
cmp ax, 0x22
je 0x4034e0
mov dword [ebp - 0x54], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x40347b
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x403420
test edi, 1
jne 0x403420
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x403468
cmp ax, 0x20
je 0x403468
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x24], 1
je 0x4034f8
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [ebp - 0x54], 1
jmp 0x40343b
and dword [ebp - 0x54], 1
jne 0x403434
xor edi, 1
jmp 0x40343b
mov eax, 1
mov esi, 1
mov word [ebp - 0x20], ax
jmp 0x403494
Function at 0x4024ab
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
mov eax, dword [0x49a040]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov esi, dword [0x4e97ec]
xor ebx, ebx
push edi
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x402512
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.00402907
lea ecx, [esp + 0x1c]
call fcn.004022db
cmp eax, dword [esp + 0x14]
je 0x40252a
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00402a0b
inc ebx
cmp ebx, dword [esp + 0x18]
jb 0x4024e2
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042eafb
add esp, 0x2c
ret
mov edx, str.QwruxAA
call fcn.00402cdb
push eax
call fcn.00402f54
mov eax, dword [ebp + 0x24]
pop ecx
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00402a0b
jmp 0x402514
Function at 0x402606
Capabilities:
Access peb ldr_data
Create thread
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x49a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
sub cx, 0x1f9
mul edi
dec cx
mul di
mul ebx
sub ax, 0x22b
or edi, ebx
shr cx, 2
rcl eax, 0x6e
rol ax, 0x19
rcl cx, 0xcb
mul si
mov si, 0x1b0
rcr esi, 0xed
inc si
dec dx
movsx ebx, dh
movsx ecx, si
rcl cx, 0x33
mov edx, esi
shr ax, 0xb9
dec cx
ja 0x40266c
test edx, 0x43
ja 0x40268d
dec bx
imul eax
jmp 0x40267c
rol bx, 0x64
sub di, cx
ror esi, 0x18
ror ecx, 0xef
movsx ebx, bx
rcl eax, 0x5b
mul esi
jae 0x40268d
inc ax
movsx ecx, si
rcr ebx, 0x8e
jmp 0x4026a8
and ecx, 0x33b
ror edx, 0x56
rcr di, 0xc6
or esi, 0x389
movzx edi, al
movsx edi, si
imul edx
mul cx
ror ax, 0x4e
sub ebx, 0xb9
rcl cx, 0x60
jb 0x4026c7
imul si
mul eax
inc esi
xor bx, dx
inc ebx
jmp 0x4026d9
mul eax
add eax, edi
mov ax, 0x2a4
mul ebx
ror edi, 0xfc
xor di, 0xdb
movsx ecx, bh
dec bx
push str.IOanz_UZA891nNAIUsy_U_Ahy8_
lea ecx, [ebp - 0x1c]
call fcn.00402907
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040257a
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x4e97ec], eax
push 0x27
mov esi, 0x4e6b30
mov edx, 0x547
push 0x49ab00
mov ecx, esi
call fcn.00402093
pop ecx
pop ecx
mov edx, 0x8aafdc01
call fcn.004024ab
lea ecx, [ebp - 0x38]
push ecx
push 0x40
push 0x4e4
push esi
call eax
test eax, eax
je 0x402784
push 0x2b
mov esi, 0x49ab30
mov edx, 0x4c000
push 0x4e7080
mov ecx, esi
call fcn.00402093
pop ecx
pop ecx
xor eax, eax
push eax
push eax
push esi
push 0x4e6cb8
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x34]
call fcn.00402a0b
lea ecx, [ebp - 0x1c]
call fcn.00402a0b
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042eafb
leave
ret 0x10
Function at 0x46fa2e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046f615

Function at 0x46fa39
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046f7a4

Function at 0x46ff5c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00430030
mov eax, dword [0x49a040]
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.0046d70b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x46ff9e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4700fa
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00484da0
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 + 0x4e9470]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004714f1
mov ecx, dword [esi*4 + 0x4e9470]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4700f3
cmp eax, dword [edi + ecx + 0x24]
jne 0x4700f3
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4700f3
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004714f1
add esp, 0x14
test edx, edx
jl 0x4700f3
jg 0x470069
test eax, eax
jb 0x4700f3
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4700f3
jl 0x470083
cmp dword [ebp - 0x1008], eax
ja 0x4700f3
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4700a1
test ebx, ebx
je 0x4700da
cmp ecx, edi
jae 0x4700da
mov al, byte [ecx]
cmp al, 0xd
jne 0x4700bb
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4700c7
cmp byte [ecx + 1], 0xa
jne 0x4700c7
inc ecx
jmp 0x4700c7
movzx eax, al
movsx eax, byte [eax + 0x49a318]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4700a1
cmp edx, ebx
jne 0x4700a1
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4700f8
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042eafb
leave
ret
Function at 0x470678
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4e9470]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4706b8
cmp byte [ebx], 0xa
jne 0x4706b8
or byte [eax + edi + 0x28], 4
jmp 0x4706bd
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4707bb
mov al, byte [edx]
cmp al, 0x1a
je 0x47079d
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4706ec
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x470711
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x47071b
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4706ce
jmp 0x4707bb
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x470798
cmp dword [ebp - 0xc], 0
je 0x470798
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4e9470]
test byte [eax + edi + 0x28], 0x48
je 0x470772
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x47075d
mov byte [esi], dl
jmp 0x47076e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4e9470]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4707bb
cmp byte [ebp - 1], 0xa
jne 0x470781
cmp esi, ebx
jne 0x470781
mov byte [esi], 0xa
jmp 0x4707ba
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0047150f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4707bb
mov byte [esi], 0xd
jmp 0x4707ba
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4e9470]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4707b7
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4707bb
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4707c4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4e9470]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x470807
cmp word [esi], dx
jne 0x470807
or byte [edi + eax + 0x28], 4
jmp 0x47080c
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x47095f
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x47093f
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x47084e
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x470884
cmp eax, edx
jae 0x470890
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x470826
jmp 0x47095f
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47093b
cmp dword [ebp - 0x14], 0
je 0x47093b
mov eax, dword [ebx*4 + 0x4e9470]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x470913
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4708dc
mov word [esi], cx
jmp 0x47090f
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4e9470]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4e9470]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4e9470]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x47095f
pop ebx
cmp word [ebp - 4], bx
jne 0x470924
cmp esi, dword [ebp + 0xc]
jne 0x470924
mov word [esi], bx
jmp 0x47095c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0047150f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x47095f
push 0xd
jmp 0x470958
mov ecx, dword [ebx*4 + 0x4e9470]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x470956
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x47095f
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x7ed840
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x347000]
push edi
or ebp, 0xffffffff
jmp 0x7ed862
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7ed869
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ed858
mov eax, 1
add ebx, ebx
jne 0x7ed87b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7ed88c
jne 0x7ed8ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ed8ab
dec eax
add ebx, ebx
jne 0x7ed898
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7ed870
add ebx, ebx
jne 0x7ed8a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7ed8fd
xor ecx, ecx
sub eax, 3
jb 0x7ed8c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7ed932
sar eax, 1
mov ebp, eax
jmp 0x7ed8ce
add ebx, ebx
jne 0x7ed8ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ed89c
inc ecx
add ebx, ebx
jne 0x7ed8dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ed89c
add ebx, ebx
jne 0x7ed8e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7ed8de
jne 0x7ed8fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7ed8de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7ed91c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7ed90e
jmp 0x7ed85e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7ed91c
add edi, ecx
jmp 0x7ed85e
pop esi
mov edi, esi
mov ecx, 0x127
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7ed93a
cmp byte [edi], 0xd
jne 0x7ed93a
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 0x7ed93f
lea edi, [esi + 0x3eb000]
mov eax, dword [edi]
or eax, eax
je 0x7ed9b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3edf7c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3edfcc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7ed96c
mov ecx, edi
jns 0x7ed99b
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 + 0x3edfd4]
or eax, eax
je 0x7ed9b1
mov dword [ebx], eax
add ebx, 4
jmp 0x7ed989
call dword [esi + 0x3edfd0]
mov ebp, dword [esi + 0x3edfd8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x7ed9eb
sub esp, 0xffffff80
jmp 0x40141c
Function at 0x40243b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40247a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40247a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40247a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40247a
cmp dword [ecx + 0x74], 0xe
jbe 0x40247a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4062ca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4062ee
xor eax, eax
test eax, eax
je 0x406300
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406300
xor ecx, ecx
jmp 0x406303
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

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

Disassembly:
cmp dword [0x42ce04], 0
push esi
jne 0x406426
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 0x406400
mov dword [ecx*4 + 0x42ce00], eax
inc ecx
cmp ecx, 0x100
jl 0x4063fb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406457
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 + 0x42ce00]
xor eax, esi
inc ecx
dec edx
jne 0x406439
pop edi
not eax
pop esi
ret 0xc

Function at 0x438cbd
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
sub eax, 0x7d878241
dec edx
inc eax
call fcn.00438cfb
add edx, eax
sub edx, 0xe62fd5a3
sub eax, edx
xor dword [ecx], edi
or edx, eax
sub eax, eax
inc ecx
mov eax, 0x884d26b5
and edx, eax
cmp ecx, esi
jne fcn.00438cbd
sub edx, eax
add edx, 1
ret
Function at 0x401fea
Capabilities:
Access peb ldr_data
Create thread
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
sub cx, 0x1f9
mul edi
dec cx
mul di
mul ebx
sub ax, 0x22b
or edi, ebx
shr cx, 2
rcl eax, 0x6e
rol ax, 0x19
rcl cx, 0xcb
mul si
mov si, 0x1b0
rcr esi, 0xed
inc si
dec dx
movsx ebx, dh
movsx ecx, si
rcl cx, 0x33
mov edx, esi
shr ax, 0xb9
dec cx
ja 0x402046
test edx, 0x43
ja 0x402067
dec bx
imul eax
jmp 0x402056
rol bx, 0x64
sub di, cx
ror esi, 0x18
ror ecx, 0xef
movsx ebx, bx
rcl eax, 0x5b
mul esi
jae 0x402067
inc ax
movsx ecx, si
rcr ebx, 0x8e
jmp 0x402082
and ecx, 0x33b
ror edx, 0x56
rcr di, 0xc6
or esi, 0x389
movzx edi, al
movsx edi, si
imul edx
mul cx
ror ax, 0x4e
sub ebx, 0xb9
rcl cx, 0x60
jb 0x4020a1
imul si
mul eax
inc esi
xor bx, dx
inc ebx
jmp 0x4020b3
mul eax
add eax, edi
mov ax, 0x2a4
mul ebx
ror edi, 0xfc
xor di, 0xdb
movsx ecx, bh
dec bx
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [section..bss], eax
push 0x27
mov esi, 0x48b940
mov edx, 0x547
push 0x42bb10
mov ecx, esi
call fcn.00401ac2
pop ecx
pop ecx
mov edx, 0x8aafdc01
call fcn.00401eda
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x4e4
push esi
call eax
test eax, eax
je 0x402182
push 4
call fcn.00405212
pop ecx
lea ecx, [ebp - 8]
xor esi, esi
push ecx
push esi
push eax
push 0x402c5b
push esi
push esi
mov dword [eax], 0x401f88
call fcn.00409ebb
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
je 0x40217b
cmp dword [ebp - 8], esi
je 0x40218b
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [ebp - 8], eax
jne 0x402146
push 5
jmp 0x40218d
push esi
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00404c78
add esp, 0xc
test eax, eax
je 0x40215d
push 2
jmp 0x40218d
xorps xmm0, xmm0
push 1
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 8], esi
jne 0x402192
jmp 0x402182
mov dword [ebp - 8], esi
push 6
jmp 0x40218d
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
push 1
call fcn.00403002
call fcn.0040bd02
int3

Function at 0x4060de
Capabilities:
Parse pe header

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

Function at 0x411e51
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4249f4
push 0x4249ec
push str.FlsAlloc
push 0x1e
call fcn.00411cfa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x411e85
push dword [ebp + 8]
mov ecx, esi
call dword [0x421158]
call esi
jmp 0x411e8b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4