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

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x665ebc]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0x98]
push ebx
push esi
push edi
xor esi, esi
push esi
push dword [ebp + 0x9c]
mov dword [ebp - 0x7c], eax
push eax
xor edi, edi
call fcn.005a4c1b
add esp, 0xc
mov byte [ebp + 0x8b], 0
mov ebx, 0xff
push dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push ebx
push 1
push eax
call fcn.005a54a5
lea eax, [ebp - 0x74]
push eax
call fcn.0059bf90
mov dword [ebp - 0x78], eax
add eax, esi
mov dword [ebp - 0x80], eax
inc eax
push eax
push edi
call fcn.005a8d26
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x5071c3
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push eax
add esi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov esi, dword [ebp - 0x80]
mov byte [esi + edi], 0
cmp dword [ebp - 0x78], ebx
je 0x507176
mov ecx, dword [ebp + 0x8c]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059ca15
add ebp, 0x90
leave
ret 8

Function at 0x5071df
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
push eax
push dword [esp + 0x14]
mov dword [esi + 4], eax
push dword [esp + 0x14]
mov dword [esi], eax
call fcn.005a4c1b
push dword [esp + 0x18]
push 1
push 8
push esi
call fcn.005a54a5
add esp, 0x1c
mov eax, esi
pop esi
ret 0xc

Function at 0x507210
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
je 0x50723f
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005a4c1b
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push 1
push 4
push eax
call fcn.005a54a5
add esp, 0x1c
mov eax, dword [ebp + 0x10]
pop ebp
ret 0xc
Function at 0x507d19
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push 2
push edi
push dword [esi]
mov dword [ebp - 4], ecx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.005a4c1b
push dword [esi]
call fcn.005a565f
push edi
push edi
push dword [esi]
mov dword [esi + 4], eax
call fcn.005a4c1b
push dword [esi]
lea eax, [ebp - 0x14]
push 4
push 4
push eax
call fcn.005a54a5
xor eax, eax
add esp, 0x2c
inc eax
cmp dword [ebp - 0x14], 0xfe12adcf
jne 0x507d8d
cmp dword [ebp - 0x10], 0x6f74fdc5
jne 0x507da8
cmp dword [ebp - 0xc], 0x11d1e366
jne 0x507dcc
cmp dword [ebp - 8], 0xc0004e9a
jne 0x507dcc
mov dword [esi + 8], eax
jmp 0x507dcf
cmp dword [ebp - 0x14], 0x36464d4a
jne 0x507dcc
cmp dword [ebp - 0x10], 0x10003
jne 0x507dcc
mov dword [esi + 8], 2
jmp 0x507dcf
cmp dword [ebp - 0x10], 0x6f74fdc6
jne 0x507dcc
cmp dword [ebp - 0xc], 0x11d1e366
jne 0x507dcc
cmp dword [ebp - 8], 0xc0004e9a
jne 0x507dcc
mov dword [esi + 8], 3
jmp 0x507dcf
mov dword [esi + 8], edi
cmp dword [esi + 8], eax
jne 0x507de6
mov ecx, dword [ebp - 4]
push esi
call fcn.005070cc
mov ecx, dword [ebp - 4]
push esi
call fcn.00507945
pop edi
pop esi
leave
ret 4
Function at 0x509980
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
cmp edi, esi
je 0x509a3f
cmp byte [ebp + 0x1c], 1
jne 0x5099d0
xor eax, eax
xor ecx, ecx
cmp dword [ebp + 0x18], esi
jl 0x509a3b
jg 0x5099b0
cmp dword [ebp + 0x14], esi
jbe 0x509a3b
movzx edx, byte [eax + edi]
mov dl, byte [edx + 0x6636e0]
mov byte [eax + edi], dl
add eax, 1
adc ecx, esi
cmp ecx, dword [ebp + 0x18]
jl 0x5099b0
jg 0x509a3b
cmp eax, dword [ebp + 0x14]
jb 0x5099b0
jmp 0x509a3b
cmp byte [ebp + 0x1c], 2
jne 0x509a3f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
shrd eax, ecx, 0x10
xor ax, word [ebp + 8]
shr ecx, 0x10
xor edx, edx
cmp dword [ebp + 0x18], esi
movzx ecx, ax
jl 0x509a3b
jg 0x5099f8
cmp dword [ebp + 0x14], esi
jbe 0x509a3b
push ebx
mov bl, byte [esi + edi]
add bl, cl
movzx ebx, bl
mov bl, byte [ebx + 0x6637e0]
mov eax, ecx
shr eax, 8
add bl, al
movzx ebx, bl
mov bl, byte [ebx + 0x6638e0]
sub bl, al
movzx eax, bl
mov al, byte [eax + 0x6636e0]
sub al, cl
mov byte [esi + edi], al
add esi, 1
adc edx, 0
inc ecx
cmp edx, dword [ebp + 0x18]
jl 0x5099f9
jg 0x509a3a
cmp esi, dword [ebp + 0x14]
jb 0x5099f9
pop ebx
xor eax, eax
jmp 0x509a42
or eax, 0xffffffff
pop edi
pop esi
pop ebp
ret 0x18

Function at 0x509c78
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x509c97
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005a3f38
add esp, 0x10
jmp 0x509c99
xor eax, eax
xor edx, edx
pop ebp
ret 0x18
Function at 0x5188d7
Capabilities:
Read .ini file

Disassembly:
push 0xc78
mov eax, 0x5ec5f0
call fcn.0059ca8d
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc84], ecx
lea ecx, [ebp - 0xc80]
call fcn.00427139
xor ebx, ebx
push esi
lea ecx, [ebp - 0x848]
mov dword [ebp - 4], ebx
call fcn.00428bc1
push 0x3ff
lea eax, [ebp - 0x40f]
push ebx
push eax
mov byte [ebp - 4], 1
mov byte [ebp - 0x410], bl
call fcn.0059cb30
add esp, 0xc
push ebx
push str..url
lea ecx, [ebp - 0x848]
call fcn.0049a36d
jmp 0x5189b6
push eax
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0xc80]
call fcn.00499340
lea eax, [ebp - 0xc80]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0x631718
push 0x60ad84
push str.InternetShortcut
mov byte [ebp - 0x410], bl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x410], bl
je 0x5189ab
lea eax, [ebp - 0x410]
push 0x20
push eax
call fcn.00428153
mov eax, dword [edi + 8]
pop ecx
pop ecx
lea ecx, [ebp - 0x410]
push ecx
push eax
mov ecx, edi
call fcn.00575c79
lea ecx, [ebp - 0x848]
call fcn.0049984c
cmp eax, ebx
jne 0x518940
push ebx
push 0x5f7710
lea ecx, [ebp - 0x848]
call fcn.0049a237
jmp 0x5189fe
push eax
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0xc80]
call fcn.00499340
mov ecx, dword [ebp - 0xc84]
push edi
lea eax, [ebp - 0xc80]
push eax
call fcn.005188d7
lea ecx, [ebp - 0x848]
call fcn.0049980d
cmp eax, ebx
jne 0x5189cd
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], bl
call fcn.0042719c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc80]
call fcn.0042719c
call fcn.0059cb10
ret 8
Function at 0x51deb8
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
jle 0x51dee1
push esi
movzx edx, byte [ecx]
movzx edx, byte [edx + 0x613fb8]
mov esi, eax
shl esi, 3
xor edx, esi
xor eax, edx
inc ecx
dec dword [esp + 8]
cmp dword [esp + 8], 0
jg 0x51dec1
pop esi
ret
Function at 0x53dbc1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, eax
mov eax, dword [edi + 0x3c]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax], ebx
jne 0x53dbee
push eax
mov eax, dword [edi + 0x78]
mov ecx, edi
call fcn.0051fb33
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x53dcbe
mov ecx, dword [edi + 0x18]
cmp ecx, dword [edi + 0x24]
jbe 0x53dc22
mov eax, dword [edi + 0x80]
push ebx
cdq
push ecx
push edx
push eax
call fcn.0059efc0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [edi + 0x3c]
push 5
mov dword [ebp - 0xc], edx
call fcn.0051cbb0
mov eax, dword [edi + 0x18]
pop ecx
pop ecx
mov dword [edi + 0x24], eax
test esi, esi
je 0x53dcbe
mov ebx, dword [esi + 0x14]
cmp ebx, dword [edi + 0x18]
ja 0x53dcb1
test byte [esi + 0x18], 0x20
jne 0x53dcb1
mov eax, dword [edi + 0x80]
cdq
push edx
push eax
lea ecx, [ebx - 1]
push 0
push ecx
call fcn.0059efc0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp ebx, 1
jne 0x53dc5c
call fcn.0051fa80
push dword [ebp - 0xc]
mov eax, dword [esi + 4]
push dword [ebp - 0x10]
mov dword [ebp - 8], eax
push dword [edi + 0x80]
push eax
mov eax, dword [edi + 0x3c]
call fcn.0051cb31
add esp, 0x10
mov dword [ebp - 4], eax
cmp ebx, 1
jne 0x53dc97
mov eax, dword [ebp - 8]
add eax, 0x18
push 0x10
push eax
lea eax, [edi + 0x64]
push eax
call fcn.0059d730
add esp, 0xc
cmp ebx, dword [edi + 0x20]
jbe 0x53dc9f
mov dword [edi + 0x20], ebx
inc dword [edi + 0xa8]
push dword [esi + 4]
mov eax, dword [edi + 0x58]
call fcn.0053750b
pop ecx
cmp dword [ebp - 4], 0
mov esi, dword [esi + 0xc]
je 0x53dc22
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
Function at 0x56d675
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x56d699
cmp dword [edi + 0x54], 0
jne 0x56d699
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00567bd7
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0056d636
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x573f5c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x573fa3
call fcn.00567bd7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x573fa3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x573fbf
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00573ad6
mov esi, eax
test edi, edi
je 0x573fbd
test ebx, ebx
je 0x573fbd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x57524d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5ee7d8
call fcn.0059ca24
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x575272
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x5752b8
lea ecx, [ebp - 0x10]
call fcn.004024d0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005654de
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402490
mov eax, esi
call fcn.0059cafc
ret 8
Function at 0x57c86d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x665ebc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x57c90b
push 0x61f0ec
push 4
push eax
call fcn.005aa666
push eax
call fcn.00402560
add esp, 0x10
push ebx
push edi
call fcn.005a5c04
mov edi, dword [eax]
call fcn.005a5c04
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.005a612b
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.005a5c04
cmp dword [eax], ebx
je 0x57c922
call fcn.005a5c04
push dword [eax]
call fcn.00565a98
pop ecx
jmp 0x57c929
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x57c8b3
jmp 0x57c9b0
call fcn.005a5c04
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x57c9ac
cmp dword [ebp - 0x11c], esi
jae 0x57c9ac
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.0059cb30
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x57c99b
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x57c99b
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x57c99b
push ebx
push ebx
push esi
jmp 0x57c9a4
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x57c9ae
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0059ca15
leave
ret

Function at 0x581a1c
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x581a47
call fcn.00567bd7
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x581a6a
push eax
push dword [esi + 4]
call fcn.005819a2
push esi
push eax
mov ecx, 0x67eb80
call fcn.005813ff
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x587246
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x5eff1d
call fcn.0059ca24
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00401de0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x5872a8
call fcn.00566fd6
cmp eax, 1
jne 0x5872a8
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0047d1d8
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402340
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402490
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402490
mov eax, esi
call fcn.0059cafc
ret 0x10

Function at 0x5872d1
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x5eff48
call fcn.0059ca24
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00401de0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x587333
call fcn.00566fd6
cmp eax, 1
jne 0x587333
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0047d1d8
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402340
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402490
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402490
mov eax, esi
call fcn.0059cafc
ret 0x14

Function at 0x58735f
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x5eff73
call fcn.0059ca24
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00401de0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x5873c1
call fcn.00566fd6
cmp eax, 1
jne 0x5873c1
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0047d1d8
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402340
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402490
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402490
mov eax, esi
call fcn.0059cafc
ret 8
Function at 0x599f72
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x665ebc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x599fa7
xor eax, eax
jmp 0x599ffa
lea eax, [ebp - 0x210]
push eax
call fcn.005a8096
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x599fd8
push 0x621c20
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005ad780
add esp, 0xc
test eax, eax
jne 0x599fa3
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005ad780
add esp, 0xc
test eax, eax
jne 0x599fa3
lea eax, [ebp - 0x210]
push eax
call fcn.00599ee4
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0059ca15
leave
ret

Function at 0x59ca15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x665ebc]
jne 0x59ca1f
repz ret
jmp fcn.005b416c

Function at 0x5c245b
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 0x5c248c
call fcn.005a5c17
mov dword [eax], esi
call fcn.005a5c04
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.005a4130
add esp, 0x14
push 0x16
pop eax
jmp 0x5c24e1
test dword [ebp + 0xc], 0xfffffff9
jne 0x5c2468
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x5c24b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005a5c2a
pop ecx
call fcn.005a5c04
mov eax, dword [eax]
jmp 0x5c24e1
test al, 0x10
jne 0x5c24df
test al, 1
je 0x5c24df
test byte [ebp + 0xc], 2
je 0x5c24df
call fcn.005a5c17
mov dword [eax], 5
call fcn.005a5c04
mov dword [eax], 0xd
jmp 0x5c24b0
xor eax, eax
pop esi
pop ebp
ret
Function at 0x5c9adb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005af253
and dword [ebp - 4], 0
cmp dword [0x67f9a8], 0
mov ebx, eax
jne 0x5c9b8c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5c9c3d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x62a9e8
push edi
call esi
test eax, eax
je 0x5c9c3d
push eax
call fcn.005af1e1
mov dword [esp], 0x62a9d8
push edi
mov dword [0x67f9a8], eax
call esi
push eax
call fcn.005af1e1
mov dword [esp], 0x62a9c4
push edi
mov dword [0x67f9ac], eax
call esi
push eax
call fcn.005af1e1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x67f9b0], eax
call esi
push eax
call fcn.005af1e1
pop ecx
mov dword [0x67f9b8], eax
test eax, eax
je 0x5c9b8c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005af1e1
pop ecx
mov dword [0x67f9b4], eax
mov eax, dword [0x67f9b4]
cmp eax, ebx
je 0x5c9be4
cmp dword [0x67f9b8], ebx
je 0x5c9be4
push eax
call fcn.005af25c
push dword [0x67f9b8]
mov esi, eax
call fcn.005af25c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5c9be4
test edi, edi
je 0x5c9be4
call esi
test eax, eax
je 0x5c9bdb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5c9bdb
test byte [ebp - 0xc], 1
jne 0x5c9be4
or dword [ebp + 0x10], 0x200000
jmp 0x5c9c1d
mov eax, dword [0x67f9ac]
cmp eax, ebx
je 0x5c9c1d
push eax
call fcn.005af25c
pop ecx
test eax, eax
je 0x5c9c1d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5c9c1d
mov eax, dword [0x67f9b0]
cmp eax, ebx
je 0x5c9c1d
push eax
call fcn.005af25c
pop ecx
test eax, eax
je 0x5c9c1d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x67f9a8]
call fcn.005af25c
pop ecx
test eax, eax
je 0x5c9c3d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5c9c3f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x5d6862
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 2
test eax, eax
jle 0x5d68a1
push esi
movzx esi, byte [ecx]
xor ebx, ebx
dec eax
inc ecx
mov bh, byte [ecx]
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or esi, ebx
inc ecx
xor edx, esi
test eax, eax
jg 0x5d687c
pop esi
and edi, 3
xor eax, eax
dec edi
je 0x5d68bd
dec edi
je 0x5d68b6
dec edi
jne 0x5d68c2
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
xor eax, edx
pop ebx
pop ebp
ret 0xc
Function at 0x435310
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x30000]
push edi
or ebp, 0xffffffff
jmp 0x435332
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x435339
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x435328
mov eax, 1
add ebx, ebx
jne 0x43534b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x435340
jne 0x43535c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x435340
xor ecx, ecx
sub eax, 3
jb 0x435370
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4353e2
mov ebp, eax
add ebx, ebx
jne 0x43537b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x435388
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4353ac
inc ecx
add ebx, ebx
jne 0x435398
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43538d
jne 0x4353a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43538d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4353cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4353bd
jmp 0x43532e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4353cc
add edi, ecx
jmp 0x43532e
pop esi
mov edi, esi
mov ecx, 0x241
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4353ea
cmp byte [edi], 1
jne 0x4353ea
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 0x4353ef
lea edi, [esi + 0x33000]
mov eax, dword [edi]
or eax, eax
je 0x435467
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3b55c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3b610]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43541c
mov ecx, edi
jns 0x43544b
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 + 0x3b614]
or eax, eax
je 0x435461
mov dword [ebx], eax
add ebx, 4
jmp 0x435439
call dword [esi + 0x3b61c]
mov ebp, dword [esi + 0x3b618]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x43549b
sub esp, 0xffffff80
jmp 0x4032d9