joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61cde5
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6903a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x7df440
mov dword [esp + 0x14], 1
call fcn.0061d10a
mov eax, dword [esi + 0x38]
push eax
mov dword [esp + 0xc], eax
call fcn.00673d19
xor edi, edi
add esp, 4
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov eax, dword [esi + 0x28]
push eax
mov dword [esp + 0xc], eax
call fcn.00673d19
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret

Function at 0x61faed
Capabilities:
Access peb ldr_data
Get ntdll base address
Swap mouse buttons

Disassembly:
push 0xffffffffffffffff
push 0x690628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0061f24e
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea eax, [esp + 0x10]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
push ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
push eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 0x3f800000
push ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
push 3
mov dword [esp + 0x34], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x60], bl
mov dword [esi], 0x7df4f4
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], eax
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov edi, dword [sym.imp.USER32.dll_SwapMouseButton]
push ebx
mov dword [esi + 0x44], eax
call edi
test eax, eax
je 0x61fb9e
push 1
mov byte [esi + 0x60], 1
call edi
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x63a74c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x63a757
xor eax, eax
ret
mov eax, dword [esp + 4]
push edi
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
push ebx
not eax
jb 0x63a859
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x7df654]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x7df654]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x7df654]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x7df654]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x7df654]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x7df654]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x7df654]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x7df654]
xor eax, edx
inc ecx
dec edi
jne 0x63a772
test esi, esi
je 0x63a87b
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x7df654]
xor eax, edx
inc ecx
dec esi
jne 0x63a85d
pop ebx
pop esi
not eax
pop edi
ret
Function at 0x64231c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x690a28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x10]
mov dword [esi], 0x7dfc8c
mov dword [edi], 0x7dfca4
mov eax, dword [esi + 0x30]
mov dword [esp + 0x18], 1
test eax, eax
je 0x642363
push eax
call fcn.00673d19
add esp, 4
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.0061f371
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0061d8af
mov ecx, dword [esp + 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret

Function at 0x64565f
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x690ab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov dword [esp], 0x7dfd54
mov dword [esp + 0x18], eax
call fcn.006455a5
lea ecx, [esp]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x64a48c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x690b58
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 4]
sub esp, 0x14
test eax, eax
je 0x64a516
add eax, 0x38
push esi
push eax
lea ecx, [esp + 8]
call fcn.005fbd25
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 4]
push eax
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0
call dword [edx + 0x20]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x28]
push eax
push ecx
push edx
push esi
call fcn.006505f0
mov ecx, eax
call fcn.00650bb4
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.005fbe5e
mov eax, esi
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov dword [eax], 0xffffffff
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10

Function at 0x64eab4
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x690ddb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp eax, 0xc
mov byte [esi + 0x38], bl
push edi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x39], bl
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x4c], ebx
mov dword [esp + 0xc], 0xc
lea eax, [esp + 0x20]
jb 0x64eb08
lea eax, [esp + 0xc]
mov eax, dword [eax]
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], eax
mov dword [esi], 0x7e0c14
lea eax, [eax*4 + 4]
push eax
call fcn.006749d4
add esp, 4
lea ecx, [esi + 4]
mov dword [esi + 0x34], eax
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x424
call fcn.006749d4
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x64eb6b
push fcn.0064f546
push fcn.0064f52e
lea edi, [eax + 4]
push 0xc
push 0x58
push edi
mov dword [eax], 0xc
call fcn.006759d6
jmp 0x64eb6d
xor edi, edi
push 0x30
mov dword [esp + 0x1c], 0xffffffff
mov dword [esi + 0x40], edi
call fcn.006749d4
mov ecx, dword [esi + 0x50]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x44], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
push 0x64eaab
call fcn.0067809e
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x65158c
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x690ff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.005fa64b
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x28]
push 0
push reloc.DSOUND.dll_DirectSoundCreate
push edx
lea edx, [esp + 0x10]
lea ecx, [esi + 0x28]
push edx
lea edx, [esp + 0x30]
mov dword [esp + 0x24], 0
push edx
call dword [eax + 0xc]
cmp dword [eax], 0
jl 0x6515f6
lea eax, [esp + 4]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.00650f87
lea ecx, [esp + 4]
call fcn.005fa689
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0
call fcn.005fa679
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 8

Function at 0x651748
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x691018
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.005fa64b
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x28]
push 0
push reloc.DSOUND.dll_DirectSoundCreate
push edx
lea edx, [esp + 0x10]
lea ecx, [esi + 0x28]
push edx
lea edx, [esp + 0x30]
mov dword [esp + 0x24], 0
push edx
call dword [eax + 0xc]
cmp dword [eax], 0
jl 0x6517cd
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.00651625
cmp dword [eax], 0
lea ecx, [esp + 4]
jl 0x6517c8
call fcn.005fa689
mov esi, dword [esp + 0x1c]
mov dword [esi], 0
jmp 0x6517d7
call fcn.005fa689
mov esi, dword [esp + 0x1c]
mov dword [esi], 0xffffffff
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.005fa679
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0xc

Function at 0x651c6b
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x691078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 0x10]
call fcn.005fbd25
xor eax, eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 4]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.0065308e
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.005fbe5e
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
add eax, 0x20
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret 4
Function at 0x651cd9
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6910a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov al, byte [esp + 0x40]
push ebx
push esi
mov esi, ecx
mov cl, byte [esp + 0x48]
xor ebx, ebx
mov byte [esp + 0x15], cl
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
mov byte [esp + 0x1c], bl
call fcn.00655194
mov edx, dword [esp + 0x48]
mov cl, byte [esp + 0x14]
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
mov eax, dword [edx]
mov dl, byte [esp + 0x15]
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov byte [esp + 0x29], dl
mov byte [esp + 0x30], al
call fcn.00655194
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00654f9c
lea edx, [esp + 0x24]
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x48], 1
call fcn.006537fd
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x48]
push ecx
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], bl
call fcn.00652545
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.006540c3
mov edx, dword [esp + 0x2c]
push edx
call fcn.00673d19
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
call fcn.00674237
mov eax, dword [0x783aa8]
dec eax
mov dword [0x783aa8], eax
jne 0x651dce
mov eax, dword [0x783aa4]
push eax
call fcn.00673d19
add esp, 4
mov dword [0x783aa4], ebx
lea ecx, [esp + 0x48]
call fcn.006742f7
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], 0xffffffff
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x4c]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.006540c3
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00673d19
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
call fcn.00674237
mov eax, dword [0x783aa8]
dec eax
mov dword [0x783aa8], eax
jne 0x651e34
mov eax, dword [0x783aa4]
push eax
call fcn.00673d19
add esp, 4
mov dword [0x783aa4], ebx
lea ecx, [esp + 0x48]
call fcn.006742f7
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
pop esi
mov dword fs:[0], ecx
lea eax, [edx + 0x10]
pop ebx
add esp, 0x3c
ret 4
Function at 0x65bd39
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6917b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00669422
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x60]
lea ecx, [esi + 0x3c]
mov dword [esi + 0x38], eax
push ecx
mov dword [esi], 0x7e111c
call edi
lea edx, [esp + 0x10]
mov dword [esp + 0x28], 0
push edx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [0x783bbc], esi
call edi
lea ecx, [esp + 0xc]
call fcn.00669611
mov ecx, dword [esp + 0x50]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x54
ret 4
Function at 0x6762d9
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 0x74
push 1
xor edi, edi
call fcn.00677ff3
mov esi, eax
add esp, 8
test esi, esi
je 0x676339
push esi
call fcn.006799fa
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x10]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x14]
push eax
push esi
push 0x676354
push ecx
push edx
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x676351
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call fcn.00677cfb
add esp, 4
test edi, edi
je 0x67634f
push edi
call fcn.0067cc1f
add esp, 4
xor eax, eax
pop edi
pop esi
ret

Function at 0x676438
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x67644f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x676451
xor eax, eax
test eax, eax
je 0x676462
push eax
call fcn.0067cc1f
add esp, 4
or eax, 0xffffffff
ret
xor eax, eax
ret

Function at 0x676d22
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.00676dd4
mov eax, dword [0x783ca4]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x676d46
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x783ca0], 1
mov byte [0x783c9c], bl
jne 0x676da0
mov ecx, dword [0x7853ac]
test ecx, ecx
je 0x676d8e
mov esi, dword [0x7853a8]
sub esi, 4
cmp esi, ecx
jb 0x676d8e
mov eax, dword [esi]
test eax, eax
je 0x676d87
call eax
mov ecx, dword [0x7853ac]
sub esi, 4
cmp esi, ecx
jae 0x676d79
push 0x79a368
push 0x79a360
call fcn.00676dea
add esp, 8
push 0x79a374
push 0x79a36c
call fcn.00676dea
add esp, 8
test ebx, ebx
je 0x676dbf
call fcn.00676ddf
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x783ca4], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x677deb
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7e8944
push 0x678c70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x783c74], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x783c70], ecx
shl ecx, 8
add ecx, edx
mov dword [0x783c6c], ecx
shr eax, 0x10
mov dword [0x783c68], eax
call fcn.0067dbd5
test eax, eax
jne 0x677e55
push 0x1c
call fcn.00677fc3
add esp, 4
call fcn.0067999e
test eax, eax
jne 0x677e68
push 0x10
call fcn.00677fc3
add esp, 4
mov dword [ebp - 4], 0
call fcn.0068032a
call fcn.0068031f
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x7853a4], eax
call fcn.0067fcd4
mov dword [0x783ce8], eax
test eax, eax
je 0x677e9b
mov eax, dword [0x7853a4]
test eax, eax
jne 0x677ea5
push 0xffffffffffffffff
call fcn.00676cfe
add esp, 4
call fcn.0067fa24
call fcn.0067f936
call fcn.00676cce
mov esi, dword [0x7853a4]
mov dword [ebp - 0x64], esi
cmp byte [esi], 0x22
jne 0x677f84
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
cmp al, 0x22
je 0x677eec
test al, al
je 0x677eec
and eax, 0xff
push eax
call fcn.0067f8ea
add esp, 4
test eax, eax
je 0x677ec6
inc esi
mov dword [ebp - 0x64], esi
jmp 0x677ec6
cmp byte [esi], 0x22
jne 0x677ef5
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
test al, al
je 0x677f05
cmp al, 0x20
ja 0x677f05
inc esi
mov dword [ebp - 0x64], esi
jmp 0x677ef5
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x677f26
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x677f2b
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00401020
mov dword [ebp - 0x60], eax
push eax
call fcn.00676cfe
jmp 0x677f69
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x677ef5
inc esi
mov dword [ebp - 0x64], esi
jmp 0x677f84

Function at 0x677fc3
Capabilities:
Terminate process

Disassembly:
cmp dword [0x783cf0], 1
jne 0x677fd1
call fcn.00680536
mov eax, dword [esp + 4]
push eax
call fcn.00680573
add esp, 4
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x67809e
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push edi
push 0x74
push 1
xor edi, edi
call fcn.00677ff3
mov esi, eax
add esp, 8
test esi, esi
je 0x6780fd
push esi
call fcn.006799fa
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], ecx
push esi
push 4
push esi
push 0x67811e
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
mov dword [esi + 4], edi
je 0x6780f5
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x678119
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call fcn.00677cfb
add esp, 4
test edi, edi
je 0x678113
push edi
call fcn.0067cc1f
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
ret
mov eax, edi
pop edi
pop esi
ret

Function at 0x67999e
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.00678dab
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x7d5300], eax
je 0x6799f6
push 0x74
push 1
call fcn.00677ff3
mov esi, eax
add esp, 8
test esi, esi
je 0x6799f6
mov eax, dword [0x7d5300]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x6799f6
push esi
call fcn.006799fa
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x679a0d
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x7d5300]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x679a7b
push 0x74
push 1
call fcn.00677ff3
mov esi, eax
add esp, 8
test esi, esi
je 0x679a71
mov ecx, dword [0x7d5300]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x679a71
push esi
call fcn.006799fa
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret
push 0x10
call fcn.00677f93
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret
Function at 0x679a87
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x7d5300]
cmp eax, 0xffffffff
je 0x679b36
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x679aab
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x679b27
mov eax, dword [esi + 0x24]
test eax, eax
je 0x679abb
push eax
call fcn.00677cfb
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x679acb
push eax
call fcn.00677cfb
add esp, 4
mov eax, dword [esi + 0x30]
test eax, eax
je 0x679adb
push eax
call fcn.00677cfb
add esp, 4
mov eax, dword [esi + 0x38]
test eax, eax
je 0x679aeb
push eax
call fcn.00677cfb
add esp, 4
mov eax, dword [esi + 0x40]
test eax, eax
je 0x679afb
push eax
call fcn.00677cfb
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x679b0b
push eax
call fcn.00677cfb
add esp, 4
mov eax, dword [esi + 0x50]
cmp eax, 0x7d5898
je 0x679b1e
push eax
call fcn.00677cfb
add esp, 4
push esi
call fcn.00677cfb
add esp, 4
mov eax, dword [0x7d5300]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
ret