joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40bdb9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40bdc8
pop dword [ebp - 0x14]
mov eax, 0x58d30445
add eax, 0xa76db983
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x96a08614
sub dword [ebp - 0x24], 0x484e40c9
mov dword [ebp - 0x20], 0xc71d8bc8
sub dword [ebp - 0x20], 0x94ea3f83
mov dword [ebp - 0x1c], 0xd736a135
add dword [ebp - 0x1c], 0x7515a2f9
mov dword [ebp - 0x18], 0x86e1e5da
sub dword [ebp - 0x18], 0x86e1e5da
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xb7ff3ffe
sub dword [ebp - 0x24], 0x438cd6a8
mov dword [ebp - 0x20], 0xc0e93dbb
sub dword [ebp - 0x20], 0x7f7cdc46
mov dword [ebp - 0x1c], 0x60ffbfa8
add dword [ebp - 0x1c], 0x26facc4
mov dword [ebp - 0x18], 0x74c21b05
sub dword [ebp - 0x18], 0x74c21b05
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xf3c4c6ba
add eax, 0xc7c0992
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3a412
push 0
call eax
mov ecx, 0x4af0
mov edi, eax
mov esi, 0x3a7333ad
sub esi, 0x3a3183ad
add esi, dword [ebp - 0x14]
mov ebx, 0xf43179f0
sub ebx, 0x8f884883
xor dword [ebp - 4], edi
mov edx, dword [esi]
sub edx, ebx
mov dword [ebp - 8], 0x2584337a
mov dword [edi], edx
mov dword [ebp - 4], 0x276a226f
add edi, 0x8661fae9
add edi, 0x799e051b
add esi, 0xf25a3bc6
sub esi, 0xf25a3bc2
loop 0x40bedf
add eax, 0x11e93
mov ebx, eax
add eax, 0x42a70f34
add eax, 0xbd58f0d1
mov ecx, 0xa6ee6f44
add ecx, 0x595190bc
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x10008ce3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10008d22
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10008d22
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10008d22
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10008d22
cmp dword [ecx + 0x74], 0xe
jbe 0x10008d22
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000b9a2
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 0x1000ba3f
push ebx
push esi
call fcn.1000b96b
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.1000b8ff
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000b9ec
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000ba3e
push edi
push eax
call fcn.1000c95e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000ba0c
call fcn.1000a444
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000ba3d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000b8ff
add esp, 0x20
test eax, eax
jne 0x1000ba2b
push edi
call fcn.1000a444
jmp 0x1000ba33
push ebx
call fcn.1000a444
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 0x1000bcac
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013668
push 0x10013660
push str.FlsAlloc
push 0x1f
call fcn.1000bbc8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000bce0
push dword [ebp + 8]
mov ecx, esi
call dword [0x10012140]
call esi
jmp 0x1000bce6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000bd2a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013678
push 0x10013670
push str.FlsGetValue
push 0x21
call fcn.1000bbc8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000bd61
push dword [ebp + 8]
mov ecx, esi
call dword [0x10012140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000bd69
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013680
push 0x10013678
push str.FlsSetValue
push 0x22
call fcn.1000bbc8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000bda3
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10012140]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10011440
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001146d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001146d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40eaa7
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestEnumTypeTraits.exe_gMozillaPoisonSize], eax
call fcn.0040ae7c
pop ecx
mov ecx, dword [sym.TestEnumTypeTraits.exe_gMozillaPoisonSize]
mov dword [sym.TestEnumTypeTraits.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40eadf
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestEnumTypeTraits.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x709823c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x7098241b
cmp byte [esi + ebx - 1], 0xa
je 0x709823ef
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x70983118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x1001a330
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1001a34e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1001a343
pop esi
ret
Function at 0x10007faf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x10007fbe
pop dword [ebp - 8]
mov eax, 0xe9b4d52b
add eax, 0x264baa93
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x85ad3fa7
add dword [ebp - 0x18], 0xc8a505a4
mov dword [ebp - 0x14], 0x61cea6f4
add dword [ebp - 0x14], 0xd064a551
mov dword [ebp - 0x10], 0x3cf6f983
add dword [ebp - 0x10], 0xf554aab
mov dword [ebp - 0xc], 0xd1c75917
add dword [ebp - 0xc], 0x2e38a6e9
lea eax, [ebp - 0x18]
push eax
mov eax, 0x728070d6
sub eax, 0x627eb056
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xd6abe3ed
sub dword [ebp - 0x18], 0x62397a97
mov dword [ebp - 0x14], 0x17ef9d05
sub dword [ebp - 0x14], 0xd6833b90
mov dword [ebp - 0x10], 0x1d599206
sub dword [ebp - 0x10], 0xb9ea259a
mov dword [ebp - 0xc], 0xfc07f8f2
add dword [ebp - 0xc], 0x3f8070e
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x9e490c2e
sub eax, 0x8e474c2e
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3581b
push 0
call eax
mov ecx, 0x400a
xor edx, edx
add edx, eax
mov ebx, 0x10026800
add ebx, dword [ebp - 8]
mov edi, 0x5e21635a
add edi, 0x4f759d4a
add dword [ebp - 4], esi
mov esi, dword [ebx]
add dword [ebp - 4], 0x2ff149e7
xor esi, edi
mov dword [edx], esi
xor dword [ebp - 4], 0x1e77bb7f
add edx, 0xfa154dfd
sub edx, 0xfa154df9
add ebx, 0x1036b1da
add ebx, 0xefc94e2a
loop 0x100080d6
add eax, 0xf2fb
mov ebx, eax
add eax, 0x8c23981b
sub eax, 0x8c239816
mov ecx, 0x10000000
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x10008fc4
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x1000
mov dword [esp + 0x14], ebp
call sub.glib_lite.dll_Ordinal_406
mov esi, dword [esp + 0x1c]
mov edi, eax
mov ebx, dword [esp + 0x20]
pop ecx
mov dword [ebx], ebp
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x11c]
sbb ecx, dword [esi + 0x114]
add eax, 0xffffffff
adc ecx, 0xffffffff
cmp ecx, ebp
ja 0x1000901f
jb 0x10009011
cmp eax, 0xffe
ja 0x1000901f
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x110]
jmp 0x10009024
mov eax, 0x1000
test edi, edi
je 0x1000909a
push ebp
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push dword [esi + 0x104]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x10009093
push sub.glib_lite.dll_Ordinal_109
push edi
push dword [esp + 0x18]
push ebp
push 0x1000
push edi
push ebp
call sub.gstreamer_lite.dll_Ordinal_25
add esp, 0x1c
mov dword [ebx], eax
test eax, eax
je 0x10009072
mov ecx, dword [esi + 0x110]
mov dword [eax + 0x40], ecx
mov ecx, dword [esi + 0x114]
mov dword [eax + 0x44], ecx
mov eax, dword [esp + 0x10]
add eax, dword [esi + 0x110]
push 0
pop edx
adc edx, dword [esi + 0x114]
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], edx
jmp 0x1000909e
push edi
call sub.glib_lite.dll_Ordinal_109
pop ecx
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4179b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x4179c3
pop dword [ebp - 0x18]
mov eax, 0xf53631a1
add eax, 0xb0b4822
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x3b8a9
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x3f22
mov edx, eax
mov edi, 0xdbc9ddab
sub edi, 0xdb8689ab
add edi, dword [ebp - 0x18]
mov esi, 0x601d66be
xor dword [ebp - 0x14], ebx
mov ebx, dword [edi]
add dword [ebp - 0x14], 0x182712f9
sub ebx, esi
mov dword [ebp - 0x14], 0xc2eb852d
mov dword [edx], ebx
mov dword [ebp - 0x10], 0x64cc99ae
add edx, 0x4bdc8e73
add edx, 0xb4237191
add edi, 0x450a656b
add edi, 0xbaf59a99
loop 0x417a11
add eax, 0x8bb4511e
sub eax, 0x8bb361c3
mov ebx, eax
add eax, 0x8e67156d
sub eax, 0x8e671568
mov ecx, 0x9d4a0665
sub ecx, 0x9d0a0665
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x10008823
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10008862
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10008862
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10008862
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10008862
cmp dword [ecx + 0x74], 0xe
jbe 0x10008862
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000b4df
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 0x1000b57c
push ebx
push esi
call fcn.1000b4a8
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.1000b43c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000b529
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b57b
push edi
push eax
call fcn.1000c49a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000b549
call fcn.10009f84
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b57a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000b43c
add esp, 0x20
test eax, eax
jne 0x1000b568
push edi
call fcn.10009f84
jmp 0x1000b570
push ebx
call fcn.10009f84
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 0x1000b7e9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013668
push 0x10013660
push str.FlsAlloc
push 0x1f
call fcn.1000b705
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b81d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10012140]
call esi
jmp 0x1000b823
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000b867
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013678
push 0x10013670
push str.FlsGetValue
push 0x21
call fcn.1000b705
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b89e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10012140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000b8a6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013680
push 0x10013678
push str.FlsSetValue
push 0x22
call fcn.1000b705
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b8e0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10012140]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10010f60
Capabilities:
Parse pe header

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

Function at 0x10032832
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10032841
pop dword [ebp - 0x10]
mov eax, 0x4eb1e4aa
add eax, 0xc1514397
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x8bd9b984
add dword [ebp - 0x20], 0xc2788bc7
mov dword [ebp - 0x1c], 0xa3241856
add dword [ebp - 0x1c], 0x8f0f33ef
mov dword [ebp - 0x18], 0xd4744bc
add dword [ebp - 0x18], 0x3f04ff72
mov dword [ebp - 0x14], 0xf72a7c8a
sub dword [ebp - 0x14], 0xf72a7c8a
lea eax, [ebp - 0x20]
push eax
mov eax, 0xa5a847fc
add eax, 0x6a5d4910
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xa80921fe
sub dword [ebp - 0x20], 0x3396b8a8
mov dword [ebp - 0x1c], 0xba5f20ff
add dword [ebp - 0x1c], 0x870d4076
mov dword [ebp - 0x18], 0x76e134c2
sub dword [ebp - 0x18], 0x1371c856
mov dword [ebp - 0x14], 0xabd61f99
add dword [ebp - 0x14], 0x5429e067
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x5fa92
push 0
call eax
mov ecx, 0xa9cbd48
sub ecx, 0xa9c6d18
xor edx, edx
add edx, eax
mov ebx, 0xd803c757
sub ebx, 0xc7fd3357
add ebx, dword [ebp - 0x10]
mov esi, 0xd1ed9ea3
sub esi, 0xb112fd25
mov dword [ebp - 8], 0xa6f37b46
mov edi, dword [ebx]
sub dword [ebp - 4], 0xd7e05a5f
add edi, esi
xor dword [ebp - 4], edi
mov dword [edx], edi
xor dword [ebp - 4], ecx
add edx, 0x5c699bf
sub edx, 0x5c699bb
add ebx, 0x498a8fa4
add ebx, 0xb6757060
loop 0x10032960
add eax, 0x93624077
add eax, 0x6c9ef31c
mov ebx, eax
add eax, 5
mov ecx, 0xcd9e4b42
add ecx, 0x4261b4be
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x40c506
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a538]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408e31
mov dword [ebp - 0x14], eax
cmp dword [0x45a2fc], esi
jne 0x40c5f9
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c586
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c6d9
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c6d9
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c6d9
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x45a2fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x45a300], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x45a304], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45a30c], eax
test eax, eax
je 0x40c5f6
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45a308], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c61e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c611
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c633
push 4
pop eax
jmp 0x40c6db
cmp dword [ebp - 0x14], esi
je 0x40c633
push dword [0x45a2fc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c618
mov eax, dword [0x45a308]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c691
cmp dword [0x45a30c], edi
je 0x40c691
push eax
call ebx
push dword [0x45a30c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c691
test eax, eax
je 0x40c691
call ecx
test eax, eax
je 0x40c686
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c686
test byte [ebp - 8], 1
jne 0x40c691
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c6c1
mov eax, dword [0x45a300]
cmp eax, edi
je 0x40c6be
push eax
call ebx
test eax, eax
je 0x40c6be
call eax
mov esi, eax
test esi, esi
je 0x40c6be
mov eax, dword [0x45a304]
cmp eax, edi
je 0x40c6be
push eax
call ebx
test eax, eax
je 0x40c6be
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x45a2fc]
call ebx
test eax, eax
je 0x40c6d9
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c6db
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404268
mov esp, ebp
pop ebp
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6a
sub eax, 0x403d10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x443b51
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x40135c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x443bc1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x4051c0
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x443bb8
cmp dword [ebp - 0xc], 4
jne 0x443bb8
cmp dword [ebp - 0x10], edi
je 0x443bb8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x5f6298], edi
xor eax, eax
jmp 0x443c00
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x5f6298], edi
jge 0x443bfb
lea eax, [ebp - 0x34]
push eax
mov dword [0x5f6298], edi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x443bfb
cmp word [ebp - 0x14], 5
jb 0x443bfb
call fcn.0047d6bd
test eax, eax
je 0x443bfb
emms
mov dword [0x5f6298], 1
mov eax, dword [0x5f6298]
pop edi
leave
ret

Function at 0x4cdd0c
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x60e890]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
je 0x4cde09
mov edi, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
xor esi, esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
push esi
push esi
call edi
mov dword [ebp - 0xac], eax
add eax, 3
and eax, 0xfffffffc
call fcn.005f00d0
cmp dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], esp
jne 0x4cddba
push 0x40604c
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, 0x8876086c
jmp 0x4cde34
push esi
push esi
push dword [ebp - 0xac]
push dword [ebp - 0xa8]
push 0xffffffffffffffff
push ebx
push esi
push esi
call edi
fld dword [ebp + 0x18]
push dword [ebp - 0xa4]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push ecx
push ecx
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push dword [ebp - 0xa8]
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
call fcn.0047d6bd
jmp 0x4cde34
fld dword [ebp + 0x18]
push 1
push dword [ebp - 0xa4]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push ecx
push ecx
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push ebx
push edi
push esi
call fcn.0047d6bd
lea esp, [ebp - 0xc0]
mov ecx, dword [ebp - 4]
call fcn.005f059d
pop edi
pop esi
pop ebx
leave
ret 0x20
Function at 0x585fb3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
xor esi, esi
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
je 0x5860ec
cmp dword [ebp + 0xc], ebx
je 0x5860ec
push 0x4213b0
push dword [ebp + 8]
call sub.msvcrt.dll_fopen
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 8], eax
je 0x5860ec
push edi
push eax
push 6
lea eax, [ebp - 0x1c]
push 4
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
cmp eax, 6
jne 0x5860ce
cmp dword [ebp - 0x1c], ebx
je 0x5860ce
cmp dword [ebp - 0x18], ebx
je 0x5860ce
cmp dword [ebp - 0x14], ebx
je 0x5860ce
cmp dword [ebp - 8], ebx
je 0x58603b
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x1c]
jne 0x5860ce
push 0x2c
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x586052
mov ecx, eax
call fcn.00585ea3
mov esi, eax
jmp 0x586054
xor esi, esi
cmp esi, ebx
jne 0x58605f
mov edi, 0x8007000e
jmp 0x5860d3
cmp dword [ebp - 8], ebx
push dword [ebp - 0x14]
mov ecx, esi
push dword [ebp - 0x18]
je 0x586079
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0047d6bd
jmp 0x586081
push dword [ebp - 0x1c]
call fcn.0047d6bd
mov edi, eax
cmp edi, ebx
mov eax, dword [esi]
jge 0x586092
push 1
mov ecx, esi
call dword [eax + 0x4c]
jmp 0x5860d3
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0x1c]
push ebx
push esi
call dword [eax + 0x28]
mov edi, eax
cmp edi, ebx
jl 0x5860d3
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
push dword [ebp + 8]
shl eax, 2
push dword [ebp - 0x1c]
push eax
push dword [ebp - 4]
call sub.msvcrt.dll_fread
add esp, 0x10
cmp dword [ebp - 0x1c], eax
jne 0x5860ce
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor edi, edi
jmp 0x5860d3
mov edi, 0x8876086c
cmp dword [ebp - 4], ebx
je 0x5860de
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
push dword [ebp + 8]
call sub.msvcrt.dll_fclose
pop ecx
mov eax, edi
pop edi
jmp 0x5860f1
mov eax, 0x8876086c
pop esi
pop ebx
leave
ret 8