joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406880
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x5c
mov eax, dword [0x40f1f4]
xor eax, esp
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
push ebx
push ebp
push esi
mov dword [esp + 0x14], ecx
mov ecx, dword [ecx]
push edi
xor ebp, ebp
xor edi, edi
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x10], eax
mov edx, Ordinal_2
mov dword [esp + 0x14], ebp
test ecx, ecx
je 0x406a65
lea ecx, [ecx]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
mov eax, dword [eax]
sub eax, dword [ecx + 8]
imul eax, eax, 0xf4240
sub eax, dword [ecx + 0xc]
add eax, dword [ebp + 4]
mov ebp, dword [esp + 0x14]
jns 0x4068e2
inc esi
jmp 0x4068f3
cmp eax, edi
cmovg edi, eax
cmp eax, edx
cmovl edx, eax
add ebp, eax
mov dword [esp + 0x14], ebp
inc ebx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4068c0
movsd xmm1, qword [0x40d4a0]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mov eax, ebx
shr eax, 0x1f
movd xmm2, ebp
addsd xmm0, qword [eax*8 + 0x40d4b0]
cvtdq2pd xmm2, xmm2
mulsd xmm0, xmm1
sub esp, 0x18
lea eax, [esp + 0x50]
mov dword [esp + 0x77], 0x2e25203a
divsd xmm2, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm2
divsd xmm0, xmm1
mov edi, dword [esp + 0x88]
movsd qword [esp + 8], xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mov dword [esp + 0x70], 0x775f6776
divsd xmm0, xmm1
mov dword [esp + 0x6b], 0x2066362e
movsd qword [esp], xmm0
push eax
push edi
mov dword [esp + 0x60], 0x25203a74
mov word [esp + 0x71], 0x2520
mov dword [esp + 0x59], 0x5f6e696d
mov dword [esp + 0x6c], 0x74696177
mov dword [esp + 0x66], 0x616d2066
mov word [esp + 0x5d], 0x6177
mov word [esp + 0x84], 0x66
mov byte [esp + 0x77], 0x61
mov word [esp + 0x7c], 0x6961
mov byte [esp + 0x58], 0x20
mov word [esp + 0x64], 0x362e
mov byte [esp + 0x7e], 0x74
mov byte [esp + 0x83], 0x36
mov byte [esp + 0x70], 0x3a
mov word [esp + 0x6a], 0x5f78
mov byte [esp + 0x5f], 0x69
call fcn.00408810
add esp, 0x20
mov dword [esp + 0x1e], 0x41564e49
mov dword [esp + 0x26], 0x656d6974
mov word [esp + 0x2d], 0x706d
mov word [esp + 0x2a], 0x7473
mov dword [esp + 0x31], 0x29752520
mov word [esp + 0x2f], 0x3a73
mov word [esp + 0x1c], 0x2820
mov dword [esp + 0x22], 0x2044494c
mov byte [esp + 0x2c], 0x61
mov byte [esp + 0x35], 0
test esi, esi
je 0x406a47
push esi
lea eax, [esp + 0x20]
push eax
push edi
call fcn.00408810
add esp, 0xc
mov ecx, dword [esp + 0x18]
lea eax, [ebx + esi]
mov ecx, dword [ecx + 8]
cmp eax, ecx
je 0x406a65
push ecx
push eax
push str.__ERROR:__u____u_
push edi
call fcn.00408810
add esp, 0x10
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00408f44
add esp, 0x5c
ret
Function at 0x406be0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x406cd7
push esi
call sub.libav.dll_Ordinal_44297
add esp, 4
test eax, eax
je 0x406c02
push 0xffffffffffffffff
call dword [sym.imp.MSVCR110.dll_exit]
cmp dword [esi + 0x18], 1
je 0x406c21
push esi
call sub.libav.dll_Ordinal_44298
add esp, 4
test eax, eax
je 0x406cd7
push 0xffffffffffffffff
call dword [sym.imp.MSVCR110.dll_exit]
cmp dword [esi + 0x24], 0
mov dword [esi + 0x18], 2
jle 0x406c49
lea eax, [esi + 4]
push eax
call sub.libav.dll_Ordinal_44306
add esp, 4
test eax, eax
je 0x406c49
push esi
call sub.libav.dll_Ordinal_44298
add esp, 4
pop esi
ret
cmp dword [esi + 0x24], 0
push edi
jle 0x406c66
lea edi, [esi + 4]
push esi
push edi
call sub.libav.dll_Ordinal_44311
add esp, 8
test eax, eax
jne 0x406c81
cmp dword [esi + 0x24], eax
jg 0x406c53
push esi
call fcn.00406a80
push esi
call sub.libav.dll_Ordinal_44298
add esp, 8
test eax, eax
je 0x406c8d
push 0xffffffffffffffff
call dword [sym.imp.MSVCR110.dll_exit]
push esi
call sub.libav.dll_Ordinal_44298
add esp, 4
pop edi
pop esi
ret
push esi
call sub.libav.dll_Ordinal_44299
lea eax, [esi + 0xc]
push eax
call sub.libav.dll_Ordinal_44308
lea eax, [esi + 0x10]
push eax
call sub.libav.dll_Ordinal_44308
lea eax, [esi + 0x14]
push eax
call sub.libav.dll_Ordinal_44308
lea eax, [esi + 4]
push eax
call sub.libav.dll_Ordinal_44308
lea eax, [esi + 8]
push eax
call sub.libav.dll_Ordinal_44314
push dword [esi + 0x40]
mov edi, dword [sym.imp.MSVCR110.dll_free]
call edi
push dword [esi + 0x3c]
call edi
push esi
call edi
add esp, 0x24
pop edi
pop esi
ret

Function at 0x407a70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x40f1f4]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x2c], 0x6d614e65
mov dword [esp + 0x28], 0x6c694665
mov word [esp + 0x23], 0x6f4d
mov word [esp + 0x20], 0x6547
mov word [esp + 0x25], 0x7564
mov word [esp + 0x30], 0x4165
mov byte [esp + 0x22], 0x74
mov byte [esp + 0x32], 0
mov byte [esp + 0x27], 0x6c
mov dword [esp + 0x15], 0x2e32336c
mov word [esp + 0x13], 0x656e
mov word [esp + 0x10], 0x654b
mov dword [esp + 0x19], 0x6c6c64
mov byte [esp + 0x12], 0x72
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407b1d
push ebx
push edi
push esi
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00408f44
add esp, 0x28
ret
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00408f44
add esp, 0x28
ret
Function at 0x407b40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x40f1f4]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x44]
lea eax, [esp + 8]
push eax
mov dword [esp + 0x29], 0x68436564
mov word [esp + 0x27], 0x6957
mov dword [esp + 0x22], 0x54657479
mov dword [esp + 0x1c], 0x746c754d
mov word [esp + 0x20], 0x4269
mov byte [esp + 0x26], 0x6f
mov word [esp + 0x2e], 0x72
mov byte [esp + 0x2d], 0x61
mov dword [esp + 0x11], 0x2e32336c
mov word [esp + 0xf], 0x656e
mov word [esp + 0xc], 0x654b
mov dword [esp + 0x15], 0x6c6c64
mov byte [esp + 0xe], 0x72
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407bf2
push dword [esp + 0x48]
push edi
push dword [esp + 0x48]
push esi
push dword [esp + 0x48]
push dword [esp + 0x48]
call eax
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00408f44
add esp, 0x28
ret
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00408f44
add esp, 0x28
ret

Function at 0x407c10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x40f1f4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0xc]
push eax
mov word [esp + 0x11], 0x6568
mov byte [esp + 0x10], 0x53
mov word [esp + 0x14], 0x336c
mov dword [esp + 0x17], 0x6c6c642e
mov byte [esp + 0x16], 0x32
mov byte [esp + 0x13], 0x6c
mov byte [esp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x407cc0
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x23], 0x6f467465
mov dword [esp + 0x2d], 0x416874
mov dword [esp + 0x29], 0x61507265
mov word [esp + 0x27], 0x646c
mov word [esp + 0x20], 0x4853
mov byte [esp + 0x22], 0x47
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407cc0
push ebx
push dword [esp + 0x44]
push edi
push dword [esp + 0x44]
push esi
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00408f44
add esp, 0x24
ret
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00408f44
add esp, 0x24
ret

Function at 0x407ce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
mov eax, dword [0x40f1f4]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 9], 0x76457465
mov dword [esp + 0xd], 0x746e65
mov byte [esp + 8], 0x53
mov dword [esp + 0x19], 0x2e32336c
mov word [esp + 0x17], 0x656e
mov word [esp + 0x14], 0x654b
mov dword [esp + 0x1d], 0x6c6c64
mov byte [esp + 0x16], 0x72
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407d59
push esi
call eax
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00408f44
add esp, 0x20
ret
mov ecx, dword [esp + 0x20]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00408f44
add esp, 0x20
ret
Function at 0x407d70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov eax, dword [0x40f1f4]
xor eax, esp
mov dword [esp + 0x18], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 4], 0x65656c53
mov word [esp + 8], 0x70
mov dword [esp + 0x11], 0x2e32336c
mov word [esp + 0xf], 0x656e
mov word [esp + 0xc], 0x654b
mov dword [esp + 0x15], 0x6c6c64
mov byte [esp + 0xe], 0x72
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [esp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407dd0
push dword [esp + 0x20]
call eax
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00408f44
add esp, 0x1c
ret

Function at 0x407de0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x34
mov eax, dword [0x40f1f4]
xor eax, esp
mov dword [esp + 0x30], eax
lea eax, [esp]
push eax
mov dword [esp + 0x14], 0x47535457
mov dword [esp + 0x29], 0x6f697373
mov dword [esp + 0x1e], 0x6f436576
mov word [esp + 0x18], 0x7465
mov word [esp + 0x1b], 0x7463
mov word [esp + 0x24], 0x6c6f
mov word [esp + 0x27], 0x6553
mov word [esp + 0x22], 0x736e
mov dword [esp + 0x2d], 0x64496e
mov byte [esp + 0x26], 0x65
mov byte [esp + 0x1d], 0x69
mov byte [esp + 0x1a], 0x41
mov dword [esp + 9], 0x2e32336c
mov word [esp + 7], 0x656e
mov word [esp + 4], 0x654b
mov dword [esp + 0xd], 0x6c6c64
mov byte [esp + 6], 0x72
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407e8e
call eax
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00408f44
add esp, 0x34
ret
mov ecx, dword [esp + 0x30]
xor ecx, esp
or eax, 0xffffffff
call fcn.00408f44
add esp, 0x34
ret

Function at 0x407ea0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x40f1f4]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov ebx, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x4c]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x24], 0x65646957
mov dword [esp + 0x30], 0x4269746c
mov word [esp + 0x29], 0x6168
mov dword [esp + 0x2c], 0x754d6f54
mov dword [esp + 0x34], 0x657479
mov byte [esp + 0x2b], 0x72
mov byte [esp + 0x28], 0x43
mov dword [esp + 0x19], 0x2e32336c
mov word [esp + 0x17], 0x656e
mov word [esp + 0x14], 0x654b
mov dword [esp + 0x1d], 0x6c6c64
mov byte [esp + 0x16], 0x72
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407f5a
push ebp
push ebx
push dword [esp + 0x58]
push edi
push dword [esp + 0x58]
push esi
push dword [esp + 0x58]
push dword [esp + 0x58]
call eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00408f44
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00408f44
add esp, 0x28
ret
Function at 0x407f70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov eax, dword [0x40f1f4]
xor eax, esp
mov dword [esp + 0xc], eax
lea eax, [esp]
push eax
mov dword [esp + 9], 0x6c6c642e
mov word [esp + 4], 0x696c
mov byte [esp + 0xd], 0
mov word [esp + 7], 0x7661
mov byte [esp + 6], 0x62
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x407fd1
push 0xad1c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407fd1
push dword [esp + 0x14]
call eax
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00408f44
add esp, 0x10
ret
mov ecx, dword [esp + 0xc]
xor ecx, esp
xor eax, eax
call fcn.00408f44
add esp, 0x10
ret

Function at 0x407ff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov eax, dword [0x40f1f4]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 4]
push eax
mov dword [esp + 0xd], 0x6c6c642e
mov word [esp + 8], 0x696c
mov byte [esp + 0x11], 0
mov word [esp + 0xb], 0x7661
mov byte [esp + 0xa], 0x62
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x408048
push 0xacfd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x408048
push esi
call eax
add esp, 4
mov ecx, dword [esp + 0x10]
pop esi
xor ecx, esp
call fcn.00408f44
add esp, 0x10
ret

Function at 0x408060
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov eax, dword [0x40f1f4]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
lea eax, [esp + 8]
push eax
mov dword [esp + 0x11], 0x6c6c642e
mov word [esp + 0xc], 0x696c
mov byte [esp + 0x15], 0
mov word [esp + 0xf], 0x7661
mov byte [esp + 0xe], 0x62
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x4080cf
push 0xacfb
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4080cf
push edi
push esi
call eax
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00408f44
add esp, 0x10
ret
mov ecx, dword [esp + 0x14]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00408f44
add esp, 0x10
ret
Function at 0x408180
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
mov eax, dword [0x40f1f4]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push esi
push edi
call sub.libav.dll_Ordinal_19
mov ecx, dword [sym.imp.libav.dll_Ordinal_1003]
push 0
push 0
push 2
push 0
push 0
push 0
push dword [ecx]
mov edi, eax
call sub.libav.dll_Ordinal_44284
mov ebp, eax
add esp, 0x1c
test ebp, ebp
je 0x408340
push ebx
lea eax, [esp + 0x18]
push eax
push ebp
mov word [esp + 0x21], 0x7461
mov dword [esp + 0x2e], 0x79726f
mov word [esp + 0x29], 0x7269
mov word [esp + 0x2c], 0x7463
mov word [esp + 0x27], 0x4465
mov byte [esp + 0x2b], 0x65
mov word [esp + 0x24], 0x6162
mov byte [esp + 0x20], 0x44
mov byte [esp + 0x26], 0x73
mov byte [esp + 0x23], 0x61
call fcn.00408060
mov ebx, eax
add esp, 8
cmp dword [ebx + 0x18], 0
je 0x40833f
push dword [ebx + 8]
push edi
call sub.MSVCR110.dll_strcmp
add esp, 8
test eax, eax
je 0x40833f
push edi
call sub.MSVCR110.dll_strlen
push dword [ebx + 8]
mov esi, eax
call sub.MSVCR110.dll_strlen
add esi, 0x1e
add eax, esi
push eax
call dword [sym.imp.MSVCR110.dll_malloc]
push dword [ebx + 8]
mov esi, eax
push str._sdaily.cvd
push esi
call dword [sym.imp.MSVCR110.dll_sprintf]
push 4
push esi
call sub.libav.dll_Ordinal_44340
add esp, 0x20
test eax, eax
je 0x40827a
push dword [ebx + 8]
push str._sdaily.cld
push esi
call dword [sym.imp.MSVCR110.dll_sprintf]
add esp, 0xc
push 4
push esi
call sub.libav.dll_Ordinal_44340
add esp, 8
test eax, eax
jne 0x408335
push esi
call sub.libav.dll_Ordinal_3
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x408335
push edi
push str._sdaily.cvd
push esi
call dword [sym.imp.MSVCR110.dll_sprintf]
push 4
push esi
call sub.libav.dll_Ordinal_44340
add esp, 0x14
test eax, eax
je 0x4082ce
push edi
push str._sdaily.cld
push esi
call dword [sym.imp.MSVCR110.dll_sprintf]
add esp, 0xc
push 4
push esi
call sub.libav.dll_Ordinal_44340
add esp, 8
test eax, eax
jne 0x40831c
push esi
call sub.libav.dll_Ordinal_3
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x40831c
push esi
call dword [sym.imp.MSVCR110.dll_free]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 4]
add esp, 4
cmp ecx, dword [eax + 4]
jbe 0x40830b
mov edi, dword [ebx + 8]
push eax
call sub.libav.dll_Ordinal_2
add esp, 4
push esi
call sub.libav.dll_Ordinal_2
jmp 0x40833c
push esi
call dword [sym.imp.MSVCR110.dll_free]
mov esi, dword [esp + 0x14]
mov edi, dword [ebx + 8]
add esp, 4
push esi
call sub.libav.dll_Ordinal_2
jmp 0x40833c
push esi
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
pop ebx
push edi
call dword [sym.imp.MSVCR110.dll__strdup]
add esp, 4
mov esi, eax
test ebp, ebp
je 0x408359
push ebp
call fcn.00407ff0
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.00408f44
add esp, 0x20
ret
Function at 0x408370
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x40f1f4]
xor eax, esp
mov dword [esp + 0x14], eax
push 6
lea eax, [esp + 4]
push str.devel_clamav_0.97_408_ge11f7cc
push eax
mov word [esp + 0xe], 0x6576
mov word [esp + 0x11], 0x2d
mov byte [esp + 0x10], 0x6c
mov word [esp + 0xc], 0x6564
mov dword [esp + 0x15], 0x726f7078
mov dword [esp + 0x19], 0x646574
mov byte [esp + 0x14], 0x65
call dword [sym.imp.MSVCR110.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4083e1
lea eax, [esp + 8]
push str.devel_clamav_0.98.6
push eax
call sub.MSVCR110.dll_strcmp
add esp, 8
test eax, eax
mov eax, str.devel_clamav_0.98.6
jne 0x4083e6
mov eax, str.devel_clamav_0.97_408_ge11f7cc
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00408f44
add esp, 0x18
ret
Function at 0x4029cc
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402a09
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402a29
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404654
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402b90
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004043e4
test esi, esi
jne 0x402bc6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004044d4
jmp 0x402be4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402aa4
mov edi, eax
test esi, esi
je 0x402be4
cmp dword [ebx], 0
je 0x402be4
dec esi
jmp 0x402bcd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x56b008], 0x8088405
inc edx
mov dword [ebx + 0x56b008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4033e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x56b024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40347c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40345c
xor eax, eax
push ebp
push 0x403455
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403498
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40345c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x56b024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x56b024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404268
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x56f04c], 0
je 0x4042c9
cmp word [0x56f220], 0xd7b2
jne 0x404291
cmp dword [0x56f228], 0
jbe 0x404291
mov eax, 0x56f21c
call dword [0x56f238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x56b070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4042f0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x56b034], 0
jne 0x4042e5
push 0
push 0x56b068
push 0x56b070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405da8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405fd8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405e2b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405fd8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405e2b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405ff4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405eb4
xor eax, eax
push ebp
push 0x405ead
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405bf0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405e92
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406014
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405e92
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405eb4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405fce
cmp byte [ebp - 0xd], 0
jne 0x405efb
cmp byte [ebp - 0x12], 0
je 0x405fce
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405f14
dec ebx
cmp byte [ebx], 0x2e
je 0x405f23
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405f13
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405fce
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405f60
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405fce
cmp byte [ebp - 0xd], 0
je 0x405fce
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405fce
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret