joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5fdd1240
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x5fde94a8]
xor eax, esp
mov dword [esp + 0xd0], eax
and dword [esp], 0
xor ecx, ecx
mov eax, dword [ebp + 0xc]
inc ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x10], eax
cmp dword [ebp + 0x10], ecx
jne 0x5fdd1423
test ebx, ebx
je 0x5fdd1423
test eax, eax
jne 0x5fdd128d
mov dword [esp + 0x10], 0x5fda4c10
push 0x10
mov dword [esp + 0x80], ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x7c], ecx
lea edi, [esp + 0x9c]
pop ecx
push 0xa
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
push eax
call sym.DNSAPI.dll_ExtraInfo_Init
lea eax, [esp + 0x78]
mov dword [esp + 0x2c], eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
push 0x1048
push 6
push dword [esp + 0x24]
call sym.DNSAPI.dll_DnsQuery_W
mov esi, eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov edi, eax
mov eax, dword [esp + 0x14]
cmp edi, eax
jb 0x5fdd12f6
sub edi, eax
jmp 0x5fdd12f9
sub edi, eax
dec edi
cmp dword [esp + 0xc], 0
je 0x5fdd1310
push 1
push dword [esp + 0x10]
call sym.DNSAPI.dll_DnsFree
and dword [esp + 0xc], 0
mov eax, 0x251d
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], esi
cmp esi, eax
jg 0x5fdd13d4
je 0x5fdd13cb
test esi, esi
je 0x5fdd13c5
cmp esi, 0x7b
je 0x5fdd1417
cmp esi, 0x5b4
je 0x5fdd13bc
cmp esi, 0x2329
jle 0x5fdd1362
cmp esi, 0x232b
jle 0x5fdd13cb
cmp esi, 0x232d
je 0x5fdd13b3
cmp esi, 0x2331
je 0x5fdd13cb
mov dword [ebx + 0x2c], 0xff
test esi, esi
jne 0x5fdd13a8
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
push 0x104a
push 6
push dword [esp + 0x24]
call sym.DNSAPI.dll_DnsQuery_W
cmp dword [esp + 0xc], 0
mov esi, eax
je 0x5fdd139d
push 1
push dword [esp + 0x10]
call sym.DNSAPI.dll_DnsFree
test esi, esi
je 0x5fdd13a8
mov dword [ebx + 0x2c], 0x10
mov ecx, ebx
call fcn.5fdce9dd
xor eax, eax
jmp 0x5fdd1426
mov dword [ebx + 0x2c], 6
jmp 0x5fdd13a8
mov dword [ebx + 0x2c], 4
jmp 0x5fdd13a8
and dword [ebx + 0x2c], 0
jmp 0x5fdd136d
mov dword [ebx + 0x2c], 5
jmp 0x5fdd1369
cmp esi, 0x2558
jl 0x5fdd1362
cmp esi, 0x2559
jle 0x5fdd1417
cmp esi, 0x2743
je 0x5fdd140b
cmp esi, 0x2746
je 0x5fdd140b
cmp esi, 0x274d
je 0x5fdd140b
lea eax, [esi - 0x2750]
cmp eax, 1
ja 0x5fdd1362
mov dword [ebx + 0x2c], 3
jmp 0x5fdd1369
mov dword [ebx + 0x2c], 2
jmp 0x5fdd1369
push 0x57
pop eax
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.5fd83560
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5fdd1e4a
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov word [ebp - 2], dx
mov ebx, ecx
cmp dword [ebp + 0x14], esi
je 0x5fdd2006
push edi
mov edi, dword [ebp + 0x10]
cmp dword [edi + 0x1c], esi
je 0x5fdd2005
push 0x5fde9458
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_AcquireSRWLockExclusive]
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0xc], esi
je 0x5fdd1e86
inc esi
jmp 0x5fdd1e8d
mov dword [eax + 0xc], 1
push 0x5fde9458
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_ReleaseSRWLockExclusive]
test esi, esi
jne 0x5fdd2005
mov ecx, 0x220
call fcn.5fd85d21
mov esi, eax
test esi, esi
jne 0x5fdd1ee5
mov eax, dword [0x5fde9010]
cmp eax, 0x5fde9010
je 0x5fdd2005
test dword [eax + 0x1c], 0x400
je 0x5fdd2005
push dword [eax + 0x14]
mov edx, 0x5fdbd5ac
push dword [eax + 0x10]
push 0x22
pop ecx
call fcn.5fdc44b5
jmp 0x5fdd2005
test ebx, ebx
je 0x5fdd1ef6
push ebx
mov edx, 0x100
mov ecx, esi
call fcn.5fd8aba9
mov ax, word [ebp - 2]
mov edi, 0x800
mov word [esi + 0x200], ax
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [esi + 0x208], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [esi + 0x20c], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esi + 0x218], eax
mov eax, dword [ebp + 0x18]
push 0x5fd988f8
mov dword [esi + 0x21c], eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
push edi
push ebx
push 0x5fdd2010
mov dword [esi + 0x210], eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov dword [esi + 0x214], eax
cmp dword [esi + 0x210], ebx
je 0x5fdd1fa8
test eax, eax
je 0x5fdd1fa8
push ebx
push ebx
push esi
push 0x5fdd26f0
push ebx
push ebx
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_CreateThread]
test eax, eax
je 0x5fdd1f7e
push eax
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x5fdd2005
mov eax, dword [0x5fde9010]
cmp eax, 0x5fde9010
je 0x5fdd1fdc
test dword [eax + 0x1c], 0x400
je 0x5fdd1fdc
push dword [eax + 0x14]
mov edx, 0x5fdbd5ac
push dword [eax + 0x10]
push 0x24
pop ecx
call fcn.5fdc44b5
jmp 0x5fdd1fdc
mov eax, dword [0x5fde9010]
cmp eax, 0x5fde9010
je 0x5fdd1fdc
test dword [eax + 0x1c], 0x400
je 0x5fdd1fdc
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
push eax
mov eax, dword [0x5fde9010]
mov edx, 0x5fdbd5ac
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x23
pop ecx
call fcn.5fdc7d09
mov ecx, esi
call fcn.5fd83e2e
mov eax, dword [esi + 0x210]
test eax, eax
je 0x5fdd1ff4
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov eax, dword [esi + 0x214]
test eax, eax
je 0x5fdd2005
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x5fdd3a8e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
push edi
mov edi, 0x5fde9460
xor esi, esi
push edi
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_AcquireSRWLockShared]
mov eax, dword [0x5fde90fc]
test eax, eax
jne 0x5fdd3c40
push edi
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_ReleaseSRWLockShared]
push edi
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_AcquireSRWLockExclusive]
cmp dword [0x5fde90fc], esi
jne 0x5fdd3c37
push ebx
mov ebx, 0x800
push ebx
push esi
push 0x5fdd3c54
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov dword [0x5fdea964], eax
test eax, eax
je 0x5fdd3aff
push ebx
push esi
push 0x5fdd3c70
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov ecx, eax
mov eax, dword [0x5fdea964]
mov dword [0x5fdea968], ecx
jmp 0x5fdd3b05
mov ecx, dword [0x5fdea968]
pop ebx
test ecx, ecx
je 0x5fdd3c25
test eax, eax
je 0x5fdd3c25
push 0x5fdd3c88
push eax
mov dword [0x5fde90fc], 1
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
push 0x5fdd3c98
push dword [0x5fdea964]
mov dword [0x5fdeb7e0], eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
push 0x5fdd3cac
push dword [0x5fdea964]
mov dword [0x5fdeb7e4], eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
push 0x5fdd3ccc
push dword [0x5fdea964]
mov dword [0x5fdeb7e8], eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
push 0x5fdd3ce4
push dword [0x5fdea964]
mov dword [0x5fdeb7ec], eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
push 0x5fdd3cf8
push dword [0x5fdea964]
mov dword [0x5fdeb7f0], eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
push 0x5fdd3d08
push dword [0x5fdea964]
mov dword [0x5fdeb7f4], eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
push 0x5fdd3d20
push dword [0x5fdea964]
mov dword [0x5fdeb7f8], eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
push 0x5fdd3d38
push dword [0x5fdea968]
mov dword [0x5fdeb7fc], eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
push 0x5fdd3d48
push dword [0x5fdea968]
mov dword [0x5fdeb800], eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
push 0x5fdd3d5c
push dword [0x5fdea968]
mov dword [0x5fdeb804], eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
push 0x5fdd3d78
push dword [0x5fdea968]
mov dword [0x5fdeb808], eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov dword [0x5fdeb80c], eax
jmp 0x5fdd3c37
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov esi, eax
mov dword [0x5fde90fc], 2
push edi
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_ReleaseSRWLockExclusive]
jmp 0x5fdd3c4f
cmp eax, 2
jne 0x5fdd3c48
push 0x7f
pop esi
push edi
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_ReleaseSRWLockShared]
pop edi
mov eax, esi
pop esi
ret
Function at 0x5fdd9ecd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
test eax, eax
jne 0x5fdd9ee9
or eax, 0xffffffff
mov dword [ebp + 0x10], eax
cmp eax, dword [ebp + 8]
ja 0x5fdd9ef5
xor eax, eax
jmp 0x5fdda03e
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebx + 0x1fe]
lea ecx, [edi - 0x54]
mov dword [ebp - 0x14], ecx
jmp 0x5fdda012
mov cl, byte [esi]
inc esi
mov dl, cl
mov byte [ebp - 1], cl
and dl, 0xc0
mov byte [ebp - 2], dl
cmp dword [0x5fde9010], 0x5fde9010
mov eax, dword [ebp + 0x10]
je 0x5fdd9f5c
mov eax, dword [0x5fde9010]
test dword [eax + 0x1c], 0x1000000
mov eax, dword [ebp + 0x10]
je 0x5fdd9f5c
movzx eax, dl
push eax
push eax
mov eax, dword [0x5fde9010]
movzx ecx, cl
push ecx
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.5fdda663
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
test dl, dl
jne 0x5fdd9fac
movzx eax, cl
push eax
mov dword [ebp - 0xc], eax
mov eax, edi
push 0x5fdda0d0
sub eax, ebx
push eax
push ebx
call fcn.5fde1321
mov ebx, eax
add esp, 0x10
mov al, byte [ebp - 1]
test al, al
je 0x5fdda02e
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + esi]
mov dword [ebp - 0x10], edx
cmp edx, dword [ebp + 0x10]
jae 0x5fdda045
push ecx
push esi
push ebx
call sub.api_ms_win_core_crt_l1_1_0.dll_memcpy
mov esi, dword [ebp - 0x10]
add esp, 0xc
add ebx, dword [ebp - 0xc]
jmp 0x5fdda00f
cmp dl, 0xc0
jne 0x5fdda08e
cmp esi, eax
jae 0x5fdda07a
movzx eax, byte [esi]
movzx ecx, cl
shl cx, 8
or cx, ax
inc esi
movzx eax, cx
push eax
mov dword [ebp - 0x10], eax
mov eax, edi
push 0x5fdda148
sub eax, ebx
push eax
push ebx
call fcn.5fde1321
add esp, 0x10
mov ebx, eax
cmp dword [ebp + 0xc], 0
je 0x5fdda075
cmp dword [ebp - 8], 0
jne 0x5fdd9ffa
mov dword [ebp - 8], esi
mov ecx, dword [ebp - 0x10]
lea eax, [esi - 2]
xor ecx, 0xc000
add ecx, dword [ebp + 0xc]
cmp ecx, eax
jae 0x5fdda05d
mov esi, ecx
mov ecx, dword [ebp - 0x14]
cmp ebx, ecx
jb 0x5fdd9f0b
push 0x5fdda09c
sub edi, ecx
push edi
push ecx
call fcn.5fde1321
add esp, 0xc
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x5fdda037
mov esi, eax
sub esi, dword [ebp + 8]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
movzx eax, al
sub edi, ebx
push eax
push 0x5fdda0d8
push edi
push ebx
call fcn.5fde1321
add esp, 0x14
jmp 0x5fdda02b
push ecx
lea eax, [esi - 2]
sub edi, ebx
push eax
push 0x5fdda150
push edi
push ebx
call fcn.5fde1321
add esp, 0x14
jmp 0x5fdda02e
mov byte [ebx], 0
jmp 0x5fdda02e
push esi
push 0x5fdda114
sub edi, ebx
push edi
push ebx
call fcn.5fde1321
add esp, 0x10
jmp 0x5fdda02b
movzx eax, cl
push eax
push 0x5fdda184
jmp 0x5fdda080
Function at 0x5fde08bd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5fde94a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov dword [ebp - 0x214], eax
xor eax, eax
push 0x1fe
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push ebx
push eax
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], ebx
call sub.api_ms_win_core_crt_l1_1_0.dll_memset
add esp, 0xc
mov dword [ebp - 0x218], 8
mov edx, 0x100
mov edi, ebx
mov dword [ebp - 0x208], edx
cmp dword [ebp - 0x20c], ebx
jbe 0x5fde0989
mov ebx, dword [ebp - 0x20c]
mov esi, dword [ebp - 0x210]
movzx eax, word [esi + edi*2]
mov ecx, eax
cdq
idiv dword [ebp - 0x208]
shr ecx, 8
mov eax, edx
movzx ecx, cl
cdq
idiv dword [ebp - 0x218]
inc al
movzx eax, al
cmp ax, word [ebp + ecx*2 - 0x204]
jbe 0x5fde0977
mov word [ebp + ecx*2 - 0x204], ax
inc edi
cmp edi, ebx
jb 0x5fde0944
mov esi, dword [ebp - 0x220]
xor ebx, ebx
mov edx, 0x100
xor eax, eax
mov ecx, ebx
mov word [esi], ax
movzx eax, word [ebp + ecx*2 - 0x204]
test ax, ax
je 0x5fde09a3
add eax, 2
add word [esi], ax
inc ecx
cmp ecx, edx
jb 0x5fde0990
movzx eax, word [esi]
cmp dword [ebp + 0xc], eax
jae 0x5fde09ba
mov ebx, 0xea
jmp 0x5fde0a7d
mov edi, dword [ebp - 0x214]
push eax
push ebx
push edi
call sub.api_ms_win_core_crt_l1_1_0.dll_memset
add esp, 0xc
mov esi, ebx
mov ecx, ebx
mov eax, 0x100
movzx edx, word [ebp + ecx*2 - 0x204]
mov word [ebp + ecx*2 - 0x204], si
test dx, dx
je 0x5fde0a02
movzx eax, word [ebp + ecx*2 - 0x204]
add esi, 2
add esi, edx
mov byte [eax + edi], cl
mov byte [eax + edi + 1], dl
mov eax, 0x100
inc ecx
cmp ecx, eax
jb 0x5fde09d4
cmp dword [ebp - 0x20c], 0
mov eax, ebx
mov dword [ebp - 0x208], ebx
jbe 0x5fde0a7d
mov ebx, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x210]
mov esi, 0x100
push 8
movzx ecx, word [ecx + eax*2]
mov eax, ecx
shr ecx, 8
cdq
idiv esi
pop esi
mov eax, edx
movzx ecx, cl
cdq
idiv esi
mov cx, word [ebp + ecx*2 - 0x204]
add ax, 2
mov edi, edx
add cx, ax
mov edx, 0x80
mov eax, dword [ebp - 0x214]
movzx esi, cx
mov ecx, edi
sar edx, cl
or byte [esi + eax], dl
mov eax, dword [ebp - 0x208]
inc eax
mov dword [ebp - 0x208], eax
cmp eax, ebx
jb 0x5fde0a1e
mov ebx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.5fd83560
mov esp, ebp
pop ebp
ret 0xc
Function at 0x713acc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ecx + 4], 0
push esi
jne 0x713af5
push 0x40f570
lea ecx, [ebp - 0xc]
call dword [0x408184]
lea eax, [ebp - 0xc]
push 0x40d570
push eax
call fcn.00717812
xor esi, esi
cmp dword [ecx + 0x3cc], esi
jle 0x713b16
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dl, byte [edi]
xor byte [eax], dl
inc edi
inc eax
inc esi
cmp esi, dword [ecx + 0x3cc]
jl 0x713b06
pop edi
pop esi
leave
ret 8

Function at 0x7154c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x7154d1
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x7155b2
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3

Function at 0x7155d9
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
mov edx, 0xff
mov esi, dword [ecx]
movzx edi, byte [esp + 0x10]
mov eax, esi
and eax, edx
xor eax, edi
shr esi, 8
mov eax, dword [eax*4 + 0x40d054]
xor eax, esi
mov esi, dword [ecx + 8]
mov dword [ecx], eax
and eax, edx
add eax, dword [ecx + 4]
mov edi, esi
and edi, edx
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 4], eax
shr eax, 0x18
xor eax, edi
pop edi
shr esi, 8
mov eax, dword [eax*4 + 0x40d054]
xor eax, esi
pop esi
mov dword [ecx + 8], eax
ret

Function at 0x7190aa
Capabilities:
Encode data using xor

Disassembly:
out dx, al
cdq
jnp 0x719129
test byte [ebp + 0xdfff2f2], 0x6b
imul edx, esi, 0xffffffbd
outsd dx, dword [esi]
outsd dx, dword [esi]
fidiv word [ecx + 0x5491c5c5]
xor byte [eax], dh
pushal
push eax
add dword [ecx], eax
add al, byte [ebx]
into
test eax, 0x7d562b2b
invalid
xchg ebx, eax
cmp eax, 0x4c2626ae
push 0x36
insb byte es:[edi], dx
pop edx
aas
aas
jle 0x719179
div edi
cmc
add cl, ah
int3
add al, 8
or al, 0xc7
invalid
add eax, 0x9a9a0f0a
das
mov ch, 7
pop es
push cs
or dword [edx], edx
adc ah, byte [esi + esi]
add byte [eax - 0x1d1d64e5], 0xdf
cmp eax, 0x26cdebeb
daa
daa
dec esi
imul esi, dword [edx + 0x75cd7fb2], 0x99fea75
or dword [edx], edx
sbb eax, dword [ebx + 0x2c9e1d83]
sub al, 0x58
je 0x7191c7
ljmp 0x831b:0x1209099f
sbb dh, byte [esi + ebp]
sbb ebx, dword [ebx]
sub eax, 0xb2dc6e6e
outsb dx, byte [esi]
outsb dx, byte [esi]
fdiv qword [edx - 0x114ba5a6]
pop edx
pop edx
mov ah, 0xee
mov al, byte [0x52fb5ba0]
push edx
movsb byte es:[edi], byte [esi]
idiv byte [ebx]
cmp esi, dword [esi + 0x4d]
cmp edi, dword [ebx]
jbe 0x719215
dec ebp
salc
salc
mov bh, 0x61
mov bl, 0xb3
jge 0x71919e
sub dword [ecx], ebp
push edx
jnp 0x7191b8
jecxz 0x7191b4
das
das
pop esi
jno 0x719161
test byte [ebx], dl
xchg edi, eax
push ebx
push ebx
cmpsb byte [esi], byte es:[edi]
cmc
rcl ecx, 1
mov ecx, 0x68
add ch, ch
in eax, dx
shr dword [eax], 0x20
inc eax
pushal
cld
cld
jecxz 0x719217
mov cl, 0xb1
jns 0x7191c4
pop ebx
pop ebx
mov dh, 0xed
push 0x6a
aam 0xbe
retf
dec esp
cwde
aam 0x58
pop eax
mov al, 0xe8
iretd
Function at 0x405e70
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x406023
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseEventLog]
nop dword [eax]
push 0
call esi
add byte [edi + ebp], 0x15
push 0
call esi
add byte [edi + ebp], 0x34
push 0
call esi
xor byte [edi + ebp], 0xf9
push 0
call esi
add byte [edi + ebp], 0x59
push 0
call esi
add byte [edi + ebp], 0xa3
push 0
call esi
add byte [edi + ebp], 0x1d
push 0
call esi
add byte [edi + ebp], 0x22
push 0
call esi
xor byte [edi + ebp], 0x8f
push 0
call esi
add byte [edi + ebp], 0xe7
push 0
call esi
add byte [edi + ebp], 0xc4
push 0
call esi
xor byte [edi + ebp], 0x62
push 0
call esi
add byte [edi + ebp], 0x82
push 0
call esi
add byte [edi + ebp], 0x43
push 0
call esi
add byte [edi + ebp], 0x82
push 0
call esi
add byte [edi + ebp], 0x9c
push 0
call esi
add byte [edi + ebp], 0xdd
push 0
call esi
xor byte [edi + ebp], 0xc7
push 0
call esi
add byte [edi + ebp], 0x56
push 0
call esi
add byte [edi + ebp], 0xb0
push 0
call esi
add byte [edi + ebp], 0x96
push 0
call esi
add byte [edi + ebp], 0x45
push 0
call esi
add byte [edi + ebp], 0xd9
push 0
call esi
add byte [edi + ebp], 0x13
push 0
call esi
add byte [edi + ebp], 0x1f
push 0
call esi
add byte [edi + ebp], 0x1c
push 0
call esi
xor byte [edi + ebp], 0x2b
push 0
call esi
add byte [edi + ebp], 0x34
push 0
call esi
add byte [edi + ebp], 0x37
push 0
call esi
add byte [edi + ebp], 0x25
push 0
call esi
add byte [edi + ebp], 0x4b
push 0
call esi
add byte [edi + ebp], 0x5e
push 0
call esi
xor byte [edi + ebp], 0x72
push 0
call esi
xor byte [edi + ebp], 0x8d
push 0
call esi
xor byte [edi + ebp], 0x8f
push 0
call esi
add byte [edi + ebp], 0x83
push 0
call esi
add byte [edi + ebp], 0x95
push 0
call esi
xor byte [edi + ebp], 0xa
push 0
call esi
add byte [edi + ebp], 0xa0
push 0
call esi
add byte [edi + ebp], 0xbc
push 0
call esi
xor byte [edi + ebp], 0xd9
push 0
call esi
add byte [edi + ebp], 0x43
push 0
call esi
xor byte [edi + ebp], 0x87
push 0
call esi
add byte [edi + ebp], 0xc7
push 0
call esi
xor byte [edi + ebp], 0x9e
push 0
call esi
add byte [edi + ebp], 0x9e
push 0
call esi
xor byte [edi + ebp], 0x52
push 0
call esi
add byte [edi + ebp], 0x73
push 0
call esi
add byte [edi + ebp], 0x21
push 0
call esi
add byte [edi + ebp], 0x9c
inc edi
cmp edi, ebx
jb 0x405e90
pop esi
pop ebp
pop edi
pop ebx
ret
Function at 0x4074a1
Capabilities:
Parse pe header

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

Function at 0x410061
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41efa4
push 0x41ef9c
push str.FlsAlloc
push 0x1e
call fcn.0040fee2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410095
push dword [ebp + 8]
mov ecx, esi
call dword [0x41c130]
call esi
jmp 0x41009b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4100df
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41efb4
push 0x41efac
push str.FlsGetValue
push 0x20
call fcn.0040fee2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410116
push dword [ebp + 8]
mov ecx, esi
call dword [0x41c130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41b150
Capabilities:
Parse pe header

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

Function at 0x43cf73
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43ccda
mov ebx, dword [esp]
add esp, 4
sub ecx, edx
call fcn.0043cfaa
sub edx, 0xa281c5c6
or edx, edx
xor dword [eax], ebx
sub ecx, 0xd515b164
inc eax
mov ecx, ecx
cmp eax, esi
jne fcn.0043cf73
sub edx, 0xe01fbd95
and edx, ecx
ret
Function at 0x402180
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x4021c6
sub ebx, 0x4225a0
mov ax, word [ebx + edi*2 + 0x4225a0]
mov ecx, esi
xor ax, word [edi*2 + 0x4225a0]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x4021a4
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x402d56
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, edx
cmp dword [0x450cb0], ebx
jne 0x402d9c
mov ecx, ebx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x402d7d
shr eax, 1
xor eax, 0xedb88320
jmp 0x402d7f
shr eax, 1
dec edx
jne 0x402d70
mov dword [ecx*4 + 0x4508b0], eax
inc ecx
cmp ecx, 0x100
jl 0x402d6b
mov dword [0x450cb0], 1
mov eax, dword [ebp + 8]
or edx, 0xffffffff
xor ecx, ecx
lea eax, [edi + eax*2]
mov esi, eax
sub esi, edi
inc esi
shr esi, 1
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x402dd1
movzx eax, byte [edi]
lea edi, [edi + 2]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4508b0]
inc ebx
cmp ebx, esi
jb 0x402db7
pop edi
not edx
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4