joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b034
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407af4
xor eax, eax
push ebp
push 0x40b0f6
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004080a4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004081d4
mov eax, dword [ebx]
call fcn.0040aedc
test al, al
jne 0x40b0d1
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004080a4
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004081d4
mov eax, dword [ebx]
call fcn.0040aedc
test al, al
jne 0x40b0d1
mov eax, ebx
call fcn.00407a00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b0fd
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407a60
lea eax, [ebp - 4]
call fcn.00407a00
pop eax
jmp eax

Function at 0x40cabc
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x416d0c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x416d65
test eax, edx
je 0x416d68
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x416d23
movzx eax, word [eax]
sub eax, ecx
jmp 0x416d4a
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x416d4b
add ecx, 4
js 0x416d3b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x416d48
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x416d4a
xor eax, eax
ret
test eax, eax
je 0x416d74
test edx, edx
jne 0x416d14
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x418fd0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x419009
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407b4c
jmp 0x419012
mov eax, ebx
mov edx, esi
call fcn.00407cc8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41901c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x419040
movzx eax, word [esp]
jmp 0x419042
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x41a760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x41a887
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041a568
mov esi, eax
mov eax, dword [0x4236b4]
cmp byte [eax], 0
je 0x41a82d
mov eax, dword [0x4235bc]
call fcn.004051a4
call fcn.0040464c
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41a730]
call fcn.00409c24
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x41a8a0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x41a869
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x423594]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x427634]
call fcn.00409fb4
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a88e
lea eax, [ebp - 4]
mov edx, dword [0x41a730]
call fcn.00409d48
pop eax
jmp eax

Function at 0x41c8dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00407dc8
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ca9c
mov edi, eax
cmp edi, 0x104
jbe 0x41c887
mov eax, edi
add eax, eax
call fcn.004044f8
mov esi, eax
jmp 0x41c889
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ca9c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x41c8c2
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x41c8ac
mov eax, esp
cmp esi, eax
je 0x41c8cf
mov eax, esi
call fcn.00404514
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x41c908
cmp bl, 0
je 0x41c904
cmp bl, 0x41
jl 0x41c8ff
cmp bl, 0x5a
jg 0x41c8ff
or bl, 0x20
xor al, bl
inc esi
jmp 0x41c8e3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41c848

Function at 0x41cc70
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.004080a4
add esp, 0x800
pop ebx
ret
Function at 0x41d4ac
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x41d4cc
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x41d4e6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x41d4e1
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41d4eb
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x41d559
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x41d5a2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x41d517
inc dword [ebp - 0xc]
jmp 0x41d52f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x41d52f
cmp dword [ebp - 0xc], 0
jle 0x41d52f
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x41d551
xor eax, eax
jmp 0x41d54d
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x41d54c
mov eax, esi
jmp 0x41d5a5
inc eax
cmp eax, ecx
jle 0x41d539
inc esi
cmp esi, dword [ebp - 8]
jl 0x41d503
jmp 0x41d5a2
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x41d5a2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x41d57a
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x41d59c
xor eax, eax
jmp 0x41d598
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x41d597
mov eax, esi
jmp 0x41d5a5
inc eax
cmp eax, ecx
jle 0x41d584
inc esi
cmp esi, dword [ebp - 8]
jl 0x41d562
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41d794
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x41d7b3
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x41d7c3
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x41d8e5
test ebx, ebx
jl 0x41d8e5
test esi, esi
jle 0x41d8e5
mov eax, dword [ebp - 8]
call fcn.00408018
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00408018
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x41d882
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x41d8e5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x41d867
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x41d836
inc dword [ebp - 0x14]
jmp 0x41d846
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x41d846
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x41d851
or eax, 0xffffffff
jmp 0x41d867
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x41d864
inc eax
jmp 0x41d867
or eax, 0xffffffff
test eax, eax
jl 0x41d86f
cmp esi, eax
jg 0x41d824
cmp esi, eax
jg 0x41d87a
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x41d8e8
inc edx
dec dword [ebp - 0x1c]
jne 0x41d820
jmp 0x41d8e5
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x41d8e5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x41d8cc
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x41d8ab
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x41d8b6
or eax, 0xffffffff
jmp 0x41d8cc
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x41d8c9
inc eax
jmp 0x41d8cc
or eax, 0xffffffff
test eax, eax
jl 0x41d8d4
cmp esi, eax
jg 0x41d894
cmp esi, eax
jg 0x41d8df
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x41d8e8
inc edx
dec dword [ebp - 0x1c]
jne 0x41d890
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x407bcb
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x48]
mov dword [ebp - 0x30], ecx
lea ebx, [edx + 0xc]
mov dword [edi - 4], esp
or dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0x5032b0
mov ecx, esi
mov eax, dword fs:[0]
mov dword [edi], eax
mov dword fs:[0], edi
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
push eax
call fcn.0042411e
pop eax
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
and dword [edi + 8], 0
and dword [eax], 0
mov dword [eax + 4], 1
and dword [ecx + 0x1c], 0
mov dword [ecx + 0x10], 0x20
mov byte [ecx + 0x20], 3
and dword [ecx], 0
and dword [ecx + 8], 0
mov dword [ecx + 0x14], eax
and dword [eax + 8], 0
mov eax, dword [esi + 8]
mov dword [ecx + 0x18], 0x53ba50
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
push ecx
push ebx
call fcn.00423def
pop ecx
pop edx
movzx ecx, al
call fcn.00406faa
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x3c]
mov dword [ecx + 0x1c], eax
movsd qword [ecx + 0x14], xmm0
mov dword [ecx + 0x24], str._H:_M:_S____
mov dword [ecx + 0x28], 8
mov dword [ecx + 0x2c], 0x5b9d00
and dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0x53dbb0
push 5
pop eax
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], 0x53dbec
mov dword [ecx + 0x40], 0xd
mov dword [ecx + 0x44], 0x53dc88
mov dword [ecx + 0x48], eax
xor eax, eax
mov esi, dword [ebp - 0x28]
inc eax
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x20], edx
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x407df1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
lea esi, [ebp - 0x18]
mov dword [ebp - 0x28], edx
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
lea edi, [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov dword [esi - 4], esp
or dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0x5032d0
mov ecx, edi
mov eax, dword fs:[0]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esi
push eax
call fcn.00407d00
pop eax
movzx eax, byte [ebx + 0xc]
mov edx, dword [ebx + 8]
mov edi, dword [edi + 4]
mov ecx, dword [ebx + 4]
and dword [esi + 8], 0
push edx
push ecx
push eax
push 0
mov dword [ebp - 0x24], edi
push edi
push dword [ebp - 0x28]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
test eax, eax
je 0x407e67
mov ecx, dword [ebp - 0x20]
and dword [ecx], 0
mov dword [ecx + 4], eax
jmp 0x407e6d
mov eax, dword [ebp - 0x20]
mov byte [eax], 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
call fcn.004ca955
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40897b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
cmp dword [edx], 0
je 0x4089a9
mov esi, dword [edx + 0x30]
cmp dword [edx + 0x24], 0xffffffff
mov edi, dword [edx + 0x34]
mov ebx, dword [edx + 0x38]
mov ebp, dword [edx + 0x3c]
lea eax, [edx + 8]
mov edx, eax
je 0x408a89
push 0
jmp 0x408a8b
mov dword [esp + 4], ecx
mov al, byte [edx + 0xe]
mov esi, dword [edx + 0x34]
mov edi, dword [edx + 4]
mov ecx, dword [edx + 0x30]
mov bh, byte [edx + 0xc]
xor ebp, ebp
inc ebp
mov byte [esp + 3], al
mov dword [esp + 8], esi
cmp byte [esp + 3], 0
jne 0x408ab0
mov al, bh
xor al, 1
test edi, edi
mov byte [edx + 0xc], al
mov eax, esi
je 0x4089f6
mov eax, esi
sub eax, edi
jbe 0x4089f0
cmp byte [ecx + edi], 0xbf
jg 0x4089f6
jmp 0x408ac0
jne 0x408ac0
test eax, eax
je 0x408a99
mov bl, byte [ecx + edi]
movzx eax, bl
test bl, bl
jns 0x408a54
movzx ebp, byte [ecx + edi + 1]
and eax, 0x1f
and ebp, 0x3f
cmp bl, 0xdf
jbe 0x408a41
movzx esi, byte [ecx + edi + 2]
shl ebp, 6
and esi, 0x3f
or esi, ebp
cmp bl, 0xf0
jb 0x408a48
movzx ebp, byte [ecx + edi + 3]
and eax, 7
shl esi, 6
shl eax, 0x12
and ebp, 0x3f
or ebp, esi
or eax, ebp
jmp 0x408a4d
shl eax, 6
or eax, ebp
jmp 0x408a51
shl eax, 0xc
or eax, esi
mov esi, dword [esp + 8]
xor ebp, ebp
inc ebp
test bh, bh
jne 0x408a9d
cmp eax, 0x110000
je 0x408aac
cmp eax, 0x80
mov ebx, ebp
jb 0x408a7d
cmp eax, 0x800
push 2
pop ebx
jb 0x408a7d
cmp eax, 0x10000
push 4
pop ebx
sbb ebx, 0
add edi, ebx
mov bh, 1
mov dword [edx + 4], edi
jmp 0x4089c7
push 1
push ebp
push ebx
push edi
push esi
call fcn.00406c20
add esp, 0x20
jmp 0x408abb
test bh, bh
je 0x408aac
mov eax, dword [esp + 4]
xor ecx, ecx
inc ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edi
jmp 0x408ab6
mov byte [edx + 0xe], 1
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, esi
push 0x5ba2c4
push esi
push edi
call fcn.005378b0
Function at 0x428299
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
lea eax, [ebp - 0x18]
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov edi, edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x503550
cmp byte [ebp + 8], 0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
je 0x428340
inc ebx
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x38]
mov dword [eax], ebx
lea ebx, [ebp - 0x68]
mov dword [edx], 0x53ed10
mov dword [edx + 4], 3
and dword [edx + 0x10], 0
mov dword [ecx], 1
mov dword [ebx], eax
mov eax, fcn.00429950
mov dword [edx + 8], ebx
mov dword [edx + 0xc], 2
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
lea ebx, [ebp - 0x30]
mov ecx, ebx
call fcn.00407945
mov eax, dword [ebx + 8]
mov ecx, esi
mov esi, dword [ebx + 4]
and dword [ebp - 0x10], 0
mov edx, edi
push eax
mov dword [ebp - 0x20], esi
push esi
call fcn.00427a33
pop eax
pop ecx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x20]
call fcn.00459b3c
jmp 0x428372
mov ecx, edi
call fcn.004278f4
lea edi, [ebp - 0x58]
mov edx, eax
mov ecx, edi
call fcn.00428132
cmp dword [edi], 0
je 0x42836f
and word [ebp - 0x24], 0
mov word [ebp - 0x22], bx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.kernel32.dll_SetConsoleCursorPosition]
mov byte [esi], 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x431320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
xor esi, esi
lea edx, [eax + edx*2]
movzx ebx, byte [eax + 1]
cmp byte [eax], ch
lea eax, [eax + 2]
lea edi, [esi + ebx]
jne 0x431370
cmp esi, edi
ja 0x4313d8
cmp edi, dword [esp + 0x1c]
ja 0x4313e6
add esi, dword [esp + 0x18]
nop word [eax + eax]
test ebx, ebx
je 0x431372
dec ebx
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x431360
jmp 0x4313cf
ja 0x431378
cmp eax, edx
mov esi, edi
jne 0x431333
mov edi, dword [esp + 0x24]
movzx ecx, cx
mov al, 1
add edi, ebp
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebp]
lea esi, [ebp + 1]
test dl, dl
js 0x4313b0
mov ebp, esi
sub ecx, edx
jns 0x4313c7
jmp 0x4313d1
cmp esi, edi
je 0x4313f6
movzx esi, byte [ebp + 1]
and edx, 0x7f
add ebp, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x4313d1
xor al, 1
cmp ebp, edi
jne 0x431390
jmp 0x4313d1
xor eax, eax
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x5403d0
call fcn.00537570
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0x5403d0
call fcn.00537350
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x5403c0
call fcn.005373b0
int3
Function at 0x434172
Capabilities:
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, edx
mov edx, dword [esp + 0x18]
mov ebx, ecx
not ebx
cmp edx, 0x40
jb 0x434299
push 4
pop edi
sub edi, 1
jb 0x434181
cmp edx, 0xf
jbe 0x4342a9
movzx ebp, byte [eax + 0xe]
movzx esi, byte [eax + 0xf]
mov ecx, ebx
mov dword [esp], edx
mov edx, 0xff
shr ecx, 0x18
mov ebp, dword [ebp*4 + 0x543e64]
xor ebp, dword [esi*4 + 0x543a64]
movzx esi, byte [eax + 0xd]
xor ebp, dword [esi*4 + 0x544264]
movzx esi, byte [eax + 0xc]
xor ebp, dword [esi*4 + 0x544664]
movzx esi, byte [eax + 0xb]
xor ebp, dword [esi*4 + 0x544a64]
movzx esi, byte [eax + 0xa]
xor ebp, dword [esi*4 + 0x544e64]
movzx esi, byte [eax + 9]
xor ebp, dword [esi*4 + 0x545264]
movzx esi, byte [eax + 8]
xor ebp, dword [esi*4 + 0x545664]
movzx esi, byte [eax + 7]
xor ebp, dword [esi*4 + 0x545a64]
movzx esi, byte [eax + 6]
xor ebp, dword [esi*4 + 0x545e64]
movzx esi, byte [eax + 5]
xor ebp, dword [esi*4 + 0x546264]
movzx esi, byte [eax + 4]
xor ebp, dword [esi*4 + 0x546664]
movzx esi, byte [eax + 3]
xor ecx, esi
mov esi, ebx
xor ebp, dword [ecx*4 + 0x546a64]
movzx ecx, byte [eax + 2]
shr esi, 0x10
and esi, edx
xor esi, ecx
movzx ecx, byte [eax + 1]
xor ebp, dword [esi*4 + 0x546e64]
mov esi, ebx
and ebx, edx
shr esi, 8
and esi, edx
mov edx, dword [esp]
xor esi, ecx
movzx ecx, byte [eax]
xor ebp, dword [esi*4 + 0x547264]
xor ebx, ecx
mov ecx, eax
xor ebp, dword [ebx*4 + 0x547664]
push 0x543a54
call fcn.004346fd
pop ecx
mov ebx, ebp
jmp 0x43418d
mov cl, byte [eax]
inc eax
dec edx
xor cl, bl
shr ebx, 8
movzx esi, cl
xor ebx, dword [esi*4 + 0x543a64]
test edx, edx
jne 0x434286
not ebx
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xf
pop ecx
push 0x543a44
call fcn.005372f0
Function at 0x43a8db
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea eax, [esi + 0x38]
mov dword [esi + 0xc], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x503620
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [edx]
test eax, eax
jne 0x43a964
mov dword [esi + 8], edx
mov dword [esi + 0x40], 4
push 0x10
pop ecx
push 4
pop edx
call fcn.004eca76
movsd xmm0, qword [0x591408]
movsd xmm1, qword [0x591400]
xor ecx, ecx
mov dword [esi + 4], eax
movsd qword [eax + 8], xmm0
movsd qword [eax], xmm1
mov dword [esi + 0x40], 3
call fcn.0044f970
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
mov ecx, dword [ebp + 8]
mov dword [eax], edx
mov eax, edx
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov dword [esi + 4], eax
mov dword [esi + 0x40], 2
movsd qword [esi + 0x28], xmm1
movsd qword [esi + 0x20], xmm0
push 0x10
pop ecx
push 4
pop edx
call fcn.004eca76
movsd xmm0, qword [esi + 0x20]
movsd xmm1, qword [esi + 0x28]
mov ecx, dword [esi + 4]
mov edx, 0xf1fbf10e
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
and dword [esi + 0x40], 0
mov byte [esi + 3], 0
push 0x568190
push eax
push 0xfde49a8b
push 0x34e9783e
push 0x17d4a87b
call fcn.00449285
add esp, 0x14
test eax, eax
je 0x43aa48
mov dword [esi + 0x40], 1
lea ecx, [esi + 0x10]
mov dword [esi + 4], eax
push eax
push ecx
mov dword [esi + 8], edx
call dword [edx + 0xc]
add esp, 8
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
xor edi, 0xf1fbf10e
xor ecx, 0x34e9783e
xor edx, 0x17d4a87b
xor eax, 0xfde49a8b
or ecx, edi
or eax, edx
or eax, ecx
jne 0x43aa35
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
push 4
pop edx
call fcn.00421070
jmp 0x43aa4e
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
and dword [esi + 0x40], 0
mov byte [esi + 3], 0
call fcn.00404402
mov eax, dword [esi + 0xc]
and dword [eax], 0
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44d3b9
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, esp
mov dword [esi + 0x70], ebp
lea eax, [esi + 0x78]
mov dword [esi], ecx
lea edx, [esi + 0xc]
lea edi, [esi + 0x1c]
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x503ab0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, 0x573aa4
mov dword fs:[0], eax
and dword [edx - 4], 0
and dword [edx - 8], 0
and dword [eax + 8], 0
mov dword [edx], ecx
mov dword [edx + 4], 0x5b9d00
and dword [edx + 8], 0
and dword [edx + 0xc], 0
mov dword [edi], ecx
mov dword [edi + 4], 0x5b9544
mov dword [edi + 8], 1
and dword [edi + 0xc], 0
or word [edi + 0x10], 0xffff
lea ecx, [esi + 0x30]
call fcn.0044a113
mov edi, dword [esi]
mov eax, 0x1010101
lea ecx, [esi + 4]
mov dword [edi + 0x7c], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x40]
push 0x2c
push ecx
push eax
call fcn.005282a0
add esp, 0xc
mov byte [edi + 0x84], 2
push 0x40
lea eax, [esi + 0x30]
push eax
push edi
call fcn.005282a0
add esp, 0xc
mov eax, dword [esi + 0x78]
and dword [edi + 0x80], 0
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret