joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4150d1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00414f42

Function at 0x4154cb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407b40
mov eax, dword [0x44dd40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00412ee6
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41550d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x415669
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041c820
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x44f950]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004164c2
mov ecx, dword [esi*4 + 0x44f950]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x415662
cmp eax, dword [edi + ecx + 0x24]
jne 0x415662
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x415662
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004164c2
add esp, 0x14
test edx, edx
jl 0x415662
jg 0x4155d8
test eax, eax
jb 0x415662
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x415662
jl 0x4155f2
cmp dword [ebp - 0x1008], eax
ja 0x415662
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x415610
test ebx, ebx
je 0x415649
cmp ecx, edi
jae 0x415649
mov al, byte [ecx]
cmp al, 0xd
jne 0x41562a
lea eax, [edi - 1]
cmp ecx, eax
jae 0x415636
cmp byte [ecx + 1], 0xa
jne 0x415636
inc ecx
jmp 0x415636
movzx eax, al
movsx eax, byte [eax + 0x44e018]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x415610
cmp edx, ebx
jne 0x415610
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x415667
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406da7
leave
ret
Function at 0x415960
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x44f950]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4159a0
cmp byte [ebx], 0xa
jne 0x4159a0
or byte [eax + edi + 0x28], 4
jmp 0x4159a5
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x415aa3
mov al, byte [edx]
cmp al, 0x1a
je 0x415a85
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4159d4
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4159f9
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x415a03
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4159b6
jmp 0x415aa3
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x415a80
cmp dword [ebp - 0xc], 0
je 0x415a80
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x44f950]
test byte [eax + edi + 0x28], 0x48
je 0x415a5a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x415a45
mov byte [esi], dl
jmp 0x415a56
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x44f950]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x415aa3
cmp byte [ebp - 1], 0xa
jne 0x415a69
cmp esi, ebx
jne 0x415a69
mov byte [esi], 0xa
jmp 0x415aa2
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004164e0
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x415aa3
mov byte [esi], 0xd
jmp 0x415aa2
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x44f950]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x415a9f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x415aa3
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x415aac
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x44f950]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x415aef
cmp word [esi], dx
jne 0x415aef
or byte [edi + eax + 0x28], 4
jmp 0x415af4
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x415c47
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x415c27
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x415b36
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x415b6c
cmp eax, edx
jae 0x415b78
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x415b0e
jmp 0x415c47
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x415c23
cmp dword [ebp - 0x14], 0
je 0x415c23
mov eax, dword [ebx*4 + 0x44f950]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x415bfb
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x415bc4
mov word [esi], cx
jmp 0x415bf7
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x44f950]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x44f950]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x44f950]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x415c47
pop ebx
cmp word [ebp - 4], bx
jne 0x415c0c
cmp esi, dword [ebp + 0xc]
jne 0x415c0c
mov word [esi], bx
jmp 0x415c44
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004164e0
add esp, 0x10
cmp word [ebp - 4], bx
je 0x415c47
push 0xd
jmp 0x415c40
mov ecx, dword [ebx*4 + 0x44f950]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x415c3e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x415c47
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x416d3e
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x44dd40]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x416d89
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00416edd
test al, al
jne 0x416d83
sub edx, 2
cmp edx, edi
jne 0x416d69
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x416dab
lea eax, [edi + 2]
cmp edx, eax
je 0x416dab
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00416c8a
add esp, 0x10
jmp 0x416ea5
push esi
lea ecx, [ebp - 0x255]
call fcn.00416edd
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x416dee
push dword [ebp - 0x25c]
jmp 0x416d9b
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x416e2b
cmp word [ebp - 0x226], 0
je 0x416e4c
cmp word [ebp - 0x226], ax
jne 0x416e2b
cmp word [ebp - 0x224], 0
je 0x416e4c
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00416c8a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x416e98
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x416e05
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x416e80
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x416ea5
push 0x416aba
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041a970
add esp, 0x10
jmp 0x416e75
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406da7
leave
ret

Function at 0x41c7e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41c80d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41c80d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x617382
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 0x10], edi
lea esp, [esp + 0x10]
pushfd
jmp 0x617294
Function at 0x61a29b
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ecx, ebp
jmp 0x61a2a3
mov ebx, 0x5d8dcfae
btc eax, ebx
jo 0x61a2e9
not dl
jmp 0x61a2ce
adc bh, dl
mov edx, dword [esp]
mov dx, word [esp]
jmp 0x61a2fd
not dl
adc bh, dl
mov edx, dword [esp]
mov dx, word [esp]
mov al, 0xff
jmp 0x61a37b
mov al, 0xff
jmp 0x61a37b
bswap eax
mov edx, dword [esp]
sub esp, 4
jle 0x61a34d
add esp, 2
mov ax, word [esp]
lea esp, [esp + 2]
jmp 0x61a352
add esp, 2
jmp 0x61a330
or ebx, esp
bswap eax
xor ebp, 0x499d7e5f
mov ax, 0x113e
rdtsc
jmp 0x61a301

Function at 0x61a996
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dl, dh
lea esp, [esp + 4]
not al
bswap edx
jmp 0x61a96f

Function at 0x61cafc
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf0608ca8
jmp 0x61cb04
xchg dword [esp], edx
call fcn.0061c9db
add di, 0x517
jo 0x61cb20
lea eax, reloc.WINMM.dll_midiStreamOut
jmp 0x61cb2c
pushfd
jmp 0x61b45e
lea eax, reloc.WINMM.dll_midiStreamOut
jmp 0x61cb2c
mov esi, dword [esp + 0x2c]
xchg cx, bx
cpuid
rcr eax, cl
js 0x61cb64
jns 0x61cb4e
mov dword [edx + ecx*4], edx
in eax, dx
sbb al, 0xda
add eax, eax
or dword [ecx - reloc.WINMM.dll_midiStreamOut], 0x64
mov dword [esp + 0x10], edi
lea esp, [esp + 0x10]
jmp 0x61cb1a
lea ebp, [esp]
xchg di, ax
inc ebx
je 0x61cb66
jne 0x61cba5
sbb bh, byte [eax + 0x3fb8492e]
adc eax, 0x691e3784
jmp 0x61cb4e
mov ah, dh
jmp 0x61cb8b
sub esp, 0xc0
jmp 0x61cbbf
mov ah, dh
jmp 0x61cb8b
rdtsc
jmp 0x61cfcf
mov edi, esp
bsf eax, esi
jge 0x61cba9
rdtsc
mov ebx, edx
rol al, cl
jmp 0x61cfd3
mov ebx, edx
rol al, cl
Function at 0x63ea3c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
add esp, 2
lea esp, [esp + 2]
jmp 0x63ea69
and edx, ecx
push edi
jmp 0x63ea85

Function at 0x63ec3b
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea edi, [ecx + ebx]
mov ebx, dword [ebx*4 + reloc.WINMM.dll_midiStreamOut]
lea edi, [edx*4]
jmp 0x63ec4b
lea esp, [esp + 1]
lea esp, [esp + 3]
mov dword [esi + 4], edi
neg di
jmp 0x63ec1f
lea edi, reloc.WINMM.dll_midiStreamOut
mov edi, edx
shr edi, 0x18
stc
jmp 0x63ec5d
stc
mov edi, dword [edi*4 + reloc.WINMM.dll_midiStreamOut]
jmp 0x63ec94
and ebx, ecx
jmp 0x63eca0
and edi, ecx
clc
mov edi, dword [edi*4 + reloc.WINMM.dll_midiStreamOut]
jmp 0x63ec7e
xor edi, dword [ebx*4 + reloc.WINMM.dll_midiStreamOut]
jmp 0x63ed16
push edi
jmp 0x63ecfb
xor edi, dword [ebx*4 + reloc.WINMM.dll_midiStreamOut]
lea ebx, [edx*4]
bsr ebx, ebp
lea ebx, [esp - 0x18]
mov bl, dl
jmp 0x63eccc
mov edi, esi
add edi, 0xd
movzx ebx, byte [edi]
pop edi
call fcn.0063ed25
mov dl, 0x39
test eax, 0x948e3bc8
sbb cl, byte [eax - 0x455e511]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + reloc.WINMM.dll_midiStreamOut]
and ebx, ecx
jmp 0x63ece2

Function at 0x63ed25
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x63edaf
mov edx, dword [edx*4 + reloc.WINMM.dll_midiStreamOut]
and edx, ecx
sub esp, 0x10
lea esp, [esp + 0x14]
jmp 0x63ed7d
mov dword [esi + 8], edi
lea edi, [ebp*4]
call fcn.0063ed93
mov ah, 0x2a
dec ebp
mov esp, 0x3c332178
xchg ebp, eax
mov al, 0x5c
popal
add byte [esi - 0x75], ah
adc al, 0x24
xor edi, dword [edx*4 + reloc.WINMM.dll_midiStreamOut]
mov dx, word [esp]
lea edx, reloc.WINMM.dll_midiStreamOut
mov edx, dword [esi + 0xc]
jmp 0x63ed67
cmc
push word [esp + 3]
lea esp, [esp + 2]
and edx, ecx
jmp 0x63ed2a

Function at 0x63ed93
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov ebx, dword [ebx*4 + reloc.WINMM.dll_midiStreamOut]
jmp 0x63ee1d
and ebx, ecx
pushal
jmp 0x63edfc
lea esp, [esp + 2]
jmp 0x63edc0
and edi, ecx
pushal
mov edi, dword [edi*4 + reloc.WINMM.dll_midiStreamOut]
push ax
jmp 0x63edd6
lea esp, [esp + 0x44]
xor edi, dword [ebx*4 + reloc.WINMM.dll_midiStreamOut]
movzx ebx, byte [esi + 0xe]
pushal
jmp 0x63ee41
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + reloc.WINMM.dll_midiStreamOut]
jmp 0x63edee
mov ebx, dword [ebx*4 + reloc.WINMM.dll_midiStreamOut]
call 0x63ee2b
add esp, 0
lea esp, [esp + 4]
xor edi, dword [edx*4 + reloc.WINMM.dll_midiStreamOut]
jmp 0x63ee95
mov dword [esi + 0xc], edi
jne 0x60a135
je 0x60a109
wait
add dl, byte [eax + 0x43bc02f7]
cli
aad 0x44
neg esi
and edx, ecx
call 0x63ee4d
dec dword [ebp - 4]
push si
pushfd
pop word [esp]
pop word [esp]
lea esp, [esp + 2]
jmp 0x63ee5d
Function at 0x63ee4d
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov ebx, dword [ebx*4 + reloc.WINMM.dll_midiStreamOut]
jmp 0x63ee1d
and ebx, ecx
pushal
jmp 0x63edfc
lea esp, [esp + 2]
jmp 0x63edc0
and edi, ecx
pushal
mov edi, dword [edi*4 + reloc.WINMM.dll_midiStreamOut]
push ax
jmp 0x63edd6
lea esp, [esp + 0x44]
xor edi, dword [ebx*4 + reloc.WINMM.dll_midiStreamOut]
movzx ebx, byte [esi + 0xe]
pushal
jmp 0x63ee41
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + reloc.WINMM.dll_midiStreamOut]
jmp 0x63edee
mov ebx, dword [ebx*4 + reloc.WINMM.dll_midiStreamOut]
call 0x63ee2b
add esp, 0
lea esp, [esp + 4]
xor edi, dword [edx*4 + reloc.WINMM.dll_midiStreamOut]
jmp 0x63ee95
mov dword [esi + 0xc], edi
jne 0x60a135
je 0x60a109
wait
add dl, byte [eax + 0x43bc02f7]
cli
aad 0x44
neg esi
and edx, ecx
call 0x63ee4d
dec dword [ebp - 4]
push si
pushfd
pop word [esp]
pop word [esp]
lea esp, [esp + 2]
jmp 0x63ee5d

Function at 0x6f9a76
Capabilities:
Parse pe header

Disassembly:
mov dword [esp + 0x28], esp
push si
mov word [esp], di
call fcn.006f9a78
xchg dword [edi], eax
xchg edi, eax
add esi, esp
cmp ch, bl
jmp 0x6f9a60
pushfd
call 0x6f9a9e
jmp 0x6f9a60

Function at 0x6f9a78
Capabilities:
Parse pe header

Disassembly:
pushfd
call 0x6f9a9e
adc byte [ebp + 0x7d9f6c05], dl
add byte [esi], 0x94
push cs
loopne 0x6f9ac2
push ds
imul ecx, dword [eax + reloc.WINMM.dll_midiStreamOut], 0x8f600c24
mov dword [esp + 0xc], ebx
pushal
pop dword [esp + 0x17]
call fcn.006f9a76
lea esp, [esp + 2]
mov dword [esp + 0x30], ebp
call 0x6f9aac
std
jmp 0x6f9afc
pop word [esp]
mov byte [esp], ch
pushfd
call fcn.006f9ae4

Function at 0x6f9a9e
Capabilities:
Parse pe header

Disassembly:
pushfd
call 0x6f9a9e
adc byte [ebp + 0x7d9f6c05], dl
add byte [esi], 0x94
push cs
loopne 0x6f9ac2
push ds
imul ecx, dword [eax + reloc.WINMM.dll_midiStreamOut], 0x8f600c24
mov dword [esp + 0xc], ebx
pushal
pop dword [esp + 0x17]
call fcn.006f9a76
lea esp, [esp + 2]
mov dword [esp + 0x30], ebp
call 0x6f9aac
std
jmp 0x6f9afc
pop word [esp]
mov byte [esp], ch
pushfd
call fcn.006f9ae4

Function at 0x6f9aac
Capabilities:
Parse pe header

Disassembly:
pushfd
call 0x6f9a9e
adc byte [ebp + 0x7d9f6c05], dl
add byte [esi], 0x94
push cs
loopne 0x6f9ac2
push ds
imul ecx, dword [eax + reloc.WINMM.dll_midiStreamOut], 0x8f600c24
mov dword [esp + 0xc], ebx
pushal
pop dword [esp + 0x17]
call fcn.006f9a76
lea esp, [esp + 2]
mov dword [esp + 0x30], ebp
call 0x6f9aac
std
jmp 0x6f9afc
pop word [esp]
mov byte [esp], ch
pushfd
call fcn.006f9ae4

Function at 0x6f9ace
Capabilities:
Check for peb beingdebugged flag
Parse pe header

Disassembly:
call fcn.006f9030
lea esp, [esp + 2]
mov dword [esp + 0x38], esi
push di
jmp 0x6f9b38
mov eax, dword [eax]
jmp 0x6f9b62
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x6f9b09
lea esp, [esp + 2]
mov dword [esp + 0x34], edi
lea esp, [esp + 0x34]
mov eax, dword fs:[0x30]
jmp 0x6f9b1f
mov eax, dword [eax + 8]
push eax
jmp 0x6f902b
Function at 0x6f9ae4
Capabilities:
Parse pe header

Disassembly:
call fcn.006f9ace
and eax, 0xb44522ac
pop ebx
xor eax, 0xbb4829b9
push edi
adc eax, 0x9a6f089a
js 0x6f9b77
adc esi, dword [esi - 0x7b]
sub dl, al
inc esp
fidivr dword [ebp + 0x7071f84c]
jae 0x6f9bef
test dword [ecx - reloc.WINMM.dll_midiStreamOut], ecx
xor edi, edi
invalid
fbstp tbyte [ecx + eax*8]
inc esi
aam 0xb3
dec esi
mov bl, 0x4e
scasb al, byte es:[edi]
jno 0x6f9bf4
imul ecx, dword [esi], reloc.WINMM.dll_midiStreamOut
adc eax, 0x1572dc59
in al, 0xd
mov eax, dword [reloc.WINMM.dll_midiStreamOut]
retf
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x7ea330
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7ea33a
pushal
call 0x7ea340
pop ebp
sub ebp, 0x10
sub ebp, 0x3ea330
jmp 0x7ea356
mov eax, 0x3ea330
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ea
mov edx, 0x4a800974
xor byte [eax], dl
inc eax
dec ecx
jne 0x7ea36d
jmp 0x7ea380
invalid
Function at 0x401120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401139
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40114d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40116e
cmp esi, eax
jae 0x401147
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401160
cmp esi, eax
jae 0x401147
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402fb0
Capabilities:
Get common file path

Disassembly:
push 0x42ea48
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, 0x42ea48
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402fc8
sub eax, edx
push edi
lea edi, [eax + 0x42ea48]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402fe0
mov ax, word [0x423348]
push 0x42ec50
push 0x104
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x423340
push 0x42ec50
call fcn.0040a28b
lea ecx, [eax*2 + 0x42ec50]
add esp, 4
push ecx
call fcn.0040a1cd
add esp, 8
pop edi
ret

Function at 0x403410
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
xor ebx, ebx
push ebx
push eax
mov dword [esi], 0x423388
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [esi + 0x5c], 0x10
jb 0x403439
mov ecx, dword [esi + 0x48]
push ecx
call fcn.0041744c
add esp, 4
mov dword [esi + 0x5c], 0xf
mov dword [esi + 0x58], ebx
mov byte [esi + 0x48], bl
cmp dword [esi + 0x40], 0x10
jb 0x403458
mov edx, dword [esi + 0x2c]
push edx
call fcn.0041744c
add esp, 4
mov dword [esi + 0x40], 0xf
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x2c], bl
cmp dword [esi + 0x24], 8
jb 0x403477
mov eax, dword [esi + 0x10]
push eax
call fcn.0041744c
add esp, 4
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 7
mov word [esi + 0x10], bx
pop esi
pop ebx
ret