joyce8/EMBER2024-capa huggingface dataset:
Function at 0x78aefc51
Capabilities:
Allocate thread local storage

Disassembly:
push 0x14
mov eax, 0x78b4edae
call fcn.78abb046
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [edi + 4]
mov dword [edi], 0x78ae3d34
call fcn.78b25c3e
mov byte [ebp - 4], 1
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
lea esi, [edi + 0x40]
call fcn.78af1d1a
push dword [0x78b5636c]
mov esi, dword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
lea eax, [edi + 0x90]
push eax
call esi
push dword [0x78b5636c]
lea eax, [edi + 0xa8]
mov dword [eax], ebx
mov dword [eax + 4], eax
mov dword [eax + 8], ebx
or dword [edi + 0xc8], 0xffffffff
mov dword [edi + 0xb4], 0xffffffff
mov dword [edi + 0xb8], 0xffffffff
mov dword [edi + 0xbc], ebx
mov dword [edi + 0xc0], ebx
mov dword [edi + 0xc4], ebx
mov dword [edi + 0xcc], ebx
mov dword [edi + 0xd4], ebx
mov dword [edi + 0xd8], ebx
mov dword [edi + 0xdc], 1
mov dword [edi + 0xe0], ebx
mov dword [edi + 0xe4], ebx
mov dword [edi + 0xe8], ebx
mov dword [edi + 0xec], ebx
mov dword [edi + 0xf0], ebx
mov dword [edi + 0xf8], ebx
lea eax, [edi + 0x114]
mov dword [edi + 0x100], ebx
push eax
mov dword [edi + 0x104], ebx
mov dword [edi + 0x108], ebx
mov dword [edi + 0x10c], ebx
call esi
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.kernel32.dll_InitializeSListHead]
lea eax, [edi + 0x140]
mov dword [edi + 0x12c], ebx
push eax
mov dword [edi + 0x130], ebx
mov dword [edi + 0x134], ebx
call esi
lea eax, [edi + 0x148]
push eax
call esi
lea eax, [edi + 0x150]
push eax
call esi
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.78b25c3e
mov ecx, dword [ebp + 0xc]
push 4
mov dword [edi + 8], eax
call fcn.78b25c3e
mov ecx, dword [ebp + 0xc]
push 7
mov word [edi + 0x10], ax
call fcn.78b25c3e
mov dword [edi + 0xc], eax
call fcn.78aeb834
mov ecx, dword [ebp + 0xc]
mov esi, eax
push 2
call fcn.78b25c3e
mov ecx, esi
shl ecx, 2
cmp ecx, eax
jbe 0x78aefdc7
call fcn.78aeb834
shl eax, 2
jmp 0x78aefdd1
mov ecx, dword [ebp + 0xc]
push 2
call fcn.78b25c3e
mov dword [edi + 0x110], eax
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov dword [edi + 0x18], eax
cmp eax, 0xffffffff
jne 0x78aefe10
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, ebx
jle 0x78aefdf9
and eax, 0xffff
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x20]
call fcn.78b25c3e
push 0x78b4feb4
lea eax, [ebp - 0x20]
push eax
call fcn.78b25c3e
mov eax, edi
call fcn.78abb658
ret 8
Function at 0x78af276d
Capabilities:
Get thread local storage value

Disassembly:
push 0
mov eax, 0x78b4f9fc
call fcn.78abb046
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
push dword [eax + 0x70]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x78af2828
mov ecx, eax
and ecx, 3
jne 0x78af279c
mov esi, eax
push eax
jmp 0x78af27b8
cmp ecx, 1
jne 0x78af27bf
and eax, 0xfffffffe
mov esi, dword [eax + 0x10]
mov eax, dword [esi + 0x20]
add esi, 4
test eax, eax
je 0x78af27b7
cmp byte [eax + 0x40], 0
jne 0x78af2828
push esi
call fcn.78ae880c
jmp 0x78af27f2
and eax, 0xfffffffd
mov esi, eax
lea edi, [esi + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov esi, dword [esi + 0x20]
mov eax, dword [esi + 0x28]
add esi, 0xc
test eax, eax
je 0x78af27e5
cmp byte [eax + 0x40], 0
je 0x78af27e5
xor esi, esi
jmp 0x78af27eb
push esi
call fcn.78ae880c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
test esi, esi
je 0x78af2828
cmp dword [esi + 0x14], ebx
je 0x78af2824
push 0x3c
call fcn.78b25c3e
mov edi, eax
pop ecx
mov dword [ebp + 8], edi
xor eax, eax
mov dword [ebp - 4], eax
cmp edi, eax
je 0x78af2818
push esi
push ebx
call fcn.78b25c3e
or dword [ebp - 4], 0xffffffff
push eax
mov esi, eax
call fcn.78ae880c
mov eax, esi
jmp 0x78af282a
xor eax, eax
call fcn.78abb658
ret 4

Function at 0x78af7403
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebx
push 0x78af7494
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x78af7490
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x78af74b0
push ebx
call esi
mov ecx, dword [0x78b54630]
push 0x78af74c4
xor ecx, eax
push ebx
mov dword [edi], ecx
call esi
mov ecx, dword [0x78b54630]
push 0x78af74dc
xor ecx, eax
push ebx
mov dword [edi + 4], ecx
call esi
mov ecx, dword [0x78b54630]
push 0x78af74e8
xor ecx, eax
push ebx
mov dword [edi + 8], ecx
call esi
mov ecx, dword [0x78b54630]
push 0x78af7500
xor ecx, eax
push ebx
mov dword [edi + 0xc], ecx
call esi
mov ecx, dword [0x78b54630]
push 0x78af7514
xor ecx, eax
push ebx
mov dword [edi + 0x10], ecx
call esi
mov ecx, dword [0x78b54630]
xor ecx, eax
mov dword [edi + 0x14], ecx
pop esi
mov eax, edi
pop ebx
ret
Function at 0x78afa890
Capabilities:
Get thread local storage value
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x78b53610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x80c], edi
call fcn.78af035a
push dword [0x78b579bc]
mov esi, eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x78afa8e0
call dword [sym.imp.kernel32.dll_DebugBreak]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.78ab07a7
leave
ret
test esi, esi
je 0x78afa93d
cmp dword [esi + 0x1c], 0
je 0x78afa93d
mov eax, dword [esi + 0x18]
test eax, eax
je 0x78afa8f6
mov edi, dword [eax + 0x6c]
jmp 0x78afa8f9
or edi, 0xffffffff
push dword [ebp + 0x10]
push dword [ebp - 0x80c]
push ebx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 8]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
push 0x78afa9a8
lea eax, [ebp - 0x808]
push 0x400
push eax
call fcn.78b25c3e
add esp, 0x2c
jmp 0x78afa962
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
push 0x78afaa10
lea eax, [ebp - 0x808]
push 0x400
push eax
call fcn.78b25c3e
add esp, 0x1c
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x808]
push eax
push dword [0x78b54634]
call sym.MSVCR100.dll_fwprintf
push dword [0x78b54634]
call sym.MSVCR100.dll_fflush
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
call dword [sym.imp.kernel32.dll_DebugBreak]
push 0xfffffffffffffff8
call fcn.78b25c3e
int3

Function at 0x78afaac5
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x78b53610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x78b57a50]
test dword [ebp + 8], eax
je 0x78afab5a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push eax
call fcn.78b25c3e
xor eax, eax
mov word [ebp - 8], ax
mov eax, dword [0x78b54634]
add esp, 0xc
test eax, eax
je 0x78afab4d
lea ecx, [ebp - 0x808]
push ecx
push eax
call sym.MSVCR100.dll_fwprintf
pop ecx
pop ecx
push 0
push 0x32
push dword [0x78b57a5c]
push dword [0x78b57a58]
call fcn.78ac8690
add dword [0x78b57a58], 1
adc dword [0x78b57a5c], 0
or eax, edx
jne 0x78afab5a
push dword [0x78b54634]
call sym.MSVCR100.dll_fflush
pop ecx
jmp 0x78afab5a
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.78ab07a7
leave
ret
Function at 0x78afea37
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x78afea5e
call sym.MSVCR100.dll___doserrno
mov dword [eax], esi
call sym.MSVCR100.dll__errno
push 0x16
pop esi
mov dword [eax], esi
call sym.MSVCR100.dll__invalid_parameter_noinfo
mov eax, esi
jmp 0x78afeab3
test dword [ebp + 0xc], 0xfffffff9
jne 0x78afea44
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78afea8b
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.78b25c3e
pop ecx
call sym.MSVCR100.dll__errno
mov eax, dword [eax]
jmp 0x78afeab3
test al, 0x10
jne 0x78afeab1
test al, 1
je 0x78afeab1
test byte [ebp + 0xc], 2
je 0x78afeab1
call sym.MSVCR100.dll___doserrno
mov dword [eax], 5
call sym.MSVCR100.dll__errno
mov dword [eax], 0xd
jmp 0x78afea82
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x78afeaf6
call sym.MSVCR100.dll___doserrno
and dword [eax], 0
call sym.MSVCR100.dll__errno
mov dword [eax], 0x16
call sym.MSVCR100.dll__invalid_parameter_noinfo
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78afeb13
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.78b25c3e
pop ecx
jmp 0x78afeaf1
test byte [ebp + 0xc], 0x80
je 0x78afeb1e
and eax, 0xfffffffe
jmp 0x78afeb21
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
je 0x78afeb04
xor eax, eax
pop ebp
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x78b004b7
call sym.MSVCR100.dll___doserrno
and dword [eax], 0
call sym.MSVCR100.dll__errno
mov dword [eax], 0x16
call sym.MSVCR100.dll__invalid_parameter_noinfo
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x78b004d4
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.78b25c3e
pop ecx
jmp 0x78b004b2
test byte [ebp + 0xc], 0x80
je 0x78b004df
and eax, 0xfffffffe
jmp 0x78b004e2
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x78b004c5
xor eax, eax
pop ebp
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x401c66
pop dword [ebp - 0x4c]
mov eax, 0x401c66
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x93959629
sub dword [ebp - 0x5c], 0x454350de
mov dword [ebp - 0x58], 0x4c4bd408
add dword [ebp - 0x58], 0xe5e7783d
mov dword [ebp - 0x54], 0x4e268f45
sub dword [ebp - 0x54], 0x1da4b17
mov dword [ebp - 0x50], 0x9441c5d5
add dword [ebp - 0x50], 0x6bbe3a2b
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xe7c97d50
add dword [ebp - 0x5c], 0x8ca8ec06
mov dword [ebp - 0x58], 0x26aeab45
add dword [ebp - 0x58], 0x1abdb630
mov dword [ebp - 0x54], 0xba7ea778
add dword [ebp - 0x54], 0xa8f0c4f4
mov dword [ebp - 0x50], 0x34ef96e2
add dword [ebp - 0x50], 0xcb10691e
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xc7a13424
add eax, 0x389efc08
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x34f7e
push 0
call eax
mov ecx, 0x41f3
mov esi, eax
mov edx, 0x407000
add edx, dword [ebp - 0x4c]
mov ebx, 0x706c856f
sub dword [ebp - 0x34], 0x1e422baf
mov edi, dword [edx]
mov dword [ebp - 0xc], 0x4c83e7db
xor edi, ebx
xor dword [ebp - 0x40], 0x2d25f468
mov dword [esi], edi
xor dword [ebp - 0x2c], ecx
add esi, 0x9e02389f
add esi, 0x61fdc765
add edx, 4
loop 0x401d6c
add eax, 0xc99132aa
sub eax, 0xc990380b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xea927864
sub ecx, 0xea527864
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x78ab07a7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x78b53610]
jne sym.MSVCR100.dll___report_gsfailure
repz ret

Function at 0x78ab203f
Capabilities:
Accept command line arguments
Get thread local storage value

Disassembly:
push 8
push 0x78ab20e0
call fcn.78ab0c80
mov eax, dword [ebp + 8]
cmp eax, 1
je 0x78abb235
xor edi, edi
cmp eax, edi
je 0x78ac8065
cmp eax, 2
jne 0x78ab25a7
call sym.MSVCR100.dll___set_flsgetvalue
push dword [0x78b538b4]
push dword [0x78b538b8]
call dword [sym.imp.kernel32.dll_TlsGetValue]
call eax
test eax, eax
jne 0x78ab20d1
push 0x214
push 1
call fcn.78ab7707
pop ecx
pop ecx
mov esi, eax
cmp esi, edi
je 0x78ac80ab
push esi
push dword [0x78b538b4]
push dword [0x78b53e58]
call dword [sym.imp.kernel32.dll_DecodePointer]
call eax
test eax, eax
je 0x78ad7484
push edi
push esi
call sym.MSVCR100.dll__initptd
pop ecx
pop ecx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esi], eax
or dword [esi + 4], 0xffffffff
call fcn.78ab2038
xor eax, eax
inc eax
call fcn.78ab0cc5
ret
cmp eax, 3
jne 0x78ab20d1
push edi
call fcn.78ab7707
pop ecx
jmp 0x78ab20d1
call fcn.78abad05
test eax, eax
je 0x78ac80ab
call fcn.78abb398
test eax, eax
je 0x78ad7437
call fcn.78ab7707
test eax, eax
js 0x78ad7441
call fcn.78ab7707
mov dword [0x78b54470], eax
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [sym.MSVCR100.dll__acmdln], eax
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [sym.MSVCR100.dll__wcmdln], eax
call fcn.78abb22a
call fcn.78abb2a9
test eax, eax
js 0x78ac80b2
push 0
call fcn.78ab7707
pop ecx
test eax, eax
jne 0x78ac80b2
inc dword [0x78b5446c]
jmp 0x78ab20d1
cmp dword [0x78b5446c], edi
jle 0x78ac80ab
dec dword [0x78b5446c]
mov dword [ebp - 4], edi
cmp dword [0x78b54eb4], edi
je 0x78ad7448
call fcn.78ac7ffb
cmp dword [ebp + 0xc], edi
je 0x78ad7452
mov dword [ebp - 4], 0xfffffffe
call fcn.78ac80a1
jmp 0x78ab20d1
xor eax, eax
jmp 0x78ab20d9
call fcn.78b26ca8
jmp 0x78ad7441
call fcn.78b265ea
jmp 0x78ac80ab
call fcn.78afc86f
jmp 0x78ad7437
call sym.MSVCR100.dll__cexit
jmp 0x78ac8082
call fcn.78b26ca8
call fcn.78afc86f
call fcn.78b265ea
jmp 0x78ac8090
push esi
call fcn.78ab7707
pop ecx
jmp 0x78ac80ab

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x78ad7b05
test dword [ebp + 0xc], 0xfffffff9
jne 0x78ad7b05
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x78abfa08
test al, 0x10
jne 0x78ab27f8
test al, 1
je 0x78ab27f8
test byte [ebp + 0xc], 2
jne 0x78ad7b22
xor eax, eax
pop esi
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.78ab7707
pop ecx
call sym.MSVCR100.dll__errno
mov eax, dword [eax]
jmp 0x78ab27fa
call sym.MSVCR100.dll___doserrno
mov dword [eax], esi
call sym.MSVCR100.dll__errno
push 0x16
pop esi
mov dword [eax], esi
call sym.MSVCR100.dll__invalid_parameter_noinfo
mov eax, esi
jmp 0x78ab27fa
call sym.MSVCR100.dll___doserrno
mov dword [eax], 5
call sym.MSVCR100.dll__errno
mov dword [eax], 0xd
jmp 0x78abfa15
Function at 0x78ab767a
Capabilities:
Get geographical location

Disassembly:
cmp dword [ebp + 0xc], 0
jne 0x78ab744c
and dword [ebp - 0x88], 0
push 2
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp + 0x14]
or eax, 0x20000000
push eax
push dword [ebp + 0x10]
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
test eax, eax
je 0x78ab744c
mov al, byte [ebp - 0x88]
mov byte [edi], al
jmp 0x78ab76f6
or eax, 0xffffffff
jmp 0x78ab76f8
push dword [edi]
call fcn.78ab7707
jmp 0x78ae06f6
and dword [ebp - 0x8c], 0
push 0x80
lea ebx, [ebp - 0x84]
mov ecx, ebx
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call fcn.78ab7707
mov esi, eax
add esp, 0x14
test esi, esi
je 0x78ae0654
push 1
push esi
call fcn.78ab7707
mov dword [edi], eax
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x78ae06c8
lea ecx, [esi - 1]
push ecx
push ebx
push esi
push eax
call fcn.78ab7707
add esp, 0x10
test eax, eax
jne 0x78ae06ec
cmp dword [ebp - 0x8c], edi
je 0x78ab76f6
jmp 0x78ae06e0
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x78b53610]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
je 0x78ab760e
cmp dword [ebp + 0xc], 2
jne 0x78ab7413
mov esi, dword [sym.imp.kernel32.dll_GetLocaleInfoW]
xor eax, eax
push eax
push eax
push dword [ebp + 0x14]
mov dword [edi], eax
push dword [ebp + 0x10]
call esi
mov ebx, eax
test ebx, ebx
je 0x78ab7454
push 2
push ebx
call fcn.78ab7707
pop ecx
pop ecx
mov dword [edi], eax
test eax, eax
je 0x78ab7454
push ebx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call esi
test eax, eax
je 0x78ab7454
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.78ab07a7
leave
ret
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x78ab744c
push esi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x88]
call fcn.78ab7707
add esp, 0x14
mov dword [ebp - 0x90], eax
test eax, eax
je 0x78ab744c
inc esi
push esi
push eax
call fcn.78ab7707
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x78ab744c
push dword [ebp - 0x90]
mov dword [ebp - 0x8c], esi
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x88]
call fcn.78ab7707
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x78ab763c
jmp 0x78ae06d4
cmp dword [ebp - 0x8c], edi
je 0x78ab744c
push ebx
call fcn.78ab7707
pop ecx
jmp 0x78ab744c
push ebx
call fcn.78ab7707
pop ecx
jmp 0x78ab76f6
push edi
push edi
push edi
push edi
push edi
call sym.MSVCR100.dll__invoke_watson
and dword [edi], 0
pop ecx
jmp 0x78ab744c
Function at 0x78ab7707
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x78ab7716
pop dword [ebp - 0x24]
mov eax, 0xb73e1b9
add eax, 0x6d37955d
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x52ebe
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x447a
xor edx, edx
add edx, eax
mov edi, 0xbeee99cc
sub edi, 0x4638bbcc
add edi, dword [ebp - 0x24]
mov esi, 0xec56debd
sub esi, 0x3353553e
sub dword [ebp - 0xc], 0xa82835a8
mov ebx, dword [edi]
xor dword [ebp - 0x1c], edi
add ebx, esi
mov dword [edx], ebx
xor dword [ebp - 0x10], edi
add edx, 4
add edi, 4
loop 0x78ab776c
add eax, 0x26e3bcba
sub eax, 0x26e2b7ff
xor ebx, ebx
add ebx, eax
add eax, 0x89dd8ba6
sub eax, 0x89dd8ba1
mov ecx, 0xc46cdf08
sub ecx, 0x4bc2df08
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x78ac1201
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
mov esi, eax
xor ecx, ecx
cmp esi, ecx
je 0x78ae06ff
cmp word [esi], cx
je 0x78ac122b
add eax, 2
cmp word [eax], cx
jne 0x78ac121b
add eax, 2
cmp word [eax], cx
jne 0x78ac121b
push ebx
sub eax, esi
lea ebx, [eax + 2]
push edi
push ebx
call fcn.78ab7707
mov edi, eax
pop ecx
test edi, edi
je 0x78ac124a
push ebx
push esi
push edi
call fcn.78ab7707
add esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x78ac7e18
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x78ac7e54
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x78ac7e54
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x78ac7e54
xor eax, eax
cmp dword [ecx + 0x74], 0xe
jbe 0x78ac7e53
cmp dword [ecx + 0xe8], eax
setne al
ret
xor eax, eax
ret
Function at 0x78ae880c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x28
mov eax, 0x78b4ee00
call fcn.78b2499c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
test eax, eax
jne 0x78ae8926
cmp dword [ebx + 0x1c], eax
setne byte [ebp - 0x29]
cmp dword [ebx + 0x18], eax
jne 0x78ae88fb
cmp byte [ebp - 0x29], al
mov edi, dword [ebx + 0x14]
sete al
movzx eax, al
push eax
push dword [ebx + 0x28]
mov eax, dword [ebx + 0x24]
call fcn.78ab7707
cmp byte [ebp - 0x29], 0
jne 0x78ae890b
call dword [sym.imp.kernel32.dll_GetCurrentThread]
push eax
lea esi, [ebp - 0x28]
mov dword [ebp - 0x30], eax
call fcn.78ab7707
mov cx, word [eax + 4]
mov word [ebx + 0xc], cx
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x14]
imul eax, eax, 0x2c
mov ecx, dword [ecx + 0x10]
mov esi, dword [eax + ecx]
movzx edi, word [eax + ecx + 0x10]
push 0xc
lea eax, [ebp - 0x1c]
push 0
push eax
call sym.MSVCR100.dll_memset
add esp, 0xc
push dword [ebp - 0x30]
mov dword [ebp - 0x1c], esi
lea esi, [ebp - 0x1c]
mov word [ebp - 0x18], di
call fcn.78ab7707
mov edi, dword [ebx + 0x14]
mov esi, ebx
call fcn.78af314f
mov esi, dword [ebx + 0x14]
lea edi, [esi + 0x20]
push edi
mov dword [ebp - 0x30], edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
imul eax, eax, 0x2c
mov ecx, dword [ebx + 0x28]
mov edx, dword [esi + 0x10]
imul ecx, ecx, 0x2c
mov eax, dword [eax + edx + 0x28]
lea ecx, [eax + ecx + 8]
mov eax, ebx
call fcn.78af3395
push edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
jmp 0x78ae890b
mov ecx, dword [ebx + 0x14]
lea ecx, [ecx + 0xc4]
mov eax, ebx
call fcn.78af3395
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x70]
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
push ebx
push esi
mov dword [ebx + 0x20], eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
call fcn.78b24a0b
ret 4
Function at 0x78aebae2
Capabilities:
Allocate thread local storage

Disassembly:
push 0x20
mov eax, 0x78b4ea57
call fcn.78abb046
mov edi, dword [ebp + 8]
push dword [0x78b5636c]
xor esi, esi
mov dword [edi], 0x78ae3cd8
lea eax, [edi + 0x24]
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], 0x10
mov dword [edi + 0x10], esi
mov dword [edi + 0x1c], esi
push eax
mov dword [edi + 0x20], esi
call dword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [ebp - 4], esi
push dword [0x78b5636c]
lea ebx, [edi + 0x68]
mov dword [edi + 0x3c], esi
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], esi
mov dword [edi + 0x48], esi
mov dword [edi + 0x4c], esi
mov dword [edi + 0x50], esi
mov dword [edi + 0x54], esi
mov dword [edi + 0x58], esi
mov dword [edi + 0x5c], esi
lea eax, [ebx + 0xc]
mov dword [edi + 0x60], esi
mov dword [edi + 0x64], esi
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebx], esi
mov dword [ebx + 4], esi
call dword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov dword [ebx + 8], eax
cmp eax, 0xffffffff
jne 0x78aebb9b
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, esi
jle 0x78aebb84
and eax, 0xffff
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x2c]
call fcn.78ab7707
push 0x78b4feb4
lea eax, [ebp - 0x2c]
push eax
call fcn.78ab7707
push 0x78aebc60
push 0x78ae3cb8
mov byte [ebp - 4], 2
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, esi
je 0x78aebbd0
mov ecx, dword [0x78b54630]
xor ecx, eax
mov dword [edi + 0x8c], ecx
mov dword [edi + 0x90], esi
jmp 0x78aebc1f
push 4
push 0x3000
push 0x1000
push esi
mov dword [edi + 0x8c], esi
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov dword [edi + 0x90], eax
cmp eax, esi
jne 0x78aebc1c
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], 0x78abb0d8
call fcn.78ab7707
mov dword [ebp - 0x1c], 0x78abbd3c
push 0x78abbdd8
lea eax, [ebp - 0x1c]
jmp 0x78aebb95
mov byte [eax], 1
push 1
call fcn.78ab7707
pop ecx
call fcn.78ab7707
push esi
push esi
push esi
push esi
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0xc]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.78ab7707
mov dword [edi + 0x4c], eax
pop ecx
mov eax, edi
call fcn.78abb658
ret 4