joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d79a
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea esi, [ecx + 0x20c]
push dword [esi]
lea edi, [ecx + 4]
push edi
push 0x404488
push 0x41d810
push 4
xor ebx, ebx
call fcn.004173ad
add esp, 0x14
push ebx
lea eax, [ebp - 4]
push eax
push 0x208
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
call edi
test eax, eax
je 0x41d7f0
push ebx
lea eax, [ebp - 4]
push eax
push 4
push esi
push dword [ebp + 8]
call edi
test eax, eax
jne 0x41d806
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x41d804
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x41d86d
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea esi, [ecx + 0x20c]
push dword [esi]
lea edi, [ecx + 4]
push edi
push 0x404488
push 0x41d8e8
push 4
xor ebx, ebx
call fcn.004173ad
add esp, 0x14
push ebx
lea eax, [ebp - 4]
push eax
push 0x208
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
call edi
test eax, eax
je 0x41d8c3
push ebx
lea eax, [ebp - 4]
push eax
push 4
push esi
push dword [ebp + 8]
call edi
test eax, eax
jne 0x41d8d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x41d8d7
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x41dbe2
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ebx, ecx
test esi, esi
jne 0x41dbfd
push 0x80004005
call fcn.0041d666
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x41dbff
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41e453
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, ecx
mov ecx, dword [ebp + 8]
push 0x2001f
push ecx
push dword [eax]
xor esi, esi
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.00405a3a
mov edi, eax
cmp edi, esi
je 0x41e4c5
lea ecx, [ebp - 0x214]
call fcn.00405a22
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004013d7
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x41e4e3
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.0041e453
cmp eax, esi
jne 0x41e52e
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call edi
test eax, eax
je 0x41e4cd
lea ecx, [ebp - 0x214]
call fcn.00405a22
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
call fcn.0041da11
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.00405a22
mov eax, esi
jmp 0x41e4b5
Function at 0x41f4c0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401415
xor ebx, ebx
cmp esi, ebx
jne 0x41f516
mov esi, 0x80070057
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004013d7
leave
ret 4
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.004108ad
cmp eax, ebx
mov dword [ebp - 0x210], eax
jl 0x41f659
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x41f558
mov dword [ebp - 0x210], 0x8000ffff
jmp 0x41f659
lea eax, [ebp - 0x20c]
push eax
push 0x403660
mov esi, 0x41f668
push esi
push 4
call fcn.004173ad
add esp, 0x10
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x214], eax
cmp eax, 0xffffffff
jne 0x41f5ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41f5af
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x210], eax
jmp 0x41f659
mov ecx, edi
mov dword [ebp - 0x21c], ebx
call fcn.00401435
push eax
push 0x40396c
push esi
push 4
mov dword [ebp - 0x218], eax
call fcn.004173ad
add esp, 0x10
push ebx
lea eax, [ebp - 0x21c]
push eax
push 4
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41f61b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41f613
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x210], eax
jmp 0x41f64d
xor esi, esi
cmp dword [ebp - 0x218], ebx
jbe 0x41f64d
push esi
mov ecx, edi
call fcn.004040df
push eax
mov ecx, edi
call fcn.004042ff
mov eax, dword [eax]
push dword [ebp - 0x214]
mov ecx, eax
call fcn.0041d79a
inc esi
cmp esi, dword [ebp - 0x218]
jb 0x41f625
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x210]
jmp 0x41f4f7
Function at 0x41f6bf
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401415
xor ebx, ebx
cmp esi, ebx
jne 0x41f715
mov esi, 0x80070057
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004013d7
leave
ret 4
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.004114d1
cmp eax, ebx
mov dword [ebp - 0x210], eax
jl 0x41f858
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x41f757
mov dword [ebp - 0x210], 0x8000ffff
jmp 0x41f858
lea eax, [ebp - 0x20c]
push eax
push 0x403660
mov esi, 0x41f868
push esi
push 4
call fcn.004173ad
add esp, 0x10
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x214], eax
cmp eax, 0xffffffff
jne 0x41f7b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41f7ae
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x210], eax
jmp 0x41f858
mov ecx, edi
mov dword [ebp - 0x21c], ebx
call fcn.00401435
push eax
push 0x40396c
push esi
push 4
mov dword [ebp - 0x218], eax
call fcn.004173ad
add esp, 0x10
push ebx
lea eax, [ebp - 0x21c]
push eax
push 4
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41f81a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41f812
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x210], eax
jmp 0x41f84c
xor esi, esi
cmp dword [ebp - 0x218], ebx
jbe 0x41f84c
push esi
mov ecx, edi
call fcn.004040df
push eax
mov ecx, edi
call fcn.004042ff
mov eax, dword [eax]
push dword [ebp - 0x214]
mov ecx, eax
call fcn.0041d86d
inc esi
cmp esi, dword [ebp - 0x218]
jb 0x41f824
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x210]
jmp 0x41f6f6
Function at 0x41f8cb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x214], eax
cmp eax, edi
jne 0x41f8fe
mov eax, 0x80004003
jmp 0x41f9c2
push esi
mov esi, 0x208
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x21c]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x20c]
push eax
push ebx
mov dword [ebp - 0x210], edi
call esi
test eax, eax
jne 0x41f94e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x41f9c1
and eax, 0xffff
or eax, 0x80070000
jmp 0x41f9c1
push edi
lea eax, [ebp - 0x21c]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push ebx
call esi
test eax, eax
je 0x41f938
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
push 0x41ac68
push 0x41f9d8
push 4
call fcn.004173ad
push 0x218
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x18
cmp eax, edi
je 0x41f9ac
push edi
push dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
call fcn.0040f3fd
jmp 0x41f9ae
xor eax, eax
mov ecx, dword [ebp - 0x214]
mov dword [ecx], eax
cmp eax, edi
mov eax, 0x8007000e
je 0x41f9c1
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004013d7
leave
ret 8

Function at 0x41fa35
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x214], eax
cmp eax, edi
jne 0x41fa68
mov eax, 0x80004003
jmp 0x41fb2c
push esi
mov esi, 0x208
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x21c]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x20c]
push eax
push ebx
mov dword [ebp - 0x210], edi
call esi
test eax, eax
jne 0x41fab8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x41fb2b
and eax, 0xffff
or eax, 0x80070000
jmp 0x41fb2b
push edi
lea eax, [ebp - 0x21c]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push ebx
call esi
test eax, eax
je 0x41faa2
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
push 0x41ac68
push 0x41fb40
push 4
call fcn.004173ad
push 0x218
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x18
cmp eax, edi
je 0x41fb16
push edi
push dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
call fcn.0040f3fd
jmp 0x41fb18
xor eax, eax
mov ecx, dword [ebp - 0x214]
mov dword [ecx], eax
cmp eax, edi
mov eax, 0x8007000e
je 0x41fb2b
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004013d7
leave
ret 8
Function at 0x41fb9d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x214], eax
cmp eax, edi
jne 0x41fbd0
mov eax, 0x80004003
jmp 0x41fc9e
push esi
mov esi, 0x208
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x21c]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x20c]
push eax
push ebx
mov dword [ebp - 0x210], edi
call esi
test eax, eax
jne 0x41fc24
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x41fc9d
and eax, 0xffff
or eax, 0x80070000
jmp 0x41fc9d
push edi
lea eax, [ebp - 0x21c]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push ebx
call esi
test eax, eax
je 0x41fc0a
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
push 0x41ac68
push 0x41fcb0
push 4
call fcn.004173ad
push 0x220
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x18
cmp eax, edi
je 0x41fc88
fild dword [ebp - 0x210]
push edi
push edi
push ecx
push ecx
lea ecx, [ebp - 0x20c]
fstp qword [esp]
push ecx
mov ecx, eax
call fcn.0041f40f
jmp 0x41fc8a
xor eax, eax
mov ecx, dword [ebp - 0x214]
mov dword [ecx], eax
cmp eax, edi
mov eax, 0x8007000e
je 0x41fc9d
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004013d7
leave
ret 8

Function at 0x41fd19
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x214], eax
cmp eax, edi
jne 0x41fd4c
mov eax, 0x80004003
jmp 0x41fe15
push esi
mov esi, 0x208
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x21c]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x20c]
push eax
push ebx
mov dword [ebp - 0x210], edi
call esi
test eax, eax
jne 0x41fda0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x41fe14
and eax, 0xffff
or eax, 0x80070000
jmp 0x41fe14
push edi
lea eax, [ebp - 0x21c]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push ebx
call esi
test eax, eax
je 0x41fd86
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
push 0x41ac68
push 0x41fe28
push 4
call fcn.004173ad
push 0x21c
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x18
cmp eax, edi
je 0x41fdff
push edi
push edi
push dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
call fcn.0040438d
jmp 0x41fe01
xor eax, eax
mov ecx, dword [ebp - 0x214]
mov dword [ecx], eax
cmp eax, edi
mov eax, 0x8007000e
je 0x41fe14
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004013d7
leave
ret 8
Function at 0x421281
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
push 2
push edi
push eax
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x408], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x40c], eax
cmp eax, edi
jne 0x4212dc
call fcn.0041d761
mov esi, eax
jmp 0x4213bd
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x4212f5
call fcn.0041d761
jmp 0x4213af
push esi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
je 0x4212eb
push esi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x42135a
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x421337
lea ecx, [ebp - 0x408]
call fcn.0041e3b2
mov esi, 0x8007000e
lea ecx, [ebp - 0x410]
call fcn.0040c746
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004013d7
leave
ret 0x10
push eax
lea ecx, [ebp - 0x408]
call fcn.0041f3a3
cmp dword [ebp - 0x408], edi
jne 0x421375
mov esi, 0x8007000e
jmp 0x4213b1
push esi
push dword [ebp - 0x408]
push esi
push ebx
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x4212eb
mov edx, dword [ebp - 0x408]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x408]
lea ecx, [ebp - 0x418]
call fcn.00420b96
mov esi, eax
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x42133c
lea ecx, [ebp - 0x408]
call fcn.0041e3b2
jmp 0x42133c
Function at 0x425212
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x438198]
push esi
mov esi, 0x42526c
test eax, eax
je 0x42523e
push dword [ebp + 8]
push esi
push eax
call sub.msvcrt.dll_fwprintf
push dword [0x438198]
call sub.msvcrt.dll_fflush
add esp, 0x10
cmp dword [0x437284], 0
je 0x425250
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x438194], 0
je 0x425264
push dword [ebp + 8]
push esi
call sub.msvcrt.dll_wprintf
pop ecx
pop ecx
pop esi
pop ebp
ret 4
Function at 0x428d97
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push edi
lea ecx, [ebx + 0x29c]
mov dword [ebx + 0x294], eax
call fcn.0040e831
xor edi, edi
cmp eax, edi
mov dword [ebp + 0xc], eax
jl 0x428f6c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x18]
push eax
cmp dword [ebx + 0x230], edi
jne 0x428e3e
call esi
push dword [ebp + 8]
mov ecx, ebx
call fcn.00427f0d
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x10]
push eax
call esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fld1
cmp dword [ebp - 4], edi
jl 0x428e20
jg 0x428e04
cmp dword [ebp - 8], edi
jbe 0x428e20
mov eax, dword [ebp - 0x10]
fstp st(0)
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
sbb ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
fild qword [ebp - 0x20]
fild qword [ebp - 8]
fdivp st(1)
push ecx
push ecx
fstp qword [esp]
push 0x40727c
push 0x428fc4
push 4
call fcn.004173ad
add esp, 0x14
jmp 0x428f38
call esi
mov eax, dword [ebx + 0x230]
mov ecx, dword [eax]
push edi
push dword [ebp + 8]
push eax
call dword [ecx + 0xc]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x20]
push eax
call esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fld1
cmp dword [ebp - 4], edi
jl 0x428e8d
jg 0x428e71
cmp dword [ebp - 8], edi
jbe 0x428e8d
mov eax, dword [ebp - 0x20]
fstp st(0)
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
fild qword [ebp - 0x10]
fild qword [ebp - 8]
fdivp st(1)
push ecx
push ecx
fstp qword [esp]
push 0x40727c
mov edi, 0x428fc4
push edi
push 4
call fcn.004173ad
add esp, 0x14
cmp dword [ebp + 0xc], 0
jge 0x428f23
push 0x428f78
push edi
push 1
call fcn.004173ad
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call esi
push dword [ebp + 8]
mov ecx, ebx
call fcn.00427f0d
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x20]
push eax
call esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fld1
cmp dword [ebp - 4], 0
jl 0x428f0c
jg 0x428ef0
cmp dword [ebp - 8], 0
jbe 0x428f0c
mov eax, dword [ebp - 0x20]
fstp st(0)
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
fild qword [ebp - 0x10]
fild qword [ebp - 8]
fdivp st(1)
push ecx
push ecx
fstp qword [esp]
push 0x40727c
push edi
push 4
call fcn.004173ad
add esp, 0x14
jmp 0x428f36
push dword [ebp + 8]
push 0x41d3d8
push edi
push 4
call fcn.004173ad
add esp, 0x10
xor edi, edi
pop esi
cmp dword [ebx + 0x2a0], edi
jne 0x428f6c
push 0x4f8
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
cmp eax, edi
je 0x428f59
mov ecx, eax
call fcn.004105a7
jmp 0x428f5b
xor eax, eax
mov dword [ebx + 0x2a0], eax
cmp eax, edi
jne 0x428f6c
mov dword [ebp + 0xc], 0x8007000e
mov eax, dword [ebp + 0xc]
pop edi
pop ebx
leave
ret 8
Function at 0x4291b3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], edi
cmp dword [ebp + 0xc], edi
je 0x4292b7
mov ecx, dword [ebp + 8]
cmp ecx, edi
je 0x4292b7
cmp dword [ebp + 0x10], edi
jbe 0x4292b7
cmp dword [ebp + 0x14], 1
je 0x4291ef
cmp dword [ebp + 0x14], 2
jne 0x4292b7
movzx eax, byte [ecx + 0xffe]
movzx esi, byte [ecx + 0xfff]
shl eax, 8
add esi, eax
mov dword [ebp - 0x10], esi
je 0x4292b7
cmp dword [ebp + 0x10], esi
jne 0x4292b7
xor edx, edx
mov eax, 0xffe
div esi
push ebx
movzx ebx, byte [ecx + 0xffd]
mov dword [ebp - 8], 2
mov dword [ebp - 4], 0xffb
mov esi, eax
movzx eax, byte [ecx + 0xffc]
shl eax, 8
mov dword [ebp - 0x14], esi
add ebx, eax
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
sar ebx, 0x10
and ebx, 0x7fff
cmp dword [ebp - 8], esi
jl 0x429291
cmp edi, dword [ebp - 0x10]
jae 0x429291
mov eax, dword [ebp - 0x14]
lea esi, [eax - 2]
mov eax, ebx
cdq
idiv esi
and dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov al, byte [eax + ecx]
mov esi, edx
mov edx, dword [ebp + 0xc]
inc esi
inc esi
cmp dword [ebp + 0x14], 1
jne 0x429289
not al
jmp 0x42928b
xor al, bl
mov byte [edi + edx], al
inc edi
jmp 0x4292af
inc dword [ebp - 8]
cmp dword [ebp - 8], 1
jne 0x4292af
dec dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, ebx
sar eax, 8
mov byte [edx + ecx], al
mov dword [ebp - 8], 2
dec dword [ebp - 4]
jns 0x429244
pop ebx
jmp 0x4292be
mov dword [ebp - 0xc], 0x80070057
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret
Function at 0x42b629
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
push dword [ebp + 0x10]
push 0x50
call fcn.0042a55c
test eax, eax
mov dword [ebp - 4], eax
jne 0x42b644
leave
ret
push ebx
push esi
push edi
cld
mov edi, dword [ebp - 4]
mov eax, 0
mov ecx, 0x50
or ecx, ecx
je 0x42b65b
rep stosb byte es:[edi], al
mov eax, dword [ebp - 4]
push 0x14
xor esi, esi
pop ebx
mov eax, esi
shr eax, 2
mov edx, eax
mov eax, dword [ebp - 4]
shl edx, 2
add eax, edx
mov ecx, esi
sub ecx, edx
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
shl ecx, 3
shl edx, cl
or dword [eax], edx
inc esi
cmp esi, ebx
jb 0x42b663
and dword [ebp - 0x24], 0
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x4c], 0x123174bb
mov dword [ebp - 0x48], 0x86521ff8
mov dword [ebp - 0x44], 0x98d2438b
mov dword [ebp - 0x40], 0x7966ce12
mov dword [ebp - 0x3c], 0xc5d92014
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0xc]
mov esi, 0x43736c
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x42b6d6
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
xor edx, edx
push 5
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + edx*4 - 0x4c]
xor dword [ebp + ecx*4 - 0x24], eax
inc ecx
cmp ecx, esi
jb 0x42b6d8
lea eax, [ebp - 0x24]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, edi
cld
or ecx, ecx
je 0x42b70f
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 0x10]
lea eax, [ebp - 0x38]
push dword [ebp + 0xc]
push 0
push 0x437dfc
push dword [0x437380]
push eax
push ebx
push dword [ebp - 4]
call fcn.00432587
lea eax, [ebp - 0x38]
mov byte [eax], 0
inc eax
dec ebx
jne 0x42b732
mov eax, dword [ebp - 4]
push 0x50
pop ecx
pop edi
pop esi
pop ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x42b742
push dword [ebp + 0x10]
push dword [ebp - 4]
call fcn.0042a57c
xor eax, eax
inc eax
leave
ret
Function at 0x42e4ff
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
xor eax, eax
test esi, esi
je 0x42e54c
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp + 8]
sub edi, edx
sub ecx, edx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], esi
mov esi, dword [edi + edx]
mov ecx, dword [edx]
lea ebx, [ecx + esi]
add eax, ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + edx], eax
mov ebx, ecx
xor ebx, esi
and ebx, eax
or ecx, esi
xor ebx, ecx
shr ebx, 0x1f
add edx, 4
dec dword [ebp + 0x14]
mov eax, ebx
jne 0x42e523
pop edi
pop ebx
pop esi
pop ebp
ret 0x10

Function at 0x42e744
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
xor eax, eax
test edx, edx
je 0x42e791
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
sub ebx, esi
sub ecx, esi
push edi
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], edx
mov edi, dword [ebx + esi]
mov edx, dword [esi]
mov ecx, edi
sub ecx, edx
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + esi], ecx
xor ecx, edi
xor edx, edi
or ecx, edx
xor ecx, edi
shr ecx, 0x1f
add esi, 4
dec dword [ebp + 0x14]
mov eax, ecx
jne 0x42e768
pop edi
pop esi
pop ebx
pop ebp
ret 0x10