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

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x7c38b118]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x7c35291c
xor eax, eax
jmp 0x7c352aa5
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + sym.MSVCR71.dll___pioinfo]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x7c352958
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.7c373ba2
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x7c352a33
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x7c352a71
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x7c3529bc
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x7c3529ad
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x7c35298d
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [esi + eax]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x7c3529fc
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x7c352a05
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x7c35297e
jmp 0x7c352a07
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x7c352aa0
cmp dword [ebp - 0x6c], edi
je 0x7c352a71
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x7c352a66
call sym.MSVCR71.dll__errno
mov dword [eax], 9
call sym.MSVCR71.dll___doserrno
mov dword [eax], esi
jmp 0x7c352a9b
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x7c352a5b
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x7c352a07
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x7c352a07
push dword [ebp - 0x6c]
call fcn.7c349ee2
pop ecx
jmp 0x7c352a9b
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x7c352a89
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x7c352a89
xor eax, eax
jmp 0x7c352aa3
call sym.MSVCR71.dll__errno
mov dword [eax], 0x1c
call sym.MSVCR71.dll___doserrno
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x7c352aa3
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.7c341aed
add ebp, 0x3a0
leave
ret
Function at 0x7c3562f8
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x7c356306
xor ecx, ecx
jmp 0x7c356324
cmp eax, 0x1a
jbe 0x7c356310
push 0x57
pop eax
pop ebp
ret
add al, 0x40
lea ecx, [ebp + 8]
mov byte [ebp + 8], al
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x5c
mov byte [ebp + 0xb], 0
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 0x7c356346
pop ebp
jmp dword [sym.imp.kernel32.dll_GetLastError]
xor eax, eax
pop ebp
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x7c356930
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.7c349ee2
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x7c356953
test byte [esp + 8], 2
je 0x7c356953
call sym.MSVCR71.dll__errno
mov dword [eax], 0xd
call sym.MSVCR71.dll___doserrno
mov dword [eax], 5
jmp 0x7c35692c
xor eax, eax
ret

Function at 0x7c356956
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
push 0x128
push 0x7c380ce0
call fcn.7c34230b
mov eax, dword [0x7c38b118]
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x124]
xor ebx, ebx
mov dword [ebp - 0x130], ebx
or dword [ebp - 0x12c], 0xffffffff
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x7c356a63
mov eax, edi
push eax
push 0x105
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov esi, eax
mov dword [ebp - 0x134], esi
cmp esi, 0x104
jle 0x7c356a14
mov dword [ebp - 4], ebx
lea eax, [esi + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.7c341395
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x138], edi
jmp 0x7c356a01
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x7c356a63
push edi
inc esi
push esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov esi, eax
cmp esi, ebx
je 0x7c356a63
mov al, byte [edi]
cmp al, 0x5c
je 0x7c356a22
cmp al, 0x2f
jne 0x7c356a27
cmp al, byte [edi + 1]
je 0x7c356a5d
mov byte [ebp - 0x128], 0x3d
movzx eax, byte [edi]
push eax
call fcn.7c373ba2
pop ecx
mov byte [ebp - 0x127], al
mov byte [ebp - 0x126], 0x3a
mov byte [ebp - 0x125], bl
push edi
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x7c356a63
mov dword [ebp - 0x12c], ebx
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.7c349ee2
pop ecx
cmp dword [ebp - 0x130], ebx
je 0x7c356a7f
push edi
call sym.MSVCR71.dll_free
pop ecx
mov eax, dword [ebp - 0x12c]
lea esp, [ebp - 0x144]
mov ecx, dword [ebp - 0x1c]
call fcn.7c341aed
call fcn.7c342346
ret
Function at 0x7c356a99
Capabilities:
Get common file path

Disassembly:
push 0x120
push 0x7c380cf0
call fcn.7c34230b
mov eax, dword [0x7c38b118]
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x124]
and dword [ebp - 0x128], 0
mov eax, edi
push eax
push 0x105
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov esi, eax
mov dword [ebp - 0x12c], esi
cmp esi, 0x104
jle 0x7c356b3d
and dword [ebp - 4], 0
lea eax, [esi + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.7c341395
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x130], edi
jmp 0x7c356b2a
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x7c356b3d
push edi
inc esi
push esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x7c356b58
cmp byte [edi + 1], 0x3a
jne 0x7c356b58
movzx eax, byte [edi]
push eax
call sym.MSVCR71.dll_toupper
pop ecx
mov ebx, eax
sub ebx, 0x40
cmp dword [ebp - 0x128], 0
je 0x7c356b68
push edi
call sym.MSVCR71.dll_free
pop ecx
mov eax, ebx
lea esp, [ebp - 0x13c]
mov ecx, dword [ebp - 0x1c]
call fcn.7c341aed
call fcn.7c342346
ret

Function at 0x7c356b7e
Capabilities:
Set current directory

Disassembly:
push 0x10
push 0x7c380d00
call fcn.7c34230b
mov ebx, dword [ebp + 8]
cmp ebx, 1
jl 0x7c356bed
cmp ebx, 0x1f
jg 0x7c356bed
push 7
call fcn.7c373ba2
pop ecx
and dword [ebp - 4], 0
add ebx, 0x40
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], 0x3a
mov byte [ebp - 0x1a], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x7c356bc5
and dword [ebp - 0x20], 0
jmp 0x7c356bd6
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.7c349ee2
pop ecx
or dword [ebp - 0x20], 0xffffffff
or dword [ebp - 4], 0xffffffff
call fcn.7c356be4
mov eax, dword [ebp - 0x20]
jmp 0x7c356c06
call sym.MSVCR71.dll__errno
mov dword [eax], 0xd
call sym.MSVCR71.dll___doserrno
mov dword [eax], 0xf
or eax, 0xffffffff
call fcn.7c342346
ret

Function at 0x7c356c0c
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 0x7c356c39
test byte [esp + 8], 0x80
je 0x7c356c27
and eax, 0xfffffffe
jmp 0x7c356c2a
or eax, 1
push eax
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
jne 0x7c356c4a
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.7c349ee2
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x7c366d53
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x7c3916c0]
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 0x7c366d9c
call ebp
mov esi, eax
cmp esi, ebx
je 0x7c366d82
mov dword [0x7c3916c0], 1
jmp 0x7c366da1
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x78
jne 0x7c366d97
push 2
pop eax
mov dword [0x7c3916c0], eax
jmp 0x7c366d9c
mov eax, dword [0x7c3916c0]
cmp eax, 1
jne 0x7c366df9
cmp esi, ebx
jne 0x7c366db4
call ebp
mov esi, eax
cmp esi, ebx
jne 0x7c366db4
xor eax, eax
jmp 0x7c366ea0
cmp word [esi], bx
mov eax, esi
je 0x7c366dc9
inc eax
inc eax
cmp word [eax], bx
jne 0x7c366dbb
inc eax
inc eax
cmp word [eax], bx
jne 0x7c366dbb
sub eax, esi
inc eax
inc eax
mov ebp, eax
push ebp
call sym.MSVCR71.dll_malloc
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x7c366dec
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, edi
jmp 0x7c366ea0
push ebp
push esi
push edi
call fcn.7c373ba2
add esp, 0xc
jmp 0x7c366dde
cmp eax, 2
je 0x7c366e02
cmp eax, ebx
jne 0x7c366dad
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov ebp, eax
cmp ebp, ebx
je 0x7c366dad
cmp byte [ebp], bl
mov esi, ebp
je 0x7c366e38
push ebx
push ebx
push 0xffffffffffffffff
push esi
push 1
push ebx
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x7c366dad
push esi
add edi, eax
call sym.MSVCR71.dll_strlen
lea esi, [esi + eax + 1]
cmp byte [esi], bl
pop ecx
jne 0x7c366e15
inc edi
lea eax, [edi + edi]
push eax
mov dword [esp + 0x18], edi
call sym.MSVCR71.dll_malloc
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x7c366eb1
cmp byte [ebp], bl
mov edi, ebp
mov esi, eax
je 0x7c366e92
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 0x7c366ea7
push edi
call sym.MSVCR71.dll_strlen
push esi
lea edi, [edi + eax + 1]
call sym.MSVCR71.dll_wcslen
cmp byte [edi], bl
pop ecx
pop ecx
lea esi, [esi + eax*2 + 2]
jne 0x7c366e58
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.MSVCR71.dll_free
pop ecx
push ebp
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
jmp 0x7c366dad
Function at 0x7c370627
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x7c370648
lea eax, [ebp - 4]
push eax
call fcn.7c373ba2
mov eax, dword [ebp - 4]
pop ecx
mov dword [ebp - 8], eax
lea edi, [ebp - 8]
lea eax, [edi + 4]
push eax
call fcn.7c373ba2
test eax, eax
pop ecx
jne 0x7c370669
call sym.MSVCR71.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x7c37076a
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 0x7c37075b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c37075b
push edi
call fcn.7c373ba2
test eax, eax
pop ecx
je 0x7c37075b
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 0x7c37075b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c37075b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 8]
call sym.MSVCR71.dll__get_osfhandle
pop ecx
push eax
call dword [sym.imp.kernel32.dll_SetFileTime]
test eax, eax
je 0x7c37075b
xor eax, eax
jmp 0x7c370769
call sym.MSVCR71.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
pop esi
pop edi
leave
ret
Function at 0x7c3707a4
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x7c3707cb
lea eax, [ebp - 0x30]
push eax
call fcn.7c373ba2
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.7c373ba2
test eax, eax
pop ecx
jne 0x7c3707ec
call sym.MSVCR71.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x7c3708ed
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 0x7c3708de
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c3708de
push edi
call fcn.7c373ba2
test eax, eax
pop ecx
je 0x7c3708de
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 0x7c3708de
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c3708de
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 8]
call sym.MSVCR71.dll__get_osfhandle
pop ecx
push eax
call dword [sym.imp.kernel32.dll_SetFileTime]
test eax, eax
je 0x7c3708de
xor eax, eax
jmp 0x7c3708ec
call sym.MSVCR71.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
pop esi
pop edi
leave
ret

Function at 0x7c373ba2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x7c373bb1
pop dword [ebp - 0x30]
mov eax, 0x4b0d9f8
sub eax, 0x88799e47
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x3b95c
push 0
mov eax, 0x59a26cb9
sub eax, 0xdd6acc25
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0xbe8e42ab
sub ecx, 0xbe8dffea
xor edx, edx
add edx, eax
mov esi, 0x7c396000
add esi, dword [ebp - 0x30]
mov ebx, 0xf1c0bfad
sub dword [ebp - 4], edx
mov edi, dword [esi]
mov dword [ebp - 8], 0x532f2f1e
add edi, ebx
add dword [ebp - 0x18], 0x59c0422b
mov dword [edx], edi
xor dword [ebp - 0x20], 0xd79dcf0
add edx, 4
add esi, 0x2f5cb41f
add esi, 0xd0a34be5
loop 0x7c373c06
add eax, 0x172e01aa
add eax, 0xe8d2fc2d
mov ebx, eax
add eax, 5
mov ecx, 0x78bd86b1
sub ecx, 0xfc8986b1
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x4089fb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x408a0a
pop dword [ebp - 0x34]
mov eax, 0xdeaf3bf3
sub eax, 0xde6eb1e9
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x38394
push 0
mov eax, 0x7bdc7a5e
sub eax, 0x7b9c693e
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0xc3fb7658
sub ecx, 0xc3fb3891
mov edx, eax
mov ebx, 0x427600
add ebx, dword [ebp - 0x34]
mov esi, 0x6221569d
mov dword [ebp - 0x2c], 0x37a9e607
mov edi, dword [ebx]
add dword [ebp - 0x14], 0x7053ee42
xor edi, esi
xor dword [ebp - 0x1c], edx
mov dword [edx], edi
mov dword [ebp - 0x30], 0x777f5107
add edx, 4
add ebx, 0x39e1dc57
sub ebx, 0x39e1dc53
loop 0x408a5d
add eax, 0x4e56215e
sub eax, 0x4e55376f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x410f5c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42104c]
jne 0x413fe3
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x422720], eax
mov dword [0x42271c], ecx
mov dword [0x422718], edx
mov dword [0x422714], ebx
mov dword [0x422710], esi
mov dword [0x42270c], edi
mov word [0x422738], ss
mov word [0x42272c], cs
mov word [0x422708], ds
mov word [0x422704], es
mov word [0x422700], fs
mov word [0x4226fc], gs
pushfd
pop dword [0x422730]
mov eax, dword [ebp]
mov dword [0x422724], eax
mov eax, dword [ebp + 4]
mov dword [0x422728], eax
lea eax, [ebp + 8]
mov dword [0x422734], eax
mov eax, dword [ebp - 0x320]
mov dword [0x422670], 0x10001
mov eax, dword [0x422728]
mov dword [0x422624], eax
mov dword [0x422618], 0xc0000409
mov dword [0x42261c], 1
mov eax, dword [0x42104c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x421050]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x422668], eax
push 1
call fcn.00415efd
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x402cf0
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x422668], 0
jne 0x4140cf
push 1
call fcn.00415efd
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00401e80
add esp, 0x10
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004019a0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00401b80
add esp, 8
call fcn.004022b0
mov eax, dword [ebp - 8]
push eax
call fcn.00401d10
add esp, 4
push 0
call fcn.00461731
mov esp, ebp
pop ebp
ret
Function at 0x401260
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004017b0
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x4012b6
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x4784a4
push 2
call fcn.0045e78f
add esp, 4
push eax
call fcn.004021f0
add esp, 0x18
push 1
call fcn.00461731
imul edx, dword [ebp - 0xc], 0x1c
mov eax, dword [0x4adff4]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jl 0x401429
cmp dword [ebp - 0x14], 4
jle 0x4012e1
cmp dword [ebp - 0x14], 5
je 0x401315
jmp 0x401429
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x4784c8
push 2
call fcn.0045e78f
add esp, 4
push eax
call fcn.004021f0
add esp, 0x18
push 1
call fcn.00461731
jmp 0x401429
imul eax, dword [ebp - 0xc], 0x1c
mov ecx, 1
shl ecx, 0
mov edx, dword [0x4adff4]
add ecx, dword [edx + eax + 0x14]
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
push 0x10
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00461a6d
add esp, 0xc
jmp 0x40136a
push 0x10
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00461a6d
add esp, 0xc
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
je 0x40137d
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x40134b
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
add edx, 1
push edx
call fcn.00461423
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4013a7
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
xor eax, eax
jmp 0x401434
imul ecx, dword [ebp - 0xc], 0x1c
mov edx, 1
shl edx, 0
mov eax, dword [0x4adff4]
add edx, dword [eax + ecx + 0x14]
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
push 0x10
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00461a6d
add esp, 0xc
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov byte [ecx + edx], al
jmp 0x401411
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
push 0x10
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00461a6d
add esp, 0xc
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov byte [ecx + edx], al
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
je 0x401424
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x4013e7
mov eax, dword [ebp - 0x10]
jmp 0x401434
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401440
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004017b0
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x401496
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.PCD__s._s._s._s_is_not_in_database_n
push 2
call fcn.0045e78f
add esp, 4
push eax
call fcn.004021f0
add esp, 0x18
push 1
call fcn.00461731
imul edx, dword [ebp - 4], 0x1c
mov eax, dword [0x4adff4]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jl 0x4015ba
cmp dword [ebp - 0xc], 4
jle 0x4014c1
cmp dword [ebp - 0xc], 5
je 0x4014f5
jmp 0x4015ba
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.PCD__s._s._s._s_is_a_value.__Use_PcdGet___n
push 2
call fcn.0045e78f
add esp, 4
push eax
call fcn.004021f0
add esp, 0x18
push 1
call fcn.00461731
jmp 0x4015ba
imul eax, dword [ebp - 4], 0x1c
mov ecx, dword [0x4adff4]
mov edx, dword [ecx + eax + 0x14]
push edx
call fcn.00461406
add esp, 4
imul eax, dword [ebp + 0x18], 5
add eax, 3
push eax
call fcn.00461423
add esp, 4
imul ecx, dword [ebp - 4], 0x1c
mov edx, dword [0x4adff4]
mov dword [edx + ecx + 0x14], eax
imul eax, dword [ebp - 4], 0x1c
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [0x4adff4]
mov eax, dword [ecx + eax + 0x14]
mov byte [edx + eax], 0x7b
mov dword [ebp - 8], 0
jmp 0x401556
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x18]
jae 0x40158e
mov eax, dword [ebp + 0x1c]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
push ecx
push str.0x_02x_
imul edx, dword [ebp - 4], 0x1c
imul eax, dword [ebp - 8], 5
mov ecx, dword [0x4adff4]
mov edx, dword [ecx + edx + 0x14]
lea eax, [edx + eax + 1]
push eax
call fcn.00402230
add esp, 0xc
jmp 0x40154d
imul ecx, dword [ebp - 4], 0x1c
imul edx, dword [ebp + 0x18], 5
mov eax, dword [0x4adff4]
mov ecx, dword [eax + ecx + 0x14]
mov byte [ecx + edx], 0x7d
imul edx, dword [ebp - 4], 0x1c
imul eax, dword [ebp + 0x18], 5
mov ecx, dword [0x4adff4]
mov edx, dword [ecx + edx + 0x14]
mov byte [edx + eax + 1], 0
mov esp, ebp
pop ebp
ret