joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405d6b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
test esi, esi
je 0x405e1f
cmp dword [ebp + 8], 0
jne 0x405d90
cmp dword [ebp + 0x10], 2
jg 0x405e1f
lea ecx, [ebp - 4]
call fcn.00401953
lea ecx, [ebp + 0x14]
call fcn.00401953
xor edi, edi
inc edi
mov eax, dword [ebx + 0x58]
lea ecx, [ebx + 0x58]
push 0
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x405dc4
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x14
jle 0x405da3
jmp 0x405dee
push dword [ebp + 0x18]
lea eax, [ebp + 0x14]
mov ecx, ebx
push esi
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405c97
mov eax, dword [ebx + 0x58]
lea ecx, [ebx + 0x58]
call dword [eax + 8]
cmp edi, 0x14
jle 0x405e09
push str.LOG_SYSTEM:_Couldnt_acquire_lock__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
push 0x4257b0
call esi
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401267
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00401267
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x4060e4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0xc]
push ebx
mov ebx, ecx
push edi
lea ecx, [ebx + 0xc]
mov dword [ebx], fcn.004062a5
mov dword [ebx + 4], 0x989680
mov word [ebx + 8], 0
mov byte [ebx + 0xa], al
mov byte [ebx + 0xb], 1
call fcn.00401953
push dword [ebp + 8]
xor edi, edi
lea ecx, [ebx + 0x14]
mov dword [ebx + 0x10], edi
call fcn.004018f4
lea ecx, [ebx + 0x1c]
mov dword [ebx + 0x18], edi
call fcn.00401953
movzx eax, byte [0x42bd99]
neg eax
sbb eax, eax
and eax, 0x42bda0
mov dword [ebp + 8], eax
je 0x4061ac
push esi
lea ecx, [ebp + 0xc]
push ecx
mov ecx, eax
call fcn.00405ffc
mov esi, dword [ebp + 0xc]
cmp dword [esi - 0xc], edi
je 0x406187
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push 0x989680
push str.MaxLogFileSize
push str.LoggingSettings
call edi
mov dword [ebx + 4], eax
xor eax, eax
push esi
inc eax
push eax
push str.LogFileWide
push str.LoggingSettings
call edi
test eax, eax
setne al
jmp 0x406191
xor eax, eax
mov dword [ebx + 4], 0x989680
inc eax
mov byte [ebx + 0xb], al
lea ecx, [ebx + 0x1c]
mov eax, dword [ebp + 8]
add eax, 0x54
push eax
call fcn.004018a6
lea ecx, [esi - 0x10]
call fcn.00401267
pop esi
pop edi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x40620d
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 8], 0
jne 0x4062a1
mov byte [esi + 8], 1
call fcn.004062d1
lea ebx, [esi + 0x10]
cmp dword [ebx], 0
je 0x4062a1
mov edi, ebx
test al, al
je 0x40623a
mov byte [esi + 0xa], 1
lea edi, [esi + 0x10]
mov ecx, esi
call fcn.00406a08
test al, al
jne 0x406261
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.0040789f
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4062a1
mov ecx, esi
call fcn.004064f5
cmp dword [esi + 0x18], 0
jne 0x40628e
push dword [esi + 0x14]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_create_logging_file__s_n
call fcn.0040789f
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [esi + 9], 0
jmp 0x406290
mov edi, ebx
cmp dword [edi], 0
mov byte [esi + 9], 1
je 0x4062a1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebx
ret

Function at 0x40620e
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 8], 0
jne 0x4062a1
mov byte [esi + 8], 1
call fcn.004062d1
lea ebx, [esi + 0x10]
cmp dword [ebx], 0
je 0x4062a1
mov edi, ebx
test al, al
je 0x40623a
mov byte [esi + 0xa], 1
lea edi, [esi + 0x10]
mov ecx, esi
call fcn.00406a08
test al, al
jne 0x406261
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.0040789f
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4062a1
mov ecx, esi
call fcn.004064f5
cmp dword [esi + 0x18], 0
jne 0x40628e
push dword [esi + 0x14]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_create_logging_file__s_n
call fcn.0040789f
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [esi + 9], 0
jmp 0x406290
mov edi, ebx
cmp dword [edi], 0
mov byte [esi + 9], 1
je 0x4062a1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebx
ret
Function at 0x4064f5
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x42a040]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x70], 0
lea edx, [ebp - 0x70]
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x14]
mov ecx, dword [ebx]
call fcn.004050a1
mov eax, dword [ebp - 0x70]
cmp eax, dword [edi + 4]
jbe 0x40652d
mov ecx, edi
call fcn.004066cc
xor eax, eax
cmp byte [edi + 0xa], al
setne al
xor esi, esi
push esi
push 0x80
lea eax, [eax*2 + 2]
push eax
push esi
push 3
push 0x40000000
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x18], eax
cmp eax, 0xffffffff
jne 0x406567
mov dword [edi + 0x18], esi
xor al, al
jmp 0x406664
mov edx, ebx
lea ecx, [ebp - 0x70]
call fcn.004075d5
mov esi, dword [ebp - 0x70]
lea edx, [ebp - 0x69]
mov ecx, esi
mov byte [ebp - 0x69], 1
call fcn.0040500e
cmp byte [ebp - 0x69], 0
jne 0x406632
mov ecx, dword [edi + 0x18]
call fcn.00405186
test al, al
jne 0x406632
lea ecx, [ebp - 0x90]
call fcn.00403105
push 0x221
push 0x20
push 2
lea eax, [ebp - 0x68]
push 0x424ce8
push eax
call fcn.00402ca2
add esp, 0x10
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x90]
push 0xc0010000
push eax
call fcn.00403172
lea ecx, [ebp - 0x68]
mov bl, al
call fcn.00402d73
test bl, bl
je 0x4065f5
push ecx
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x90]
push eax
call fcn.00403a85
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x406622
cmp byte [edi + 0xb], 0
je 0x406622
and dword [ebp - 0x70], 0
lea eax, [ebp - 0x70]
push 0
push eax
push 2
push 0x424a38
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x90]
call fcn.0040314b
xor ebx, ebx
inc ebx
jmp 0x40665a
push dword [ebx]
push dword [edi + 0x1c]
push str.LOG_SYSTEM:___s_:_ERROR___Log_path__s_has_a_reparse_point
call fcn.0040789f
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x18], 0
xor bl, bl
lea ecx, [esi - 0x10]
call fcn.00401267
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a549
leave
ret

Function at 0x406673
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 0x80
push 5
push ebx
push 3
push 0x40000000
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esi + 0x18], 0xffffffff
mov edi, eax
jne 0x4066a3
xor al, al
jmp 0x4066c7
cmp byte [esi + 0xb], bl
je 0x4066be
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 2
push 0x424a38
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406742
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x42a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x18
mov dword [ebp - 0x70], ecx
lea edi, [ebp - 0x68]
pop ecx
mov esi, str.SYSTEMCurrentControlSetControlSession_Manager
lea eax, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
xor ebx, ebx
lea eax, [ebp - 0x68]
push ebx
push eax
push 0x80000002
movsw word es:[edi], word [esi]
mov dword [ebp - 0x74], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40686d
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x6c]
push 7
pop esi
push eax
push ebx
lea eax, [ebp - 0x78]
mov dword [ebp - 0x6c], ebx
push eax
push ebx
push str.PendingFileRenameOperations
push dword [ebp - 0x74]
mov dword [ebp - 0x78], esi
call edi
test eax, eax
jne 0x40686d
cmp dword [ebp - 0x78], esi
jne 0x40686d
push dword [ebp - 0x6c]
call fcn.0041bf3c
push dword [ebp - 0x6c]
mov esi, eax
push ebx
push esi
mov dword [ebp - 0x7c], esi
call fcn.0040b2c0
add esp, 0x10
lea eax, [ebp - 0x6c]
push eax
push esi
push ebx
push ebx
push str.PendingFileRenameOperations
push dword [ebp - 0x74]
call edi
test eax, eax
jne 0x406862
mov edi, dword [ebp - 0x6c]
shr edi, 1
lea eax, [edi - 2]
cmp eax, 0xffffd
ja 0x406862
cmp word [esi + edi*2 - 4], bx
jne 0x406862
cmp word [esi + edi*2 - 2], bx
jne 0x406862
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x70]
add eax, 0x14
mov edx, str.___
push eax
call fcn.00406a76
mov esi, dword [ebp - 0x70]
pop ecx
test edi, edi
je 0x40684e
mov eax, dword [ebp - 0x7c]
push esi
lea eax, [eax + ebx*2]
push eax
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x406851
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc ebx
add ebx, eax
cmp ebx, edi
jb 0x406829
or ebx, 0xffffffff
cmp ebx, 0xffffffff
lea ecx, [esi - 0x10]
setne bl
call fcn.00401267
mov esi, dword [ebp - 0x7c]
push esi
call fcn.0040b155
pop ecx
mov al, bl
jmp 0x40686f
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a549
leave
ret

Function at 0x406a08
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x406a15
xor al, al
pop esi
ret
push 0x1f4
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x406a4e
cmp eax, 0x80
je 0x406a4e
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.0040789f
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [esi + 9], 0
jmp 0x406a11
mov al, 1
pop esi
ret
Function at 0x406e45
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x42a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x124]
push 0x118
push ebx
mov dword [ebp - 0x12c], ebx
push eax
mov dword [ebp - 0x128], 0x11c
call fcn.0040b2c0
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je case.0x406f73.2
mov ecx, dword [ebp - 0x124]
cmp ecx, 6
je 0x406f31
cmp ecx, 0xa
je 0x406f31
cmp ecx, 5
jne case.0x406f73.2
cmp dword [ebp - 0x120], 2
jne 0x406f1a
cmp byte [ebp - 0xe], 1
jne 0x406eec
lea ecx, [ebp - 0x130]
call fcn.00406dc1
mov ecx, eax
mov dword [ebp - 0x12c], 1
call fcn.00401891
test al, al
je 0x406eec
xor eax, eax
mov bl, 1
inc eax
jmp 0x406ef2
mov eax, dword [ebp - 0x12c]
test al, 1
je 0x406f04
mov ecx, dword [ebp - 0x130]
lea ecx, [ecx - 0x10]
call fcn.00401267
test bl, bl
jne case.0x406f73.1
test dword [ebp - 0x10], 0x8000
jne case.0x406f73.2
push 2
pop eax
jmp 0x406f97
cmp dword [ebp - 0x120], 1
jne case.0x406f73.2
test dword [ebp - 0x10], 0x200
jne case.0x406f73.2
xor eax, eax
inc eax
jmp 0x406f97
mov edx, dword [ebp - 0x120]
lea eax, [ebp - 0x12c]
push eax
push ecx
push ecx
mov dword [ebp - 0x12c], ebx
call fcn.00406b8f
add esp, 0xc
test eax, eax
je case.0x406f73.2
mov eax, dword [ebp - 0x12c]
cmp eax, 0x30
ja 0x406fc7
je case.0x406f73.1
cmp eax, 0xb
ja 0x406f7a
je case.0x406f73.2
dec eax
cmp eax, 9
ja case.0x406f73.2
movzx eax, byte [eax + 0x407015]
jmp dword [eax*4 + 0x407001]
cmp eax, 0x10
ja 0x406fa4
je case.0x406f73.4
sub eax, 0xc
je case.0x406f73.7
sub eax, 1
je case.0x406f73.7
sub eax, 1
je case.0x406f73.7
sub eax, 1
je case.0x406f73.7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040a549
leave
ret
sub eax, 0x11
je case.0x406f73.7
sub eax, 1
je case.0x406f73.7
sub eax, 7
je case.0x406f73.7
dec eax
sub eax, 1
je case.0x406f73.4
jmp case.0x406f73.2
cmp eax, 0x7a
ja 0x406fea
je 0x406fe3
sub eax, 0x46
je case.0x406f73.4
dec eax
sub eax, 1
je case.0x406f73.4
sub eax, 0xc
je case.0x406f73.4
sub eax, 0x25
jne case.0x406f73.2
push 4
jmp 0x406f17
sub eax, 0x7d
je case.0x406f73.4
sub eax, 1
je case.0x406f73.4
sub eax, 3
jne 0x406fc0
push 3
jmp 0x406f17
Function at 0x4079c1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x42a040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp edi, 0x80000003
jne 0x4079ee
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040a549
leave
ret
push esi
push 0x802
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.0040b2c0
mov esi, dword [0x42bd94]
lea ecx, [ebp - 0x80c]
xor edx, edx
call fcn.00404dce
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push str.baselogging.cc
push 0
push esi
push dword [ebp - 0x80c]
push edi
push str.Exception__x_in__s__s__u_r_n_r_n_hs:_d_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x80c]
add esp, 0x2c
lea ecx, [ecx - 0x10]
call fcn.00401267
lea ecx, [ebp - 0x808]
call fcn.00407ff3
push 0x250012
push str.Exception
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
sub eax, 3
je 0x407a82
sub eax, 1
jne 0x407a7a
int3
xor eax, eax
inc eax
jmp 0x4079e1
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x407ff3
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x408062
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ebx, [ebx*2 + 2]
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40803e
push ebx
push edi
push eax
call fcn.0040b420
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x408059
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop edi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
ret

Function at 0x40b064
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40b0a3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40b0a3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40b0a3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40b0a3
cmp dword [ecx + 0x74], 0xe
jbe 0x40b0a3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x411f1e
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x42a040]
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 0x411f69
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041213b
test al, al
jne 0x411f63
sub edx, 2
cmp edx, edi
jne 0x411f49
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x411f8b
lea eax, [edi + 2]
cmp edx, eax
je 0x411f8b
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00411e6a
add esp, 0x10
jmp 0x412085
push esi
lea ecx, [ebp - 0x255]
call fcn.0041213b
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 0x411fce
push dword [ebp - 0x25c]
jmp 0x411f7b
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 0x41200b
cmp word [ebp - 0x226], 0
je 0x41202c
cmp word [ebp - 0x226], ax
jne 0x41200b
cmp word [ebp - 0x224], 0
je 0x41202c
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00411e6a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x412078
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x411fe5
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x412060
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x412085
push 0x411c9a
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00415d50
add esp, 0x10
jmp 0x412055
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.0040a549
leave
ret

Function at 0x412ed2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41fdac
push 0x41fda4
push str.FlsAlloc
push 0x1f
call fcn.00412e0d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x412f06
push dword [ebp + 8]
mov ecx, esi
call dword [0x41e2e0]
call esi
jmp 0x412f0c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x412f50
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41fdbc
push 0x41fdb4
push str.FlsGetValue
push 0x21
call fcn.00412e0d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x412f87
push dword [ebp + 8]
mov ecx, esi
call dword [0x41e2e0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x412f8f
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41fdc4
push 0x41fdbc
push str.FlsSetValue
push 0x22
call fcn.00412e0d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x412fc9
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41e2e0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x41ba50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41ba7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41ba7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x6797cb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, eax
pushfd
mov word [esp], ax
mov word [esp], 0x7b55
pushal
lea esp, [esp + 0x24]
jmp 0x67995a
lea esp, [esp + 0x28]
jae fcn.0067c8bc
xchg bx, di
sets bh
xchg ebx, edi
mov ebx, eax
movzx di, cl
movzx di, bl
jmp 0x678a80
jmp 0x679429
Function at 0x1aed5b2
Capabilities:
Encode data using xor

Disassembly:
pushfd
lea esp, [esp + 0xc]
jb 0x20ca877
jmp 0x1d328ca
in al, dx
ret 0x2999
call fcn.01aef32a
add byte [eax], al
inc edi
je 0x1d32922
outsd dx, dword [esi]
jne 0x1d32945
inc esi
imul ebp, dword [ebp + 0x4e], 0x57656d61
add byte [eax], al
loop 0x1d328fc
les edx, [ebx]
rcl bh, 0xa4
invalid
inc edx
cmc
dec edx
clc
sbb cl, ch
fild dword [edi]
push edi
stc
lcall 0x40f3, 0xac3013ef
xchg ebp, eax
inc ebx
out 0xd3, eax
into
dec esp
mov bh, 0xc0
loope 0x1d328c3
mov ds, edx
xor ebx, dword [ebp - 0x36]
popfd
jmp 0xd52ffff
or ecx, dword [esi]
cmp byte [ecx], dh
inc ebx
or dword [esi], edi
outsb dx, byte [esi]
test dword [edx], ecx
outsb dx, byte [esi]
aam 0x4f
xchg ecx, eax
out 0xa7, al
invalid
pushal
xchg ebx, eax
add eax, dword [edx]
in eax, 0x6d
push es
pop esp
dec ecx
invalid

Function at 0x1d2f61c
Capabilities:
Encode data using xor

Disassembly:
add byte [ebp + ecx*4 + 0xf282464], bl
xchg dword [esi + edx*8], ecx
invalid
mov ebp, 0xf7e8ffda
in eax, dx
or eax, 0x3d4fe800
call fcn.01d33370
call fcn.01d33370
jbe 0x1d2f633
dec dword [edx + 0x79]
aad 0xa0
push 0x77
rcr byte [ebp - 0x3e4140c0], 1
ror bh, 0xea
push ebp
fcomp qword [edi]
inc edx
aad 0x54
stc
jg 0x1d2f602
popfd
push ss
in eax, 0x54
stosb byte es:[edi], al
mov dh, 0x4f
sub ch, ch
push cs
stosd dword es:[edi], eax
aaa
push 0x6359bc7d
jns 0x1d2f67b
dec edx
pop ss
aad 0x5d
adc byte [edx], bh
or dword [edx - 0x17], 0xb3113e36
cmc
sahf
push 0xffffffffffffff9c
pop es
lds eax, [eax + 0x31]
push es
pop ebx
add ecx, edi
pop eax
cmpsd dword [esi], dword es:[edi]
jns 0x1d2f614
push ebx
xor ebx, dword [esp + esi + 5]
loope 0x1d2f6b6
mov eax, dword [0xf00217e5]
in eax, 0x17
add dh, al
dec ecx
pop ebx
enter 0x4827, 0x4f
daa
dec eax
dec edi
add dword [eax + 0x569ea95a], edx
loope 0x1d2f6b9
adc dword [ebx - 0x4960551d], ebp
std
test byte [0xd5b75032], 0x30
adc al, 0x71
pop ecx
mov esp, 0xddbb9273
adc bl, byte [eax + 0x3f]
sti
wait
je 0x1d2f674
fdivr st(3), st(0)
sub byte [esi - 0xc], ah
jmp 0x1d2f728
inc ebx
aad 0xfe
adc dword [ebx + ebx*4], esp
jmp 0x1d2f6ee
add al, byte [esi - 0x76]
pop ecx
push esi
scasd eax, dword es:[edi]
mov ecx, 0xfae5120f
sub eax, 0xcb49e347
pop edx
xor dword [eax - 0x3fd66dfd], esi
or esi, dword [edx + 0x56937c99]
jnp 0x1d2f6f9
ret 0x3568
and byte [edi], cl
xor dh, 0xad
push 0xfffffffffffffffd
int 0xaa
mov ah, 0xfe
mov ecx, 0x24274160
add esp, eax
inc eax
ret 0xf285
Function at 0x1e0cd32
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
movsx edi, al
bswap esi
pop esi
movsx cx, al
movsx di, bl
movsx edi, bl
mov esi, 0xcb875ffb
pop edi
xchg ebx, ecx
lea ebx, [ecx*2 + 0x27f7069]
pushal
push esi
mov ebx, dword [esp + 0x24]
pushfd
pop ecx
lea ecx, [edx + 0x429c0d74]
call fcn.01d331b3
sahf
fdiv st(7)
mov dl, 0xa9
lodsd eax, dword fs:[esi]
wait
xchg ebx, eax
xor al, 0x13
loopne 0x1ae2706
cmp byte [ebp - 0x64], 0x13
or bl, byte [ebp + 0x34]
inc ebx
push es
insd dword es:[edi], dx
adc al, 0xbd
jmp 0x1ae2707
mov edi, dword [esi]
ror bl, cl
neg bh
adc bh, 0x71
shrd bx, bp, 0xd
add edi, dword [ebp + 0x10]
bt edx, 0xa
add bh, 0xd0
movsx bx, cl
bsr bx, sp
add esi, 8
push dword [esp + 4]
mov byte [esp], al
push dword [esp]
lea esp, [esp + 0x2c]
ja 0x20ca537
movzx si, dl
jmp 0x1ae26fb
bswap esi
not si
pushfd
mov esi, dword [esp + 4]
push dword [esp]
movzx cx, bl
movzx bx, cl
mov edi, dword [esp + 0xc]
xchg ecx, ebx
pushal
movzx ebx, dl
mov ebx, dword [esp + 0x30]
call fcn.01aecd5f
not cl
mov ecx, dword [esi + 4]
cmc
or ecx, ecx
pushfd
mov word [esp], cx
lea esp, [esp + 4]
je 0x2023721
shld edi, esp, 0x17
and bh, 0x86
sal di, 2
add dword [ebp - 4], ecx
adc bl, 0xe4
ror di, 0xf
neg di
sub ecx, 8
add edi, esp
not bx
btr bx, 1
shr ecx, 1
sub bx, 0x7e46
jmp 0x1d34e0b