joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a5318
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a53ba
cmp dword [ebx + 0x94], 0
jne 0x4a53b4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a5264
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a53b4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4a537a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a53b4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00430390
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a5389
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a55d8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4e9280]
cmp dword [eax + 0x170], 0
je 0x4a573d
test bl, bl
jne 0x4a568b
cmp dword [esi + 0x9c], 0
jne 0x4a5680
mov eax, esi
call fcn.004a84c8
push eax
push 0x4a54e4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a5651
mov eax, dword [0x4e9280]
cmp byte [eax + 0xd3], 0
je 0x4a5651
mov eax, dword [esi + 0xd8]
call fcn.00407e84
mov edi, eax
cmp edi, 0
jl 0x4a5651
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a563a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a5680
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00430390
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a5660
inc dword [esi + 0x9c]
jmp 0x4a573d
cmp dword [esi + 0x9c], 0
jle 0x4a573d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a573d
cmp dword [esi + 0x44], 0
je 0x4a56e8
mov eax, dword [0x4e9280]
cmp byte [eax + 0xd3], 0
je 0x4a56e8
mov eax, dword [esi + 0xd8]
call fcn.00407e84
mov edi, eax
cmp edi, 0
jl 0x4a56e8
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a56d1
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a5717
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00430390
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a56f7
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x498860]
call fcn.00408044
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a638c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a63f7
cmp byte [ebx + 0xd3], 0
jne 0x4a63f7
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004069bc
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a63e4
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a6404
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406880
jmp 0x4a6404
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406880
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a7c2c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a7c9a
mov eax, esi
call fcn.004803ac
test al, al
je 0x4a7c9a
mov eax, dword [ebx + 0x84]
call fcn.00480000
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a7c9a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a7c8e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00480000
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00476fd4
jmp 0x4a7c9a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a7a64
pop esi
pop ebx
ret
Function at 0x40113a
Capabilities:
Create directory
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
push ebx

Function at 0x404de5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x408688
cmp edx, dword [eax]
je 0x404e07
add eax, 8
inc ecx
cmp eax, 0x408718
jl 0x404df8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x408688]
jne 0x404f35
mov eax, dword [0x408a48]
cmp eax, 1
je 0x404f0f
test eax, eax
jne 0x404e38
cmp dword [0x4085d4], 1
je 0x404f0f
cmp edx, 0xfc
je 0x404f35
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404e6f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004032f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004033f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404eb2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004033f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4065d0
push edi
call fcn.00405720
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004032f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403300
lea eax, [ebp - 0xa0]
push 0x4065b0
push eax
call fcn.00403300
push dword [esi + 0x40868c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403300
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405697
add esp, 0x2c
pop edi
jmp 0x404f35
lea eax, [ebp + 8]
lea esi, [esi + 0x40868c]
push 0
push eax
push dword [esi]
call fcn.004033f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x417730
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4975a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
je 0x417850
test esi, esi
je 0x417850
mov eax, ebx
push edi
mov edi, 0x1055
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x417763
sub eax, ecx
xor ecx, ecx
test eax, eax
jle 0x417780
movsx edx, byte [ecx + ebx]
imul edi, edi, 0x21
xor edi, edx
inc ecx
cmp ecx, eax
jl 0x417772
push 0x50
xor ebx, ebx
mov byte [ebp - 0x20], 0x33
mov byte [ebp - 0x1f], 0x34
mov byte [ebp - 0x1e], 0x35
mov byte [ebp - 0x1d], 0x36
mov byte [ebp - 0x1c], 0x37
mov byte [ebp - 0x1b], 0x38
mov byte [ebp - 0x1a], 0x39
mov byte [ebp - 0x19], 0x42
mov byte [ebp - 0x18], 0x43
mov byte [ebp - 0x17], 0x44
mov byte [ebp - 0x16], 0x46
mov byte [ebp - 0x15], 0x47
mov byte [ebp - 0x14], 0x48
mov byte [ebp - 0x13], 0x4a
mov byte [ebp - 0x12], 0x4b
mov byte [ebp - 0x11], 0x4c
mov byte [ebp - 0x10], 0x4d
mov byte [ebp - 0xf], 0x4e
mov byte [ebp - 0xe], 0x50
mov byte [ebp - 0xd], 0x51
mov byte [ebp - 0xc], 0x52
mov byte [ebp - 0xb], 0x53
mov byte [ebp - 0xa], 0x54
mov byte [ebp - 9], 0x56
mov byte [ebp - 8], 0x57
mov byte [ebp - 7], 0x58
mov byte [ebp - 6], 0x59
call fcn.0041a6e0
pop ecx
xor ecx, ecx
cmp eax, ecx
mov dword [esi], eax
jne 0x41782b
push ecx
mov eax, 0x8007000e
push eax
push 0xe4
push 0x401900
mov ebx, eax
call fcn.0042977d
mov eax, dword [esi]
test eax, eax
je 0x417826
push eax
call fcn.0041a1c2
and dword [esi], 0
pop ecx
mov eax, ebx
pop edi
jmp 0x417855
mov eax, edi
xor edx, edx
push 0x1b
pop edi
div edi
mov edi, dword [esi]
mov dl, byte [ebp + edx - 0x20]
mov byte [ecx + edi], dl
mov edi, eax
inc ecx
test edi, edi
jbe 0x417849
cmp ecx, 0x4f
jl 0x41782b
mov eax, dword [esi]
mov byte [ecx + eax], bl
jmp 0x417826
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004193ff
leave
ret 8

Function at 0x42717a
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret 4
Function at 0x427dab
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
je 0x427ea4
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x427ea4
push 3
xor edx, edx
pop ecx
lea eax, [esi + 2]
div ecx
mov ecx, dword [ebp + 0x10]
shl eax, 2
test ecx, ecx
jne 0x427ddf
mov ecx, eax
jmp 0x427e98
mov edx, dword [ebp + 0x14]
cmp eax, dword [edx]
jbe 0x427df0
mov eax, 0x800700ea
jmp 0x427ea9
test esi, esi
jle 0x427e98
push ebx
push edi
xor eax, eax
lea edi, [ebp + 0xc]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp + 8]
mov al, byte [edi]
inc edi
cmp esi, 1
mov dword [ebp + 8], edi
jbe 0x427e28
mov dl, byte [edi]
inc edi
cmp esi, 2
mov byte [ebp + 0xd], dl
mov dword [ebp + 8], edi
jbe 0x427e28
mov bl, byte [edi]
inc dword [ebp + 8]
mov byte [ebp + 0xe], bl
jmp 0x427e2b
mov bl, byte [ebp + 0xe]
movzx eax, al
mov edx, eax
shr edx, 2
mov dl, byte [edx + 0x402f60]
mov byte [ecx], dl
movzx edx, byte [ebp + 0xd]
shl eax, 4
mov edi, edx
shr edi, 4
or edi, eax
and edi, 0x3f
mov al, byte [edi + 0x402f60]
inc ecx
mov byte [ecx], al
inc ecx
cmp esi, 1
jbe 0x427e71
movzx eax, bl
shr eax, 6
shl edx, 2
or eax, edx
and eax, 0x3f
mov al, byte [eax + 0x402f60]
jmp 0x427e73
mov al, 0x3d
mov byte [ecx], al
inc ecx
cmp esi, 2
jbe 0x427e86
and ebx, 0x3f
mov al, byte [ebx + 0x402f60]
jmp 0x427e88
mov al, 0x3d
mov byte [ecx], al
sub esi, 3
inc ecx
test esi, esi
jg 0x427dfa
pop edi
pop ebx
sub ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
xor eax, eax
jmp 0x427ea9
mov eax, 0x80070057
pop esi
pop ebp
ret 0x10
Function at 0x42f65e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov byte [eax], bl
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
push 0x403b2c
push 0x80000002
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], 0xc
call dword [fcn.004012a4]
cmp eax, ebx
mov edi, 0xffff
mov esi, 0x80070000
je 0x42f6c4
jle 0x42f6b9
and eax, edi
or eax, esi
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x42f7a7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x403b20
push dword [ebp - 0xc]
call dword [0x401254]
cmp eax, ebx
je 0x42f6ec
jle 0x42f6e9
and eax, edi
or eax, esi
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
jl 0x42f7a7
mov dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x14]
lea eax, [ebp + eax - 0x28]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ebp - 8], ebx
add dword [ebp - 8], 0x77cf6050
add dword [ebp - 8], 0x4f1fd6d0
mov esi, dword [ebp - 8]
mov dword [ebp - 8], ebx
add dword [ebp - 8], 0x60b920f7
add dword [ebp - 8], 0x3d7e58c2
mov edi, dword [ebp - 8]
mov dword [ebp - 0x10], 0x20
mov dword [ebp - 8], edi
mov edi, edx
shr edi, 5
mov ebx, edx
shl ebx, 4
xor edi, ebx
dec dword [ebp - 0x10]
mov ebx, esi
shr ebx, 0xb
and ebx, 3
mov ebx, dword [ebx*4 + 0x403ad4]
add ebx, esi
sub esi, dword [ebp - 8]
add edi, edx
xor edi, ebx
sub ecx, edi
mov edi, ecx
shr edi, 5
mov ebx, ecx
shl ebx, 4
xor edi, ebx
mov ebx, esi
and ebx, 3
mov ebx, dword [ebx*4 + 0x403ad4]
add ebx, esi
add edi, ecx
xor edi, ebx
xor ebx, ebx
sub edx, edi
cmp dword [ebp - 0x10], ebx
ja 0x42f73a
dec dword [ebp - 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
jns 0x42f6fc
cmp dword [ebp - 0x28], 0x7fffffff
mov ecx, dword [ebp + 8]
sete al
mov byte [ecx], al
cmp dword [ebp - 0xc], ebx
pop edi
pop esi
pop ebx
je 0x42f7b8
push dword [ebp - 0xc]
call dword [fcn.004012ac]
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x43d8e3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x43d8ed
sub esp, 0x28
mov eax, dword [0x4975a0]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x43d91b
mov eax, 0x57
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004193ff
add esp, 0x28
ret 4
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43d920
sub eax, edx
sar eax, 1
cmp eax, 0x17
jne 0x43d904
movzx eax, word [esi + 0xc]
cmp ax, 0x4f
je 0x43d948
cmp ax, 0x6f
jne 0x43da21
movzx eax, word [esi + 0xe]
cmp ax, 0x45
je 0x43d95c
cmp ax, 0x65
jne 0x43da21
movzx eax, word [esi + 0x10]
cmp ax, 0x4d
je 0x43d970
cmp ax, 0x6d
jne 0x43da21
movzx edx, word [esi + 0x18]
mov ax, word [esi + 0x14]
mov cx, word [esi + 0x16]
mov word [esi + 0xc], dx
movzx edx, word [esi + 0x1a]
mov word [esi + 0xe], dx
movzx edx, word [esi + 0x1c]
mov word [esi + 0x10], dx
movzx edx, word [esi + 0x1e]
mov word [esi + 0x14], dx
movzx edx, word [esi + 0x24]
mov word [esi + 0x16], dx
movzx edx, word [esi + 0x26]
mov word [esi + 0x18], dx
movzx edx, word [esi + 0x28]
mov word [esi + 0x1a], dx
movzx edx, word [esi + 0x2a]
mov word [esi + 0x24], ax
mov eax, 0x30
mov word [esi + 0x1c], dx
movzx edx, word [esi + 0x2c]
mov word [esi + 0x28], ax
mov word [esi + 0x2a], ax
mov word [esi + 0x2c], ax
xor eax, eax
push esi
mov word [esi + 0x1e], dx
mov word [esi + 0x26], cx
mov word [esp + 8], 0
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
call fcn.00463c1a
push 0xa
lea ecx, [esp + 8]
push ecx
push eax
call fcn.00477e1d
movzx edx, word [esp + 0x10]
add esp, 0xc
mov word [esi + 0x20], dx
mov ecx, dword [esp + 0x28]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004193ff
add esp, 0x28
ret 4

Function at 0x467539
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret 4
Function at 0x467723
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor edx, edx
xor ecx, ecx
push esi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
push edi
mov edi, eax
mov ebx, dword [esp + 0x14]
push ebp
mov cl, byte [esi + 0x100]
mov ebp, ebx
mov dl, byte [esi + 0x101]
test ebx, ebx
je 0x46785e
shr ebx, 2
and eax, 3
test ebx, ebx
je 0x467833
test eax, eax
jne 0x467833
mov eax, edi
lea edi, [edi + ebx*4]
mov dword [esp + 0x1c], edi
sub eax, 4
mov ebp, ebx
mov edi, dword [eax + 4]
inc ecx
xor eax, eax
and ecx, 0xff
mov al, byte [ecx + esi]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [ecx + esi]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 8
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [ecx + esi]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x10
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [ecx + esi]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x18
lea ebx, [ebp*4]
xor edi, eax
mov eax, dword [esp + 0x1c]
sub eax, ebx
mov dword [eax], edi
dec ebp
jne 0x467773
mov ebp, dword [esp + 0x18]
and ebp, 3
test ebp, ebp
je 0x46785e
lea edi, [eax + 4]
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [ecx + esi]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x467833
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc

Function at 0x472b1c
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x472b59
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x472b36
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x472b75
dec esi
je 0x472b6e
dec esi
jne 0x472b7a
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x42f76b
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x42f78d
mov eax, 0xfffffffd
jmp 0x42f86a
mov ebx, dword [0x59d0ac]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x42f838
mov ebx, dword [0x59d0ac]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x42f7dc
mov ebx, dword [0x59d0ac]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x42f7dc
mov eax, 1
jmp 0x42f7de
xor eax, eax
test eax, eax
je 0x42f80a
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x42f7f3
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x59d0ac]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x42f860
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x42f86a
mov esp, ebp
pop ebp
ret 4

Function at 0x431f6d
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
and eax, 1
leave
ret
Function at 0x438378
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x438388
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
jle 0x4383dd
push dword [ebp + 8]
call fcn.00438589
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x5a4d
jne 0x4383dd
xor eax, eax
jmp 0x4383e2
mov eax, 1
test eax, eax
je 0x4383f4
mov eax, 0
jmp 0x438583
push 0x3c
push dword [ebp + 8]
call fcn.004385cb
push eax
call fcn.004385a5
push eax
push dword [ebp + 8]
call fcn.004385cb
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.004385a5
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4550
jne 0x43844f
push 0x7c
push dword [ebp - 4]
call fcn.004385cb
push eax
call fcn.004385a5
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x43844f
xor eax, eax
jmp 0x438454
mov eax, 1
test eax, eax
je 0x438466
mov eax, 0
jmp 0x438583
push 0x78
push dword [ebp - 4]
call fcn.004385cb
push eax
call fcn.004385a5
push eax
push dword [ebp + 8]
call fcn.004385cb
mov dword [ebp - 8], eax
push 0x20
push dword [ebp - 8]
call fcn.004385cb
push eax
call fcn.004385a5
push eax
push dword [ebp + 8]
call fcn.004385cb
push eax
call fcn.004385a5
push eax
push dword [ebp + 8]
call fcn.004385cb
mov dword [ebp - 0xc], eax
push 0x18
push dword [ebp - 8]
call fcn.004385cb
push eax
call fcn.004385a5
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0x10]
call fcn.004385f2
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x438576
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.004385cb
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.00438619
test eax, eax
je 0x438559
push 0x1c
push dword [ebp - 8]
call fcn.004385cb
push eax
call fcn.004385a5
push eax
push dword [ebp + 8]
call fcn.004385cb
mov dword [ebp - 0x24], eax
push 4
push dword [ebp - 0x10]
call fcn.0043864d
push eax
push dword [ebp - 0x24]
call fcn.004385cb
push eax
call fcn.004385a5
push eax
push dword [ebp + 8]
call fcn.004385cb
jmp 0x438583
push dword [ebp - 0x14]
call fcn.00438675
push eax
push dword [ebp - 0x18]
call fcn.004385cb
mov dword [ebp - 0x18], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x4384e2
add esp, 0xc
mov eax, 0
jmp 0x438583
mov esp, ebp
pop ebp
ret 8
Function at 0x4398c7
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x4398f5
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x4398ec
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x4398e4
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x439916
mov esp, ebp
pop ebp
ret

Function at 0x43991a
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x439986
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x4399b3
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x4399a2
xor ecx, eax
xor edx, ebx
dec edi
jne 0x439993
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x4399d9
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x43997a
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x439a05
mov esp, ebp
pop ebp
ret 0xc