joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7c53e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x202000]
mov dword [edi + 0x2cd47c], 0x929b7f38
push edi
jmp 0x7c540a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7c5411
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7c5400
mov eax, 1
add ebx, ebx
jne 0x7c5423
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7c5434
jne 0x7c5453
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7c5453
dec eax
add ebx, ebx
jne 0x7c5440
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7c5418
add ebx, ebx
jne 0x7c544f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7c54a5
xor ecx, ecx
sub eax, 3
jb 0x7c546b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7c54da
sar eax, 1
mov ebp, eax
jmp 0x7c5476
add ebx, ebx
jne 0x7c5476
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7c5444
inc ecx
add ebx, ebx
jne 0x7c5484
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7c5444
add ebx, ebx
jne 0x7c5491
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7c5486
jne 0x7c54a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7c5486
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7c54c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7c54b6
jmp 0x7c5406
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7c54c4
add edi, ecx
jmp 0x7c5406
pop esi
mov edi, esi
mov ecx, 0xef8c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7c54e2
cmp byte [edi], 0x26
jne 0x7c54e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7c54e7
lea edi, [esi + 0x3b4000]
mov eax, dword [edi]
or eax, eax
je 0x7c555f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3e71c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3e739c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7c5514
mov ecx, edi
jns 0x7c5543
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3e73a4]
or eax, eax
je 0x7c5559
mov dword [ebx], eax
add ebx, 4
jmp 0x7c5531
call dword [esi + 0x3e73a0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x7c5590
cmp al, 0xef
ja 0x7c5583
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x7c5565
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x7c5572
mov ebp, dword [esi + 0x3e73a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x26f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7c55c4
sub esp, 0xffffff80
jmp 0x5c9f5a
Function at 0x4011b1
Capabilities:
Print debug messages
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push str.cn_c9gh.ini
push 0x406014
call fcn.00401000
push 0x406014
call sub.kernel32.dll_OutputDebugStringA
push 0x406014
push 0x100
push 0x4058b8
push 0
push str.name
push 0x40518c
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x406014
push 0
push str.data1
push 0x40519c
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x4058f8], eax
push 0x406014
push 0
push str.data2
push str.ghinfo
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x4058fc], eax
push 0x4058b8
call sub.kernel32.dll_OutputDebugStringA
leave
ret

Function at 0x401232
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push section..data
push 0x4051bc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
cmp dword [section..data], 0
jne 0x401257
leave
ret
push dword [0x405104]
push 0x405004
push 1
push 0
push 0x4051f8
push dword [section..data]
call sub.advapi32.dll_RegSetValueExA
or eax, eax
je 0x401287
push dword [section..data]
call sub.advapi32.dll_RegCloseKey
leave
ret
mov dword [ebp - 4], 1
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push 0x405208
push dword [section..data]
call sub.advapi32.dll_RegSetValueExA
or eax, eax
je 0x4012b9
push dword [section..data]
call sub.advapi32.dll_RegCloseKey
leave
ret
leave
ret

Function at 0x4012bb
Capabilities:
Print debug messages
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
mov dword [ebp - 4], 0
push section..data
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
cmp dword [section..data], 0
jne 0x4012e7
leave
ret
push 0
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.AppInit_DLLs
push dword [section..data]
call sub.advapi32.dll_RegSetValueExA
or eax, eax
je 0x401312
push dword [section..data]
call sub.advapi32.dll_RegCloseKey
leave
ret
push str.RegSetValueEx
call sub.kernel32.dll_OutputDebugStringA
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.LoadAppInit_Dlls
push dword [section..data]
call sub.advapi32.dll_RegSetValueExA
or eax, eax
je 0x401347
push dword [section..data]
call sub.advapi32.dll_RegCloseKey
leave
ret
leave
ret
Function at 0x40186d
Capabilities:
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0x405b08
call fcn.00403550
or eax, eax
je 0x401928
push 0x405b08
call fcn.004035a0
or eax, eax
je 0x401928
push 0x405b08
call fcn.004035e0
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0x40
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 4], eax
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x405b08
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0xc]
call sub.kernel32.dll_ReadFile
push dword [ebp - 0xc]
call fcn.00403398
push str.get_acc_list
call sub.kernel32.dll_OutputDebugStringA
mov edi, dword [ebp - 4]
lea eax, [edi]
push eax
call fcn.00403550
or eax, eax
je 0x401928
push 0
push 0
push 0x1004
push dword [0x4056a0]
call sub.user32.dll_SendMessageA
push edi
push eax
call fcn.0040164b
add edi, 0x1dc
jmp 0x4018f9
leave
ret

Function at 0x401ff1
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push str.DEL_:_s
push 0x4056ac
call sub.user32.dll_wsprintfA
add esp, 0xc
push 0x4056ac
call sub.kernel32.dll_OutputDebugStringA
pushal
cmp dword [0x4062f8], 0
je 0x4020d0
mov edi, dword [0x4062f4]
or edi, edi
je 0x4020d0
push edi
push dword [ebp + 8]
lea eax, [edi + 0xc]
push eax
call fcn.004034f0
pop edi
or eax, eax
je 0x4020c8
cmp dword [edi], 0
jne 0x40208a
cmp dword [edi + 4], 0
jne 0x40206c
push edi
call sub.kernel32.dll_GlobalFree
mov dword [0x4062f4], 0
mov dword [0x4062f8], 0
jmp 0x4020c8
push dword [edi + 4]
push edi
call sub.kernel32.dll_GlobalFree
pop edi
mov dword [0x4062f4], edi
mov dword [edi], 0
dec dword [0x4062f8]
jmp 0x4020c8
cmp dword [edi + 4], 0
jne 0x4020ab
mov edi, dword [edi]
push edi
push dword [edi + 4]
call sub.kernel32.dll_GlobalFree
pop edi
mov dword [edi + 4], 0
dec dword [0x4062f8]
jmp 0x4020c8
push dword [edi + 4]
mov edi, dword [edi]
push edi
push dword [edi + 4]
call sub.kernel32.dll_GlobalFree
pop edi
pop dword [edi + 4]
mov eax, dword [edi + 4]
mov dword [eax], edi
dec dword [0x4062f8]
mov edi, dword [edi + 4]
jmp 0x402027
popal
leave
ret 4

Function at 0x403988
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
jne 0x4039b3
xor eax, eax
leave
ret 0xc
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
push dword [ebp - 4]
call sub.kernel32.dll_FlushFileBuffers
push dword [ebp - 4]
call fcn.00403398
mov eax, dword [ebp - 8]
leave
ret 0xc
Function at 0x401a10
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
not edx
sub edx, 0x228f
cmp edx, 0xad
jne 0x401a81
not ecx
add ecx, 0x290a
not eax
add eax, 0xa1c
not edx
xor edx, 0x27e
not eax
sub eax, 0x2ab
test edx, edx
jne 0x401a75
test eax, eax
jne 0x401a61
xor edx, 0x2bd4
and edx, 0x13b0
sub ecx, 0x3561
not edx
or edx, 0xd3e
not eax
and eax, 0x1d16
sub eax, 0x2160
sub eax, 0xf7d
not edx
xor edx, 0xfed
add edx, dword [ebp - 0x15c]
xor edx, 0x2157
test eax, eax
jne 0x401aae
sub ecx, 0x38ff
sub dword [ebp - 0x18], eax
not eax
xor eax, 0x3c3b
sub ecx, dword [ebp - 0x68]
or dword [ebp - 0x28], ecx
or edx, dword [ebp - 0xd4]
not edx
xor edx, 0x320c
or edx, dword [ebp - 0xe0]
add dword [ebp - 0x244], eax
not edx
and edx, 0xf2d
cmp edx, dword [ebp - 4]
je 0x401aef
or ecx, 0x1f05
xor ecx, 0x13d2
not edx
add edx, 0x111c
and dword [ebp - 0x144], edx
sub eax, 0x1fed
sub dword [ebp - 0x18], edx
not edx
xor edx, 0x193d
xor dword [ebp - 0xe4], edx
add dword [ebp - 0x1d0], eax
or dword [ebp - 0x144], eax
not eax
sub eax, 0x3fb2
sub dword [ebp - 0x90], eax
not eax
or eax, 0x228b
lea eax, [ebp - 0xdc]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
xor dword [ebp - 0x23c], eax
cmp dword [ebp - 0x248], edx
je 0x401be4
xor dword [ebp - 0x110], eax
xor eax, dword [ebp - 0x12c]
not ecx
xor ecx, 0x3340
and edx, 0x11dc
sub eax, 0x11dc
not eax
sub eax, 0x1de3
xor dword [ebp - 0x1a8], eax
cmp edx, eax
je 0x401bd8
add dword [ebp - 0x160], edx
not eax
or eax, 0x3117
not ecx
and ecx, 0xe5
test ecx, ecx
je 0x401bef
xor dword [ebp - 0x208], eax
sub ecx, 0x2692
test eax, eax
jne 0x401bc2
xor eax, dword [ebp - 0x1ec]
or eax, 0x3cce
sub edx, 0x1624
add dword [ebp - 0x14], edx
and ecx, 0x3e47
or dword [ebp - 0xf8], ecx
not eax
add eax, 0x3bc7
add dword [ebp - 0x28], eax
sub ecx, dword [ebp - 0x20]
or ecx, 0x3171
and eax, 0x247d
or dword [ebp - 0x1c4], eax
sub edx, 0x37ec
not ecx
sub ecx, 0x74f
or ecx, 0x1ef
not eax
sub eax, 0x4c
and eax, 0x1c
push eax
call dword [sym.imp.USER32.dll_GetDC]
sub dword [ebp - 0x1cc], edx
xor edx, 0xc3a
cmp ecx, dword [ebp - 0x1c]
je 0x401ca9
sub ecx, dword [ebp - 0x1bc]
add eax, dword [ebp - 0x2c]
cmp ecx, edx
jne 0x401cc6
and ecx, dword [ebp - 0xac]
add edx, 0x18da
add dword [ebp - 0x124], edx
xor ecx, 0x275e
cmp edx, eax
je 0x401cb6
and ecx, 0x35ab
add eax, dword [ebp - 0x11c]
or dword [ebp - 0x1b8], ecx
xor eax, 0x1f91
test edx, edx
jne 0x401cea
xor edx, 0x137f
and edx, 0x89b
add ecx, 0x89b
cmp eax, ecx
je 0x401c97
or dword [ebp - 0x204], eax
add eax, 0x2d9c
not edx
sub edx, 0x3b9a
add eax, 0x3b1
add edx, 0x30d7
not eax
xor eax, 0x38af
not edx
and edx, 0xe89
not edx
xor edx, 0x3ea6
xor dword [ebp - 0x204], ecx
sub ecx, dword [ebp - 0x1fc]
and ecx, dword [ebp - 0xf4]
and dword [ebp - 0x164], ecx
xor ecx, dword [ebp - 0x228]
sub ecx, 0x3c82
add edx, 0x3dfb
leave
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x40c4e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [ebp + 0xc]
call fcn.0040c4a7
push 0xc
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00408ca3
xor esi, esi
lea edx, [ebp + esi - 0xc]
call fcn.0040c42d
xor byte [edx], al
movzx eax, byte [edx]
push eax
call fcn.0040c44d
inc esi
cmp esi, 0xc
jl 0x40c4ff
movzx ax, byte [ebp - 1]
movzx ecx, ax
mov eax, dword [0x410550]
test byte [eax + 0x28], 2
movzx eax, byte [0x4205bf]
jne 0x40c53a
movzx eax, byte [0x4205c7]
movzx ecx, cx
cmp ecx, eax
je 0x40c546
or eax, 0xffffffff
jmp 0x40c58b
mov ecx, dword [0x420568]
mov eax, ecx
cdq
cmp edx, dword [0x40f924]
push edi
jl 0x40c568
mov edx, dword [0x40f920]
jg 0x40c564
cmp eax, edx
jbe 0x40c568
mov edi, edx
jmp 0x40c56a
mov edi, ecx
mov esi, dword [0x420560]
jmp 0x40c584
dec edi
call fcn.0040c42d
xor byte [esi], al
movzx eax, byte [esi]
push eax
call fcn.0040c44d
inc esi
test edi, edi
jne 0x40c572
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403cf8
nop
nop
sub eax, 0x403c9e
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp int.00401219
Function at 0x788075f1
Capabilities:
Get thread local storage value

Disassembly:
shr eax, 3
jmp 0x78807630
mov edi, edi
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
mov ebx, dword [esi]
cmp ebx, 0xffffffff
je 0x78809ea5
test bl, 4
je 0x78809ea5
test bl, 1
jne 0x78807fa5
push dword [0x78918190]
call dword [sym.imp.kernel32.dll_TlsGetValue]
push eax
push ebx
mov ecx, edi
call fcn.788fe6ae
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret
add ebx, 8
mov dword [esi], ebx
mov eax, ebx
jmp 0x788075ec
push eax
mov ecx, edi
call fcn.788fe6ae
cmp eax, 0xffffffff
jne 0x788075ec
push esi
call fcn.788fe6ae
jmp 0x78809e94

Function at 0x78809964
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x7891e1e4]
jne 0x788b001d
test ecx, 0xffff0000
jne 0x788b001d
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x320
push edi
mov dword [0x7892cdd8], eax
mov dword [0x7892cdd4], ecx
mov dword [0x7892cdd0], edx
mov dword [0x7892cdcc], ebx
mov dword [0x7892cdc8], esi
mov dword [0x7892cdc4], edi
mov word [0x7892cdf0], ss
mov word [0x7892cde4], cs
mov word [0x7892cdc0], ds
mov word [0x7892cdbc], es
mov word [0x7892cdb8], fs
mov word [0x7892cdb4], gs
pushfd
pop dword [0x7892cde8]
mov eax, dword [ebp + 4]
lea ecx, [ebp + 4]
add ecx, 4
mov dword [0x7892cdec], ecx
mov dword [0x7892cde0], eax
mov dword [0x7892cd28], 0x10001
lea ecx, [ebp + 4]
mov ecx, dword [ecx - 4]
mov dword [0x7892cce4], eax
mov eax, dword [0x7891e1e4]
mov dword [ebp - 4], eax
mov eax, dword [0x789245f8]
xor edi, edi
inc edi
mov dword [ebp - 4], eax
push 0
mov dword [0x7892cddc], ecx
mov dword [0x7892ccd8], 0xc0000409
mov dword [0x7892ccdc], edi
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x788b0100
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
push 0xc0000409
mov dword [ebp - 0x320], edi
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
pop edi
leave
ret

Function at 0x7880f880
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebx
push edi
mov edi, ecx
lea ecx, [edi + 4]
mov ebx, dword [ecx]
cmp ebx, 0xffffffff
je 0x7880f988
test bl, 4
je 0x7880f988
sub ebx, 8
test ebx, 1
je 0x7888fa46
mov eax, ebx
shr eax, 3
jne 0x7880f9e2
push esi
push dword [0x78918190]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
cmp byte [esi + 0x1c], 0
je 0x78811148
cmp byte [esi + 0x1d], 0
je 0x7880f8e6
push ebx
mov ecx, edi
call fcn.788fe6ae
test eax, eax
jne 0x78811148
mov eax, dword [esi + 0x48]
cmp eax, 0x200
jae 0x78811148
inc eax
mov dword [esi + 0x48], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
dec dword [esi + 0x48]
mov eax, dword [edi]
mov ecx, edi
mov dword [edi + 4], 7
call dword [eax + 0x18]
xor eax, eax
pop esi
pop edi
pop ebx
ret
push ecx
call fcn.788fe6ae
push eax
mov ecx, edi
call fcn.788fe6ae
jmp 0x7880f913
mov dword [ecx], ebx
jmp 0x7880f913
push esi
and ebx, 2
push ebx
mov ecx, edi
call fcn.788fe6ae
jmp 0x7880f910
and dword [0], 0
xor eax, eax
jmp 0x7880f913
Function at 0x7880fb38
Capabilities:
Get thread local storage value

Disassembly:
call fcn.788072a6
test eax, eax
jne fcn.788075f1
push esi
lea esi, [ecx + 4]
push esi
call fcn.788fe6ae
add eax, 8
mov dword [esi], eax
shr eax, 3
pop esi
ret

Function at 0x7881069d
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push esi
lea esi, [ecx + 4]
cmp dword [esi], 8
jb 0x788a3720
mov eax, dword [esi]
test al, 4
je 0x7881072a
add eax, 0xfffffff8
mov dword [esi], eax
shr eax, 3
pop esi
ret
push 0xfffffffffffffff8
push esi
call dword [0x7891e1e0]
sub eax, 8
jmp 0x788106b7
push 0x788a3738
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
and dword [0], 0
jmp 0x788106ac

Function at 0x78810c6f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
call fcn.788de13e
mov dword [edi], 0x78810dac
pop edi
mov dword [esi], 0x78810d70
mov dword [esi + 8], 0x78810d60
mov dword [esi + 0x10], 0x78810d5c
mov dword [esi + 0x1c], 0x78810d20
mov dword [esi + 0x20], 0x78810d00
mov dword [esi + 0x24], 0x78810cec
mov dword [esi + 0x28], 0x78810cd4
mov dword [esi + 0x2c], 0x78810cc8
mov dword [esi + 0x50], 1
mov eax, esi
pop esi
ret

Function at 0x78811159
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push esi
push dword [0x78918190]
mov esi, ecx
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov eax, dword [eax + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
or eax, 8
mov dword [esi + 4], eax
mov eax, esi
pop esi
ret

Function at 0x78811dd0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [esi + 0x3c]
call fcn.788fe6ae
push ebx
lea ecx, [esi + 0x40]
call fcn.788fe6ae
push ebx
lea ecx, [esi + 0x44]
call fcn.788fe6ae
push ebx
lea ecx, [esi + 0x4c]
call fcn.788fe6ae
push ebx
lea ecx, [esi + 0x50]
call fcn.788fe6ae
push ebx
lea ecx, [esi + 0x54]
call fcn.788fe6ae
mov ecx, dword [esi + 0x58]
cmp ecx, ebx
jne 0x788a7350
push ebx
lea ecx, [esi + 0x5c]
mov dword [esi + 0x58], ebx
call fcn.788fe6ae
push ebx
lea ecx, [esi + 0x48]
call fcn.788fe6ae
push ebx
lea ecx, [esi + 0x60]
call fcn.788fe6ae
push ebx
lea ecx, [esi + 0x64]
call fcn.788fe6ae
push ebx
lea ecx, [esi + 0x38]
call fcn.788fe6ae
push ebx
lea ecx, [esi + 0x70]
call fcn.788fe6ae
push ebx
lea ecx, [esi + 0x68]
call fcn.788fe6ae
lea ecx, [esi + 0xc]
call fcn.78811db7
lea ecx, [esi + 0x1c]
call fcn.78811db7
mov byte [esi + 0x2c], bl
mov byte [esi + 0x2f], bl
mov byte [esi + 0x2d], bl
mov dword [esi + 0x6c], ebx
push dword [0x78918190]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
mov ecx, dword [edi + 0x50]
cmp ecx, ebx
je 0x78811e96
cmp dword [ecx + 0x10], esi
je 0x78862aa1
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x50], ebx
jmp 0x78811e96
push 1
call fcn.788fe6ae
jmp 0x78811e1a
Function at 0x788147ff
Capabilities:
Get thread local storage value

Disassembly:
push 0x3c
push 0x788148a0
call fcn.78801330
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push dword [0x78918190]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x28], eax
xor edi, edi
inc edi
push edi
lea ecx, [ebp - 0x4c]
call fcn.788fe6ae
mov dword [ebp - 4], ebx
push dword [ebp - 0x28]
mov ecx, dword [0x7891e294]
call fcn.788fe6ae
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x788148ac
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x78890ac0
push dword [ebp + 0x10]
push eax
mov ecx, dword [0x7891e29c]
call fcn.78807a8e
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x78814870
mov ecx, dword [0x7891e298]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7891e294]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x20], ebx
je 0x788823ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.7880cf41
mov eax, dword [ebp - 0x20]
call fcn.78801370
ret 0xc
mov ecx, dword [0x7891e29c]
mov dword [ebp - 0x2c], ecx
push esi
call fcn.788fe6ae
jmp 0x78814860
mov eax, dword [esi + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x34], ecx
push eax
push ebx
push ecx
call fcn.788fe6ae
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
jmp 0x78882401
cmp esi, ebx
jne 0x788824f4
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
call fcn.788fe6ae
mov dword [ebp - 0x24], eax
push 0x18
call fcn.788fe6ae
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov edi, dword [ebp - 0x24]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
push eax
push edi
mov ecx, esi
call fcn.788fe6ae
mov edi, eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x28]
mov ecx, dword [0x7891e294]
call fcn.788fe6ae
mov dword [ebp - 0x1c], 2
push edi
push dword [ebp - 0x24]
mov ecx, dword [0x7891e29c]
call fcn.788fe6ae
mov esi, eax
mov dword [ebp - 0x40], esi
mov eax, dword [0x7891e298]
mov dword [esi + 0xc], eax
mov ecx, dword [0x7891e294]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [ebp - 0x1c], ebx
cmp esi, edi
jne 0x78890aca
mov dword [ebp - 0x20], esi
jmp 0x78814887
mov ecx, esi
call fcn.7880cf79
cmp eax, edi
jne 0x78837eb2
mov dword [ebp - 0x24], esi
jmp 0x78882401
mov eax, 0x78811004
jmp 0x78814851
push ebx
lea ecx, [edi + 0x10]
call fcn.788fe6ae
mov ecx, edi
call fcn.788b0cb6
jmp 0x7888246f
Function at 0x788148d2
Capabilities:
Get thread local storage value

Disassembly:
push 0x38
push 0x78814970
call fcn.78801330
and dword [ebp - 0x1c], 0
push dword [0x78918190]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x20], eax
xor ebx, ebx
inc ebx
push ebx
lea ecx, [ebp - 0x48]
call fcn.788fe6ae
and dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3c], edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x38], esi
push dword [ebp - 0x20]
mov ecx, dword [0x7891e290]
call fcn.788fe6ae
mov dword [ebp - 0x1c], ebx
push 4
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [0x7891e2a0]
call fcn.78807a8e
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x78814940
mov eax, dword [0x7891e298]
mov dword [ebx + 0xc], eax
mov ecx, dword [0x7891e290]
mov eax, dword [ecx]
call dword [eax + 0x18]
and dword [ebp - 0x1c], 0
test ebx, ebx
je 0x78882477
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.7880cf41
mov eax, ebx
call fcn.78801370
ret 8
push 4
lea eax, [ebp - 0x3c]
push eax
call fcn.788fe6ae
mov dword [ebp - 0x24], eax
push 0x1c
call fcn.788fe6ae
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
push dword [ebp - 0x24]
push esi
push edi
mov ecx, eax
call fcn.788fe6ae
mov edi, eax
mov dword [ebp - 0x28], edi
push dword [ebp - 0x20]
mov ecx, dword [0x7891e290]
call fcn.788fe6ae
mov dword [ebp - 0x1c], 2
push edi
push dword [ebp - 0x24]
mov ecx, dword [0x7891e2a0]
call fcn.788fe6ae
mov esi, eax
mov dword [ebp - 0x34], esi
mov eax, dword [0x7891e298]
mov dword [esi + 0xc], eax
mov ecx, dword [0x7891e290]
mov eax, dword [ecx]
call dword [eax + 0x10]
and dword [ebp - 0x1c], ebx
cmp esi, edi
jne 0x78890583
mov ebx, esi
mov dword [ebp - 0x28], ebx
jmp 0x78814957
push ebx
lea ecx, [edi + 0x18]
call fcn.788fe6ae
mov ecx, edi
call fcn.788b0cb6
jmp 0x788824ea

Function at 0x788152e0
Capabilities:
Get thread local storage value

Disassembly:
call fcn.788072a6
test eax, eax
jne fcn.7880f880
push esi
lea esi, [ecx + 4]
push esi
call fcn.788fe6ae
sub eax, 8
mov dword [esi], eax
shr eax, 3
pop esi
ret

Function at 0x788162a7
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
cmp eax, 0xffffffff
mov dword [esi], 0x78807fe8
mov dword [esi + 4], 0x78809f00
je 0x788162d8
cmp byte [esi + 0x58], 0
jne 0x788a4694
push dword [esi + 0x54]
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [esi + 0x54], 0xffffffff
mov ecx, esi
pop esi
push eax
call dword [sym.imp.kernel32.dll_SetEndOfFile]
push dword [esi + 0x54]
call dword [sym.imp.kernel32.dll_FlushFileBuffers]
jmp 0x788162cb