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

Disassembly:
sub esp, 0x10
movzx eax, cx
push edi
imul edi, eax, 0x2c
add edi, 0x4ec010
cmp byte [edi + 0x10], 0
je 0x43f482
movzx eax, word [edi + 0x20]
movzx edx, word [edi + 0x22]
mov dword [esp + 0x10], eax
movzx eax, word [edi + 0x24]
mov dword [esp + 8], eax
movzx eax, word [edi + 0x26]
mov dword [esp + 4], eax
movzx eax, word [edi + 2]
imul ecx, eax, 0x278
movzx eax, word [edi]
push ebx
movzx ebx, word [edi + 6]
push ebp
movzx ebp, word [edi + 4]
add ecx, eax
mov eax, dword [0x54e3ac]
shl ebp, 2
mov dword [esp + 0x14], edx
push esi
lea esi, [eax + ecx*4]
test ebx, ebx
je 0x43f36e
push ebp
push 0
push esi
call fcn.00484320
add esp, 0xc
add esi, 0x9e0
sub ebx, 1
jne 0x43f353
mov edx, dword [esp + 0x18]
cmp byte [edi + 9], 1
jne 0x43f393
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push 1
push dword [esp + 0x14]
push eax
call fcn.004116a0
add esp, 0xc
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, ebx
mov ebp, dword [esp + 0x1c]
mov ecx, ebp
push 6
push dword [esp + 0x14]
push esi
call fcn.004116a0
movzx eax, bx
add esp, 0xc
imul edx, eax, 0x278
movzx ecx, bp
mov dword [esp + 0x18], ecx
add edx, ecx
shl edx, 2
cmp byte [edi + 0x11], 0
jne 0x43f454
add edx, dword [0x54e3ac]
lea ecx, [esi - 1]
movzx edi, cx
mov dword [esp + 0x1c], edi
test edi, edi
je 0x43f3f4
mov eax, dword [0x54e3dc]
mov ecx, edi
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
lea edx, [ebx + 1]
push 0xb
mov ecx, ebp
lea eax, [esi - 2]
push eax
call fcn.004117c0
lea eax, [esi - 1]
add esp, 8
add eax, ebx
movzx edx, ax
imul esi, edx, 0x278
mov edx, dword [0x54e3ac]
add esi, dword [esp + 0x18]
lea edx, [edx + esi*4]
test edi, edi
je 0x43f435
mov eax, dword [0x54e3d8]
mov ecx, edi
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
mov edx, ebx
push 0xa
push dword [esp + 0x14]
dec ecx
add ecx, ebp
call fcn.004117c0
add esp, 8
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret
mov edi, dword [0x54e3ac]
movzx ecx, si
add edi, edx
test ecx, ecx
je 0x43f46a
mov eax, dword [0x54e3d8]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
lea edx, [ebx + 1]
dec eax
mov ecx, ebp
push 0xa
push eax
call fcn.004117c0
add esp, 8
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret

Function at 0x43fa10
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, 1
movzx eax, si
imul eax, eax, 0x2c
cmp edx, ecx
cmovae ecx, edx
xor bl, bl
mov edx, dword [eax + 0x4ec024]
mov dword [eax + 0x4ec02c], ecx
cmp edx, ecx
jb 0x43fa41
lea edx, [ecx - 1]
mov bl, 1
mov dword [eax + 0x4ec024], edx
cmp dword [eax + 0x4ec028], 0
jbe 0x43fa5a
mov ecx, esi
test bl, bl
je 0x43fa5d
push 0
call fcn.0043f970
add esp, 4
pop esi
pop ebx
ret
call fcn.0043f490
mov ecx, esi
pop esi
pop ebx
jmp fcn.0043f2f0
Function at 0x43fd30
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
mov bp, word [0x550b6a]
push esi
movsx eax, bp
imul esi, eax, 0x2c
push edi
add esi, 0x4ec010
cmp byte [esi + 0x10], 0
je 0x43fed7
cmp byte [esi + 8], 0
jne 0x43fe51
mov edi, dword [0x550b80]
cmp edi, dword [0x550ba0]
je 0x43fed7
movzx eax, word [esi]
movzx ebx, word [esi + 4]
movsd xmm2, qword [0x4e2a70]
mov ecx, ebx
mov dword [0x550ba0], edi
sub edi, eax
sub edi, dword [0x550bac]
cmp byte [esi + 9], 0
jne 0x43fdc6
movzx edx, word [esi + 0x24]
movd xmm1, ecx
mov eax, edx
sub ecx, edx
cvtdq2pd xmm1, xmm1
movd xmm0, ecx
mov ecx, ebx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
addsd xmm1, xmm2
cvttsd2si edi, xmm1
jmp 0x43fdca
movzx eax, word [esi + 0x24]
movzx ecx, cx
movzx eax, ax
cmp edi, ecx
jle 0x43fdd8
mov edi, ecx
jmp 0x43fddf
xor edx, edx
test edi, edi
cmovs edi, edx
movzx edx, word [esi + 0x28]
movzx eax, ax
sub edx, eax
movd xmm0, edi
mov eax, 1
add edx, ecx
cmp edx, eax
push eax
cmovl edx, eax
mov eax, dword [esi + 0x1c]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4e2ca0]
mulsd xmm1, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
addsd xmm1, xmm2
cvttsd2si edx, xmm1
mov cx, bp
call fcn.0043f970
mov cx, word [0x550b6a]
add esp, 4
cmp cx, 0xffff
je 0x43fed7
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.0043f2f0
mov edx, dword [0x550b84]
cmp edx, dword [0x550ba8]
je 0x43fed7
movzx eax, word [esi + 2]
movzx edi, word [esi + 6]
mov dword [0x550ba8], edx
sub edx, eax
sub edx, dword [0x550bb0]
cmp edx, edi
jle 0x43fe7d
mov edx, edi
jmp 0x43fe84
xor eax, eax
test edx, edx
cmovs edx, eax
movzx eax, word [esi + 0x26]
movzx ecx, word [esi + 0x28]
sub ecx, eax
movd xmm0, edx
mov eax, 1
add ecx, edi
cmp ecx, eax
push eax
cmovl ecx, eax
mov eax, dword [esi + 0x1c]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4e2ca0]
mulsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
addsd xmm1, qword [0x4e2a70]
jmp 0x43fe28
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x446ca0
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 0x446eb8
cmp ecx, 1
je 0x446eb8
cmp ecx, 2
jne 0x446cf9
push dword [0x54e460]
call dword [sym.imp.SDL2.dll_SDL_GetWindowFlags]
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, 0x200
je 0x446eb8
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 0x446eb8
cmp ax, dx
jge 0x446eb8
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 0x446d74
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 0x446eab
test ebp, ebp
jle 0x446eab
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 0x446e51
cmp dword [esp + 0x10], 3
jne 0x446e51
test ebp, ebp
jle 0x446eab
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 0x446e40
mov ecx, dword [eax]
mov dword [esi], ecx
add esi, 4
cmp byte [edx], 0x7f
je 0x446e33
mov ecx, dword [eax]
test ecx, 0xffffff
je 0x446e2d
cmp ecx, dword [0x54e3f4]
je 0x446e2d
mov dword [eax], 0x4ece
jmp 0x446e33
mov dword [eax], 0xb3dbf6
inc edi
add eax, 4
inc edx
cmp edi, ebx
jl 0x446e07
mov ecx, dword [esp + 0x24]
add esi, dword [esp + 0x20]
add eax, ecx
add edx, dword [esp + 0x18]
sub ebp, 1
jne 0x446e01
jmp 0x446eab
test ebp, ebp
jle 0x446eab
mov ecx, 0x278
sub ecx, ebx
shl ecx, 2
mov dword [esp + 0x24], ecx
xor edi, edi
test ebx, ebx
jle 0x446e93
nop dword [eax]
mov ecx, dword [eax]
mov dword [esi], ecx
add esi, 4
mov cl, byte [edx]
cmp cl, 0x7f
je 0x446e8a
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x54e3b0]
mov dword [eax], ecx
inc edi
add eax, 4
inc edx
cmp edi, ebx
jl 0x446e70
mov ecx, dword [esp + 0x18]
add edx, ecx
add eax, dword [esp + 0x24]
lea edi, [ecx*4]
add esi, edi
sub ebp, 1
jne 0x446e63
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 0x446cc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x448240
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 0x44826d
push eax
call fcn.00488d73
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.00489a43
add esp, 4
lea esi, [eax - 8]
push edi
call fcn.00489d40
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 0x4482d3
mov word [esp + 0x28], bp
jmp 0x4482dd
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.0048a02c
push edi
call fcn.00488f38
add esp, 0x14
call fcn.00436150
cmp word [0x54fc24], 0
jne 0x44835d
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 0x44837b
call fcn.00432bc0
movzx ecx, word [0x54fc22]
lea eax, [ecx - 0x20]
cmp eax, 0xdf
ja 0x4483d4
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 0x4483ef
mov edx, 0x20
jmp 0x4483f6
cmp dx, 1
cmovl edx, ebp
mov eax, 0x100
cmp si, ax
jg 0x44840d
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 [0x4e29e0]
jne 0x448435
mulsd xmm0, qword [0x4e2b50]
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 0x448e70
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 0x448ee0
mov edx, dword [esi + 0x20]
test edx, edx
je 0x448ee0
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 0x448ed6
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 + 0x4dc5f0]
xor ebx, ecx
cmp edx, 0x20
jb 0x448ea5
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 0x448f98
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 + 0x4dcff0]
xor cx, word [eax*2 + 0x4dc9f0]
mov eax, edx
shr eax, 8
movzx eax, al
xor cx, word [eax*2 + 0x4dc7f0]
mov eax, ebx
shr eax, 8
xor cx, word [eax*2 + 0x4dd3f0]
mov eax, edx
shr eax, 0x18
xor cx, word [eax*2 + 0x4dcbf0]
movzx eax, bl
xor cx, word [eax*2 + 0x4dd1f0]
movzx eax, dl
xor cx, word [eax*2 + 0x4dc5f0]
mov eax, dword [esi]
add esi, 8
movzx eax, al
xor cx, word [eax*2 + 0x4dcdf0]
movzx edx, cx
sub ebp, 1
jne 0x448f00
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test edi, edi
je 0x448fe1
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 + 0x4dc7f0]
xor dx, word [ecx*2 + 0x4dcbf0]
movzx eax, bl
xor dx, word [eax*2 + 0x4dc9f0]
mov eax, dword [ebp]
movzx eax, al
xor dx, word [eax*2 + 0x4dc5f0]
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 0x44c030
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax], 9
je 0x44c041
mov eax, 5
pop esi
ret
mov eax, dword [esi + 4]
push edi
push 0x2000
mov dword [eax + 0x24], 0x449b30
mov eax, dword [esi + 4]
mov dword [eax + 0x28], 0x44a2b0
mov eax, dword [esi + 4]
mov dword [eax + 0x2c], 0x449b30
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.004893b5
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x44c2b6
mov dword [edi + 0x24], 0x44f250
mov dword [edi + 0x28], esi
mov eax, dword [esi + 4]
mov dword [eax + 4], 0x47e7e0
mov eax, dword [esi + 4]
mov dword [eax + 8], 0x47e820
mov eax, dword [esi + 4]
mov dword [eax + 0xc], 0x47e850
mov eax, dword [esi + 4]
mov dword [eax + 0x10], 0x47e880
mov eax, dword [esi + 4]
mov dword [eax + 0x14], 0x47e8c0
mov eax, dword [esi + 4]
mov dword [eax + 0x18], 0x47ebf0
mov eax, dword [esi + 4]
mov dword [eax + 0x1c], 0x47e8e0
mov eax, dword [esi + 4]
mov dword [eax + 0x20], fcn.0042ce20
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.0044c5a0
test eax, eax
je 0x44c2be
mov eax, dword [esi + 4]
cmp dword [eax + 0xdec], 0
jne 0x44c1c8
push 0
mov edi, eax
call fcn.0048ffd4
add esp, 4
cmp dword [edi + 0x34], eax
je 0x44c2be
mov eax, dword [edi + 8]
test eax, eax
je 0x44c1d2
push dword [edi + 0x30]
push 0
push 0
push esi
call eax
add esp, 0x10
cmp eax, 1
jne 0x44c1d2
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.00488d73
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 0x470c20
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.0048a465
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 + 0x4c2130]
jae 0x470c68
inc cl
cmp cl, 0x24
jb 0x470c52
jmp 0x470c6d
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 0x472f60
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.0048a465
movzx eax, word [esp + 0x18]
inc eax
push eax
call fcn.004893b5
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x472f8d
pop edi
pop esi
pop ecx
ret
movzx eax, word [esp + 8]
push edi
push eax
push 1
push esi
call fcn.0048a465
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 0x474740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8aca
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.004819de
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 0x4747cd
push eax
push esi
call fcn.00481d3c
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.004746e0
push 0x4e6aa8
lea eax, [ebp - 0x1c]
push eax
call fcn.00484227
int3
Function at 0x475f90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8c57
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], 0x4e2504
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.00476b30
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.00480bfa
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x476098
push 0x475400
push 0x4753e0
push 0x64
lea esi, [eax + 4]
mov dword [eax], 0x64
push 0x18
push esi
call fcn.00480c26
jmp 0x47609a
xor esi, esi
mov dword [ebx + 0x3c], esi
mov dword [ebp - 4], 3
mov dword [ebx], 0x4e2530
call dword [sym.imp.WINMM.dll_midiInGetNumDevs]
test eax, eax
jne 0x4760d9
push 0x43
lea esi, [ebx + 0xc]
push str.MidiInWinMM::initialize:_no_MIDI_input_devices_currently_available.
mov ecx, esi
call fcn.00478a90
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00477070
push 0
mov ecx, ebx
call fcn.00475890
push 0x50
call fcn.00480abe
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.00476b30
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 0x476146
push 0x46
lea esi, [ebx + 0xc]
push str.MidiInWinMM::initialize:_InitializeCriticalSectionAndSpinCount_failed.
mov ecx, esi
call fcn.00478a90
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00477070
push 0
mov ecx, ebx
call fcn.00475890
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 0x4771e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8d37
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], 0x4e25c0
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.00475090
push 8
call fcn.00480abe
mov esi, eax
push 1
mov dword [ebp - 4], 2
call fcn.00481c35
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.00479cf0
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x4772e8
mov eax, dword [edi + 0xc]
mov ecx, edi
or eax, 4
push 0
push eax
call fcn.00475090
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], 0x4e2500
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.00480abe
mov esi, eax
push 1
mov byte [ebp - 4], 4
call fcn.00481c35
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], 0x4e255c
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