joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422d8f
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00420fb7
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x422dcc
call fcn.004229d8
mov dword [esi + 0xc], 1
jmp 0x422dd1
call fcn.004229d8
cmp dword [esi], 0
je 0x422e1a
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x422df2
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00414ef8
jmp 0x422e04
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004013c3
push pe_nt_image_headers32
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040241a
jmp 0x422e3e
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x422e3e
push dword [esi]
push dword [ebp + 8]
call fcn.0042bc74
pop esi
pop ebp
ret 0xc

Function at 0x425cf3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x657de0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x425d38
push 0x5e2240
push 4
push eax
call fcn.0051eaaf
push eax
call fcn.00401d3d
add esp, 0x10
jmp 0x425d4e
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x425dce
push edi
call fcn.00521644
mov edi, dword [eax]
call fcn.00521644
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0051f3aa
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00521644
cmp dword [eax], 0
je 0x425da2
call fcn.00521644
push dword [eax]
call fcn.00416f24
pop ecx
jmp 0x425da9
call fcn.00521644
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x425dce
cmp dword [ebp - 0x234], esi
jae 0x425dce
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x425dd0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052149d
leave
ret
Function at 0x426275
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x657de0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.0041ba11
pop ecx
cmp eax, esi
je 0x42635f
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x42635f
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.005216d0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x42635f
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x42635f
cmp esi, 0x14
jge 0x42635f
push 0x10
push 0
push edi
call fcn.005234b3
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x42634e
call fcn.00521644
cmp dword [eax], 0x22
je 0x42634e
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00521003
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x426324
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x65b0fc], 0
jne 0x4263ea
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x426413
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.00425cf3
pop ecx
pop ecx
test eax, eax
jne 0x426415
inc edi
cmp edi, esi
jl 0x4263f0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052149d
leave
ret 8
Function at 0x427163
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4271ab
call fcn.00422955
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4271ab
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4271ee
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4271d7
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4271d7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x4271eb
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42e563
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x657de0]
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 0x42e598
xor eax, eax
jmp 0x42e5eb
lea eax, [ebp - 0x210]
push eax
call fcn.00521003
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x42e5c9
push 0x609c58
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00520c88
add esp, 0xc
test eax, eax
jne 0x42e594
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00520c88
add esp, 0xc
test eax, eax
jne 0x42e594
lea eax, [ebp - 0x210]
push eax
call fcn.0041ba11
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0052149d
leave
ret
Function at 0x43e318
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00479b38
call fcn.004222f2
cmp dword [eax + 0x14], 0
jne 0x43e335
mov ecx, esi
pop esi
jmp fcn.0043de1d
pop esi
ret

Function at 0x442360
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0041a434
call fcn.004222f2
cmp dword [eax + 0x14], 0
jne 0x44237d
mov ecx, esi
pop esi
jmp fcn.00441d33
pop esi
ret

Function at 0x47d719
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x47d733
call fcn.00422955
mov esi, dword [eax + 0xc]
push dword [0x65cda8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x47d751
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x47d749
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x47d77e
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x47d74b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0047d647
mov esi, eax
jmp 0x47d770

Function at 0x502dba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x502dd2
mov edi, dword [esi + 0xc]
jmp 0x502e12
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x502deb
call fcn.004185ad
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x502e00
call fcn.004185ad
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x502e12
call fcn.004185ad
call fcn.00422955
cmp dword [eax + 0x3c], 0
je 0x502e27
push edi
mov ecx, ebx
call fcn.00501bd2
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00502cd4
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x502e45
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x502e51
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x52149d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x657de0]
jne 0x5214a7
repz ret
jmp fcn.0052a96c
Function at 0x5306c8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x657de0]
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.0052581b
and dword [ebp - 0x14], 0
cmp dword [0x65f91c], 0
mov dword [ebp - 0x18], eax
jne 0x53077b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x530823
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x607378
push ebx
call edi
test eax, eax
je 0x530823
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x607368
push ebx
mov dword [0x65f91c], eax
call edi
push eax
call esi
push 0x607354
push ebx
mov dword [0x65f920], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x65f924], eax
call edi
push eax
call esi
mov dword [0x65f92c], eax
test eax, eax
je 0x53077b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x65f928], eax
mov eax, dword [0x65f928]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5307d4
cmp dword [0x65f92c], ecx
je 0x5307d4
push eax
call esi
push dword [0x65f92c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5307d4
test ebx, ebx
je 0x5307d4
call edi
test eax, eax
je 0x5307cb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5307cb
test byte [ebp - 8], 1
jne 0x5307d4
or dword [ebp + 0x10], 0x200000
jmp 0x530807
mov eax, dword [0x65f920]
cmp eax, dword [ebp - 0x18]
je 0x530807
push eax
call esi
test eax, eax
je 0x530807
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x530807
mov eax, dword [0x65f924]
cmp eax, dword [ebp - 0x18]
je 0x530807
push eax
call esi
test eax, eax
je 0x530807
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x65f91c]
call esi
test eax, eax
je 0x530823
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x530825
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052149d
leave
ret
Function at 0x53be4f
Capabilities:
Check http status code

Disassembly:
mov eax, 0x5d2127
call fcn.005bbdec
sub esp, 0x38
push esi
push edi
xor edi, edi
inc edi
push edi
mov eax, edi
mov byte [ebp - 0xd], 0
call fcn.0053b517
push eax
lea eax, [ebp - 0x1c]
push 0x61f0b4
push eax
call fcn.00404eed
pop ecx
pop ecx
and dword [ebp - 4], 0
mov ecx, eax
call fcn.004014f9
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov eax, ecx
call fcn.00401c52
mov esi, ebx
call fcn.0053bdb2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004014f4
cmp byte [ebx], 0
je 0x53bf80
lea eax, [ebp - 0x20]
push 0x61f014
push eax
call fcn.00404eed
mov dword [ebp - 0x1c], eax
push 0
lea esi, [ebp - 0x44]
mov dword [ebp - 4], edi
call fcn.0053b88f
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
push 0x4883000
call fcn.004014f9
push eax
push 0x6156c4
mov eax, esi
call fcn.00402998
push eax
push dword [ebx + 8]
call fcn.005b7af2
add esp, 0x14
lea edi, [ebp - 0x44]
mov esi, eax
call fcn.004017d6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004014f4
test esi, esi
je 0x53bf79
push 4
pop edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0x24], edi
call fcn.005b7a96
or dword [ebp - 0x14], 0x180
lea eax, [ebp - 0x14]
push eax
push 0x1f
push esi
call fcn.005b7baf
xor eax, eax
push eax
push eax
push eax
push eax
push esi
call fcn.005b7c0b
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x20000013
push esi
mov dword [ebp - 0x28], edi
call fcn.005b8045
add esp, 0x3c
cmp dword [ebp - 0x18], 0xc8
jne 0x53bf79
mov byte [ebp - 0xd], 1
push esi
call fcn.005b7ff1
pop ecx
mov esi, ebx
call fcn.0053bd90
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x53cfa1
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x60c620]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x60c620]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x53cfe7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x53cff2
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x53d0a6
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x60c620]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x60c620]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x60c620]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x60c620]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x60c620]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x60c620]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x60c620]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x60c620]
add ecx, 8
sub edi, 8
dec esi
jne 0x53d009
pop ebx
test edi, edi
je 0x53d0bf
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x60c620]
inc ecx
dec edi
jne 0x53d0aa
pop esi
not eax
pop edi
ret
Function at 0x59106d
Capabilities:
Hash data with md5

Disassembly:
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], 0x615760
call fcn.005216d0
and dword [esi + 0x48], 0
and dword [esi + 0x44], 0
add esp, 0xc
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
ret

Function at 0x59229c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5d5b02
call fcn.005bbdec
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
lea eax, [esi + 0x10]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
call fcn.0040a008
mov dword [ebp - 4], ebx
mov byte [esi + 0x24], bl
push 0x609710
lea eax, [esi + 0x34]
mov byte [esi + 0x25], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
call fcn.00401c52
mov byte [ebp - 4], 1
call fcn.00592281
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x593404
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
call fcn.005b5e66
jmp fcn.00409d1a
Function at 0x5a09c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
and dword [ebp - 8], 0
push ebx
push esi
push edi
lea ebx, [eax + 0x4c]
push 8
pop ecx
mov esi, ebx
lea edi, [ebp - 0x3c]
mov word [ebp - 0xd], 0x66
mov byte [ebp - 0x15], 0x37
mov byte [ebp - 0x1c], 0x30
mov byte [ebp - 0xe], 0x65
mov dword [ebp - 0x14], 0x62613938
mov word [ebp - 0x10], 0x6463
mov dword [ebp - 0x19], 0x36353433
mov word [ebp - 0x1b], 0x3231
rep movsd dword es:[edi], dword [esi]
call fcn.005a07c1
push 0xf
xor eax, eax
xor edx, edx
mov esi, ebx
pop edi
mov ecx, dword [esi]
mov ebx, ecx
shr ebx, 0x1c
mov bl, byte [ebp + ebx - 0x1c]
mov byte [ebp + eax - 0x84], bl
mov ebx, ecx
shr ebx, 0x18
and ebx, edi
mov bl, byte [ebp + ebx - 0x1c]
mov byte [ebp + eax - 0x83], bl
mov ebx, ecx
shr ebx, 0x14
and ebx, edi
mov bl, byte [ebp + ebx - 0x1c]
mov byte [ebp + eax - 0x82], bl
mov ebx, ecx
shr ebx, 0x10
and ebx, edi
mov bl, byte [ebp + ebx - 0x1c]
mov byte [ebp + eax - 0x81], bl
mov ebx, ecx
shr ebx, 0xc
and ebx, edi
mov bl, byte [ebp + ebx - 0x1c]
mov byte [ebp + eax - 0x80], bl
mov ebx, ecx
shr ebx, 8
and ebx, edi
mov bl, byte [ebp + ebx - 0x1c]
mov byte [ebp + eax - 0x7f], bl
mov ebx, ecx
shr ebx, 4
and ebx, edi
mov bl, byte [ebp + ebx - 0x1c]
and ecx, edi
mov cl, byte [ebp + ecx - 0x1c]
mov byte [ebp + eax - 0x7e], bl
mov byte [ebp + eax - 0x7d], cl
mov ecx, dword [ebp + edx*4 - 0x3c]
add eax, 8
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 8
jl 0x5a0a1b
mov byte [ebp + eax - 0x84], 0
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp + 8]
call fcn.00402966
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x5a2279
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ce306
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x10e4
call fcn.00523610
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [esp + 0x60]
call fcn.00401c52
and dword [esp + 0x10fc], 0
lea eax, [esp + 0x40]
push 3
push eax
lea ebx, [esp + 0x64]
call fcn.005baa87
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x110c], 1
call fcn.005a1bca
add esp, 0x10
lea edi, [esp + 0x40]
mov byte [esp + 0x10fc], 3
call fcn.004025aa
mov esi, 0x3ff
xor ebx, ebx
push esi
lea eax, [esp + 0x7d]
push ebx
push eax
mov byte [esp + 0x84], bl
call fcn.005216d0
add esp, 0xc
lea ecx, [esp + 0x14]
xor edi, edi
call fcn.004043e2
mov dword [esp + 0xc], eax
cmp eax, ebx
jbe 0x5a2334
push edi
lea eax, [esp + 0x18]
call fcn.004043e8
mov al, byte [eax]
mov byte [esp + edi + 0x78], al
inc edi
cmp edi, dword [esp + 0xc]
jb 0x5a231d
push esi
lea eax, [esp + 0x47d]
push ebx
push eax
mov byte [esp + 0x484], bl
call fcn.005216d0
xor eax, eax
mov byte [esp + 0x30], bl
lea edi, [esp + 0x31]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0xc
push esi
stosb byte es:[edi], al
lea eax, [esp + 0x87d]
push ebx
push eax
mov byte [esp + 0x884], bl
call fcn.005216d0
add esp, 0xc
lea eax, [esp + 0x10]
push 0x60b1f8
push eax
call fcn.00404e0a
pop ecx
pop ecx
mov ecx, eax
call fcn.00402f6c
push eax
mov edi, 0x400
lea eax, [esp + 0x87c]
push edi
push eax
call fcn.0051e896
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.00402f67
lea eax, [esp + 0xc78]
call fcn.005a153e
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x87c]
push eax
lea esi, [esp + 0xc80]
mov byte [esp + 0x1104], 4
call fcn.005a11a7
push dword [esp + 0xc]
lea eax, [esp + 0x47c]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.005a1a5a
lea eax, [esp + 0x478]
push eax
lea eax, [esp + 0x28]
call fcn.00402966
lea eax, [esp + 0x40]
push 3
push eax
lea ebx, [esp + 0x2c]
mov byte [esp + 0x1104], 5
call fcn.005ba9f0
pop ecx
pop ecx
call fcn.00402998
push eax
push edi
push dword [ebp + 0xc]
call fcn.0051eaaf
add esp, 0xc
lea edi, [esp + 0x40]
call fcn.004017d6
mov edi, ebx
call fcn.004025aa
lea esi, [esp + 0x14]
call fcn.004043dd
lea edi, [esp + 0x5c]
call fcn.004017d6
mov ecx, dword [esp + 0x10f4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5a788f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov cl, byte [edx]
or eax, 0xffffffff
test cl, cl
je 0x5a78bd
push esi
movzx ecx, cl
push 7
xor eax, ecx
pop ecx
mov esi, eax
and esi, 1
neg esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec ecx
jns 0x5a78a1
inc edx
mov cl, byte [edx]
test cl, cl
jne 0x5a7899
pop esi
not eax
ret
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x4af1e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6f000]
push edi
or ebp, 0xffffffff
jmp 0x4af202
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4af209
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4af1f8
mov eax, 1
add ebx, ebx
jne 0x4af21b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4af22c
jne 0x4af24b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4af24b
dec eax
add ebx, ebx
jne 0x4af238
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4af210
add ebx, ebx
jne 0x4af247
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4af29d
xor ecx, ecx
sub eax, 3
jb 0x4af263
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4af2d2
sar eax, 1
mov ebp, eax
jmp 0x4af26e
add ebx, ebx
jne 0x4af26e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4af23c
inc ecx
add ebx, ebx
jne 0x4af27c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4af23c
add ebx, ebx
jne 0x4af289
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4af27e
jne 0x4af29a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4af27e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4af2bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4af2ae
jmp 0x4af1fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4af2bc
add edi, ecx
jmp 0x4af1fe
pop esi
mov edi, esi
mov ecx, 0x3493
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4af2da
cmp byte [edi], 0x4c
jne 0x4af2da
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 0x4af2df
lea edi, [esi + 0xab000]
mov eax, dword [edi]
or eax, eax
je 0x4af357
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb6140]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb6294]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4af30c
mov ecx, edi
jns 0x4af33b
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 + 0xb6298]
or eax, eax
je 0x4af351
mov dword [ebx], eax
add ebx, 4
jmp 0x4af329
call dword [esi + 0xb62a8]
mov ebp, dword [esi + 0xb629c]
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 0x4af38b
sub esp, 0xffffff80
jmp 0x417770