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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x571ea0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4f842f
cmp word [ebx], dx
jne 0x4f842f
or byte [eax + edi + 0x28], 4
jmp 0x4f8434
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4f8597
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x4f8577
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4f8475
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4f84ab
cmp eax, edx
jae 0x4f84b9
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4f8450
jmp 0x4f8597
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4f8572
cmp dword [ebp - 0x18], 0
je 0x4f8572
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x571ea0]
test byte [eax + edi + 0x28], 0x48
je 0x4f8548
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4f850c
mov word [esi], cx
jmp 0x4f8543
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x571ea0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x571ea0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x571ea0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4f8597
pop eax
cmp word [ebp - 4], ax
jne 0x4f8558
cmp esi, ebx
jne 0x4f8558
mov word [esi], ax
jmp 0x4f8594
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004f7c15
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4f8597
push 0xd
pop eax
jmp 0x4f8553
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x571ea0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4f8591
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4f8597
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4fa249
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x51dfbc
push 0x51dfb4
push str.FlsAlloc
push 0x1f
call fcn.004fa074
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4fa27d
push dword [ebp + 8]
mov ecx, esi
call dword [0x517e10]
call esi
jmp 0x4fa283
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4fa2c7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x51dfcc
push 0x51dfc4
push str.FlsGetValue
push 0x21
call fcn.004fa074
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4fa2fe
push dword [ebp + 8]
mov ecx, esi
call dword [0x517e10]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4fa306
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x51dfd4
push 0x51dfcc
push str.FlsSetValue
push 0x22
call fcn.004fa074
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4fa340
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x517e10]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4fdfeb
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x567040]
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 0x4fe036
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004fe186
test al, al
jne 0x4fe030
sub edx, 2
cmp edx, edi
jne 0x4fe016
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4fe058
lea eax, [edi + 2]
cmp edx, eax
je 0x4fe058
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004fdf37
add esp, 0x10
jmp 0x4fe152
push esi
lea ecx, [ebp - 0x255]
call fcn.004fe186
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 0x4fe09b
push dword [ebp - 0x25c]
jmp 0x4fe048
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 0x4fe0d8
cmp word [ebp - 0x226], 0
je 0x4fe0f9
cmp word [ebp - 0x226], ax
jne 0x4fe0d8
cmp word [ebp - 0x224], 0
je 0x4fe0f9
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004fdf37
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4fe145
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4fe0b2
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4fe12d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4fe152
push 0x4fdd67
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00504a10
add esp, 0x10
jmp 0x4fe122
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.004d3a9e
leave
ret

Function at 0x4fea4f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4fea60
pop esi
ret
push ebx
push edi
push esi
call fcn.004fea18
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004fa74f
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4fea88
push ebx
push esi
push edi
call fcn.004d8330
add esp, 0xc
push 0
call fcn.004f9511
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4fee58
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004fea9d
Function at 0x50136a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004f7fb1
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5013d9
cmp esi, dword [ebp - 4]
je 0x5013d4
cmp dword [ebp + 0xc], 0
je 0x5013d4
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x5013b1
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00500ebc
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x5013db
xor eax, eax
inc eax
jmp 0x5013db
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x501440
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x567040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004f7fb1
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004f7fb1
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x5014b7
cmp word [ecx], dx
je 0x5014b7
mov eax, dword [0x51e56c]
push edi
dec eax
push eax
push 0x51e458
call fcn.005013df
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x50152a
cmp word [eax], dx
je 0x50152a
mov eax, dword [edi]
test eax, eax
je 0x5014db
cmp word [eax], dx
je 0x5014db
lea eax, [ebp - 0x10]
push eax
call fcn.00500dc2
jmp 0x5014e4
lea eax, [ebp - 0x10]
push eax
call fcn.00500e5d
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x501554
mov eax, dword [0x51e454]
push dword [ebp - 0x14]
dec eax
push eax
push 0x51e148
call fcn.005013df
add esp, 0xc
test al, al
je 0x501554
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x50151f
cmp word [eax], di
je 0x50151f
lea eax, [ebp - 0x10]
push eax
call fcn.00500dc2
pop ecx
jmp 0x501556
lea eax, [ebp - 0x10]
push eax
call fcn.00500e5d
jmp 0x50151c
mov eax, dword [edi]
test eax, eax
je 0x501541
cmp word [eax], dx
je 0x501541
lea eax, [ebp - 0x10]
push eax
call fcn.00500d77
pop ecx
jmp 0x501554
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x50161f
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00501264
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x50161f
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x50161f
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x50161f
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5015ac
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004fa4e2
test ebx, ebx
je 0x50161a
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004fa4e2
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x50161f
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x50161f
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0050503b
add esp, 0x10
xor eax, eax
inc eax
jmp 0x501621
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d3a9e
leave
ret
Function at 0x505265
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.005051e1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x5053d4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x5053d4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x505389
jg 0x5052c1
test eax, eax
je 0x50537f
push 1
push 0x1000
call fcn.004f9c31
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x5052e4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x505376
push 0x8000
push ebx
call fcn.004f3f6d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x50530d
jg 0x505308
cmp ecx, 0x1000
jb 0x50530d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004fc682
add esp, 0x10
cmp eax, 0xffffffff
je 0x505352
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 0x505308
jl 0x505339
test ecx, ecx
jne 0x5052fa
push dword [ebp - 0xc]
push ebx
call fcn.004f3f6d
push esi
call fcn.004f9511
add esp, 0xc
xor ebx, ebx
jmp 0x5053e2
cmp byte [edi + 0x24], 0
je 0x505369
cmp dword [edi + 0x20], 5
jne 0x505369
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x505374
mov ebx, dword [edi + 0x18]
jmp 0x505376
xor ebx, ebx
push esi
call fcn.004f9511
pop ecx
jmp 0x5053e2
test ecx, ecx
jg 0x50534b
jl 0x505389
test eax, eax
jae 0x50534b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004f7c15
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5053a9
cmp byte [edi + 0x1c], 0
je 0x50534b
jmp 0x5053da
push ebx
call fcn.004ff2e1
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x50534b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x5053e2
cmp byte [edi + 0x1c], 0
je 0x5053df
mov ebx, dword [edi + 0x18]
jmp 0x5053e2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004f7c15
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x506950
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x50697d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x50697d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40e1fc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0040f1a0
mov eax, dword [0x43b2e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x400
push esi
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x40e26b
push str.DeploymentRuleSet.jar
lea eax, [ebp - 0x804]
push eax
push str._sSunJavaDeployment_s
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0040e555
add esp, 0x14
test eax, eax
jle 0x40e26b
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40e26b
test al, 0x10
jne 0x40e26b
xor eax, eax
inc eax
jmp 0x40e26d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040ee3b
leave
ret

Function at 0x40ee3b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43b2e4]
jne 0x40ee45
repz ret
jmp fcn.00415ed6
Function at 0x415954
Capabilities:
Encode data using xor

Disassembly:
cmpsb byte [esi], byte es:[edi]
in eax, 0x62
rcl dword [ecx - 0x2d14a2cc], cl
xchg ecx, eax
nop
push es
test ecx, esp
nop
cmpsb byte [esi], byte es:[edi]
mov eax, dword [0x1a91d361]
salc
xchg ecx, eax
sbb dl, dh
lea ebx, [esi]
lea ebx, [eax - 0x2a]
test ebp, edi
in eax, 0xd2
xchg ecx, eax
sbb ah, byte [esi - 0x6e2d1477]
sbb ch, dh
lea esi, [edx]
pop ebp
jmp 0x41583d
pop ebp
jmp 0x415850
lea ebx, [esi + ebx*8]
lea ebx, [esi]
int 0x8f
fimul word [ebp - 0x7032d9e2]
nop
nop
stc
mov ebp, 0xe3919192
sbb bl, byte [esi - 0x6e2d1473]
nop
cmpsb byte [esi], byte es:[edi]
mov ebx, ebp
rcl byte [ecx - 0x7546e9e2], cl
nop
nop
stc
jns 0x41587b
xchg edx, eax
xchg ecx, eax
xchg ecx, eax
jecxz 0x4158ed
sahf
invalid
xchg ecx, eax
xchg ecx, eax
loope 0x4158cf
nop
cmpsb byte [esi], byte es:[edi]
insd dword es:[edi], dx
jmp 0x4158c2
nop
cmp dword [edi], 0xffffff88
bound edi, qword [edx + ecx*4 - 0x77e3ade4]
sbb al, 0x8b
push ds
int 0x8f
nop
nop
push edx
jp 0x4158c4
test byte [esi], dh
sbb al, 0x59
sbb al, 0x59
les edx, [ecx + 0x14]
jb 0x4158ce
test byte [0xd2e5ed50], dh
xchg ecx, eax
adc al, 0x5a
nop
cmp dword [edi], 0xffffff88
bound edi, qword [edx + ecx*4 - 0x74e377e4]
sbb al, 0x62
adc al, 0x5a
nop
cmp dword [edi], 0x1c
aas
sbb al, 0x5b
aas
sbb al, 0x5b
loopne 0x4159ab
jp 0x4158ee
test byte [esi], dh
sbb al, 0x5b
push ds
int 0x8f
nop
nop
adc al, 0x72
xchg esp, eax
test byte [0xd2e5dd50], dh
xchg ecx, eax
adc al, 0x5a
nop
cmp dword [edi], 0xffffff88
bound edi, qword [edx + ecx*4 - 0x74e377e4]
sbb al, 0x88
sbb al, 0x8b
sbb al, 0x62
adc al, 0x5a
nop
cmp dword [edi], 0x1c
pop ebx
loopne 0x4159d9
jp 0x41591c
test byte [esi], dh
xor cl, cl
in eax, 0xd2
xchg ecx, eax
sbb al, 0x5b
adc al, 0x72
xchg esp, eax
loope 0x41591b
xor eax, 0xa69099fb
test ebx, ebp
rcl byte [ecx + 0x7da690e1], cl
jmp 0x415978
loope 0x415932
cmpsb byte [esi], byte es:[edi]
jge 0x415990
rcl byte [ecx - 0x6f06e1e2], cl
nop
nop
in al, 0x1e
mov ecx, 0xe290908a
jecxz 0x4159d3
mov dl, byte [eax + 0x1ce3e290]
adc dword [eax - 0x2d149e5a], 0x32891c91
vpsrld ymm2, ymm3, xmmword [ecx - 0x171e1b1c]
nop
cmpsb byte [esi], byte es:[edi]
popal
jmp 0x41598f
sbb al, 0x89
xor al, ch
in eax, 0xd2
xchg ecx, eax
in al, 0xe4
loope 0x4159b1
nop
cmpsb byte [esi], byte es:[edi]
jne 0x4159b8
jmp 0x4159a0
rcl byte [ecx - 0x1a3659e4], cl
rcl byte [ecx - 0x1b7621e2], cl
loop 0x4159be
out 0xe8, eax
nop
cmpsb byte [esi], byte es:[edi]
jns 0x4159cc
rcl byte [ecx + 0x69a690e8], cl
jmp 0x4159bb
Function at 0x41e7a3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x41e7ca
call fcn.00411457
mov dword [eax], esi
call fcn.00411444
push 0x16
pop esi
mov dword [eax], esi
call fcn.00415ec6
mov eax, esi
jmp 0x41e81f
test dword [ebp + 0xc], 0xfffffff9
jne 0x41e7b0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41e7f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041146a
pop ecx
call fcn.00411444
mov eax, dword [eax]
jmp 0x41e81f
test al, 0x10
jne 0x41e81d
test al, 1
je 0x41e81d
test byte [ebp + 0xc], 2
je 0x41e81d
call fcn.00411457
mov dword [eax], 5
call fcn.00411444
mov dword [eax], 0xd
jmp 0x41e7ee
xor eax, eax
pop esi
pop ebp
ret

Function at 0x426235
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43b2e4]
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.00418eb2
and dword [ebp - 0x14], 0
cmp dword [0x452444], 0
mov dword [ebp - 0x18], eax
jne 0x4262e8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x426390
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x431a34
push ebx
call edi
test eax, eax
je 0x426390
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x452444], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x452448], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45244c], eax
call edi
push eax
call esi
mov dword [0x452454], eax
test eax, eax
je 0x4262e8
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x452450], eax
mov eax, dword [0x452450]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x426341
cmp dword [0x452454], ecx
je 0x426341
push eax
call esi
push dword [0x452454]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x426341
test ebx, ebx
je 0x426341
call edi
test eax, eax
je 0x426338
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x426338
test byte [ebp - 8], 1
jne 0x426341
or dword [ebp + 0x10], 0x200000
jmp 0x426374
mov eax, dword [0x452448]
cmp eax, dword [ebp - 0x18]
je 0x426374
push eax
call esi
test eax, eax
je 0x426374
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x426374
mov eax, dword [0x45244c]
cmp eax, dword [ebp - 0x18]
je 0x426374
push eax
call esi
test eax, eax
je 0x426374
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x452444]
call esi
test eax, eax
je 0x426390
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x426392
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ee3b
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x569268d4
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x245b5e77
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x50ce50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.QNhjSkbP
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x50ce72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50ce79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50ce68
mov eax, 1
add ebx, ebx
jne 0x50ce8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50ce80
jne 0x50ce9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50ce80
xor ecx, ecx
sub eax, 3
jb 0x50ceb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50cf22
mov ebp, eax
add ebx, ebx
jne 0x50cebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50cec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50ceec
inc ecx
add ebx, ebx
jne 0x50ced8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50cecd
jne 0x50cee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50cecd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50cf0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50cefd
jmp 0x50ce6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50cf0c
add edi, ecx
jmp 0x50ce6e
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x50cf6b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50cf29
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeb2c]
or eax, eax
je 0x50cf65
mov dword [ebx], eax
add ebx, 4
jmp 0x50cf46
call dword [esi + 0xeb28]
mov ebp, dword [esi + 0xeb30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x50cf9f
sub esp, 0xffffff80
jmp section.bUItIFMf

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219