joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8e126c
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8e1272
pop ebp
sub ebp, 6
sub ebp, 0x4e126c
jmp 0x8e12d0
jmp 0x8e12d9
mov eax, 0x4e126c
add eax, ebp
add eax, 0x93
mov ecx, 0x61a
mov edx, 0x6758ef2
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e12f0
jmp 0x8e1303
add al, 0
add byte [eax], al
cmp esi, dword [ebp - 0x4d679dae]
lcall 0xf29a, 0xf2f2e2f2
fdivrp st(2)
sal dword [edx], 0xa2
or eax, 0xb6a3ce67
mov byte [0x7b793f79], al
cwde
mov dl, 0x9a
loop 0x8e12fb
lcall 0x32c1, 0xf2de3ef2
mov byte [0xa3ce670d], al
mov dh, 0xf2
mov byte [0x7b793f79], al
into
bnd jae 0x8e1356
or dh, dl
int1
aas
dec edx
hlt
sbb ebx, eax
repne cmpsd dword [esi], dword es:[edi]
jg 0x8e12fd
salc
bnd jns 0x8e13da
cli
bnd jns 0x8e13d0
invalid
invalid
sbb dh, bh
mov edx, 0xf2bc76fd
std
mov esp, 0xfdf2f2f2
jp 0x8e1384
xchg esp, eax
jns 0x8e13be
retf
jb 0x8e13e5
sbb edi, ebp
jbe 0x8e13c3
xchg esp, eax
jae 0x8e13ef
or dword [0xe776fdd7], ecx
or eax, 0xe776fdd7
mov bl, 0x1b
or eax, 0xbedb0d0d
sbb edi, dword [esi]
or eax, 0xbedb0d0d
retf
Function at 0x4084e4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x4276d4], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408525
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x408502
mov dword [edx*4 + 0x4276d0], eax
inc edx
cmp edx, 0x100
jne 0x4084fb
mov eax, dword [ebp + 8]
not eax
jmp 0x40853f
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x4276d0]
test ebx, ebx
jne 0x40852c
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.004014da

Function at 0x4014da
Capabilities:
Delete file
Encode data using base64 via winapi
Get common file path

Disassembly:
push ecx
push edx
enter 0x220, 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
push 0x104
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x220], 0
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
movzx eax, byte [ebp - 0x18]
sub eax, 0x41
leave
pop edx
pop ecx
ret
Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18

Function at 0x4021b2
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
sub ebp, 0x82
mov esi, eax
mov cl, byte [0x404050]
mov edx, eax
mov ebx, eax
shl edx, cl
mov eax, 0x404054
add edx, dword [0x404050]
call fcn.004020f3
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x4039aa
push eax
sub edi, fcn.00403144
push edi
push fcn.00403144
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x402229
mov eax, fcn.00403144
mov ebx, esi
mov edx, edi
call fcn.004020f3
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.00402d42
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 0
call fcn.0040151f
lea eax, [esi + 0x1c000]
lea edi, [esi + 1]
imul edi, eax
mov ebx, 0x404054
or bl, 1
xor edx, edx
mov eax, esi
div ebx
lea ebx, [ebp - 2]
add eax, 0x404054
mov edx, edi
call fcn.00403144
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x4ca444
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
push edx
push ecx
mov edi, dword [ebp + 0xc]
mov ecx, 8
cmp ecx, dword [ebp + 0x10]
jbe 0x4ca457
sub ecx, dword [ebp + 0x10]
rol dword [ebp + 8], 4
loop 0x4ca44e
mov ecx, dword [ebp + 0x10]
rol dword [ebp + 8], 4
mov eax, dword [ebp + 8]
and eax, 0xf
cmp eax, 0
jb 0x4ca46f
cmp eax, 9
ja 0x4ca46f
add al, 0x30
jmp 0x4ca471
add al, 0x37
mov byte [edi], al
inc edi
loop 0x4ca457
mov eax, edi
pop ecx
pop edx
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x54e584
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
push edx
push ecx
mov edi, dword [ebp + 0xc]
mov ecx, 8
cmp ecx, dword [ebp + 0x10]
jbe 0x54e572
sub ecx, dword [ebp + 0x10]
rol dword [ebp + 8], 4
loop 0x54e569
mov ecx, dword [ebp + 0x10]
rol dword [ebp + 8], 4
mov eax, dword [ebp + 8]
and eax, 0xf
cmp eax, 0
jb 0x54e58a
cmp eax, 9
ja 0x54e58a
add al, 0x30
jmp 0x54e58c
add al, 0x37
mov byte [edi], al
inc edi
loop 0x54e572
mov eax, edi
pop ecx
pop edx
pop ebx
pop edi
pop esi
leave
ret 0xc
Function at 0x406b10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
nop
jmp 0x406b20
mov edx, dword [edx + 0xc]
nop
mov edx, dword [edx + 0x14]
jmp 0x406b33
nop
mov esi, dword [edx + 0x28]
jmp 0x406b45
xor edi, edi
movzx ecx, word [edx + 0x26]
nop
jmp 0x406b5c
jmp 0x406b6b
xor eax, eax
nop
jmp 0x406b7c
lodsb al, byte [esi]
jmp 0x406b8c
cmp al, 0x61
jmp 0x406b9c
jl 0x406bc5
jmp 0x406bab
jmp 0x406bb8
sub al, 0x20
jmp 0x406bc5
ror edi, 0xd
nop
add edi, eax
dec ecx
jmp 0x406bdc
jne 0x406b5c
nop
jmp 0x406bed
nop
push edx
mov edx, dword [edx + 0x10]
jmp 0x406c03
mov eax, dword [edx + 0x3c]
jmp 0x406c14
add eax, edx
push edi
nop
jmp 0x406c24
mov eax, dword [eax + 0x78]
test eax, eax
nop
je 0x406dfd
nop
jmp 0x406c3c
add eax, edx
jmp 0x406c4b
push eax
nop
jmp 0x406c5b
mov ebx, dword [eax + 0x20]
nop
add ebx, edx
nop
jmp 0x406c71
mov ecx, dword [eax + 0x18]
nop
jmp 0x406c85
test ecx, ecx
jmp 0x406c92
je 0x406dec
nop
jmp 0x406ca6
xor edi, edi
nop
dec ecx
nop
mov esi, dword [ebx + ecx*4]
add esi, edx
jmp 0x406cc0
nop
xor eax, eax
ror edi, 0xd
lodsb al, byte [esi]
add edi, eax
nop
cmp al, ah
jne 0x406cc0
nop
nop
jmp 0x406cdf
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
nop
jne 0x406c75
jmp 0x406cfe
jmp 0x406d11
pop eax
nop
mov ebx, dword [eax + 0x24]
nop
jmp 0x406d27
add ebx, edx
jmp 0x406d3d
mov cx, word [ebx + ecx*2]
nop
jmp 0x406d52
mov ebx, dword [eax + 0x1c]
add ebx, edx
mov eax, dword [ebx + ecx*4]
jmp 0x406d6b
add eax, edx
nop
jmp 0x406d7e
mov dword [esp + 0x24], eax
nop
jmp 0x406d92
pop ebx
nop
jmp 0x406da8
pop ebx
nop
jmp 0x406db7
popal
nop
jmp 0x406dca
pop ecx
nop
jmp 0x406dda
pop edx
push ecx
jmp 0x406dea
jmp eax
pop eax
jmp 0x406dfd
nop
pop edi
jmp 0x406e0e
pop edx
jmp 0x406e22
mov edx, dword [edx]
jmp 0x406b33
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x448d2c
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov ebx, 0x4ebabb32
sbb al, 0x4e
insb byte es:[edi], dx
imul eax, dword [edi], 0x58
mov ecx, 0x4fb6137b
sbb eax, dword [edx + 0xd]
xor byte [0xbb570bf2], dh
cld
dec ebp
lds ecx, [ebx + 0x4aa2a010]
notrack jmp 0x448d64
sbb eax, 0x9816f7f0
mov edi, 0xc5996cc8
or byte [ecx], ah
cmp eax, 0x1b7218da
and dword [ebp - 0x3ee2458], ecx
sub eax, 0x208a702d
add ecx, ebp
cld
add ecx, esp
inc ebp
cmpsd dword [esi], dword es:[edi]
xor eax, 0xeb26a929
sbb byte [ebx], dl
cmp al, 0x59
inc edx
push ecx
inc edx
pop ecx
push edx
std
xchg esp, eax
out dx, al
test byte [ebx], dh
aaa
or al, dl
push 0xcc16c5d3
cmp al, 0xd6
mov edi, 0x21cac2c4
movsd dword es:[edi], dword [esi]
insd dword es:[edi], dx
out 0x93, eax
sub ebp, dword [eax + 0x74]
cmp ah, byte [ebx]
fcmovb st(0), st(1)
add eax, 0x82f2b374
xor ebx, ebp
imul esp, ebx, 0x991d2d31
stosd dword es:[edi], eax
or byte [esi + esi*4 + 0x1d], bh
test byte [edx], dl
xor dword [eax + ecx*4 - 0x58], esi
or dword [edx], esp
shl dword [edx], 1
jnp 0x448d9b
or al, 0x3b
mov eax, 0x48484db6
shr ch, cl
mov ecx, gs
and bh, byte [ebp + 0x4c]
fisttp dword [eax]
fstp xword gs:[bx + si + 0xe]
cdq
test al, 0xfe
int3

Function at 0x44a410
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test esi, esi
mov edi, eax
je 0x44a44b
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test edi, edi
pop edi
pop esi
je 0x44a463
mov edx, dword [0x64fcf4]
push 0x64fa28
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [esp]
add esp, 8
ret

Function at 0x5252f4
Capabilities:
Encode data using xor

Disassembly:
mov byte [0x3548b5c5], al
wait
mov edx, 0x4b055be6
dec edx
outsb dx, byte [esi]
xor byte [ecx], dh
movsd dword es:[edi], dword [esi]
and eax, 0xf23513a3
aad 0x7a
mov ch, 0x48
xor eax, 0x5be6ba9b
add eax, 0x306e4a4b
xor dword [ebp + 0x3513a325], esp
aad 0x7a
xchg byte [esi], ah
mov edi, dword [ebp - 0x424ea623]
cmp bh, byte [ebx - 0x2895878b]
push es
clc
je 0x5252f2
in eax, 0xd2
int1
enter 0x6bd9, 0x46
scasb al, byte es:[edi]
inc esi
repe scasb al, byte es:[edi]
or dl, dh
dec edi
shr byte [ebp - 4], 0xf5
jmp 0x525378
cdq
sbb al, 6
add ah, al
mov ebp, 0xb679ac59
int 0x4c
mov ecx, 0x2e4b32b6
test byte [0x4fe8e4cb], cl
test dword [0x8e92cb3c], ebp
pushfd
push esi
test dword [ecx], ebx
inc esi
sti
jbe 0x525329
and ch, al
cli
jnp 0x525400
inc eax
xchg esi, eax
fld xword [eax]
push cs
arpl word [0xbdd44b9c], bx
invalid
dec ebp
jmp 0x1b7e0ca1
Function at 0x57171c
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
push ebx
push esi
push edi
push edx
push eax
push 0
mov ebx, edx
xor edi, edi
mov ecx, dword [esp + edx*4 + 0x1c]
test ecx, ecx
je 0x57173e
cmp dword [eax], ecx
jne 0x57173e
mov edi, ecx
mov eax, dword [ecx - 4]
dec edx
jmp 0x571740
xor eax, eax
mov ecx, dword [esp + edx*4 + 0x1c]
test ecx, ecx
je 0x571758
add eax, dword [ecx - 4]
test eax, 0xc0000000
jne 0x5717c5
cmp edi, ecx
jne 0x571758
xor edi, edi
dec edx
jne 0x571740
test edi, edi
je 0x57177d
mov edx, eax
mov eax, dword [esp + 4]
mov esi, dword [edi - 4]
call fcn.005715bc
mov edi, dword [esp + 4]
mov eax, dword [edi]
mov dword [esp], eax
shl esi, 1
add esi, dword [edi]
dec ebx
jmp 0x571787
call fcn.00570650
mov dword [esp], eax
mov esi, eax
mov eax, dword [esp + ebx*4 + 0x1c]
mov edx, esi
test eax, eax
je 0x57179d
mov ecx, dword [eax - 4]
shl ecx, 1
add esi, ecx
call fcn.0056da50
dec ebx
jne 0x571787
mov edx, dword [esp]
mov eax, dword [esp + 4]
test edi, edi
jne 0x5717b7
test edx, edx
je 0x5717b2
dec dword [edx - 8]
call fcn.00570adc
add esp, 8
pop edx
pop edi
pop esi
pop ebx
pop eax
pop eax
lea esp, [esp + edx*4]
jmp eax
jmp fcn.0056e7dc
Function at 0x10004770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp eax, 0xfe887711
inc eax
mov eax, ebx
mov eax, ebx
mov eax, ebx
cmp eax, 0xe6ecfd2
mov eax, ebx
inc eax
cmp eax, 0x16
mov eax, ecx
nop
inc eax
cmp eax, 0xffffffc4
inc eax
cmp eax, 0x5e
cmp eax, 0xffffffec
nop
inc eax
mov eax, ecx
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
nop
cmp eax, 0x7b2ff9c9
mov eax, ecx
nop
mov eax, ecx
nop
mov eax, ecx
inc eax
nop
inc eax
nop
cmp eax, 0xe2bb62c0
cmp eax, 0xffffffe9
mov eax, ebx
inc eax
mov eax, 0x494fb3d5
cmp eax, 0xc30e50ed
cmp eax, 0x3c
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, ecx
inc eax
mov eax, ebx
inc eax
mov eax, 0xf389113b
mov eax, 0x57832525
cmp eax, 0x3d
mov eax, ebx
cmp eax, 0x4c
inc eax
mov eax, ecx
cmp eax, 0x33
mov eax, ebx
nop
mov eax, ecx
nop
cmp eax, 0x9bf3bbb
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x1002beb4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, 0xe3594c36
cmp eax, 0xf9f1a9b
mov eax, 0x254c5032
inc eax
mov eax, ecx
mov eax, ebx
mov eax, 0x57ad514f
cmp eax, 0x8725502d
inc eax
mov eax, ebx
mov eax, ecx
cmp eax, 0x24
nop
cmp eax, 0x66
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1003e22c], eax
cmp eax, 0xffffffb7
nop
mov eax, 0xd66c9daf
inc eax
nop
cmp eax, 0xad641751
inc eax
inc eax
cmp eax, 0xd1243acf
cmp eax, 0xffffffce
mov eax, ebx
inc eax
cmp eax, 0x67
mov eax, ecx
nop
mov eax, ecx
mov eax, ecx
mov eax, ecx
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
jne 0x1000491f
push 0x41030
push str.DllWrap
push str.miss
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
nop
nop
mov eax, ecx
mov eax, ecx
inc eax
inc eax
mov eax, 0x5c847a37
mov eax, ecx
inc eax
inc eax
mov eax, ebx
inc eax
cmp eax, 0xfffffff1
mov eax, ecx
mov eax, 0x76a0c22d
cmp eax, 0x5835994a
mov eax, ebx
cmp eax, 0xdb2cceac
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
je 0x10004931
mov dword [ebp - 4], 1
jmp 0x10004938
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x419b00
Capabilities:
Check for software breakpoints
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret
Function at 0x4258f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x534014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x53a32c], 0
push esi
push edi
mov esi, ecx
jne 0x4259bc
call fcn.0043e5b1
push 0
push 0
push 0x100
lea ecx, [ebp - 0x210]
push ecx
push 0x100
lea ecx, [ebp - 0x410]
push ecx
push 3
lea ecx, [ebp - 0xc]
push ecx
push dword [eax]
call fcn.0043596d
push 0
push 0
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x618]
push 0x104
push eax
call fcn.0043573d
push 0xffffffffffffffff
push 0x41d54c
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.0043cf0f
add esp, 0x4c
test eax, eax
jne 0x4259ab
sub esp, 0x18
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x618]
call fcn.004250e0
add esp, 0x18
test eax, eax
js 0x4259ab
mov edi, dword [0x53a350]
mov byte [0x53a32c], 1
jmp 0x4259c2
xor edi, edi
mov byte [0x53a32c], 1
mov dword [0x53a350], edi
jmp 0x4259c2
mov edi, dword [0x53a350]
movzx eax, word [0x53a358]
push eax
mov eax, esi
shr eax, 4
inc eax
movzx eax, ax
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x425a1b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, eax
test ecx, ecx
je 0x425a1b
and esi, 0xf
je 0x425a02
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
add ecx, 2
sub esi, 1
jne 0x4259f4
cmp word [ecx], 0
je 0x425a1b
lea eax, [ecx + 2]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426f36
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00426f36
mov esp, ebp
pop ebp
ret
Function at 0x426a80
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x52fcd8
push 0x427b30
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x534014]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.00425e20
call fcn.00425c30
push 0x539cf4
push 0
push 0
lea eax, [ebp - 0x70]
push eax
push 0x41dc70
push 0x539f10
call fcn.00450ce0
add esp, 0x18
test eax, eax
je 0x426c96
mov ecx, dword [0x539cf4]
mov eax, dword [ecx]
call dword [eax + 0x78]
test eax, eax
setne bl
cmp byte [0x539cf3], 0
je 0x426b50
test bl, bl
je 0x426b20
mov eax, 0x41dc7c
mov ecx, 0x41dc74
jmp 0x426b2a
mov eax, 0x41dca0
mov ecx, 0x41dc90
push ecx
push eax
push 0x5fa
call fcn.00425b60
add esp, 0xc
call fcn.00425bb0
movzx eax, bl
xor eax, 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x426c7a
test bl, bl
je 0x426ca8
cmp byte [0x539cfb], 0
je 0x426b75
mov byte [0x539cf1], 1
push 0x5dc
call fcn.00425b60
add esp, 4
mov ecx, dword [0x539cf4]
mov eax, dword [ecx]
push 0
push 0x426790
push 0x20
push 0x53a118
call dword [eax + 0x64]
test eax, eax
jne 0x426bb2
mov ecx, dword [0x539cf4]
mov eax, dword [ecx]
push 0
push 0
call dword [eax + 0x4c]
mov dword [ebp - 0x70], eax
cmp eax, 2
jne 0x426cc3
jmp 0x426cb7
call fcn.00425be0
cmp byte [0x539cfb], 0
je 0x426be8
push 0x5e1
call fcn.00425b60
add esp, 4
call fcn.00425bb0
cmp byte [0x539cfa], 0
jne 0x426bf1
push 0x5f5
call fcn.00425b60
add esp, 4
cmp byte [0x539cfa], 0
je 0x426bf8
mov esi, 0x539d00
jmp 0x426bfd
mov esi, 0x539f10
push 0xb
push esi
push 0x53a118
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x426cd0
cmp byte [0x539cfb], 0
je 0x426c37
cmp byte [0x539cfa], 0
jne 0x426c37
push 0x5e1
call fcn.00425b60
add esp, 4
call fcn.00425bb0
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x426c7a
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00426f36
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x70]
push 0x452
push 0x539f10
call fcn.00425c60
push 0x453
push 0x539f10
call fcn.00425c60
push 0x44d
push 0
call fcn.00425c60
push eax
push 0x3ea
push 0
call fcn.00425c60
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x451
push 0
call fcn.00425c60
int3