joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446f10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
xor ecx, ecx
mov edi, 0x53a6de
mov dword [esp + 0x10], ecx
mov ebx, 0x278
mov dword [esp + 0x14], edi
mov edx, 0x190
test ecx, ecx
je 0x447128
cmp ecx, 1
je 0x447128
cmp ecx, 2
jne 0x446f69
push dword [0x54e460]
call dword [sym.imp.SDL2.dll_SDL_GetWindowFlags]
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, 0x200
je 0x447128
mov edx, 0x190
movzx esi, word [edi - 4]
movzx eax, word [edi - 2]
mov word [edi], si
mov word [edi + 2], ax
cmp si, bx
jge 0x447128
cmp ax, dx
jge 0x447128
movzx ebx, word [edi + 4]
movzx ebp, word [edi + 6]
movsx edi, ax
mov eax, dword [esp + 0x14]
movsx ecx, si
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebp
mov eax, dword [eax - 0xa]
mov edx, eax
sub edx, ecx
test si, si
cmovns edx, eax
xor eax, eax
test si, si
cmovns eax, ecx
add ebx, ecx
mov ecx, dword [esp + 0x18]
test si, si
mov dword [esp + 0x1c], eax
cmovns ebx, ecx
mov dword [esp + 0x24], ebx
test edi, edi
jns 0x446fe4
mov eax, ecx
add ebp, edi
imul eax, edi
mov dword [esp + 0x20], ebp
sub edx, eax
mov eax, dword [esp + 0x1c]
xor edi, edi
test ebx, ebx
jle 0x44711b
test ebp, ebp
jle 0x44711b
mov esi, dword [esp + 0x14]
imul ecx, edi, 0x278
mov esi, dword [esi - 0xe]
add ecx, eax
mov eax, dword [0x54e3ac]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
add ecx, ebx
mov ebx, 0x278
sub ebx, dword [esp + 0x1c]
cmp ecx, 0x278
lea ecx, [edi + ebp]
mov ebp, 0x190
cmovl ebx, dword [esp + 0x24]
sub ebp, edi
cmp ecx, 0x190
mov ecx, dword [esp + 0x18]
cmovl ebp, dword [esp + 0x20]
sub ecx, ebx
cmp byte [0x550b66], 0
mov dword [esp + 0x18], ecx
je 0x4470c1
cmp dword [esp + 0x10], 3
jne 0x4470c1
test ebp, ebp
jle 0x44711b
shl ecx, 2
mov dword [esp + 0x20], ecx
mov ecx, 0x278
sub ecx, ebx
shl ecx, 2
mov dword [esp + 0x24], ecx
xor edi, edi
test ebx, ebx
jle 0x4470b0
mov ecx, dword [eax]
mov dword [esi], ecx
add esi, 4
cmp byte [edx], 0x7f
je 0x4470a3
mov ecx, dword [eax]
test ecx, 0xffffff
je 0x44709d
cmp ecx, dword [0x54e3f4]
je 0x44709d
mov dword [eax], 0x4ece
jmp 0x4470a3
mov dword [eax], 0xb3dbf6
inc edi
add eax, 4
inc edx
cmp edi, ebx
jl 0x447077
mov ecx, dword [esp + 0x24]
add esi, dword [esp + 0x20]
add eax, ecx
add edx, dword [esp + 0x18]
sub ebp, 1
jne 0x447071
jmp 0x44711b
test ebp, ebp
jle 0x44711b
mov ecx, 0x278
sub ecx, ebx
shl ecx, 2
mov dword [esp + 0x24], ecx
xor edi, edi
test ebx, ebx
jle 0x447103
nop dword [eax]
mov ecx, dword [eax]
mov dword [esi], ecx
add esi, 4
mov cl, byte [edx]
cmp cl, 0x7f
je 0x4470fa
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x54e3b0]
mov dword [eax], ecx
inc edi
add eax, 4
inc edx
cmp edi, ebx
jl 0x4470e0
mov ecx, dword [esp + 0x18]
add edx, ecx
add eax, dword [esp + 0x24]
lea edi, [ecx*4]
add esi, edi
sub ebp, 1
jne 0x4470d3
mov edi, dword [esp + 0x14]
mov ebx, 0x278
mov ecx, dword [esp + 0x10]
inc ecx
add edi, 0x18
mov dword [esp + 0x10], ecx
mov edx, 0x190
mov dword [esp + 0x14], edi
cmp ecx, 4
jl 0x446f30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x448490
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x53a738]
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, edx
push edi
mov edi, ecx
test eax, eax
je 0x4484bd
push eax
call fcn.00489083
add esp, 4
mov dword [0x53a738], 0
xor ebx, ebx
cmp byte [0x4ecb29], 0x10
push edi
setne bl
lea ebx, [ebx*2 + 2]
imul ebx, esi
call fcn.00489d53
add esp, 4
lea esi, [eax - 8]
push edi
call fcn.0048a050
mov cl, byte [0x4ecb29]
add esp, 4
mov dword [esp + 0x14], 0x46464952
mov ebp, 1
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0x45564157
mov dword [esp + 0x20], 0x20746d66
mov dword [esp + 0x24], 0x10
cmp cl, 0x10
jne 0x448523
mov word [esp + 0x28], bp
jmp 0x44852d
mov eax, 3
mov word [esp + 0x28], ax
movzx edx, cl
mov eax, 2
mov word [esp + 0x2a], ax
mov ecx, edx
mov eax, dword [0x4ecb4c]
imul ecx, eax
mov dword [esp + 0x2c], eax
lea eax, [edx + edx]
cdq
and edx, 7
mov dword [esp + 0x38], 0x61746164
add eax, edx
mov dword [esp + 0x3c], ebx
sar eax, 3
add ecx, ecx
mov word [esp + 0x34], ax
mov al, byte [0x4ecb29]
push edi
movzx eax, al
push 0x2c
mov word [esp + 0x3e], ax
lea eax, [esp + 0x1c]
shr ecx, 3
push 1
push eax
mov dword [esp + 0x40], ecx
call fcn.0048a33c
push edi
call fcn.00489248
add esp, 0x14
call fcn.00436370
cmp word [0x54fc24], 0
jne 0x4485ad
mov eax, 6
mov word [0x54fc24], ax
mov ecx, dword [0x4f3e7c]
cmp dword [0x789f80], ecx
mov dword [0x789f80], ecx
setne al
test al, al
je 0x4485cb
call fcn.00432da0
movzx ecx, word [0x54fc22]
lea eax, [ecx - 0x20]
cmp eax, 0xdf
ja 0x448624
mov eax, dword [ecx*4 + 0x789f0c]
mov dword [0x789f88], eax
mov eax, dword [ecx*8 + 0x78a220]
mov dword [0x78a318], eax
mov eax, dword [ecx*8 + 0x78a224]
mov dword [0x78a31c], eax
mov eax, dword [ecx*4 + 0x78a9a4]
mov dword [0x4f6090], eax
mov eax, dword [ecx*8 + 0x78acb0]
mov dword [0x4f4288], eax
mov eax, dword [ecx*8 + 0x78acb4]
mov dword [0x4f428c], eax
movzx edx, word [0x552867]
movzx esi, word [0x5524eb]
cmp dx, 0x20
jle 0x44863f
mov edx, 0x20
jmp 0x448646
cmp dx, 1
cmovl edx, ebp
mov eax, 0x100
cmp si, ax
jg 0x44865d
xor ecx, ecx
mov eax, esi
test si, si
cmovns ecx, eax
movzx eax, cx
movsx ecx, dx
cwde
imul ecx, eax
test byte [0x55259e], 4
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4e2a40]
jne 0x448685
mulsd xmm0, qword [0x4e2b98]
cvtpd2ps xmm0, xmm0
pop edi
pop esi
movss dword [0x4ee0ac], xmm0
mov byte [0x54e4dc], 0
mov byte [0x54e620], 0
mov byte [0x54e621], 1
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4490c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov ecx, dword [esi + 0x1c]
mov ebp, ecx
mov edi, dword [esi + 0x10]
cmp edi, ecx
jbe 0x449130
mov edx, dword [esi + 0x20]
test edx, edx
je 0x449130
mov eax, dword [esi]
lea ebp, [ecx + 1]
mov ebx, dword [esi + 0x18]
mov eax, dword [eax + ecx*4]
mov dword [esi + 0x1c], ebp
cmp edx, 0x20
jae 0x449126
mov esi, eax
mov ecx, 0x18
mov eax, esi
sub ecx, edx
add edx, 8
shr eax, cl
movzx ecx, al
mov eax, ebx
shr eax, 8
xor ecx, eax
movzx ebx, bl
shl ebx, 8
movzx ecx, word [ecx*2 + 0x4dc600]
xor ebx, ecx
cmp edx, 0x20
jb 0x4490f5
mov esi, dword [esp + 0x14]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], 0
mov eax, dword [esi]
sub edi, ebp
movzx edx, word [esi + 0x18]
lea ebp, [eax + ebp*4]
mov dword [esp + 0x10], ebp
cmp edi, 2
jb 0x4491e8
mov esi, dword [esp + 0x10]
mov ebp, edi
shr ebp, 1
mov ebx, dword [esi]
sub edi, 2
movzx eax, dx
mov edx, dword [esi + 4]
shr ebx, 0x10
xor ebx, eax
mov eax, dword [esi]
shr eax, 8
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov cx, word [ecx*2 + 0x4dd000]
xor cx, word [eax*2 + 0x4dca00]
mov eax, edx
shr eax, 8
movzx eax, al
xor cx, word [eax*2 + 0x4dc800]
mov eax, ebx
shr eax, 8
xor cx, word [eax*2 + 0x4dd400]
mov eax, edx
shr eax, 0x18
xor cx, word [eax*2 + 0x4dcc00]
movzx eax, bl
xor cx, word [eax*2 + 0x4dd200]
movzx eax, dl
xor cx, word [eax*2 + 0x4dc600]
mov eax, dword [esi]
add esi, 8
movzx eax, al
xor cx, word [eax*2 + 0x4dce00]
movzx edx, cx
sub ebp, 1
jne 0x449150
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test edi, edi
je 0x449231
mov ebx, dword [ebp]
movzx eax, dx
shr ebx, 0x10
xor ebx, eax
mov eax, dword [ebp]
shr eax, 8
mov ecx, ebx
movzx eax, al
shr ecx, 8
mov dx, word [eax*2 + 0x4dc800]
xor dx, word [ecx*2 + 0x4dcc00]
movzx eax, bl
xor dx, word [eax*2 + 0x4dca00]
mov eax, dword [ebp]
movzx eax, al
xor dx, word [eax*2 + 0x4dc600]
movzx edx, dx
pop edi
movzx eax, dx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x44c280
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax], 9
je 0x44c291
mov eax, 5
pop esi
ret
mov eax, dword [esi + 4]
push edi
push 0x2000
mov dword [eax + 0x24], 0x449d80
mov eax, dword [esi + 4]
mov dword [eax + 0x28], 0x44a500
mov eax, dword [esi + 4]
mov dword [eax + 0x2c], 0x449d80
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x38]
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 4], 0x800
call fcn.004896c5
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x44c506
mov dword [edi + 0x24], 0x44f4a0
mov dword [edi + 0x28], esi
mov eax, dword [esi + 4]
mov dword [eax + 4], 0x47eaf0
mov eax, dword [esi + 4]
mov dword [eax + 8], 0x47eb30
mov eax, dword [esi + 4]
mov dword [eax + 0xc], 0x47eb60
mov eax, dword [esi + 4]
mov dword [eax + 0x10], 0x47eb90
mov eax, dword [esi + 4]
mov dword [eax + 0x14], 0x47ebd0
mov eax, dword [esi + 4]
mov dword [eax + 0x18], 0x47ef00
mov eax, dword [esi + 4]
mov dword [eax + 0x1c], 0x47ebf0
mov eax, dword [esi + 4]
mov dword [eax + 0x20], fcn.0042d020
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x30], eax
mov eax, dword [esi + 4]
mov dword [eax + 0xe8], 0
mov eax, dword [esi + 4]
mov dword [eax + 0xe4], 0
mov eax, dword [esi + 4]
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov eax, dword [esi + 4]
mov dword [eax + 0xf8], 0
mov eax, dword [esi + 4]
mov dword [eax + 0xdc0], 0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0xde8], eax
mov ecx, esi
mov eax, dword [esi + 4]
mov dword [eax + 0xdf0], 0
mov eax, dword [esi + 4]
mov dword [eax + 0xdec], 1
call fcn.0044c7f0
test eax, eax
je 0x44c50e
mov eax, dword [esi + 4]
cmp dword [eax + 0xdec], 0
jne 0x44c418
push 0
mov edi, eax
call fcn.004902e4
add esp, 4
cmp dword [edi + 0x34], eax
je 0x44c50e
mov eax, dword [edi + 8]
test eax, eax
je 0x44c422
push dword [edi + 0x30]
push 0
push 0
push esi
call eax
add esp, 0x10
cmp eax, 1
jne 0x44c422
pop edi
mov eax, 3
pop esi
ret
mov dword [eax + 0xdec], 0
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi + 4]
mov dword [eax + 0xf8], 0
mov eax, dword [esi + 4]
push dword [eax + 0x1c4]
call fcn.00489083
mov eax, dword [esi + 4]
add esp, 4
mov dword [eax + 0x1c4], 0
mov eax, dword [esi + 4]
pop edi
mov dword [eax + 0xfc], 0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0xde8], eax
mov eax, dword [esi + 4]
mov dword [eax + 0xe8], 0
mov eax, dword [esi + 4]
mov dword [eax + 0xe4], 0
mov eax, dword [esi + 4]
mov dword [eax + 0xe34], 0x67452301
mov dword [eax + 0xe38], 0xefcdab89
mov dword [eax + 0xe3c], 0x98badcfe
mov dword [eax + 0xe40], 0x10325476
mov dword [eax + 0xe44], 0
mov dword [eax + 0xe48], 0
mov dword [eax + 0xe4c], 0
mov dword [eax + 0xe50], 0
mov eax, dword [esi + 4]
mov dword [eax + 0x17b8], 0
mov dword [eax + 0x17bc], 0
mov eax, dword [esi + 4]
pop esi
mov dword [eax + 0x17c8], 0
xor eax, eax
ret
mov eax, dword [esi]
mov dword [eax], 8
pop edi
mov eax, 3
pop esi
ret
Function at 0x470e70
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
push edi
push ecx
push 4
lea eax, [esp + 0x10]
mov edi, edx
push 1
push eax
call fcn.0048a775
mov eax, dword [esp + 0x18]
add esp, 0x10
mov cl, al
and cl, 0xf
movzx edx, cl
shl dx, 8
movzx ecx, ah
or dx, cx
xor cl, cl
movzx esi, dx
movzx edx, cl
cmp si, word [edx*2 + 0x4c2140]
jae 0x470eb8
inc cl
cmp cl, 0x24
jb 0x470ea2
jmp 0x470ebd
add cl, 0x25
mov byte [edi], cl
mov dl, byte [esp + 0xa]
and al, 0xf0
mov cl, dl
shr cl, 4
or al, cl
and dl, 0xf
mov byte [edi + 1], al
mov al, byte [esp + 0xb]
mov byte [edi + 3], dl
mov byte [edi + 4], al
pop edi
pop esi
pop ecx
ret
Function at 0x4731b0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
lea eax, [esp + 8]
push edi
push 1
push 2
push eax
call fcn.0048a775
movzx eax, word [esp + 0x18]
inc eax
push eax
call fcn.004896c5
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4731dd
pop edi
pop esi
pop ecx
ret
movzx eax, word [esp + 8]
push edi
push eax
push 1
push esi
call fcn.0048a775
movzx eax, word [esp + 0x18]
add esp, 0x10
mov byte [eax + esi], 0
mov eax, esi
pop edi
pop esi
pop ecx
ret
Function at 0x474990
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8dea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.00481cee
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x474a1d
push eax
push esi
call fcn.0048204c
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
lea ecx, [ebp - 0x1c]
call fcn.00474930
push 0x4e6ae8
lea eax, [ebp - 0x1c]
push eax
call fcn.00484537
int3
Function at 0x476240
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8f77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push esi
push edi
mov dword [ebx + 4], 0
mov byte [ebx + 8], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0xf
mov byte [ebx + 0xc], 0
mov dword [ebx + 0x24], 0
mov byte [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
lea edi, [ebx + 0x30]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], edi
lea esi, [edi + 0x10]
mov dword [ebx], 0x4e2564
sub esp, 8
mov ecx, esi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 0x14], esi
call fcn.00476de0
xorps xmm0, xmm0
movsd qword [esi + 0x10], xmm0
mov word [edi + 0x28], 7
mov byte [edi + 0x2a], 1
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov byte [edi + 0x3c], 0
mov byte [ebp - 4], 1
push 0x964
mov dword [ebx + 0x38], 0x64
mov dword [ebp - 0x14], 0x64
call fcn.00480f0a
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x476348
push 0x475650
push 0x475630
push 0x64
lea esi, [eax + 4]
mov dword [eax], 0x64
push 0x18
push esi
call fcn.00480f36
jmp 0x47634a
xor esi, esi
mov dword [ebx + 0x3c], esi
mov dword [ebp - 4], 3
mov dword [ebx], 0x4e2590
call dword [sym.imp.WINMM.dll_midiInGetNumDevs]
test eax, eax
jne 0x476389
push 0x43
lea esi, [ebx + 0xc]
push str.MidiInWinMM::initialize:_no_MIDI_input_devices_currently_available.
mov ecx, esi
call fcn.00478d40
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00477320
push 0
mov ecx, ebx
call fcn.00475ae0
push 0x50
call fcn.00480dce
mov edi, eax
mov dword [ebp - 0x18], edi
lea esi, [edi + 0x10]
mov byte [ebp - 4], 4
push ecx
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00476de0
mov byte [ebp - 4], 3
xorps xmm0, xmm0
movsd qword [esi + 0x10], xmm0
mov dword [ebx + 4], edi
mov dword [ebx + 0x5c], edi
mov eax, dword [esi]
mov dword [esi + 4], eax
lea eax, [edi + 0x38]
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x4763f6
push 0x46
lea esi, [ebx + 0xc]
push str.MidiInWinMM::initialize:_InitializeCriticalSectionAndSpinCount_failed.
mov ecx, esi
call fcn.00478d40
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00477320
push 0
mov ecx, ebx
call fcn.00475ae0
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x477490
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9057
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
push esi
mov dword [ebx], 0x4e2620
push edi
mov dword [ebx + 0x50], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [ebx]
push 0
push 0
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.004752e0
push 8
call fcn.00480dce
mov esi, eax
push 1
mov dword [ebp - 4], 2
call fcn.00481f45
add esp, 8
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
lea eax, [ebx + 4]
mov ecx, edi
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
push 0x20
mov dword [edi + 0x3c], 0
call fcn.00479fa0
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x477598
mov eax, dword [edi + 0xc]
mov ecx, edi
or eax, 4
push 0
push eax
call fcn.004752e0
mov dword [ebp - 4], 3
lea edi, [ebx + 4]
mov eax, dword [ebx]
push 8
mov dword [ebp - 0x18], edi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x4e2560
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00480dce
mov esi, eax
push 1
mov byte [ebp - 4], 4
call fcn.00481f45
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, ebx
mov dword [edi], 0x4e25bc
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 4
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x479e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a91d0
push eax
mov dword fs:[0], esp
push esi
push edi
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00480dce
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00481f45
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47cbb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov dl, byte [0x550b61]
mov al, byte [0x550b62]
push ebx
mov ebx, dword [0x54fc2c]
push ebp
mov ebp, ecx
push esi
push edi
test dl, dl
je 0x47cbef
test al, al
jne 0x47cbef
mov cl, 1
mov al, byte [ebp + 0x54e4f1]
xor ah, ah
test cl, cl
je 0x47cce5
cmp al, 1
setne al
mov byte [ebp + 0x54e4f1], al
jmp 0x47cc4c
xor cl, cl
test al, al
je 0x47cbd2
test dl, dl
je 0x47cbd2
xor eax, eax
mov byte [esp + 0x13], 1
test ebx, ebx
jle 0x47ccc6
lea edx, [eax + 1]
nop dword [eax + eax]
cmp eax, ebp
je 0x47cc21
cmp byte [eax + 0x54e4f1], 0
movzx ecx, cl
cmove ecx, edx
inc eax
cmp eax, ebx
jl 0x47cc10
test cl, cl
je 0x47ccc6
mov ecx, ebx
mov eax, 0x1010101
mov edx, ecx
mov edi, 0x54e4f1
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ah, byte [esp + 0x13]
xor esi, esi
test ebx, ebx
jle 0x47cca2
mov edi, 0x54dbcc
mov edx, 0x54fc4b
nop dword [eax]
mov cl, byte [esi + 0x54e4f1]
test cl, cl
sete al
mov byte [edx - 0xa], al
test cl, cl
jne 0x47cc94
mov word [edx - 1], 0
mov dword [edx + 0x21], 0x80000000
mov dword [edx + 0x51], 0
mov word [edx + 0x25], 0x8080
mov byte [edx - 7], 1
mov byte [edx - 0xb], 1
mov byte [edi], 0
inc esi
add edx, 0x78
add edi, 0x38
cmp esi, ebx
jl 0x47cc60
test ah, ah
je 0x47cd08
xor esi, esi
test ebx, ebx
jle 0x47ccc0
nop dword [eax]
mov ecx, esi
call fcn.0047c920
inc esi
cmp esi, dword [0x54fc2c]
jl 0x47ccb0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
xor ecx, ecx
test ebx, ebx
jle 0x47cc48
cmp ecx, ebp
sete al
mov byte [ecx + 0x54e4f1], al
inc ecx
cmp ecx, ebx
jl 0x47ccd0
jmp 0x47cc48
test al, al
je 0x47ccf5
xor byte [ebp + 0x55256b], 1
jmp 0x47cc4c
mov byte [ebp + 0x55256b], 1
mov byte [ebp + 0x54e4f1], 1
jmp 0x47cc4c
pop edi
pop esi
mov ecx, ebp
pop ebp
pop ebx
add esp, 4
jmp fcn.0047c920
Function at 0x47e920
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
call fcn.00489d53
push 2
push 0
push esi
mov dword [esp + 0x30], eax
call fcn.0048a035
push esi
call fcn.00489d53
mov edi, eax
add esp, 0x14
cmp edi, 0xc
jl 0x47eac9
push 0
push 0xc
push esi
call fcn.0048a035
xor eax, eax
xor ebp, ebp
push esi
mov dword [esp + 0x2c], eax
xor ebx, ebx
call fcn.004901c4
add esp, 0x10
test eax, eax
jne 0x47eac9
lea eax, [edi - 0xc]
mov dword [esp + 0x24], eax
nop dword [eax]
cmp ebx, eax
jge 0x47ea74
push esi
push 1
lea eax, [esp + 0x1c]
push 4
push eax
call fcn.0048a775
mov ecx, dword [esp + 0x24]
mov edx, ecx
mov eax, ecx
and edx, 0xff0000
shr eax, 0x10
or edx, eax
mov eax, ecx
and eax, 0xff00
shl ecx, 0x10
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
push esi
mov dword [esp + 0x28], edx
call fcn.004901c4
add esp, 0x14
test eax, eax
jne 0x47ea74
push esi
push 1
lea eax, [esp + 0x18]
push 4
push eax
call fcn.0048a775
mov ecx, dword [esp + 0x20]
mov edx, ecx
mov eax, ecx
and edx, 0xff0000
shr eax, 0x10
or edx, eax
mov eax, ecx
and eax, 0xff00
shl ecx, 0x10
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
push esi
mov dword [esp + 0x24], edx
call fcn.004901c4
add esp, 0x14
test eax, eax
jne 0x47ea74
push esi
call fcn.00489d53
mov edx, dword [esp + 0x14]
add esp, 4
mov edi, edx
add eax, edx
and edi, 1
add edi, eax
cmp dword [esp + 0x14], 0x434f4d4d
jne 0x47ea4d
push esi
call fcn.00489d53
mov edx, dword [esp + 0x14]
add esp, 4
mov ebp, eax
mov dword [esp + 0x1c], edx
mov ecx, edx
push 0
and ecx, 1
add ecx, edx
push edi
push esi
add ebx, ecx
call fcn.0048a035
push esi
call fcn.004901c4
add esp, 0x10
test eax, eax
mov eax, dword [esp + 0x24]
je 0x47e980
test ebp, ebp
je 0x47eac9
mov eax, dword [esp + 0x1c]
cmp eax, 2
jb 0x47eac9
push 0
push ebp
push esi
call fcn.0048a035
push esi
push 1
lea eax, [esp + 0x2c]
push 2
push eax
call fcn.0048a775
mov ax, word [esp + 0x34]
push 0
push dword [esp + 0x40]
rol ax, 8
movzx eax, ax
push esi
mov dword [esp + 0x40], eax
call fcn.0048a035
add esp, 0x28
cmp word [esp + 0x18], 2
sete al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0
push dword [esp + 0x24]
push esi
call fcn.0048a035
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret