joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402b4e
Capabilities:
Check for time delay via queryperformancecounter
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 8], eax
push 0x40bac0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [0x405014]
mov ecx, dword [0x405018]
lea eax, [ecx + eax - 9]
mov dword [0x405014], eax
and dword [ebp - 0x14], 0
jmp 0x402ba7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x14], eax
jge 0x402d34
mov eax, dword [0x405014]
imul eax, dword [0x405018]
mov ecx, dword [0x405018]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x405014], eax
mov eax, dword [0x405014]
sub eax, 4
mov dword [0x405018], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x402cc4
mov eax, dword [0x405018]
add eax, 7
mov dword [0x405014], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 4], 0
jle 0x402cbf
mov eax, dword [0x405014]
imul eax, dword [0x405018]
mov ecx, dword [0x405018]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x405014], eax
mov eax, dword [0x405018]
add eax, 7
mov dword [0x405014], eax
push 4
push 0x1000
push dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
mov eax, dword [0x405014]
mov ecx, dword [0x405018]
lea eax, [ecx + eax - 9]
mov dword [0x405014], eax
mov eax, dword [0x405014]
imul eax, dword [0x405018]
mov ecx, dword [0x405018]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x405014], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov eax, dword [0x405014]
imul eax, eax, 0x63
mov dword [0x405014], eax
mov eax, dword [0x405018]
shl eax, 1
mov dword [0x405014], eax
push dword [ebp - 4]
push 0
push dword [ebp - 0xc]
jmp loc.0041b000
jmp 0x402b97
push 0x40bac0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 4
push 0x1000
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
push 0x40bac0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0xc]
call fcn.0040198d
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov eax, dword [0x405018]
xor edx, edx
push 0xc
pop ecx
div ecx
mov dword [0x405018], eax
jmp 0x402b97
mov eax, dword [0x405018]
shl eax, 3
mov dword [0x405018], eax
leave
ret
Function at 0x4031a5
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, 0x80
mov dword [ebp - 0xc], eax
mov eax, dword [0x405018]
imul eax, dword [0x405018]
sub eax, 3
mov dword [0x405014], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
jbe 0x403463
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov eax, dword [0x405018]
add eax, 8
mov dword [0x405018], eax
mov eax, dword [0x405014]
imul eax, eax, 0x63
mov dword [0x405014], eax
jmp 0x403219
push 0x14
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x403463
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x403463
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x18], eax
push 0x40bac0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp dword [ebp - 0x18], 0xffffffff
jne 0x403273
mov eax, dword [0x405014]
sub eax, 4
mov dword [0x405018], eax
and dword [ebp - 4], 0
jmp 0x403463
mov eax, dword [0x405018]
add eax, 7
mov dword [0x405014], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 8]
jmp 0x41b52a
mov eax, dword [0x405018]
add eax, 7
mov dword [0x405014], eax
mov eax, dword [ebp - 4]
leave
ret
Function at 0x4b8f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x75000]
push edi
jmp 0x4b8f3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b8f41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8f30
mov eax, 1
add ebx, ebx
jne 0x4b8f53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b8f64
jne 0x4b8f83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8f83
dec eax
add ebx, ebx
jne 0x4b8f70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b8f48
add ebx, ebx
jne 0x4b8f7f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b8fd5
xor ecx, ecx
sub eax, 3
jb 0x4b8f9b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b900a
sar eax, 1
mov ebp, eax
jmp 0x4b8fa6
add ebx, ebx
jne 0x4b8fa6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8f74
inc ecx
add ebx, ebx
jne 0x4b8fb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8f74
add ebx, ebx
jne 0x4b8fc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b8fb6
jne 0x4b8fd2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b8fb6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b8ff4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b8fe6
jmp 0x4b8f36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b8ff4
add edi, ecx
jmp 0x4b8f36
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b9012
cmp byte [edi], 0x11
jne 0x4b9012
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b9017
lea edi, [esi + 0xb4000]
mov eax, dword [edi]
or eax, eax
je 0x4b908f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbcc68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbcdbc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b9044
mov ecx, edi
jns 0x4b9073
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbcdc0]
or eax, eax
je 0x4b9089
mov dword [ebx], eax
add ebx, 4
jmp 0x4b9061
call dword [esi + 0xbcdd0]
mov ebp, dword [esi + 0xbcdc4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b90c3
sub esp, 0xffffff80
jmp 0x416310
Function at 0x401a03
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401a42
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401a42
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401a42
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401a42
cmp dword [ecx + 0x74], 0xe
jbe 0x401a42
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40cf76
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41e1f0
push 0x41e1e8
push str.FlsAlloc
push 0x1f
call fcn.0040ce35
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40cfaa
push dword [ebp + 8]
mov ecx, esi
call dword [0x41c12c]
call esi
jmp 0x40cfb0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40cff4
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41e200
push 0x41e1f8
push str.FlsGetValue
push 0x21
call fcn.0040ce35
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d02b
push dword [ebp + 8]
mov ecx, esi
call dword [0x41c12c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40d033
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41e208
push 0x41e200
push str.FlsSetValue
push 0x22
call fcn.0040ce35
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d06d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41c12c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x411d10
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x411dad
push ebx
push esi
call fcn.00411cd9
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00411c6d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x411d5a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x411dac
push edi
push eax
call fcn.0040e645
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x411d7a
call fcn.0040ccc8
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x411dab
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00411c6d
add esp, 0x20
test eax, eax
jne 0x411d99
push edi
call fcn.0040ccc8
jmp 0x411da1
push ebx
call fcn.0040ccc8
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x414330
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x4244b0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x414370
cmp byte [ebx], 0xa
jne 0x414370
or byte [edi + eax + 0x28], 4
jmp 0x414375
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x414474
mov dl, byte [eax]
cmp dl, 0x1a
je 0x414457
inc eax
cmp dl, 0xd
je 0x4143a1
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4143c7
cmp eax, ecx
jae 0x4143d5
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x414389
jmp 0x414474
push 0
lea eax, [ebp - 0x10]
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 0x414452
cmp dword [ebp - 0x10], 0
je 0x414452
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4244b0]
test byte [eax + edi + 0x28], 0x48
je 0x41442c
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x414417
mov byte [esi], dl
jmp 0x414428
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4244b0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x414474
cmp byte [ebp - 1], 0xa
jne 0x41443b
cmp esi, ebx
jne 0x41443b
mov byte [esi], 0xa
jmp 0x414473
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00418e68
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x414474
mov byte [esi], 0xd
jmp 0x414473
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4244b0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x414471
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x414474
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41447d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4244b0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4144c3
cmp word [ebx], dx
jne 0x4144c3
or byte [eax + edi + 0x28], 4
jmp 0x4144c8
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x41462b
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x41460b
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x414509
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41453f
cmp eax, edx
jae 0x41454d
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4144e4
jmp 0x41462b
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x414606
cmp dword [ebp - 0x18], 0
je 0x414606
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4244b0]
test byte [eax + edi + 0x28], 0x48
je 0x4145dc
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4145a0
mov word [esi], cx
jmp 0x4145d7
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4244b0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4244b0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4244b0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x41462b
pop eax
cmp word [ebp - 4], ax
jne 0x4145ec
cmp esi, ebx
jne 0x4145ec
mov word [esi], ax
jmp 0x414628
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00418e68
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x41462b
push 0xd
pop eax
jmp 0x4145e7
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4244b0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x414625
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x41462b
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x418fe5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00418f61
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x419154
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x419154
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x419109
jg 0x419041
test eax, eax
je 0x4190ff
push 1
push 0x1000
call fcn.0040cc6b
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x419064
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4190f6
push 0x8000
push ebx
call fcn.0040bdaf
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x41908d
jg 0x419088
cmp ecx, 0x1000
jb 0x41908d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00414114
add esp, 0x10
cmp eax, 0xffffffff
je 0x4190d2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x419088
jl 0x4190b9
test ecx, ecx
jne 0x41907a
push dword [ebp - 0xc]
push ebx
call fcn.0040bdaf
push esi
call fcn.0040ccc8
add esp, 0xc
xor ebx, ebx
jmp 0x419162
cmp byte [edi + 0x24], 0
je 0x4190e9
cmp dword [edi + 0x20], 5
jne 0x4190e9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4190f4
mov ebx, dword [edi + 0x18]
jmp 0x4190f6
xor ebx, ebx
push esi
call fcn.0040ccc8
pop ecx
jmp 0x419162
test ecx, ecx
jg 0x4190cb
jl 0x419109
test eax, eax
jae 0x4190cb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418e68
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x419129
cmp byte [edi + 0x1c], 0
je 0x4190cb
jmp 0x41915a
push ebx
call fcn.00412504
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4190cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x419162
cmp byte [edi + 0x1c], 0
je 0x41915f
mov ebx, dword [edi + 0x18]
jmp 0x419162
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00418e68
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41b2e0
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1c5b0b9
push word [esp + 5]
jg 0x1c5b092
mov byte [esp + 7], ch
jmp 0x1c5b0c7
mov byte [esp + 7], ch
lea esp, [esp + 2]
jmp 0x1c5b0f0
lea esp, [esp + 2]
mov dword [esp + 8], ebp
jmp 0x1c5b0f4
mov dword [esp + 8], ebp
call fcn.01c5b13e

Function at 0x1c5b0f9
Capabilities:
Authenticate hmac

Disassembly:
push 0xf1c446b8
jmp 0x1c5b14d
lea esp, [esp + 3]
pushfd
mov byte [esp + 2], bh
jmp 0x1c5b11f
mov dword [esp], eax
lea esp, [esp + 1]
mov dword [esp + 8], edi
lea esp, [esp + 8]
jmp 0x1c5b147
pushfd
jmp 0x1c59198
sub esp, 4
jmp 0x1c5b179
add esp, 1
xchg dh, dl
dec edx
lea esp, [esp + 3]
jmp 0x1c5b8fb
jae 0x1c5b156
add esp, 1
xchg dh, dl
jmp 0x1c5bc68
lea eax, reloc.WINMM.dll_midiStreamOut
call fcn.01c5b19c
lea eax, reloc.WINMM.dll_midiStreamOut
call 0x1c5b1bd
lea edi, [esp]
bswap esi
dec dx
jl 0x1c5b55b
jge 0x1c5b3d5
jmp 0x1c5b605
mov ebp, dword [esp + 0x2c]
mov bl, dl
bswap ebx
inc edi
jno 0x1c5b684
jo 0x1c5b605
dec edx
lea esp, [esp + 3]
jmp 0x1c5b8fb

Function at 0x1c5b13e
Capabilities:
Authenticate hmac

Disassembly:
mov dword [esp + 8], esi
call fcn.01c5b0f9

Function at 0x1c61f93
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x1c479eb
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x1c47a05
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0x1c479f4
pop esi
jmp 0x1c47a10
ret 4
pushal
lea esp, [esp + 0x20]
jmp 0x1c479de
push edx
lea esp, [esp + 4]
call fcn.01c61fab
mov eax, dword [reloc.WINMM.dll_midiStreamOut]
adc eax, 0xee8aac03
dec eax
mov ah, byte [ecx]
daa
jmp 0x1c61f67
Function at 0x1cfc821
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp]
jmp 0x1cfc8a7
pushal
mov edx, dword [esp]
btr bx, sp
lea edx, [ebp*4]
mov edi, eax
rcr edx, cl
jmp 0x1cfc8ea
sub esp, 0x1c
cmc
push dword [esp + 0x13]
mov byte [esp + 0x1c], ch
lea esp, [esp + 2]
lea esp, [esp + 0x20]
jmp 0x1cfc884
pushfd
btr esi, ebp
mov byte [esp], ah
mov ecx, dword [esp + 1]
bswap ebp
std
jmp 0x1cfc910
clc
clc
mov ecx, dword [esp]
mov ah, byte [esp]
mov dl, 0xe3
cld
jmp 0x1cfc8bd
mov di, word [esp]
push cx
push word [esp]
stc
pop ebp
mov edi, ebx
jmp 0x1cfc8d3
cpuid
pop si
cmc
cld
setg bl
shl bh, 0
jmp 0x1cfc9a3
pop word [esp]
bsr ecx, edi
xchg ebx, ecx
mov byte [esp], ah
mov dh, cl
xchg esi, ecx
jmp 0x1cfc8fa
rdtsc
sub esp, 1
mov cx, dx
mov edx, 0x5d7e5a03
jmp 0x1cfc976
not eax
add esp, 7
mov ebx, edx
stc
mov cx, word [esp]
xchg byte [esp], bl
jmp 0x1cfc939
std
lea esp, [esp + 1]
neg cx
btc si, dx
xchg byte [esp], bh
jmp 0x1cfc9c7
mov edx, 0x2e4d4085
mov dx, 0x35d3
mov word [esp], sp
rcr ah, 1
lea edx, [edi + edi]
lea eax, [esi*4]
jmp 0x1cfc960
push eax
lea edx, [ebx + esi]
mov ax, cx
pushfd
inc bx
mov al, 0xff
jmp 0x1cfc94f
mov si, word [esp]
add esp, 0
cpuid
lea esp, [esp]
xchg esi, edi
jmp 0x1cfc9ed
rdtsc
neg ax
not ebx
bswap edx
dec bl
lea edi, [ecx + ebx]
jmp 0x1cfc9b1
lea esi, [esi*4]
clc
not ah
cpuid
setb dl
jmp 0x1cfca02
lea eax, [ecx + edx]
lea esp, [esp]
lea esp, [esp]
mov dh, byte [esp]
mov al, 0x40
mov esi, 0xaa067ff2
jmp 0x1cfc9d7
not ebx
xchg byte [esp], al
mov bh, ch
add esp, 0
cld
mov ax, si
jmp 0x1cfcc63
add esp, 0xc
mov bx, word [esp + 5]
pop ax
mov dword [esp], eax
add edx, edi
jmp 0x1cfcab3
bswap eax
lea ebp, reloc.WINMM.dll_midiStreamOut
push sp
pop word [esp + 8]
setle al
rdtsc
jmp 0x1cfca2e
xchg cx, bx
mov di, 0xce35
rdtsc
xchg bl, ch
pop word [esp]
mov ah, 5
jmp 0x1cfca8e
bswap ebx
rol bx, 0xc
mov cl, byte [esp + 1]
lea edx, reloc.WINMM.dll_midiStreamOut
bts dx, ax
mov si, word [esp + 4]
jmp 0x1cfca5a
xchg dl, dh
rcr di, 7
mov cx, ax
xchg dl, ch
xchg bx, ax
sub esp, 0xb
jmp 0x1cfcaf7
xchg dx, ax
push cx
lea edi, [eax + ebx]
xchg edx, esi
lea esp, [esp + 3]
mov dword [esp], ebp
jmp 0x1cfca72
rdtsc
mov word [esp + 9], cx
add esp, 0x29
cpuid
mov dx, bx
jmp 0x1cfcb2f
mov si, cx
push word [esp + 0xa]
mov word [esp + 0x16], dx
std
xchg dl, dh
bts bp, sp
jmp 0x1cfcac5
rcr bl, 7
bsf edx, eax
pop dword [esp + 1]
xchg edi, eax
std
pushal
jmp 0x1cfcadb
add esp, 4
dec esi
lea eax, [edx - 0x5a]
neg edx
bsf bp, bp
rdtsc
jmp 0x1cfcb5c
mov cx, word [esp]
bsf bp, bp
mov byte [esp], dh
xchg si, bx
rdtsc
push word [esp + 2]
jmp 0x1cfcb06
sub esp, 1
sub ecx, ebp
rdtsc
rdtsc
call fcn.01cfcb17
mov esi, 0x3acfa83a
aam 0x9b
in eax, dx
cld
cld
mov dl, byte [esp + 8]
ror dh, 4
lea edx, [edi + 0x91]
mov bp, 0xe46c
mov cl, 0xba
jmp 0x1cfca44
mov di, 0x6867
sub esp, 0x11
push word [esp + 4]
cld
clc
xchg word [esp + 0xb], dx
jmp 0x1cfcb74

Function at 0x1cfcf10
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dx, 0x43dc
pop word [esp + 1]
neg dl
mov edx, 0x6f172391
lea ecx, [edx + ebx]
mov dword [esp], ebx
jmp 0x1cfcecc
mov word [esp + 5], dx
jmp 0x1cfcee2
Function at 0x1cfd01d
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea edi, [edi + edi]
bsf cx, di
lea edi, [eax - 0x1a]
rol ecx, 0x1f
jmp 0x1cfd075
mov bp, word [esp + 1]
stc
mov esi, eax
push word [esp]
jmp 0x1cfd1bf
btc bp, si
mov word [esp + 3], sp
btc ebp, edi
add esp, 2
mov dl, 0x80
inc esi
jmp 0x1cfd05f
cpuid
inc edx
push word [esp + 1]
mov cx, word [esp]
inc ebx
mov dword [esp], esi
jmp 0x1cfd149
xchg byte [esp], ah
rol esi, 2
bswap esi
mov word [esp], dx
lea esp, [esp]
mov di, word [esp]
jmp 0x1cfd0ac
stc
mov cx, 0xf4ee
mov cl, dh
not bl
pop ax
bsf eax, ebp
jmp 0x1cfd12f
mov byte [esp + 2], al
mov di, 0x7bcb
cmc
cmp eax, eax
neg ax
rdtsc
jmp 0x1cfd0e7
mov ch, byte [esp]
rdtsc
stc
xchg word [esp], bx
mov ebx, 0x81e63e6e
jmp 0x1cfd178
mov ax, si
ror cx, cl
bsf bp, di
xchg word [esp], dx
add esp, 1
rdtsc
jmp 0x1cfd119
lea edx, [edx + ebp]
xchg word [esp + 1], ax
add esp, 1
or di, 0xde6e
lea ecx, [edx + 0xd]
push word [esp]
jmp 0x1cfd107
lea esi, [ecx*4]
call fcn.01cfd19c
cmp al, 0xb2
and byte [edi - 0x4e], al
pop esp
xor ebp, dword [edx]
inc ebp
hlt
sub esp, 0xe
bswap esi
pop di
bswap esi
bswap ebx
clc
jmp 0x1cfd162
mov dx, word [esp + 5]
mov ax, bx
pop edx
mov si, bp
setge al
lea edi, [edi*4]
jmp 0x1cfd0d2

Function at 0x1cfd8e8
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [esp], edi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x1cfd898