joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474ce0
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x4d0349
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov esi, dword [ecx]
cmp esi, ebx
mov dword [esp + 0x20], ebx
je 0x474d18
mov ebx, dword [esi - 0xc]
mov ebp, dword [esp + 0x28]
lea ecx, [ebx + 2]
mov eax, 0x55555556
imul ecx
mov edi, edx
shr edi, 0x1f
add edi, edx
add edi, edi
mov ecx, ebp
add edi, edi
call fcn.00474bb0
push edi
mov ecx, ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 1
call fcn.00475380
test ebx, ebx
jle 0x474e10
jmp 0x474d60
movzx ecx, byte [esi]
shr ecx, 2
mov dl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
add eax, 1
cmp ebx, 1
jle 0x474d91
movzx ecx, byte [esi]
movzx edx, byte [esi + 1]
and ecx, 3
shl ecx, 4
shr edx, 4
or ecx, edx
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x474da0
movzx edx, byte [esi]
and edx, 3
shl edx, 4
mov cl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
add eax, 1
cmp ebx, 2
jle 0x474dc9
movzx edx, byte [esi + 1]
movzx ecx, byte [esi + 2]
and edx, 0xf
add edx, edx
add edx, edx
shr ecx, 6
or edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
jmp 0x474de3
cmp ebx, 1
jle 0x474de0
movzx ecx, byte [esi + 1]
and ecx, 0xf
mov dl, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
jmp 0x474de3
mov byte [eax], 0x3d
add eax, 1
cmp ebx, 2
jle 0x474dfc
movzx ecx, byte [esi + 2]
and ecx, 0x3f
mov dl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
jmp 0x474dff
mov byte [eax], 0x3d
sub ebx, 3
add eax, 1
add esi, 3
test ebx, ebx
jg 0x474d60
mov eax, ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x477660
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4d7178
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
lea ecx, [esp + 4]
call fcn.00474bb0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.0047b420
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.004732d0
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x47f7f7
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
push esi
mov esi, ecx
je 0x47f893
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x47f893
jne 0x47f815
pop esi
xor eax, eax
pop ebx
ret 0xc
push edi
push 0
push 0
push 1
push 0
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 4]
push 0
mov edi, eax
lea eax, [esp + 0x14]
push eax
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x47f878
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
mov dword [esi + 8], eax
jne 0x47f868
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov dword [esi + 8], eax
je 0x47f878
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 0xc
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
ret 0xc
mov dword [esi + 8], 0x57
pop esi
or eax, 0xffffffff
pop ebx
ret 0xc
Function at 0x488620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d1bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00486480
test eax, eax
jne 0x48869b
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x488684
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
push edx
call fcn.00488620
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0x10
or eax, 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0x10
mov esi, dword [esp + 0x40]
mov eax, dword [esi]
push eax
call fcn.00488580
test eax, eax
jl 0x4886c1
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0x10
lea ecx, [esp + 0xc]
call fcn.0049da90
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
call fcn.004830f0
mov cx, word [esp + 0x48]
mov ax, word [esp + 0x44]
mov dx, word [esp + 0x4c]
mov word [esp + 0x12], cx
lea ecx, [edi + 0x14]
mov word [esp + 0x10], ax
mov eax, dword [ecx + 8]
test eax, eax
mov word [esp + 0x14], dx
je 0x48870a
mov eax, dword [eax - 0xc]
shr eax, 2
mov word [esp + 0x16], ax
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x48], 0
call fcn.004912c0
mov esi, eax
push esi
lea ecx, [edi + 0x20]
call fcn.0049a2c0
push esi
lea ecx, [edi + 0x2c]
call fcn.0049a2c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049dce0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0x10
Function at 0x488770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d1bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00486480
test eax, eax
jne 0x4887eb
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x4887d4
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
push edx
call fcn.00488770
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0x10
or eax, 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0x10
mov esi, dword [esp + 0x40]
push esi
call fcn.00488580
test eax, eax
jl 0x48880f
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0x10
lea ecx, [esp + 0xc]
call fcn.0049da90
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0
call fcn.0049dc20
mov cx, word [esp + 0x48]
mov ax, word [esp + 0x44]
mov dx, word [esp + 0x4c]
mov word [esp + 0x12], cx
lea ecx, [edi + 0x14]
mov word [esp + 0x10], ax
mov eax, dword [ecx + 8]
test eax, eax
mov word [esp + 0x14], dx
je 0x48885a
mov eax, dword [eax - 0xc]
shr eax, 2
mov word [esp + 0x16], ax
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x48], 0
call fcn.004912c0
mov esi, eax
push esi
lea ecx, [edi + 0x20]
call fcn.0049a2c0
push esi
lea ecx, [edi + 0x2c]
call fcn.0049a2c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049dce0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0x10
Function at 0x494a50
Capabilities:
Get geographical location

Disassembly:
cmp ax, 0x64
jne 0x494a62
push ecx
push esi
push 0x1f
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
ret
cmp ax, 0x44
jne 0x494a74
push ecx
push esi
push 0x20
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
ret
cmp ax, 0x66
jne 0x494a94
push ecx
push esi
push 0x20
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push str._hh:mm_aa
push esi
call fcn.0047cd30
add esp, 8
ret
cmp ax, 0x46
jne 0x494ab4
push ecx
push esi
push 0x20
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push str._hh:mm:ss_aa
push esi
call fcn.0047cd30
add esp, 8
ret
cmp ax, 0x67
jne 0x494ad4
push ecx
push esi
push 0x1f
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push str._HH:mm
push esi
call fcn.0047cd30
add esp, 8
ret
cmp ax, 0x47
jne 0x494af4
push ecx
push esi
push 0x1f
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push str._HH:mm:ss
push esi
call fcn.0047cd30
add esp, 8
ret
cmp ax, 0x4d
je 0x494ba2
cmp ax, 0x6d
je 0x494ba2
cmp ax, 0x52
je 0x494b93
cmp ax, 0x72
je 0x494b93
cmp ax, 0x73
jne 0x494b2d
push str.yyyy_mm_dd_HH:mm:ss
push esi
call fcn.0047ccb0
add esp, 8
ret
cmp ax, 0x74
jne 0x494b42
push str.HH:mm
push esi
call fcn.0047ccb0
add esp, 8
ret
cmp ax, 0x54
jne 0x494b57
push 0x513e20
push esi
call fcn.0047ccb0
add esp, 8
ret
cmp ax, 0x75
je 0x494b1e
cmp ax, 0x55
jne 0x494b72
push str.dddd__MMMM_dd__yyyy_hh:mm:ss_aa
push esi
call fcn.0047ccb0
add esp, 8
ret
cmp ax, 0x59
je 0x494b84
cmp ax, 0x79
je 0x494b84
mov word [esi], 0
ret
push str.MMMM__yyyy
push esi
call fcn.0047ccb0
add esp, 8
ret
push str.ddd__dd_MMM_yyyy_HH:mm:ssGMT
push esi
call fcn.0047ccb0
add esp, 8
ret
push str.MMMM_dd
push esi
call fcn.0047ccb0
add esp, 8
ret
Function at 0x49a4f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d1bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x40]
mov eax, dword [edi]
push eax
call fcn.00488580
test eax, eax
jl 0x49a53d
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0x14
lea ecx, [esp + 0xc]
call fcn.0049da90
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
call fcn.004830f0
mov ax, word [esp + 0x44]
mov cx, word [esp + 0x48]
mov dx, word [esp + 0x50]
mov word [esp + 0x10], ax
mov eax, dword [esp + 0x4c]
mov word [esp + 0x12], cx
push eax
lea ecx, [esp + 0x20]
mov word [esp + 0x18], dx
call fcn.00474c20
mov eax, dword [esi + 0x1c]
test eax, eax
lea ecx, [esi + 0x14]
je 0x49a594
mov eax, dword [eax - 0xc]
shr eax, 2
lea edx, [esp + 0x40]
mov word [esp + 0x16], ax
push edx
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x48], 0
call fcn.004912c0
cmp dword [esp + 0x40], 0
mov edi, eax
je 0x49a5cb
push edi
lea ecx, [esi + 0x20]
call fcn.0049a2c0
push edi
lea ecx, [esi + 0x2c]
call fcn.0049a2c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049dce0
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0x14
Function at 0x49ea10
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x49ea2a
pop edi
lea eax, [esi + 1]
pop esi
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x49eb3c
push ebp
jmp 0x49ea40
cmp ebx, 0x15b0
mov eax, ebx
jb 0x49ea4f
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x49eafb
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x49ea70
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x49ea70
test eax, eax
je 0x49eb0f
nop
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x49eb00
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x49ea40
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret
Function at 0x4a1195
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x54d158]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x4a11d2
push 0x517ad8
push 4
push eax
call fcn.004b34c9
push eax
call fcn.0040f9b0
add esp, 0x10
jmp 0x4a11e4
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4a124f
push edi
call fcn.004afe83
mov edi, dword [eax]
call fcn.004afe83
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.004b3567
add esp, 0x18
mov ebx, eax
call fcn.004afe83
cmp dword [eax], 0
je 0x4a122f
call fcn.004afe83
push dword [eax]
call fcn.004a112c
pop ecx
jmp 0x4a1236
call fcn.004afe83
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x4a124f
cmp ebx, esi
jae 0x4a124f
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x4a1251
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004ac89d
leave
ret
Function at 0x4ac89d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x54d158]
jne 0x4ac8a7
repz ret
jmp fcn.004b55eb
Function at 0x4aff9e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x4affdb
cmp dword [ebp + 0x14], edi
je 0x4affdb
cmp ecx, edi
jne 0x4affe2
call fcn.004afe83
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004ad614
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4afff6
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4b0017
cmp ebx, 0xffffffff
je 0x4b0006
push ebx
push edi
push ecx
call fcn.004b0770
add esp, 0xc
cmp esi, edi
je 0x4affc3
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4affc3
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4b0033
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4b003a
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4b012b
test word [esi + 0xc], 0x10c
je 0x4b008e
mov eax, dword [esi + 4]
test eax, eax
je 0x4b008e
jl 0x4b018c
cmp ebx, eax
mov edi, ebx
jb 0x4b005f
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4b0133
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004adae6
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4b0123
cmp ebx, dword [ebp - 0xc]
jb 0x4b00fb
cmp dword [ebp - 0xc], 0
je 0x4b00b8
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x4b00ad
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4b00b4
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4b00c3
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4b00c3
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4b015f
push eax
push dword [ebp - 8]
push esi
call fcn.004b9e7e
pop ecx
push eax
call fcn.004bd753
add esp, 0xc
test eax, eax
je 0x4b019e
cmp eax, 0xffffffff
je 0x4b018c
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4b0123
push esi
call fcn.004bd072
cmp eax, 0xffffffff
pop ecx
je 0x4b0190
cmp dword [ebp - 4], 0
je 0x4b015f
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4b0042
mov eax, dword [ebp + 0x14]
jmp 0x4affdd
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4b014a
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004b0770
add esp, 0xc
call fcn.004afe83
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4affd3
cmp dword [ebp + 0xc], 0xffffffff
je 0x4b0175
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004b0770
add esp, 0xc
call fcn.004afe83
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4affd3
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4affdd
or dword [esi + 0xc], 0x10
jmp 0x4b0190
Function at 0x4b7b5d
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x54d410]
je 0x4b7b78
inc edi
cmp edi, 0x17
jb 0x4b7b69
cmp edi, 0x17
jae 0x4b7cf8
push ebp
push 3
call fcn.004c63d3
cmp eax, 1
pop ecx
je 0x4b7cc4
push 3
call fcn.004c63d3
test eax, eax
pop ecx
jne 0x4b7bac
cmp dword [0x54cfd8], 1
je 0x4b7cc4
cmp ebx, 0xfc
je 0x4b7cf7
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x553198
push ebp
call fcn.004b57e8
add esp, 0xc
test eax, eax
je 0x4b7be2
push esi
push esi
push esi
push esi
push esi
call fcn.004ad518
add esp, 0x14
push 0x104
mov esi, 0x5531b1
push esi
push 0
mov byte [0x5532b5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b7c26
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004b57e8
add esp, 0xc
test eax, eax
je 0x4b7c26
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004ad518
add esp, 0x14
push esi
call fcn.004b5850
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4b7c6b
push esi
call fcn.004b5850
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x5534ac
push 0x519874
sub ecx, eax
push ecx
push eax
call fcn.004c273e
add esp, 0x14
test eax, eax
je 0x4b7c6b
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004ad518
add esp, 0x14
jmp 0x4b7c6d
xor esi, esi
push 0x519870
push ebx
push ebp
call fcn.004c26cd
add esp, 0xc
test eax, eax
je 0x4b7c8d
push esi
push esi
push esi
push esi
push esi
call fcn.004ad518
add esp, 0x14
push dword [edi*8 + 0x54d414]
push ebx
push ebp
call fcn.004c26cd
add esp, 0xc
test eax, eax
je 0x4b7caf
push esi
push esi
push esi
push esi
push esi
call fcn.004ad518
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004c6216
add esp, 0xc
jmp 0x4b7cf7
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4b7cf7
cmp ebp, 0xffffffff
je 0x4b7cf7
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x54d414]
push dword [esi]
call fcn.004b5850
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4c60ec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004c5dfe
sal byte [edx + 0x458d590b], cl
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x4c61ff
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.004c5e0e
push eax
push esi
push dword [ebp + 8]
call fcn.004c5dc3
mov dword [ebp - 0xbc], eax
inc esp
invalid
invalid
dec dword [ebp + 0x5d88d445]
aam 0x50
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004c5e0e
push eax
push esi
push dword [ebp + 8]
call fcn.004c5dc3
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004c5dfe
inc ebp
xchg edx, eax
enter 0xffffffffffff8888, 0xffffffffffffff9d
jl 0x4c6283
invalid
invalid
Function at 0x4c661e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add dh, al
test dword [esi - 0x25000004], ebp
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.004c5e0e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004c5dc3
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
inc esi
cld
invalid
call dword [ebx]
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.004c5e0e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004c5dc3
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
invalid
movsd dword es:[edi], dword [esi]
pop ss

Function at 0x4ccbc8
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x54d158]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004ccb5d
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004b0770
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4ccc17
cmp dword [ebp - 0x1c], 5
jb 0x4ccc2f
jmp 0x4ccc2b
cmp dword [ebp - 0x10], 1
jne 0x4ccc2f
cmp dword [ebp - 0x1c], 4
ja 0x4ccc2b
jne 0x4ccc2f
cmp dword [ebp - 0x18], 0
jbe 0x4ccc2f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x51b434
call fcn.004cca4e
test eax, eax
jge 0x4ccc50
mov byte [0x5549c0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004ac89d
add ebp, 0x78
leave
ret
Function at 0x4cce50
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4cce5b
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
cmp esi, 1
not eax
jl 0x4cce8d
jmp 0x4cce70
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x51b460]
add ecx, 1
sub esi, 1
jne 0x4cce70
not eax
pop esi
ret