joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439fa0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x439fd3
push esi
call fcn.0043d090
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x439fcc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43a059
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43a042
mov eax, dword [esi + 8]
test eax, eax
je 0x439ff7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43a03e
cmp eax, 2
je 0x43a042
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x439fea
cmp eax, 3
je 0x43a01d
cmp eax, 1
jne 0x439fea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x439fea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x439fea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043a080
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43a068
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043a080
add esp, 4
pop esi
ret

Function at 0x4585ba
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4585f2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045666e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00456646
jmp 0x4585fe
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x459ca8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x459cea
call fcn.0045f761
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x459cea
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x459ce1
xor eax, eax
jmp 0x459cf2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00459cf8
pop edi
pop esi
pop ebx
ret 4

Function at 0x45fc91
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x45fcbf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45fcdd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045fbf7
jmp 0x45fcdd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45fcdd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0045fbf7
test edi, edi
mov eax, edi
jne 0x45fcc7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4bee80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7c000]
push edi
jmp 0x4bee9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4beea1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bee90
mov eax, 1
add ebx, ebx
jne 0x4beeb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4beec4
jne 0x4beee3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4beee3
dec eax
add ebx, ebx
jne 0x4beed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4beea8
add ebx, ebx
jne 0x4beedf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4bef35
xor ecx, ecx
sub eax, 3
jb 0x4beefb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4bef6a
sar eax, 1
mov ebp, eax
jmp 0x4bef06
add ebx, ebx
jne 0x4bef06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4beed4
inc ecx
add ebx, ebx
jne 0x4bef14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4beed4
add ebx, ebx
jne 0x4bef21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4bef16
jne 0x4bef32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4bef16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4bef54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4bef46
jmp 0x4bee96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4bef54
add edi, ecx
jmp 0x4bee96
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4bef72
cmp byte [edi], 0x13
jne 0x4bef72
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 0x4bef77
lea edi, [esi + 0xba000]
mov eax, dword [edi]
or eax, eax
je 0x4befef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcc594]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcc6e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4befa4
mov ecx, edi
jns 0x4befd3
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 + 0xcc6ec]
or eax, eax
je 0x4befe9
mov dword [ebx], eax
add ebx, 4
jmp 0x4befc1
call dword [esi + 0xcc6fc]
mov ebp, dword [esi + 0xcc6f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4bf023
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
lea eax, [ecx + 0x2ee]
push esi
mov esi, dword [esp + 0x28]
xor ebx, 0x2a6
push edi
mov dword [esp + 0x10], eax
mov edi, ecx
mov eax, dword [esp + 0x1c]
xor edi, 0xd4a
add eax, 0xfffff9d7
cmp edi, eax
jge 0x4011e2
lea eax, [ecx + 0x41e]
cmp edi, eax
jg 0x4011b5
mov eax, dword [0x584ab4]
mov eax, dword [eax + 0xe0]
sub eax, 0x4218d38a
mov dword [esi + 0x78], 0x40b378
mov dword [esi + 0x60], eax
xor ebp, ebp
mov eax, dword [esi + 0x48]
xor eax, dword [esi + 0x80]
add dword [esi + 0xac], eax
mov eax, dword [0x584ab4]
mov eax, dword [eax + 0x1c]
or dword [0x679c1c], eax
mov eax, dword [esi + 0x78]
mov ebx, dword [eax + ebp]
add ebp, 4
mov eax, dword [0x679b70]
imul ebx, dword [esi + 0x60]
add eax, 0xfffffff8
add eax, dword [esi + 0x12c]
imul eax, dword [esi + 0xec]
mov edx, ebx
shr edx, 8
mov dword [esi + 0xec], eax
mov eax, 0x8b833
sub eax, dword [0x679c18]
add dword [esi + 0x70], eax
mov eax, dword [esi + 0x74]
sub eax, 0x37fca6a
add dword [esi + 0x3c], eax
mov eax, dword [0x584ab4]
mov ecx, dword [eax + 0x88]
mov eax, dword [esi + 0x64]
mov byte [ecx + eax], dl
inc dword [esi + 0x64]
mov eax, dword [0x679bdc]
add eax, 0xffff4226
add eax, dword [esi + 0xc4]
xor dword [0x679c0c], eax
mov eax, dword [0x679b30]
sub dword [esi + 0x70], eax
mov eax, dword [esi + 0xb4]
imul eax, dword [esi + 0x128]
mov dword [esi + 0x128], eax
mov eax, dword [0x584ab4]
mov ecx, dword [eax + 0x64]
mov eax, dword [esi + 0x88]
mov byte [ecx + eax], bl
mov eax, dword [0x584ab4]
inc dword [eax + 0x64]
mov eax, dword [0x584ab4]
mov ecx, dword [esi + 0xd8]
sub ecx, dword [eax + 0xac]
mov eax, dword [esi + 0xe0]
xor ecx, 0xfffffff7
sub eax, dword [esi + 0x90]
add dword [esi + 0x118], ecx
add eax, 0x20626b
imul eax, dword [esi + 0x84]
mov dword [esi + 0x84], eax
mov eax, dword [0x679ba4]
dec eax
xor dword [esi + 0x14], eax
cmp ebp, 0x1d3e8
jl 0x401068
mov ecx, dword [0x584ab4]
mov ebp, dword [esp + 0x24]
xor ebp, 0x667
mov eax, dword [ecx + 0xec]
cmp eax, dword [ecx + 0xc8]
ja 0x4011a7
mov eax, 0x120c4
sub eax, dword [esi + 0xb4]
add dword [0x679c0c], eax
jmp 0x4011b5
mov eax, dword [esi + 0xec]
add eax, 0x74165
mov dword [esi + 0x60], eax
lea eax, [edi + 0xe54]
cmp dword [esp + 0x10], eax
jl 0x401248
mov eax, dword [esi + 0x104]
xor eax, dword [esi + 0x60]
xor eax, 0xc288a31d
mov dword [esi + 0x60], eax
mov dword [0x679b68], 0x4f3000
jmp 0x401248
mov eax, dword [esi + 0x40]
or eax, 0x12e0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentActCtx]
mov eax, dword [esi + 0x118]
or eax, edi
sub ebx, eax
mov eax, dword [esp + 0x10]
or eax, 0x15b1
xor dword [0x679bb0], eax
mov eax, dword [esi + 0x24]
xor eax, dword [esp + 0x18]
xor eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [esi + 0xac]
mov ecx, dword [0x584ab4]
sub eax, 0x12e0
imul eax, ebx
add dword [ecx + 0xcc], eax
lea eax, [ebp - 0x21f7]
and eax, edi
imul eax, dword [0x679b64]
mov dword [0x679b64], eax
pop edi
pop esi
lea eax, [ebp - 0x1c]
pop ebp
pop ebx
pop ecx
ret
Function at 0x401525
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
xor ecx, 0x1fbd
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
add ecx, 0x1a0
push edi
mov edi, dword [esp + 0x14]
mov ebx, esi
xor edi, 0xf4
xor ebx, 0x5ad
lea eax, [esi - 0x520]
xor edx, 0x4d9
mov dword [esp + 0x14], eax
xor esi, 0x4fd
mov eax, dword [esp + 0x20]
lea ebp, [eax + 0x84b]
xor eax, 0x1f9c
cmp eax, ecx
je 0x4015f9
mov eax, edx
xor eax, 0x589
cmp esi, eax
je 0x401599
sub esi, 0x314
xor edx, 0x1943
xor edi, 0x1f49
xor esi, 0x1bc1
lea eax, [edx + 0x78b]
push esi
push dword [0x584ab4]
push eax
push ecx
lea eax, [edx + 0x8a3]
push eax
lea eax, [ebx + 0x138]
push eax
lea eax, [edx + 0x383]
push eax
call fcn.00409b43
mov ecx, dword [esp + 0x30]
add esp, 0x18
xor eax, 0x515
xor ebx, 0x150
push eax
mov eax, ecx
push ebx
xor eax, 0x5c4
push eax
push dword [esp + 0x34]
lea eax, [ecx - 0x254]
push eax
call fcn.004018ac
add esp, 0x18
jmp 0x401644
mov ecx, dword [0x679c0c]
lea eax, [esi - 0x12d6]
cmp ecx, eax
jg 0x401644
sub eax, ecx
xor edx, edx
push 3
pop ecx
div ecx
and ebp, ebx
mov dword [esp + 0x18], ebp
inc eax
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ebx, dword [ebp + 0xc4]
mov ecx, edx
sub ecx, esi
add ebx, ecx
lea ecx, [edi + 0x1038]
xor ecx, dword [esp + 0x14]
sub edi, ecx
sub eax, 1
jne 0x401627
mov dword [ebp + 0xc4], ebx
lea eax, [edi + 0x42d]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40997e
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
xor dword [esp + 0x24], 0x1bb4
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x2c]
lea edx, [eax - 0xf3]
add eax, 8
xor ebx, 0x1c22
push edi
mov edi, dword [esp + 0x28]
mov ebp, edi
mov dword [esp + 0x10], eax
xor ebp, 0x515
mov eax, ebx
xor eax, 0x150
lea ecx, [edi - 0x315]
xor edi, 0x69d
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edi
cmp edx, eax
je 0x4099f8
mov ecx, dword [esi + 0x1c]
add edx, 0x26b
mov eax, dword [0x584ab4]
add ecx, 0x2b62851d
sub edi, 0xa
mov dword [esp + 0x28], edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
lea eax, [ebx + 8]
cmp ebp, eax
jg 0x409a58
mov eax, dword [esi + 0xe0]
cmp eax, dword [0x679c08]
jae 0x409a19
add dword [0x679b30], 0x14ddd
jmp 0x409a32
mov eax, dword [0x584ab4]
mov eax, dword [eax + 0xac]
add eax, dword [0x679afc]
xor eax, 0x31b5034a
mov dword [esi + 0x28], eax
cmp dword [esi + 0xc], 0x22b3
ja 0x409b33
mov ecx, dword [esi + 0x134]
mov eax, dword [0x584ab4]
add ecx, 0x16415
mov dword [eax + 0x58], ecx
jmp 0x409b33
mov eax, ebx
xor eax, ecx
cmp edx, eax
jne 0x409b21
mov eax, dword [esi + 0xa4]
or eax, dword [0x679be0]
mov ebp, dword [esi + 0x128]
add eax, 0x147d
cmp ebp, eax
je 0x409b33
mov eax, edi
and edx, 0x1075
or eax, 0x12fe
imul edx, edi
mov dword [esp + 0x2c], eax
imul eax, edi, 0xed5
mov dword [esp + 0x14], eax
mov eax, edi
mov edi, dword [esp + 0x34]
imul eax, ecx
imul ecx, eax, 0x1038
imul eax, edx, 0x1038
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentActCtx]
mov eax, dword [0x584ab4]
mov eax, dword [eax + 0x74]
sub eax, ebx
push eax
mov eax, dword [esi + 0x48]
push dword [esp + 0x30]
or eax, edi
sub eax, dword [esp + 0x18]
push eax
mov eax, dword [esi + 0xd8]
or eax, edi
add eax, dword [esi + 0xd4]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0xa4]
add ebp, 3
or eax, dword [0x679be0]
mov ecx, dword [esp + 0x24]
add eax, 0x147d
sub ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
cmp ebp, eax
jne 0x409abe
mov edi, dword [esp + 0x28]
jmp 0x409b33
mov ecx, dword [esi + 0xec]
and ecx, 0xe1d
add dword [0x679c04], ecx
xor edi, 0x1c82
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x41c0c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x41c0f2
jl 0x41c0e5
test ecx, ecx
jne 0x41c0f2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x41c1bc
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00421a40
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x41c15e
jg 0x41c11d
test esi, esi
je 0x41c15e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x41c135
mov eax, dword [esp + 0x10]
jl 0x41c12f
cmp eax, esi
jae 0x41c135
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.00483190
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x41c189
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x4b3390]
mov ecx, ebx
call esi
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x41c1a5
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x41c104
jl 0x41c1a5
test ecx, ecx
jne 0x41c104
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x41c1fb
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x41c1fb
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.00483190
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x41c26b
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x41c221
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x41c254
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.00490047
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x41c27f
cmp edi, eax
ja 0x41c230
test ecx, ecx
je 0x41c26b
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.00490047
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x499686
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004994fc

Function at 0x4a0b33
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a07b0
Function at 0x53aec0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd9000]
push edi
jmp 0x53aeda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x53aee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53aed0
mov eax, 1
add ebx, ebx
jne 0x53aef3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x53af04
jne 0x53af23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53af23
dec eax
add ebx, ebx
jne 0x53af10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x53aee8
add ebx, ebx
jne 0x53af1f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x53af75
xor ecx, ecx
sub eax, 3
jb 0x53af3b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53afaa
sar eax, 1
mov ebp, eax
jmp 0x53af46
add ebx, ebx
jne 0x53af46
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53af14
inc ecx
add ebx, ebx
jne 0x53af54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53af14
add ebx, ebx
jne 0x53af61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x53af56
jne 0x53af72
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x53af56
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x53af94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x53af86
jmp 0x53aed6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x53af94
add edi, ecx
jmp 0x53aed6
pop esi
mov edi, esi
mov ecx, 0x4e15
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x53afb2
cmp byte [edi], 0x12
jne 0x53afb2
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 0x53afb7
lea edi, [esi + 0x132000]
mov eax, dword [edi]
or eax, eax
je 0x53b02f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x141d98]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x141ed8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x53afe4
mov ecx, edi
jns 0x53b013
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 + 0x141edc]
or eax, eax
je 0x53b029
mov dword [ebx], eax
add ebx, 4
jmp 0x53b001
call dword [esi + 0x141eec]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x53b060
cmp al, 0xef
ja 0x53b053
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x53b035
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x53b042
mov ebp, dword [esi + 0x141ee0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x53b094
sub esp, 0xffffff80
jmp 0x46dffc
Function at 0x6d5c2e7e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x6d5c2e8d
pop dword [ebp - 0x38]
mov eax, 0x58b21d3c
sub eax, 0xeb55eeaf
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x33ca15cd
add dword [ebp - 0x48], 0x1a882f7e
mov dword [ebp - 0x44], 0xee4291d9
add dword [ebp - 0x44], 0x43f0ba6c
mov dword [ebp - 0x40], 0xefd95df3
sub dword [ebp - 0x40], 0xa38d19c5
mov dword [ebp - 0x3c], 0xcffe02fd
sub dword [ebp - 0x3c], 0xcffe02fd
lea eax, [ebp - 0x48]
push eax
mov eax, 0xee52f2b0
sub eax, 0x80f6b238
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xe84a0a08
add dword [ebp - 0x48], 0x8c285f4e
mov dword [ebp - 0x44], 0x591483d0
add dword [ebp - 0x44], 0xe857dda5
mov dword [ebp - 0x40], 0x50e9d9a2
add dword [ebp - 0x40], 0x128592ca
mov dword [ebp - 0x3c], 0x2bdc166a
add dword [ebp - 0x3c], 0xd423e996
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x36ad7
push 0
call eax
mov ecx, 0xc472a068
add ecx, 0x3b8da809
mov ebx, eax
mov esi, 0x4c4d9029
add esi, 0x210f05d7
add esi, dword [ebp - 0x38]
mov edx, 0x914649eb
xor dword [ebp - 0x20], 0xadd229e3
mov edi, dword [esi]
add edi, edx
add dword [ebp - 0x28], 0x66a9f85b
mov dword [ebx], edi
mov dword [ebp - 8], 0x2b45225d
add ebx, 0xbeed6201
add ebx, 0x41129e03
add esi, 0xcb98ec8
sub esi, 0xcb98ec4
loop 0x6d5c2fa4
add eax, 0xf9f1e9ad
sub eax, 0xf9f0d516
xor ebx, ebx
add ebx, eax
add eax, 0xa4aa0de4
sub eax, 0xa4aa0ddf
mov ecx, 0x28f85fe9
add ecx, 0x4463a017
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x401c80
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
push ebx
push esi
push edi
push 0x104
lea eax, [esp + 0x44]
mov edi, ecx
push 0
push eax
mov dword [esp + 0x1c], edi
lea ebx, [esp + 0x24]
lea esi, [esp + 0x4c]
call fcn.00408b30
add esp, 0xc
sub esi, ebx
mov eax, 7
sar esi, 2
cmp eax, esi
sbb eax, eax
push 0
and eax, 0x1a
push eax
lea eax, [esp + 0x48]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp eax, 1
jne 0x401d11
lea ecx, [esp + 0x40]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401cf2
sub ecx, edx
lea eax, [esp + 0x40]
push ecx
push eax
mov ecx, edi
call fcn.004052b0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x10], 0
mov eax, edi
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret