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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00576350
mov eax, dword [0x609004]
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.00588c26
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x57f741
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x57f89d
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00576380
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 + 0x612548]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0058c4ca
mov ecx, dword [esi*4 + 0x612548]
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 0x57f896
cmp eax, dword [edi + ecx + 0x24]
jne 0x57f896
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 0x57f896
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0058c4ca
add esp, 0x14
test edx, edx
jl 0x57f896
jg 0x57f80c
test eax, eax
jb 0x57f896
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x57f896
jl 0x57f826
cmp dword [ebp - 0x1008], eax
ja 0x57f896
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x57f844
test ebx, ebx
je 0x57f87d
cmp ecx, edi
jae 0x57f87d
mov al, byte [ecx]
cmp al, 0xd
jne 0x57f85e
lea eax, [edi - 1]
cmp ecx, eax
jae 0x57f86a
cmp byte [ecx + 1], 0xa
jne 0x57f86a
inc ecx
jmp 0x57f86a
movzx eax, al
movsx eax, byte [eax + 0x609210]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x57f844
cmp edx, ebx
jne 0x57f844
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x57f89b
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005757bf
leave
ret
Function at 0x58c546
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 + 0x612548]
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 0x58c586
cmp byte [ebx], 0xa
jne 0x58c586
or byte [eax + edi + 0x28], 4
jmp 0x58c58b
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x58c689
mov al, byte [edx]
cmp al, 0x1a
je 0x58c66b
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x58c5ba
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x58c5df
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x58c5e9
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 0x58c59c
jmp 0x58c689
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 0x58c666
cmp dword [ebp - 0xc], 0
je 0x58c666
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x612548]
test byte [eax + edi + 0x28], 0x48
je 0x58c640
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x58c62b
mov byte [esi], dl
jmp 0x58c63c
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x612548]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x58c689
cmp byte [ebp - 1], 0xa
jne 0x58c64f
cmp esi, ebx
jne 0x58c64f
mov byte [esi], 0xa
jmp 0x58c688
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0058c4e8
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x58c689
mov byte [esi], 0xd
jmp 0x58c688
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x612548]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x58c685
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x58c689
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x58c692
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 + 0x612548]
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 0x58c6d5
cmp word [esi], dx
jne 0x58c6d5
or byte [edi + eax + 0x28], 4
jmp 0x58c6da
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 0x58c82d
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 0x58c80d
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x58c71c
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x58c752
cmp eax, edx
jae 0x58c75e
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 0x58c6f4
jmp 0x58c82d
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 0x58c809
cmp dword [ebp - 0x14], 0
je 0x58c809
mov eax, dword [ebx*4 + 0x612548]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x58c7e1
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x58c7aa
mov word [esi], cx
jmp 0x58c7dd
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x612548]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x612548]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x612548]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x58c82d
pop ebx
cmp word [ebp - 4], bx
jne 0x58c7f2
cmp esi, dword [ebp + 0xc]
jne 0x58c7f2
mov word [esi], bx
jmp 0x58c82a
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0058c4e8
add esp, 0x10
cmp word [ebp - 4], bx
je 0x58c82d
push 0xd
jmp 0x58c826
mov ecx, dword [ebx*4 + 0x612548]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x58c824
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x58c82d
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 0x58d04e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0058cebf

Function at 0x58d3d1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5e0158
push 0x5e0150
push str.FlsAlloc
push 0x1e
call fcn.0058d252
mov esi, eax
add esp, 0x10
test esi, esi
je 0x58d405
push dword [ebp + 8]
mov ecx, esi
call dword [0x5aba40]
call esi
jmp 0x58d40b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x58d44f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5e0168
push 0x5e0160
push str.FlsGetValue
push 0x20
call fcn.0058d252
mov esi, eax
add esp, 0x10
test esi, esi
je 0x58d486
push dword [ebp + 8]
mov ecx, esi
call dword [0x5aba40]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x590a4b
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x609004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x590a96
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00590bea
test al, al
jne 0x590a90
sub edx, 2
cmp edx, edi
jne 0x590a76
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x590ab8
lea eax, [edi + 2]
cmp edx, eax
je 0x590ab8
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00590997
add esp, 0x10
jmp 0x590bb2
push esi
lea ecx, [ebp - 0x255]
call fcn.00590bea
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x590afb
push dword [ebp - 0x25c]
jmp 0x590aa8
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x590b38
cmp word [ebp - 0x226], 0
je 0x590b59
cmp word [ebp - 0x226], ax
jne 0x590b38
cmp word [ebp - 0x224], 0
je 0x590b59
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00590997
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x590ba5
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x590b12
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x590b8d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x590bb2
push 0x5907c7
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.005965d0
add esp, 0x10
jmp 0x590b82
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005757bf
leave
ret

Function at 0x5915f0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x591601
pop esi
ret
push ebx
push edi
push esi
call fcn.005915b9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0058a652
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x591629
push ebx
push esi
push edi
call fcn.00577420
add esp, 0xc
push 0
call fcn.0058a618
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x5919ed
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0059163e
Function at 0x597088
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00597004
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x597200
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x597200
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x5971af
jg 0x5970e1
test eax, eax
je 0x5971a5
push 1
push 0x1000
call fcn.0058d059
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x597107
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x59719c
push 0x8000
push ebx
call fcn.00589dd3
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x597133
jg 0x59712e
cmp ecx, 0x1000
jb 0x597133
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0059026f
add esp, 0x10
cmp eax, 0xffffffff
je 0x597178
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x59712e
jl 0x59715f
test ecx, ecx
jne 0x597120
push dword [ebp - 0xc]
push ebx
call fcn.00589dd3
push esi
call fcn.0058a618
add esp, 0xc
xor edi, edi
jmp 0x597211
cmp byte [edi + 0x24], 0
je 0x59718f
cmp dword [edi + 0x20], 5
jne 0x59718f
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x59719a
mov edi, dword [edi + 0x18]
jmp 0x59719c
xor edi, edi
push esi
call fcn.0058a618
pop ecx
jmp 0x597211
test ecx, ecx
jg 0x597171
jl 0x5971af
test eax, eax
jae 0x597171
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0058c4e8
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5971d2
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x597171
jmp 0x597209
push ebx
call fcn.00589017
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x597171
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x597211
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x59720e
mov edi, dword [edi + 0x18]
jmp 0x597211
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0058c4e8
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x29a0f127
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x29a0f136
pop dword [ebp - 0x38]
mov eax, 0x5b2185a8
add eax, 0xce7f6b8e
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x3e9a26cb
add dword [ebp - 0x48], 0xfb81e80
mov dword [ebp - 0x44], 0x4e2911f0
add dword [ebp - 0x44], 0xe40a3a55
mov dword [ebp - 0x40], 0x1228cc71
add dword [ebp - 0x40], 0x3a2377bd
mov dword [ebp - 0x3c], 0xf16b6b67
sub dword [ebp - 0x3c], 0xf16b6b67
lea eax, [ebp - 0x48]
push eax
mov eax, 0x4c327610
add eax, 0xdd6eca7c
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x382a1cbb
add dword [ebp - 0x48], 0x3c484c9b
mov dword [ebp - 0x44], 0x3ec0d588
add dword [ebp - 0x44], 0x2ab8bed
mov dword [ebp - 0x40], 0x635657ef
sub dword [ebp - 0x40], 0xffe6eb83
mov dword [ebp - 0x3c], 0x19888c6e
sub dword [ebp - 0x3c], 0x19888c6e
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x33fbb88a
add eax, 0xf5a587ba
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x36f5b
push 0
call eax
mov ecx, 0xbbf3698d
add ecx, 0x440cd11f
mov ebx, eax
mov edx, 0xca771c6e
sub edx, 0xa0d4fc6e
add edx, dword [ebp - 0x38]
mov edi, 0x3bc662e
sub edi, 0xb716d7d6
mov dword [ebp - 0x30], 0xf11fa17f
mov esi, dword [edx]
xor esi, edi
mov dword [ebp - 0x14], 0x1edb6b39
mov dword [ebx], esi
mov dword [ebp - 0x1c], 0x1fa0ea9c
add ebx, 4
add edx, 0x987d3ca
add edx, 0xf6782c3a
loop 0x29a0f258
add eax, 0x62e3f639
add eax, 0x9d1ce74a
mov ebx, eax
add eax, 0x80ebb36f
sub eax, 0x80ebb36a
mov ecx, 0xa2a1708b
sub ecx, 0x7901708b
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0xf31058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xf311a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xf3107e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf3106a
add dl, dl
jne 0xf31089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf310dc
xor eax, eax
add dl, dl
jne 0xf31096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf3117d
add dl, dl
jne 0xf310a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf310b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf310bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf310c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xf310d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xf31075
mov eax, 1
add dl, dl
jne 0xf310ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf310f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf310e1
sub eax, ebx
mov ebx, 1
jne 0xf31128
mov ecx, 1
add dl, dl
jne 0xf3110e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf31119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf31105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf31075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xf3113f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf3114a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf31136
cmp eax, 0x7d00
jae 0xf3116d
cmp eax, 0x500
jb 0xf31168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf31075
cmp eax, 0x7f
ja 0xf31170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf31075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xf3119e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xf31075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10001053
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10760140]
jne 0x1000105d
repz ret
jmp fcn.100012df

Function at 0x10005feb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10760140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10001a36
and dword [ebp - 0x14], 0
cmp dword [0x10763acc], 0
mov dword [ebp - 0x18], eax
jne 0x1000609e
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10006146
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10006146
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10763acc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10763ad0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10763ad4], eax
call edi
push eax
call esi
mov dword [0x10763adc], eax
test eax, eax
je 0x1000609e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10763ad8], eax
mov eax, dword [0x10763ad8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x100060f7
cmp dword [0x10763adc], ecx
je 0x100060f7
push eax
call esi
push dword [0x10763adc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100060f7
test ebx, ebx
je 0x100060f7
call edi
test eax, eax
je 0x100060ee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100060ee
test byte [ebp - 8], 1
jne 0x100060f7
or dword [ebp + 0x10], 0x200000
jmp 0x1000612a
mov eax, dword [0x10763ad0]
cmp eax, dword [ebp - 0x18]
je 0x1000612a
push eax
call esi
test eax, eax
je 0x1000612a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000612a
mov eax, dword [0x10763ad4]
cmp eax, dword [ebp - 0x18]
je 0x1000612a
push eax
call esi
test eax, eax
je 0x1000612a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10763acc]
call esi
test eax, eax
je 0x10006146
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10006148
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001053
leave
ret

Function at 0x1004fb80
Capabilities:
Encode data using xor

Disassembly:
int3
aas
cdq
std
shl dword [ebx + 0x5679b7e1], 1
ljmp 0x832a
jp 0x1004fbf0
push edx
pop edi
cwde
ficomp dword [eax - 0xd]
js 0x1004fb26
pop edi
xchg dword [edx - 0x70], edx
lodsd eax, dword [esi]
jg 0x1004fb5b
jns 0x1004fb47
mov al, byte ss:[0xb0886a08]
scasb al, byte es:[edi]
push 0xfffffffffffffff0
in eax, dx
pop ebp
in eax, dx
sahf
pop ebp
ror esi, cl
nop
mov al, byte [0xda8c0dbd]
fcmovu st(0), st(0)
invalid
invalid
cmpsd dword [esi], dword es:[edi]
push cs
Function at 0x45f01c
Capabilities:
Execute anti-debugging instructions

Disassembly:
add ebp, 0x5507238d
jmp fcn.0045f3d1
call fcn.0045f062
pushal
mov dword [esp + 3], eax
push word [esp + 0xb]
lea esp, [esp + 2]
jmp 0x45f272
mov byte [esp + 1], ah
lea esp, [esp + 3]
mov dword [esp + 0x74], ebp
call int.0045f13b
push word [esp + 0xb]
push dword [esp + 0xd]
pushal
lea esp, [esp + 3]
mov dword [esp + 0xc0], edi
lea esp, [esp + 0xc0]
jmp 0x45f2a9
mov dword [esp + 0x78], esp
pushal
push edx
push dword [esp + 0x14]
pop dword [esp + 0x1e]
lea esp, [esp + 0x21]
jmp 0x45f21e
mov ebp, dword [esp + 0x48]
inc bx
jmp 0x45f2fb
inc bl
lea eax, [edx + edi]
xchg ebx, ecx
jmp 0x45f3a0
pushfd
mov ebp, 0x1f24600
bswap eax
pushal
rcl dx, cl
jmp 0x45f325
ja 0x45f292
inc bl
lea eax, [edx + edi]
call fcn.0045f2b7
sub eax, 0xf240c87
popfd
invalid
jns 0x45f286
js 0x45f286
xchg dword [esp + 4], ecx
inc cx
mov ecx, dword [esp]
mov bl, 0x30
cpuid
mov edx, 0x11f19c0e
jmp 0x45f370
push dword [esp + 4]
ret 8
lea esi, [esp + 0x20]
lea edi, [esp + edx]
xchg ecx, edi
call fcn.0045f2e5
sub esp, 0xa0
jmp 0x45f953
mov cx, bp
mov al, ah
mov ch, byte [esp]
jmp 0x45ef79
jmp 0x45f3e8
bswap ebx
bswap edx
jmp 0x45f4c4
bswap ebx
bswap edx
mov ebx, ebp
bts ecx, edi
jae 0x45f42f
mov cx, bp
mov al, ah
mov ch, byte [esp]
jmp 0x45ef79
mov edi, esp
lea ecx, [ebp - 0x27]
not bx
jae 0x45f4c0
jb 0x45f4a0
bswap edx
jmp 0x45f98a
jmp 0x45f9f5
and dx, 0x8e00
bswap edx
lea edx, [edx + esi]
bswap edx
sub edx, eax
jne 0x45f96b
inc dh
shl eax, 2
pushal
mov dx, word [esp + 0x10]
call fcn.0045fa2a
mov edi, 0x6fa8ba86
pop esi
stc
jnp 0x45f983
and dx, 0x8e00
jmp 0x45f967
lea edx, [edi*4]
call fcn.0045fae0
mov dx, word [esp + 0x10]
setge dh
mov dx, word [esp + 8]
lea esp, [esp + 0x20]
jmp 0x45f9b9
inc dh
shl eax, 2
pushal
jmp 0x45f9db

Function at 0x45f062
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp + 0x12], sp
pushal
lea esp, [esp + 0x48]
jmp 0x45f021

Function at 0x45f2e5
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 3]
lea esp, [esp + 1]
jmp 0x45f3ae

Function at 0x45f60c
Capabilities:
Execute anti-debugging instructions

Disassembly:
bswap eax
mov ax, 0xba8b
mov al, ah
lea eax, [edi + edi]
xchg al, ah
mov eax, 0x5bf44142
jmp 0x45f663
pop ax
lea esp, [esp + 3]
rol dl, 0
jmp 0x45f5e3
mov ax, word [esp]
mov ax, 0x9fe1
lea eax, [esp + edx]
jmp 0x45f66f
mov al, 0x4e
mov ax, word [esp]
mov ax, 0x9fe1
lea eax, [esp + edx]
lea eax, [eax + edx]
jmp 0x45f8c4
xchg ah, al
cmp ax, 0xf762
jne 0x45f64b
mov al, 0x4e
jmp 0x45f635
lea eax, [eax + edx]
jmp 0x45f8c4
lea eax, [eax + edi]
mov al, ah
jmp 0x45f7fe
mov al, 0xe2
mov al, ah
add al, bh
jmp 0x45f6ff
mov al, 0xe2
mov al, ah
add al, bh
lea eax, [eax + edi]
mov al, ah
cmc
sub esp, 4
jle 0x45f6d5
jg 0x45f721
sub dl, 0x77
setle ah
btc eax, esp
jge 0x45f7f3
jl 0x45f748
Function at 0x52e1b7
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x52e17d
mov eax, dword [eax + 0x1c]
jmp 0x52e13a
mov dword [esp + 0x1c], edi
lea esp, [esp + 0x1c]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x52e153
push eax
jmp 0x52e003
mov byte [esp], dh
mov dword [esp], eax
mov dword [esp], esi
mov dword [esp], eax
lea esp, [esp + 3]
lea esp, [esp + 1]
jmp 0x52e16a
lea esp, [esp + 0xe]
lea esp, [esp + 3]
mov dword [esp + 0x20], esi
push edx
jmp 0x52e196