joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005b767
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1021b040]
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.10050457
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.10050457
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 0x1005b7de
cmp word [ecx], dx
je 0x1005b7de
mov eax, dword [0x10066adc]
push edi
dec eax
push eax
push 0x100669c8
call fcn.1005b706
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1005b851
cmp word [eax], dx
je 0x1005b851
mov eax, dword [edi]
test eax, eax
je 0x1005b802
cmp word [eax], dx
je 0x1005b802
lea eax, [ebp - 0x10]
push eax
call fcn.1005b0e9
jmp 0x1005b80b
lea eax, [ebp - 0x10]
push eax
call fcn.1005b184
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1005b87b
mov eax, dword [0x100669c4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100666b8
call fcn.1005b706
add esp, 0xc
test al, al
je 0x1005b87b
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1005b846
cmp word [eax], di
je 0x1005b846
lea eax, [ebp - 0x10]
push eax
call fcn.1005b0e9
pop ecx
jmp 0x1005b87d
lea eax, [ebp - 0x10]
push eax
call fcn.1005b184
jmp 0x1005b843
mov eax, dword [edi]
test eax, eax
je 0x1005b868
cmp word [eax], dx
je 0x1005b868
lea eax, [ebp - 0x10]
push eax
call fcn.1005b09e
pop ecx
jmp 0x1005b87b
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 0x1005b946
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1005b58b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1005b946
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1005b946
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1005b946
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1005b8d3
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10052adf
test ebx, ebx
je 0x1005b941
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10052adf
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1005b946
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 0x1005b946
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1005e7dc
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1005b948
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003f972
leave
ret
Function at 0x1005e511
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.1005e48d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1005e680
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1005e680
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1005e635
jg 0x1005e56d
test eax, eax
je 0x1005e62b
push 1
push 0x1000
call fcn.10051ff9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1005e590
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1005e622
push 0x8000
push ebx
call fcn.1005e3be
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1005e5b9
jg 0x1005e5b4
cmp ecx, 0x1000
jb 0x1005e5b9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10053795
add esp, 0x10
cmp eax, 0xffffffff
je 0x1005e5fe
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 0x1005e5b4
jl 0x1005e5e5
test ecx, ecx
jne 0x1005e5a6
push dword [ebp - 0xc]
push ebx
call fcn.1005e3be
push esi
call fcn.1005248b
add esp, 0xc
xor ebx, ebx
jmp 0x1005e68e
cmp byte [edi + 0x24], 0
je 0x1005e615
cmp dword [edi + 0x20], 5
jne 0x1005e615
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1005e620
mov ebx, dword [edi + 0x18]
jmp 0x1005e622
xor ebx, ebx
push esi
call fcn.1005248b
pop ecx
jmp 0x1005e68e
test ecx, ecx
jg 0x1005e5f7
jl 0x1005e635
test eax, eax
jae 0x1005e5f7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100560a1
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1005e655
cmp byte [edi + 0x1c], 0
je 0x1005e5f7
jmp 0x1005e686
push ebx
call fcn.10059530
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1005e5f7
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 0x1005e68e
cmp byte [edi + 0x1c], 0
je 0x1005e68b
mov ebx, dword [edi + 0x18]
jmp 0x1005e68e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100560a1
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10060430
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1006045d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1006045d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x45151c
Capabilities:
Delete file

Disassembly:
push 0x2e0
mov eax, 0x4a7b43
call fcn.0045a829
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
call fcn.004507e6
pop ecx
test al, 0x10
je 0x451692
push 0x4b4098
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x70]
xor ebx, ebx
push eax
inc ebx
call fcn.004504e9
add eax, 4
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x451564
mov eax, dword [eax]
lea ecx, [ebp - 0x2e0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2e8], esi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00401b80
cmp esi, 0xffffffff
je 0x45162c
test ebx, ebx
je 0x45162c
push 0x4acca0
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x451617
push 0x4b40a0
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x451617
push 0
lea eax, [ebp - 0x2e1]
push eax
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4adfa8
mov dword [ebp - 0x18], 0x4adfb0
call fcn.00408f6d
sub esp, 0x30
mov eax, esp
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.00450486
add esp, 0xc
call fcn.0045151c
add esp, 0x30
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401b80
lea eax, [ebp - 0x2e0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
jmp 0x45158f
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0
call fcn.00423188
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4516c9
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4ac964
mov dword [ebp - 0x18], 0x4ac96c
call fcn.00408e82
mov byte [ebp - 4], 3
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.0041665f
push 0x4c7f58
lea eax, [ebp - 0x90]
push eax
call fcn.004591e6
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4516c9
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4ac964
mov dword [ebp - 0x18], 0x4ac96c
call fcn.00408e82
mov byte [ebp - 4], 4
jmp 0x451670
lea ecx, [ebp + 8]
call fcn.00401b80
call fcn.0045a7d8
ret

Function at 0x4516f5
Capabilities:
Set file attributes

Disassembly:
push 0x84
mov eax, 0x4a7b73
call fcn.0045a829
mov esi, dword [ebp + 8]
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x451712
mov eax, dword [eax]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x45175e
push eax
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4ac964
mov dword [ebp - 0x18], 0x4ac96c
call fcn.00408e82
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.0041665f
push 0x4c7f58
lea eax, [ebp - 0x90]
push eax
call fcn.004591e6
call fcn.0045a7d8
ret
Function at 0x48a000
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x489f93
cmp dword [eax + 0xc], ebx
je 0x48a036
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
inc ebp
or al, 0xe8
inc edi
cli
invalid
push dword [ecx]
cwde
jb 0x489f6d
cmp dword [ebp + 0xc], ebx
jne 0x489fc2
push edi
invalid
xchg ebp, eax
dec eax
invalid
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x48a024
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x489fff
and eax, 0xffff
push eax
jmp 0x48a003
add ecx, 2
push ecx
rol dword [edx], 0x51
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004899b3
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x48a1dd
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x489fe4
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
mov esp, 0xffff4fe9
invalid
call fcn.004899ee
mov ah, 0x45
xor ah, bl
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x48a0a2
add eax, esi
push 0x8000

Function at 0x48a0a0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x48a0a2
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x48a09d
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x48a087
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x48a08f
cmp edx, ebx
jne 0x48a1dd
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x48a05e
add eax, dword [eax + 4]
jmp 0x48a04b
mov dword [ebp + 0xc], ebx
jmp 0x48a0ad

Function at 0x48a120
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x48a0c5
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x48a0e3
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x48a141
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x48a128
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x48a131
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x48a13b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x48a11d
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x48a0a7
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x48a520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x9dfffff9]
mov byte [ebp - 0x65e], 0x99
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.004899fe
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004899b3
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
invalid
invalid
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
nop
mov ecx, 0x7c826e7c
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x1bc0074e
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4563a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x47000]
push edi
jmp 0x4563ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4563c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4563b0
mov eax, 1
add ebx, ebx
jne 0x4563d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4563e4
jne 0x456403
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x456403
dec eax
add ebx, ebx
jne 0x4563f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4563c8
add ebx, ebx
jne 0x4563ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x456455
xor ecx, ecx
sub eax, 3
jb 0x45641b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45648a
sar eax, 1
mov ebp, eax
jmp 0x456426
add ebx, ebx
jne 0x456426
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4563f4
inc ecx
add ebx, ebx
jne 0x456434
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4563f4
add ebx, ebx
jne 0x456441
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x456436
jne 0x456452
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x456436
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x456474
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x456466
jmp 0x4563b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x456474
add edi, ecx
jmp 0x4563b6
pop esi
mov edi, esi
mov ecx, 0x1a05
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x456492
cmp byte [edi], 4
jne 0x456492
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 0x456497
lea edi, [esi + 0x53000]
mov eax, dword [edi]
or eax, eax
je 0x45650f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x56000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x56118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4564c4
mov ecx, edi
jns 0x4564f3
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 + 0x5611c]
or eax, eax
je 0x456509
mov dword [ebx], eax
add ebx, 4
jmp 0x4564e1
call dword [esi + 0x5612c]
mov ebp, dword [esi + 0x56120]
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 0x456543
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x593c1fb1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x593c1fc0
pop dword [ebp - 0x48]
mov eax, 0x593c1fc0
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xdb85a581
sub dword [ebp - 0x58], 0x8d336036
mov dword [ebp - 0x54], 0x92a33722
add dword [ebp - 0x54], 0x9f901523
mov dword [ebp - 0x50], 0x904bb8b
sub dword [ebp - 0x50], 0xbcb8775d
mov dword [ebp - 0x4c], 0x5089dda4
sub dword [ebp - 0x4c], 0x5089dda4
lea eax, [ebp - 0x58]
push eax
mov eax, 0x427557ef
add eax, 0x16c5b875
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x4e48d9c0
add dword [ebp - 0x58], 0x26298f96
mov dword [ebp - 0x54], 0x82c41a5a
add dword [ebp - 0x54], 0xbea8471b
mov dword [ebp - 0x50], 0x5ee2d82f
sub dword [ebp - 0x50], 0xfb736bc3
mov dword [ebp - 0x4c], 0x27ba800
add dword [ebp - 0x4c], 0xfd845800
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x31fc6070
sub eax, 0xd8c14ff4
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3dbb7
push 0
call eax
mov ecx, 0x9fdb7a18
sub ecx, 0x9fdb1e76
mov edi, eax
mov esi, 0xae0b7592
add esi, 0xab32aa6e
add esi, dword [ebp - 0x48]
mov ebx, 0x196ebd7f
add ebx, 0x6d2fe319
xor dword [ebp - 0x20], 0x15af2df1
mov edx, dword [esi]
sub dword [ebp - 0x24], eax
add edx, ebx
add dword [ebp - 0x1c], edx
mov dword [edi], edx
add dword [ebp - 0x44], 0x7fb18ef8
add edi, 0x6e5bc3b6
sub edi, 0x6e5bc3b2
add esi, 4
loop 0x593c20dd
add eax, 0x1615b
xor ebx, ebx
add ebx, eax
add eax, 0xac7ff81b
sub eax, 0xac7ff816
mov ecx, 0xeee6bf2d
sub ecx, 0x95abbf2d
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x593d249a
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov edi, ecx
call dword [sym.imp.vsansi.dll_GetWindowTextLengthW]
mov esi, eax
lea eax, [esi + 1]
push eax
push esi
mov ecx, edi
call fcn.593d1d54
push eax
push dword [esp + 0x14]
call dword [sym.imp.vsansi.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.593d1ef0
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x593d339b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
mov esi, ecx
call fcn.593d3384
and byte [esi + 0xc], 0
mov eax, 0x593b0000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x1c]
push 0
push eax
mov dword [esi], 0x3c
call sub.MSVCR70.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0xc], 2
jne 0x593d33f5
cmp dword [ebp - 0x18], 5
jb 0x593d340d
jmp 0x593d3409
cmp dword [ebp - 0xc], 1
jne 0x593d340d
cmp dword [ebp - 0x18], 4
ja 0x593d3409
jne 0x593d340d
cmp dword [ebp - 0x14], 0
jbe 0x593d340d
mov byte [esi + 0xc], 1
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x10], 0x700
mov dword [esi + 0x14], 0x593d5070
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
add ebp, 0x78
leave
ret

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x4067ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
jne 0x4067c8
xor esi, esi
jmp 0x4067f6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00409d00
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 4], edi
jne 0x406831
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x40682a
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x4068c6
xor esi, esi
jmp 0x4068c6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x406854
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x406867
xor esi, esi
jmp 0x4068bd
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 8], edi
jne 0x406879
jmp 0x406844
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x4068bd
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [esi + eax], bl
je 0x4068af
lea eax, [esi + 1]
add eax, 3
and al, 0xfc
call fcn.00409d00
lea eax, [esi + 1]
mov edi, esp
push eax
push dword [ebp + 8]
push edi
call fcn.00409430
add esp, 0xc
mov byte [edi + esi], bl
push dword [ebp + 0x14]
lea ecx, [ebp - 0xc]
push edi
call fcn.0040692d
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10