joyce8/EMBER2024-capa huggingface dataset:
Function at 0x78ac3ea2
Capabilities:
Get geographical location

Disassembly:
cmp dword [ebp + 0xc], 0
jne 0x78ac37cc
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 0x78ac37cc
mov al, byte [ebp - 0x88]
mov byte [edi], al
jmp 0x78ac3f1e
or eax, 0xffffffff
jmp 0x78ac3f20
push dword [edi]
call sym.MSVCR100.dll_free
jmp 0x78ade6ae
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.78ac3dff
mov esi, eax
add esp, 0x14
test esi, esi
je 0x78ade60c
push 1
push esi
call sym.MSVCR100.dll__calloc_crt
mov dword [edi], eax
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x78ade680
lea ecx, [esi - 1]
push ecx
push ebx
push esi
push eax
call sym.MSVCR100.dll_strncpy_s
add esp, 0x10
test eax, eax
jne 0x78ade6a4
cmp dword [ebp - 0x8c], edi
je 0x78ac3f1e
jmp 0x78ade698
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x78b52610]
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 0x78ac3e36
cmp dword [ebp + 0xc], 2
jne 0x78ac3793
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 0x78ac37d4
push 2
push ebx
call sym.MSVCR100.dll__calloc_crt
pop ecx
pop ecx
mov dword [edi], eax
test eax, eax
je 0x78ac37d4
push ebx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call esi
test eax, eax
je 0x78ac37d4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.78ab1180
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x78ac37cc
push esi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x88]
call fcn.78ac3dff
add esp, 0x14
mov dword [ebp - 0x90], eax
test eax, eax
je 0x78ac37cc
inc esi
push esi
push eax
call sym.MSVCR100.dll__calloc_crt
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x78ac37cc
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.78ac3dff
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x78ac3e64
jmp 0x78ade68c
cmp dword [ebp - 0x8c], edi
je 0x78ac37cc
push ebx
call sym.MSVCR100.dll_free
pop ecx
jmp 0x78ac37cc
push ebx
call sym.MSVCR100.dll_free
pop ecx
jmp 0x78ac3f1e
push edi
push edi
push edi
push edi
push edi
call sym.MSVCR100.dll__invoke_watson
and dword [edi], 0
pop ecx
jmp 0x78ac37cc
Function at 0x78ac6814
Capabilities:
Parse pe header

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

Disassembly:
push 0x24
mov eax, 0x78b4e960
call fcn.78b23f1c
mov eax, dword [ebx + 0x30]
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
test eax, eax
jne 0x78ae64fe
cmp dword [ebx + 0x1c], eax
setne byte [ebp - 0x29]
cmp dword [ebx + 0x18], eax
jne 0x78ae64d3
mov esi, dword [ebx + 0x28]
mov edi, dword [ebx + 0x24]
mov edx, dword [ebx + 0x14]
imul edi, edi, 0x2c
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x30], esi
imul esi, esi, 0x2c
add esi, dword [eax + edi + 0x28]
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
test ecx, ecx
jne 0x78ae6423
mov ecx, dword [edx + 0x10]
add ecx, edi
inc dword [ecx + 0x1c]
inc dword [edx + 0xac]
cmp byte [esi + 0x29], 0
je 0x78ae6423
mov eax, dword [ebp - 0x30]
mov byte [esi + 0x2a], 1
call fcn.78af084d
cmp byte [ebp - 0x29], 0
jne 0x78ae64e3
inc dword [edx + 0xb4]
inc dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
lea esi, [ebp - 0x28]
mov dword [ebp - 0x30], eax
call fcn.78ae9330
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.78ae9390
mov edi, dword [ebx + 0x14]
mov esi, ebx
call fcn.78af0b83
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.78af0dc9
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x78ae64e3
mov ecx, dword [ebx + 0x14]
lea ecx, [ecx + 0xc4]
mov eax, ebx
call fcn.78af0dc9
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.78b23f8b
ret
Function at 0x78ae6504
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
dec dword [edi + 0x30]
jne 0x78ae659e
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
push dword [edi + 0x20]
cmp dword [edi + 0x1c], 0
mov eax, dword [eax + 0x70]
push eax
setne bl
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [edi + 0x18]
and dword [edi + 0x20], 0
test ecx, ecx
jne 0x78ae657c
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x14]
test bl, bl
sete al
movzx eax, al
push eax
mov eax, dword [edi + 0x28]
call fcn.78af02e6
test bl, bl
jne 0x78ae659e
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
lea esi, [edi + 8]
call fcn.78ae9390
mov esi, dword [edi + 0x14]
call fcn.78af0bcd
mov eax, dword [edi + 0x14]
call fcn.78af0b03
jmp 0x78ae659e
call fcn.78ae6504
mov ecx, dword [edi + 0x14]
lea ecx, [ecx + 0xc4]
mov eax, edi
call fcn.78af0df9
push edi
mov dword [edi], 0x78ae177c
call sym.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x78ae9676
Capabilities:
Allocate thread local storage

Disassembly:
push 0x20
mov eax, 0x78b4e5b7
call fcn.78ab6959
mov edi, dword [ebp + 8]
push dword [0x78b5536c]
xor esi, esi
mov dword [edi], 0x78ae18d0
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 [0x78b5536c]
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 0x78ae972f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x78ae9718
and eax, 0xffff
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x2c]
call sym.MSVCR100.dll_public:_void___thiscall_Concurrency::scheduler_resource_allocation_error::constructor_long_int_
push 0x78b4f91c
lea eax, [ebp - 0x2c]
push eax
call sym.MSVCR100.dll__CxxThrowException
push 0x78ae97f4
push 0x78ae18b0
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 0x78ae9764
mov ecx, dword [0x78b53518]
xor ecx, eax
mov dword [edi + 0x8c], ecx
mov dword [edi + 0x90], esi
jmp 0x78ae97b3
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 0x78ae97b0
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], 0x78ab6a10
call sym.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const___int_
mov dword [ebp - 0x1c], 0x78ab7bfc
push 0x78ab7c98
lea eax, [ebp - 0x1c]
jmp 0x78ae9729
mov byte [eax], 1
push 1
call fcn.78ae99cc
pop ecx
call fcn.78ae9ecb
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 sym.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
mov dword [edi + 0x4c], eax
pop ecx
mov eax, edi
call fcn.78ab736d
ret 4
Function at 0x78aeccc6
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xc
mov eax, 0x78b4ecec
call fcn.78ab6959
mov ebx, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x64
pop edi
call esi
sub eax, 0x1f4
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x20]
cmp eax, 2
je 0x78aecda3
lea eax, [ebx + 0x24]
mov dword [ebp - 0x14], eax
push edi
push dword [ebx + 0x48]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x20]
sub eax, 0
je 0x78aecd76
dec eax
jne 0x78aecd8a
cmp dword [ebp - 0x18], 0x102
jne 0x78aecd45
mov eax, ebx
call fcn.78aec82a
cmp dword [ebx + 0x10], 0
jbe 0x78aecd3b
push 0
call fcn.78aecb2d
call esi
push 0x64
mov dword [ebp - 0x10], eax
pop edi
jmp 0x78aecd8a
call esi
sub eax, dword [ebp - 0x10]
push 0x64
pop edi
mov dword [ebp - 0x18], eax
cmp eax, edi
jbe 0x78aecd64
cmp eax, 0x82
jbe 0x78aecd2e
mov edi, ebx
call fcn.78ae980d
jmp 0x78aecd3b
cmp dword [ebx + 0x10], 0
jbe 0x78aecd71
push 0
call fcn.78aecb2d
sub edi, dword [ebp - 0x18]
jmp 0x78aecd8a
mov edi, ebx
call fcn.78aea4cc
movzx edi, al
neg edi
sbb edi, edi
and edi, 0xffffff9b
add edi, 0x64
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x20]
cmp eax, 2
jne 0x78aeccf9
call fcn.78ab736d
ret
Function at 0x78aeda5f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
call fcn.78ae93cf
xor ecx, ecx
inc ecx
cmp ecx, eax
sbb eax, eax
and eax, 0xfa0
mov dword [0x78b5536c], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x78b56994], eax
cmp eax, 0xffffffff
jne 0x78aedabd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x78aedaa4
and eax, 0xffff
or eax, 0x80070000
push eax
lea ecx, [esp + 4]
call sym.MSVCR100.dll_public:_void___thiscall_Concurrency::scheduler_resource_allocation_error::constructor_long_int_
push 0x78b4f91c
lea eax, [esp + 4]
push eax
call sym.MSVCR100.dll__CxxThrowException
call fcn.78af7ccc
mov esp, ebp
pop ebp
ret

Function at 0x78aee4e0
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ebp + 8], 0
push esi
push edi
mov esi, eax
je 0x78aee50b
mov edi, dword [esi + 0x24]
push edi
push dword [0x78b56994]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
and dword [esi + 0x24], 0
mov dword [ebp - 4], edi
lea eax, [ebx + 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDepthSList]
mov ecx, dword [ebx + 0x14]
movzx eax, ax
cmp eax, ecx
jge 0x78aee554
mov ecx, esi
call fcn.78ae44e9
mov eax, dword [esi + 0x88]
test eax, eax
je 0x78aee541
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x88], 0
add esi, 4
push esi
lea eax, [ebx + 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
jmp 0x78aee561
test esi, esi
je 0x78aee561
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x44]
lea eax, [ebx + 0xd8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov esi, dword [ebp - 4]
test esi, esi
je 0x78aee59a
cmp byte [esi + 0x40], 0
jne 0x78aee59a
lea ecx, [esi]
call fcn.78ae4774
push 3
lea eax, [esi - 4]
call fcn.78ae7788
lea ecx, [esi]
call fcn.78ae4785
pop edi
pop esi
leave
ret 4
Function at 0x78af0216
Capabilities:
Get thread local storage value

Disassembly:
push 0
mov eax, 0x78b4ea14
call fcn.78ab6959
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
push dword [eax + 0x70]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x78af02dc
mov ecx, eax
and ecx, 3
jne 0x78af0246
mov esi, eax
mov ebx, eax
jmp 0x78af0263
cmp ecx, 1
jne 0x78af026a
and eax, 0xfffffffe
mov esi, dword [eax + 0x10]
mov eax, dword [esi + 0x20]
add esi, 4
test eax, eax
je 0x78af0261
cmp byte [eax + 0x40], 0
jne 0x78af02dc
mov ebx, esi
call fcn.78ae63b0
jmp 0x78af02a1
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 0x78af0290
cmp byte [eax + 0x40], 0
je 0x78af0290
xor esi, esi
jmp 0x78af0297
mov ebx, esi
call fcn.78ae63b0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov edi, dword [ebp + 8]
test esi, esi
je 0x78af02dc
cmp dword [esi + 0x14], edi
je 0x78af02d8
push 0x3c
call sym.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x78af02c9
push edi
mov ebx, esi
mov edi, eax
call fcn.78ae62a2
jmp 0x78af02cb
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ebx, eax
mov esi, eax
call fcn.78ae63b0
mov eax, esi
jmp 0x78af02de
xor eax, eax
call fcn.78ab736d
ret 4

Function at 0x78af4e9f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebx
push 0x78af4f30
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x78af4f2c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x78af4f4c
push ebx
call esi
mov ecx, dword [0x78b53518]
push 0x78af4f60
xor ecx, eax
push ebx
mov dword [edi], ecx
call esi
mov ecx, dword [0x78b53518]
push 0x78af4f78
xor ecx, eax
push ebx
mov dword [edi + 4], ecx
call esi
mov ecx, dword [0x78b53518]
push 0x78af4f84
xor ecx, eax
push ebx
mov dword [edi + 8], ecx
call esi
mov ecx, dword [0x78b53518]
push 0x78af4f9c
xor ecx, eax
push ebx
mov dword [edi + 0xc], ecx
call esi
mov ecx, dword [0x78b53518]
push 0x78af4fb0
xor ecx, eax
push ebx
mov dword [edi + 0x10], ecx
call esi
mov ecx, dword [0x78b53518]
xor ecx, eax
mov dword [edi + 0x14], ecx
pop esi
mov eax, edi
pop ebx
ret
Function at 0x78af8304
Capabilities:
Get thread local storage value
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x78b52610]
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.78aedd3a
push dword [0x78b569bc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x78af8354
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.78ab1180
leave
ret
test esi, esi
je 0x78af83b1
cmp dword [esi + 0x1c], 0
je 0x78af83b1
mov eax, dword [esi + 0x18]
test eax, eax
je 0x78af836a
mov edi, dword [eax + 0x6c]
jmp 0x78af836d
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 0x78af8418
lea eax, [ebp - 0x808]
push 0x400
push eax
call sym.MSVCR100.dll_swprintf_s
add esp, 0x2c
jmp 0x78af83d6
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x78af8480
lea eax, [ebp - 0x808]
push 0x400
push eax
call sym.MSVCR100.dll_swprintf_s
add esp, 0x1c
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x808]
push eax
push dword [0x78b5351c]
call sym.MSVCR100.dll_fwprintf
push dword [0x78b5351c]
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 sym.MSVCR100.dll_exit
int3

Function at 0x78af84d4
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x78b52610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea ebx, [ebp - 0x808]
call fcn.78af8752
xor eax, eax
pop ecx
mov word [ebp - 8], ax
pop ecx
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, ebx
push eax
call sym.MSVCR100.dll___iob_func
add eax, 0x40
push eax
call sym.MSVCR100.dll_fwprintf
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.78ab1180
leave
ret
Function at 0x78af852d
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x78b52610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x78b56a50]
test dword [ebp + 8], eax
je 0x78af85c2
push ebx
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea ebx, [ebp - 0x808]
call fcn.78af8752
xor eax, eax
pop ecx
mov word [ebp - 8], ax
mov eax, dword [0x78b5351c]
pop ecx
pop ebx
test eax, eax
je 0x78af85b5
lea ecx, [ebp - 0x808]
push ecx
push eax
call sym.MSVCR100.dll_fwprintf
pop ecx
pop ecx
push 0
push 0x32
push dword [0x78b56a5c]
push dword [0x78b56a58]
call fcn.78ac71d0
add dword [0x78b56a58], 1
adc dword [0x78b56a5c], 0
or eax, edx
jne 0x78af85c2
push dword [0x78b5351c]
call sym.MSVCR100.dll_fflush
pop ecx
jmp 0x78af85c2
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.78ab1180
leave
ret

Function at 0x78af86b9
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor ecx, ecx
sub esp, 0x14
mov eax, 0x78b56a54
inc ecx
lock xadd dword [eax], ecx
inc ecx
cmp ecx, 1
jne 0x78af86e4
call fcn.78af862c
xor ecx, ecx
mov eax, 0x78b5535c
inc ecx
lock xadd dword [eax], ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x78af872a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x78af8713
and eax, 0xffff
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x14]
call sym.MSVCR100.dll_public:_void___thiscall_Concurrency::scheduler_resource_allocation_error::constructor_long_int_
push 0x78b4f91c
lea eax, [ebp - 0x14]
push eax
call sym.MSVCR100.dll__CxxThrowException
leave
ret

Function at 0x78afc311
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 0x78afc338
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 0x78afc38d
test dword [ebp + 0xc], 0xfffffff9
jne 0x78afc31e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78afc365
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MSVCR100.dll__dosmaperr
pop ecx
call sym.MSVCR100.dll__errno
mov eax, dword [eax]
jmp 0x78afc38d
test al, 0x10
jne 0x78afc38b
test al, 1
je 0x78afc38b
test byte [ebp + 0xc], 2
je 0x78afc38b
call sym.MSVCR100.dll___doserrno
mov dword [eax], 5
call sym.MSVCR100.dll__errno
mov dword [eax], 0xd
jmp 0x78afc35c
xor eax, eax
pop esi
pop ebp
ret
Function at 0x78afc3a8
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 0x78afc3d0
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 0x78afc3ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MSVCR100.dll__dosmaperr
pop ecx
jmp 0x78afc3cb
test byte [ebp + 0xc], 0x80
je 0x78afc3f8
and eax, 0xfffffffe
jmp 0x78afc3fb
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x78afc3de
xor eax, eax
pop ebp
ret

Function at 0x78afdd67
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 0x78afdd8f
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 0x78afddac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MSVCR100.dll__dosmaperr
pop ecx
jmp 0x78afdd8a
test byte [ebp + 0xc], 0x80
je 0x78afddb7
and eax, 0xfffffffe
jmp 0x78afddba
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x78afdd9d
xor eax, eax
pop ebp
ret

Function at 0x78b25eda
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, dword [eax + 0x3c]
add edi, eax
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.78b25cde
dec edi
cwde
xchg edx, eax
lodsd eax, dword [esi]
movzx eax, word [edi + 6]
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.78b25cde
je 0x78b25f83
lock adc byte [esi - 0x75], ah
inc edi
push es
cmp ax, bx
jbe 0x78b25f38
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x78b25f32
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x78b25f23
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.78b25cde
adc eax, 0x8df12370
inc ebp
test al, 0x50
jo 0x78b25fa8
int1
lea eax, [ebp - 0x58]
push eax
call fcn.78b25cee
mov esi, dword [ebp + 0xc]
push eax
push esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx