joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10067e1c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10067e2b
pop dword [ebp - 0x48]
mov eax, 0xbb170cc
sub eax, 0xfbaaf2a1
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x42261
push 0
mov eax, 0xf9d5ec3b
add eax, 0x163194e1
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x440a
mov edi, eax
mov ebx, 0x10187200
add ebx, dword [ebp - 0x48]
mov esi, 0x6bf08459
sub esi, 0x1df7bbf3
xor dword [ebp - 0x20], ebx
mov edx, dword [ebx]
sub dword [ebp - 8], eax
add edx, esi
add dword [ebp - 0x44], 0x291480d3
mov dword [edi], edx
add dword [ebp - 0x24], 0x93416886
add edi, 0x130ae9be
add edi, 0xecf51646
add ebx, 0x994fceea
add ebx, 0x66b0311a
loop 0x10067e7e
add eax, 0x102fb
mov ebx, eax
add eax, 0x1bc68d4c
add eax, 0xe43972b9
mov ecx, 0x31797b9f
add ecx, 0xde868461
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x10071ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x10071f6b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x10071f22
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x10071f22
cmp esi, ebx
jge 0x10071f22
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x10071f65
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x10071f65
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100783dc]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100783dc]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x10071f7d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x100721a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
mov eax, dword [ebp + 8]
je 0x100721c8
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x100721e2
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10067e1c
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.100762d0
leave
ret 4
Function at 0x100723b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x100723e6
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x10072445
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10067e1c
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10067e1c
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10067e1c
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100762d0
leave
ret 0x10

Function at 0x10072460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1007248c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x100724bd
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x100724bb
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10067e1c
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x100724bd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100762d0
leave
ret 8
Function at 0x7c004075
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
je 0x7c00bd2d
push esi
push 0x88
push 1
call sym.MSVCR70.dll_calloc
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x7c00bd4f
push esi
call fcn.7c00173b
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
je 0x7c00bd3f
push eax
push dword [ebp + 0x18]
push esi
push 0x7c0040e2
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
je 0x7c00bd47
pop esi
pop edi
pop ebx
pop ebp
ret
call sym.MSVCR70.dll__errno
mov dword [eax], 0x16
xor eax, eax
jmp 0x7c0040de
lea eax, [ebp + 0x10]
jmp 0x7c0040bf
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
push esi
call sym.MSVCR70.dll_free
test ebx, ebx
pop ecx
je 0x7c00bd61
push ebx
call fcn.7c0102b7
pop ecx
xor eax, eax
jmp 0x7c0040dd

Function at 0x7c004373
Capabilities:
Terminate process

Disassembly:
push 8
call fcn.7c011a09
jmp 0x7c00440a
push esi
push 8
call fcn.7c011a09
xor esi, esi
inc esi
cmp dword [0x7c04aba8], esi
pop ecx
je 0x7c00bb8d
cmp dword [esp + 0xc], 0
mov dword [0x7c04aadc], esi
mov byte [0x7c04aba4], bl
jne 0x7c0043e2
mov ecx, dword [0x7c04ab74]
test ecx, ecx
je 0x7c0043d1
mov eax, dword [0x7c04ab70]
sub eax, 4
cmp eax, ecx
mov dword [0x7c04ab70], eax
jb 0x7c0043d1
mov eax, dword [eax]
test eax, eax
je 0x7c0043c1
call eax
mov eax, dword [0x7c04ab70]
sub eax, 4
cmp eax, dword [0x7c04ab74]
jmp 0x7c0043b2
push 0x7c04ab8c
push 0x7c04ab7c
call sym.MSVCR70.dll__initterm
pop ecx
pop ecx
push 0x7c04ab98
push 0x7c04ab90
call sym.MSVCR70.dll__initterm
test ebx, ebx
pop ecx
pop ecx
jne 0x7c004134
push dword [esp + 8]
mov dword [0x7c04aba8], esi
call fcn.7c00440d
pop ecx
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
jmp 0x7c00438b
Function at 0x7c00453f
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x7c04b118]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
push 2
pop ebp
jne 0x7c0045e9
call edi
mov esi, eax
cmp esi, ebx
je 0x7c00c679
mov dword [0x7c04b118], 1
cmp esi, ebx
je 0x7c00c69a
cmp word [esi], bx
mov eax, esi
je 0x7c004592
add eax, ebp
cmp word [eax], bx
jne 0x7c004584
add eax, ebp
cmp word [eax], bx
jne 0x7c004584
mov edi, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, esi
push ebx
sar eax, 1
inc eax
push eax
push esi
push ebx
push ebx
mov dword [esp + 0x34], eax
call edi
mov ebp, eax
cmp ebp, ebx
je 0x7c0045d9
push ebp
call sym.MSVCR70.dll_malloc
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x7c0045d9
push ebx
push ebx
push ebp
push eax
push dword [esp + 0x24]
push esi
push ebx
push ebx
call edi
test eax, eax
je 0x7c00c6a7
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
cmp eax, 1
jne 0x7c00c6ba
jmp 0x7c004575
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x78
jne 0x7c00c690
mov eax, ebp
mov dword [0x7c04b118], eax
jmp 0x7c0045e9
mov eax, dword [0x7c04b118]
jmp 0x7c0045e9
call edi
mov esi, eax
cmp esi, ebx
je 0x7c00c6c2
jmp 0x7c00457d
push dword [esp + 0x10]
call sym.MSVCR70.dll_free
pop ecx
mov dword [esp + 0x10], ebx
jmp 0x7c0045d5
cmp eax, ebp
je 0x7c00c6c9
cmp eax, ebx
je 0x7c00c6c9
xor eax, eax
jmp 0x7c0045e2
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
je 0x7c00c6c2
cmp byte [esi], bl
je 0x7c00c6e3
inc eax
cmp byte [eax], bl
jne 0x7c00c6d9
inc eax
cmp byte [eax], bl
jne 0x7c00c6d9
sub eax, esi
inc eax
mov ebp, eax
push ebp
call sym.MSVCR70.dll_malloc
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x7c00c6f9
xor edi, edi
jmp 0x7c00c704
push ebp
push esi
push edi
call fcn.7c011a09
add esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
mov eax, edi
jmp 0x7c0045e2
Function at 0x7c00fcd4
Capabilities:
Enumerate files on windows

Disassembly:
cmp dword [esp + 4], 0
je 0x7c00fd32
cmp dword [0x7c04f3f0], 0
jne 0x7c00fcf8
push 0x244
call sym.MSVCR70.dll_malloc
test eax, eax
pop ecx
mov dword [0x7c04f3f0], eax
je 0x7c00fd5b
mov eax, dword [0x7c04f3f4]
test eax, eax
je 0x7c00fd0f
push eax
call dword [sym.imp.kernel32.dll_FindClose]
and dword [0x7c04f3f4], 0
push dword [0x7c04f3f0]
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [0x7c04f3f4], eax
je 0x7c00fd5b
mov eax, dword [0x7c04f3f0]
add eax, 0x2c
ret
push dword [0x7c04f3f0]
push dword [0x7c04f3f4]
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x7c00fd29
push dword [0x7c04f3f4]
call dword [sym.imp.kernel32.dll_FindClose]
and dword [0x7c04f3f4], 0
xor eax, eax
ret

Function at 0x7c00ffc3
Capabilities:
Enumerate files on windows

Disassembly:
cmp dword [esp + 4], 0
je 0x7c010021
cmp dword [0x7c04f404], 0
jne 0x7c00ffe7
push 0x354
call sym.MSVCR70.dll_malloc
test eax, eax
pop ecx
mov dword [0x7c04f404], eax
je 0x7c01004a
mov eax, dword [0x7c04f400]
test eax, eax
je 0x7c00fffe
push eax
call dword [sym.imp.kernel32.dll_FindClose]
and dword [0x7c04f400], 0
push dword [0x7c04f404]
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [0x7c04f400], eax
je 0x7c01004a
mov eax, dword [0x7c04f404]
add eax, 0x2c
ret
push dword [0x7c04f404]
push dword [0x7c04f400]
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x7c010018
push dword [0x7c04f400]
call dword [sym.imp.kernel32.dll_FindClose]
and dword [0x7c04f400], 0
xor eax, eax
ret

Function at 0x7c011a09
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x7c011a18
pop dword [ebp - 0x20]
mov eax, 0x849886a
add eax, 0x73b791ae
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3a1be
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xf4459f2f
sub ecx, 0xf4456321
xor esi, esi
add esi, eax
mov edx, 0x23fa9526
sub edx, 0xa7f55526
add edx, dword [ebp - 0x20]
mov edi, 0xb3a680e0
sub dword [ebp - 0x1c], ecx
mov ebx, dword [edx]
add dword [ebp - 0xc], 0x2901ffe0
xor ebx, edi
add dword [ebp - 0x1c], 0xf42ef5ca
mov dword [esi], ebx
mov dword [ebp - 0x1c], 0x1e535edb
add esi, 0x5e4aa723
add esi, 0xa1b558e1
add edx, 0xf410dd5f
sub edx, 0xf410dd5b
loop 0x7c011a6e
add eax, 0xe30b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x7c000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x7c015709
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.7c0014ee
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x7c01579e
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [sym.MSVCR70.dll__osplatform]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x7c01579e
cmp eax, 1
je 0x7c0157b6
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x7c01579e
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x7c015773
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x7c01579a
xor eax, eax
inc eax
jmp 0x7c0157d2
cmp esi, ebx
jae 0x7c0157a2
xor eax, eax
jmp 0x7c0157d2
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov eax, dword [sym.MSVCR70.dll__osplatform]
jmp 0x7c0157b8
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.kernel32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x7c018586
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x7c018594
xor ecx, ecx
jmp 0x7c0185b2
cmp eax, 0x1a
jbe 0x7c01859e
push 0x57
pop eax
pop ebp
ret
add al, 0x40
and byte [ebp + 0xb], 0
lea ecx, [ebp + 8]
mov byte [ebp + 8], al
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x5c
mov eax, dword [ebp + 0xc]
push eax
lea edx, [eax + 4]
push edx
lea edx, [eax + 0xc]
push edx
add eax, 8
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x7c0185d4
pop ebp
jmp dword [sym.imp.kernel32.dll_GetLastError]
xor eax, eax
pop ebp
ret

Function at 0x7c018bc2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x7c018be2
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.7c0102b7
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x7c018c05
test byte [esp + 8], 2
je 0x7c018c05
call sym.MSVCR70.dll__errno
mov dword [eax], 0xd
call sym.MSVCR70.dll___doserrno
mov dword [eax], 5
jmp 0x7c018bde
xor eax, eax
ret
Function at 0x7c018cfd
Capabilities:
Set current directory

Disassembly:
push 0x10
push 0x7c03fc28
call fcn.7c00101f
mov ebx, dword [ebp + 8]
cmp ebx, 1
jl 0x7c018d6c
cmp ebx, 0x1f
jg 0x7c018d6c
push 7
call fcn.7c011a09
pop ecx
and dword [ebp - 4], 0
add ebx, 0x40
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], 0x3a
and byte [ebp - 0x1a], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x7c018d44
and dword [ebp - 0x20], 0
jmp 0x7c018d55
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.7c0102b7
pop ecx
or dword [ebp - 0x20], 0xffffffff
or dword [ebp - 4], 0xffffffff
call fcn.7c018d63
mov eax, dword [ebp - 0x20]
jmp 0x7c018d85
call sym.MSVCR70.dll__errno
mov dword [eax], 0xd
call sym.MSVCR70.dll___doserrno
mov dword [eax], 0xf
or eax, 0xffffffff
call fcn.7c00105a
ret

Function at 0x7c018d8b
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x7c018db8
test byte [esp + 8], 0x80
je 0x7c018da6
and eax, 0xfffffffe
jmp 0x7c018da9
or eax, 1
push eax
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
jne 0x7c018dc9
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.7c0102b7
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x7c0284d7
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x7c04f564]
push ebx
push ebp
mov ebp, dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp eax, ebx
jne 0x7c028520
call ebp
mov esi, eax
cmp esi, ebx
je 0x7c028506
mov dword [0x7c04f564], 1
jmp 0x7c028525
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x78
jne 0x7c02851b
push 2
pop eax
mov dword [0x7c04f564], eax
jmp 0x7c028520
mov eax, dword [0x7c04f564]
cmp eax, 1
jne 0x7c02857d
cmp esi, ebx
jne 0x7c028538
call ebp
mov esi, eax
cmp esi, ebx
jne 0x7c028538
xor eax, eax
jmp 0x7c028624
cmp word [esi], bx
mov eax, esi
je 0x7c02854d
inc eax
inc eax
cmp word [eax], bx
jne 0x7c02853f
inc eax
inc eax
cmp word [eax], bx
jne 0x7c02853f
sub eax, esi
inc eax
inc eax
mov ebp, eax
push ebp
call sym.MSVCR70.dll_malloc
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x7c028570
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, edi
jmp 0x7c028624
push ebp
push esi
push edi
call fcn.7c011a09
add esp, 0xc
jmp 0x7c028562
cmp eax, 2
je 0x7c028586
cmp eax, ebx
jne 0x7c028531
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov ebp, eax
cmp ebp, ebx
je 0x7c028531
cmp byte [ebp], bl
mov esi, ebp
je 0x7c0285bc
push ebx
push ebx
push 0xffffffffffffffff
push esi
push 1
push ebx
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x7c028531
push esi
add edi, eax
call sym.MSVCR70.dll_strlen
lea esi, [esi + eax + 1]
cmp byte [esi], bl
pop ecx
jne 0x7c028599
inc edi
lea eax, [edi + edi]
push eax
mov dword [esp + 0x18], edi
call sym.MSVCR70.dll_malloc
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x7c028635
cmp byte [ebp], bl
mov edi, ebp
mov esi, eax
je 0x7c028616
mov ecx, dword [esp + 0x14]
mov eax, esi
sub eax, dword [esp + 0x10]
sar eax, 1
sub ecx, eax
push ecx
push esi
push 0xffffffffffffffff
push edi
push 1
push ebx
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
je 0x7c02862b
push edi
call sym.MSVCR70.dll_strlen
push esi
lea edi, [edi + eax + 1]
call sym.MSVCR70.dll_wcslen
cmp byte [edi], bl
pop ecx
pop ecx
lea esi, [esi + eax*2 + 2]
jne 0x7c0285dc
push ebp
mov word [esi], bx
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push dword [esp + 0x10]
call sym.MSVCR70.dll_free
pop ecx
push ebp
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
jmp 0x7c028531
Function at 0x7c03070e
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x7c03072f
lea eax, [ebp - 4]
push eax
call fcn.7c011a09
mov eax, dword [ebp - 4]
pop ecx
mov dword [ebp - 8], eax
lea edi, [ebp - 8]
lea eax, [edi + 4]
push eax
call fcn.7c011a09
test eax, eax
pop ecx
jne 0x7c030750
call sym.MSVCR70.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x7c030851
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x30], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x2e], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x2a], cx
mov cx, word [eax + 8]
mov word [ebp - 0x28], cx
mov cx, word [eax + 4]
mov word [ebp - 0x26], cx
mov ax, word [eax]
and word [ebp - 0x22], 0
push esi
mov esi, dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call esi
test eax, eax
je 0x7c030842
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c030842
push edi
call fcn.7c011a09
test eax, eax
pop ecx
je 0x7c030842
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x30], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x2e], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x2a], cx
mov cx, word [eax + 8]
mov word [ebp - 0x28], cx
mov cx, word [eax + 4]
mov word [ebp - 0x26], cx
mov ax, word [eax]
and word [ebp - 0x22], 0
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call esi
test eax, eax
je 0x7c030842
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c030842
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 8]
call sym.MSVCR70.dll__get_osfhandle
pop ecx
push eax
call dword [sym.imp.kernel32.dll_SetFileTime]
test eax, eax
je 0x7c030842
xor eax, eax
jmp 0x7c030850
call sym.MSVCR70.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
pop esi
pop edi
leave
ret
Function at 0x7c03088b
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x7c0308b2
lea eax, [ebp - 0x30]
push eax
call fcn.7c011a09
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
pop ecx
mov dword [ebp - 0x34], eax
lea edi, [ebp - 0x38]
lea eax, [edi + 8]
push eax
call fcn.7c011a09
test eax, eax
pop ecx
jne 0x7c0308d3
call sym.MSVCR70.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x7c0309d4
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x28], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x26], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x22], cx
mov cx, word [eax + 8]
mov word [ebp - 0x20], cx
mov cx, word [eax + 4]
mov word [ebp - 0x1e], cx
mov ax, word [eax]
and word [ebp - 0x1a], 0
push esi
mov esi, dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x7c0309c5
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c0309c5
push edi
call fcn.7c011a09
test eax, eax
pop ecx
je 0x7c0309c5
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x28], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x26], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x22], cx
mov cx, word [eax + 8]
mov word [ebp - 0x20], cx
mov cx, word [eax + 4]
mov word [ebp - 0x1e], cx
mov ax, word [eax]
and word [ebp - 0x1a], 0
mov word [ebp - 0x1c], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x7c0309c5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c0309c5
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 8]
call sym.MSVCR70.dll__get_osfhandle
pop ecx
push eax
call dword [sym.imp.kernel32.dll_SetFileTime]
test eax, eax
je 0x7c0309c5
xor eax, eax
jmp 0x7c0309d3
call sym.MSVCR70.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
pop esi
pop edi
leave
ret
Function at 0x401460
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
mov eax, 0x17b0
call fcn.00402200
sub esp, eax
call sym.___main
lea eax, [esp + 0x1a8]
mov ebx, str.ffffff6_ffffff7_
mov edx, 0x57c
mov edi, eax
mov esi, ebx
mov ecx, edx
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x126]
mov ebx, str.January
mov edx, 0x82
mov ecx, dword [ebx]
mov dword [eax], ecx
mov ecx, dword [ebx + edx - 4]
mov dword [eax + edx - 4], ecx
lea edi, [eax + 4]
and edi, 0xfffffffc
sub eax, edi
sub ebx, eax
add edx, eax
and edx, 0xfffffffc
mov eax, edx
shr eax, 2
mov esi, ebx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x108], 0x6978614d
mov dword [esp + 0x10c], 0x6d756d
mov word [esp + 0x110], 0
mov dword [esp + 0x112], 0x72657641
mov dword [esp + 0x116], 0x656761
mov word [esp + 0x11a], 0
mov dword [esp + 0x11c], 0x696e694d
mov dword [esp + 0x120], 0x6d756d
mov word [esp + 0x124], 0
lea eax, [esp + 0x30]
mov ebx, str.Istanbul
mov edx, 0x36
mov edi, eax
mov esi, ebx
mov ecx, edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], 0x6d72614d
mov dword [esp + 0x20], 0x617261
mov word [esp + 0x24], 0
mov dword [esp + 0x26], 0x65676541
mov dword [esp + 0x2a], 0x6e61
mov word [esp + 0x2e], 0
mov dword [esp + 0x179c], 0
jmp 0x4015b0
mov eax, dword [esp + 0x179c]
imul eax, eax, 0x138
lea esi, [esp + 0x17b0]
add eax, esi
sub eax, 0x15a8
fld qword [eax]
fld qword [esp + 0x17a8]
faddp st(1)
fstp qword [esp + 0x17a8]
add dword [esp + 0x179c], 1
cmp dword [esp + 0x179c], 8
jle 0x40157b
mov dword [esp + 0x1798], 0
jmp 0x4015fc
mov eax, dword [esp + 0x1798]
imul eax, eax, 0x138
lea esi, [esp + 0x17b0]
add eax, esi
sub eax, 0xab0
fld qword [eax]
fld qword [esp + 0x17a0]
faddp st(1)
fstp qword [esp + 0x17a0]
add dword [esp + 0x1798], 1
cmp dword [esp + 0x1798], 8
jle 0x4015c7
fld qword [esp + 0x17a0]
fld qword [0x4060a0]
fdivp st(1)
fld qword [esp + 0x17a8]
fld qword [0x4060a0]
fdivp st(1)
fucompp
fnstsw ax
sahf
jbe 0x40164c
fld qword [esp + 0x17a8]
fld qword [0x4060a0]
fdivp st(1)
fstp qword [esp + 4]
mov dword [esp], str.Marmara_with_average___.2lf
call sym._printf
jmp 0x40166b
fld qword [esp + 0x17a0]
fld qword [0x4060a0]
fdivp st(1)
fstp qword [esp + 4]
mov dword [esp], str.Agean_with_average___.2lf
call sym._printf
mov eax, 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret