joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006967
Capabilities:
Create thread
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push str.Hack_detected:__s_n
call fcn.10004b4a
push 0xd0
call fcn.100137c4
mov edi, eax
mov ecx, esi
add esp, 0xc
mov dword [edi], 3
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006995
sub ecx, edx
mov dword [edi + 4], ecx
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100069a6
sub ecx, edx
lea ebx, [edi + 8]
push ecx
push esi
push ebx
call fcn.100136a0
push 0x10
lea eax, [edi + 0x6c]
push 0x100428e4
push eax
call fcn.100136a0
add esp, 0x18
push 0
push 0xd0
push edi
push dword [0x10041410]
call dword [sym.imp.WS2_32.dll_send]
push edi
mov esi, eax
call fcn.100130a4
push 2
call fcn.10007510
pop ecx
pop ecx
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0xffffffff
jne 0x10006a0d
push str.Error_on_send_cheat_packet.
call fcn.10006f00
pop ecx
push 2
push dword [0x10041410]
call dword [sym.imp.WS2_32.dll_shutdown]
push str.Ending_because_of_cheat_detection.
call fcn.10006f00
push ebx
call fcn.10006f00
pop ecx
pop ecx
xor eax, eax
push eax
push eax
push eax
push 0x1000644c
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10006a44
Capabilities:
Create thread
Send data
Send data on socket

Disassembly:
push 0
mov eax, 0x100292c4
call fcn.10009248
and dword [ebp - 4], 0
lea esi, [ebp + 8]
sub esp, 0x18
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str.Hack_detected:__s_n
call fcn.10004b4a
mov esi, 0xd0
push esi
call fcn.100137c4
mov edi, eax
mov dword [edi], 3
lea ebx, [edi + 8]
mov ecx, dword [ebp + 0x18]
mov dword [edi + 4], ecx
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
push dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push ecx
push ebx
call fcn.100136a0
push 0x10
lea eax, [edi + 0x6c]
push 0x100428e4
push eax
call fcn.100136a0
add esp, 0x38
push 0
push esi
push edi
push dword [0x10041410]
call dword [sym.imp.WS2_32.dll_send]
push edi
mov esi, eax
call fcn.100130a4
push 2
call fcn.10007510
pop ecx
pop ecx
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0xffffffff
jne 0x10006aeb
push str.Error_on_send_cheat_packet.
call fcn.10006f00
pop ecx
push 2
push dword [0x10041410]
call dword [sym.imp.WS2_32.dll_shutdown]
push str.Ending_because_of_cheat_detection.
call fcn.10006f00
push ebx
call fcn.10006f00
pop ecx
pop ecx
xor eax, eax
push eax
push eax
push eax
push 0x1000644c
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp + 8]
call fcn.10001ba2
call fcn.10009222
ret

Function at 0x10006b2b
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
jne 0x10006b44
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
inc eax
pop ebp
ret
Function at 0x10006e3f
Capabilities:
Create thread
Receive data
Receive data on socket

Disassembly:
call fcn.10006e53
call fcn.10008181
call fcn.10007645
jmp fcn.10006b54

Function at 0x1000729b
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100414a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x308]
xor ebx, ebx
push eax
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x308], ebx
push eax
push 1
push ebx
push ebx
mov dword [ebp - 0x30c], ebx
call sub.WTSAPI32.dll_WTSEnumerateProcessesW
test eax, eax
je 0x1000743b
push esi
push edi
mov edi, ebx
mov eax, dword [ebp - 0x30c]
mov esi, edi
add esi, esi
push 0x100
push dword [eax + esi*8 + 8]
lea eax, [ebp - 0x304]
push eax
call fcn.10013dc3
lea eax, [ebp - 0x204]
push eax
mov eax, dword [ebp - 0x30c]
push dword [eax + esi*8 + 4]
call fcn.100068b5
add esp, 0x14
test eax, eax
je 0x1000732a
lea eax, [ebp - 0x204]
push eax
push str.W_s
jmp 0x10007336
lea eax, [ebp - 0x304]
push eax
push str.B_s
lea eax, [ebp - 0x104]
push eax
call fcn.1000185e
add esp, 0xc
test edi, edi
jne 0x1000737a
mov esi, 0x88
push esi
call fcn.10008f36
pop ecx
mov ecx, eax
mov dword [ebp - 0x310], ecx
test ecx, ecx
je 0x10007369
mov dword [ecx], 0x27480088
jmp 0x1000736b
mov ecx, ebx
push 0x6e
pop eax
mov word [ecx + 4], ax
xor eax, eax
mov word [ecx + 6], ax
jmp 0x100073ab
cmp edi, dword [ebp - 0x308]
jne 0x100073b9
mov esi, 0x88
push esi
call fcn.10008f36
pop ecx
mov ecx, eax
mov dword [ebp - 0x310], ecx
test ecx, ecx
je 0x100073a2
mov dword [ecx], 0x27480088
jmp 0x100073a4
mov ecx, ebx
mov dword [ecx + 4], 0x14a
movsx eax, word [ecx]
push eax
push ecx
call fcn.1000762e
pop ecx
pop ecx
jmp 0x1000742c
cmp edi, 1
jb 0x1000742c
mov eax, dword [ebp - 0x308]
inc eax
cmp edi, eax
jae 0x1000742c
mov eax, 0x88
push eax
call fcn.10008f36
mov esi, eax
mov dword [ebp - 0x310], esi
pop ecx
test esi, esi
je 0x100073e9
mov dword [esi], 0x27480088
jmp 0x100073eb
mov esi, ebx
mov eax, 0xdc
lea ecx, [ebp - 0x104]
mov word [esi + 4], ax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100073fd
sub ecx, edx
lea eax, [ecx + 1]
mov word [esi + 6], ax
cwde
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [esi + 8]
push eax
call fcn.1000d200
movsx eax, word [esi]
push eax
push esi
call fcn.1000762e
add esp, 0x14
inc edi
cmp edi, dword [ebp - 0x308]
jbe 0x100072e0
pop edi
pop esi
cmp dword [ebp - 0x30c], 0
pop ebx
je 0x10007450
push dword [ebp - 0x30c]
call sub.WTSAPI32.dll_WTSFreeMemory
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008f6b
mov esp, ebp
pop ebp
ret
Function at 0x1000745e
Capabilities:
Acquire debug privileges
Create thread

Disassembly:
push 0x20
mov eax, 0x100292e7
call fcn.1000927c
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [0x100426d0], eax
mov ecx, 0x10041444
lea eax, [ebp + 0xc]
mov dword [ebp - 4], edi
push eax
call fcn.100057ad
lea eax, [ebp - 0x2c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100074fe
lea eax, [ebp - 0x18]
push eax
push str.SeDebugPrivilege
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x100074fe
mov eax, dword [ebp - 0x18]
xor esi, esi
push edi
push edi
mov dword [ebp - 0x24], eax
inc esi
mov eax, dword [ebp - 0x14]
push 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
push edi
push dword [ebp - 0x2c]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x100074fe
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100074fe
push edi
push edi
push edi
push 0x10007609
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x10007500
mov esi, edi
lea ecx, [ebp + 0xc]
call fcn.10001ba2
mov eax, esi
call fcn.10009237
ret
Function at 0x10007645
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
push 0x10042664
push str.Conquer.exe
call fcn.100065bf
mov edi, 0x10042688
push edi
push str...iniMagictype.dat
call fcn.100065bf
push 0x100426ac
push str..._servers.dat
call fcn.100065bf
mov ebx, 0x100426d4
push ebx
push str...iniMagicEffect.ini
call fcn.100065bf
mov esi, 0x100426f8
push esi
push str...iniStrRes.ini
call fcn.100065bf
push 0x10042740
push 0x1002adf8
call fcn.100065bf
add esp, 0x30
cmp byte [edi], 0x2d
jne 0x1000775e
cmp byte [edi + 1], 0x31
jne 0x1000775e
movzx eax, byte [edi + 2]
test al, al
jne 0x1000775e
cmp byte [ebx], 0x2d
jne 0x1000775e
cmp byte [ebx + 1], 0x31
jne 0x1000775e
movzx eax, byte [ebx + 2]
test al, al
jne 0x1000775e
cmp byte [esi], 0x2d
jne 0x1000775e
cmp byte [esi + 1], 0x31
jne 0x1000775e
movzx eax, byte [esi + 2]
test al, al
jne 0x1000775e
mov ecx, 0x1004271c
cmp byte [ecx], 0x2d
jne 0x1000775e
cmp byte [ecx + 1], 0x31
jne 0x1000775e
movzx eax, byte [ecx + 2]
test al, al
jne 0x1000775e
push 0x10042664
push str.Env_DX8_Conquer.exe
call fcn.100065bf
push edi
push str.ini_Magictype.dat
call fcn.100065bf
push 0x100426ac
push str.servers.dat
call fcn.100065bf
push ebx
push str.ini_MagicEffect.ini
call fcn.100065bf
push esi
push str.ini_StrRes.ini
call fcn.100065bf
push 0x10042740
push str.Env_DX8_CO2Helper.dll
call fcn.100065bf
add esp, 0x30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push str.Connected_to_the_server..._Sending_the_welcome_hash.
mov dword [0x1004279c], eax
call fcn.10004b4a
push 0xcc
call fcn.100137c4
mov edi, eax
mov eax, 0x10042664
pop ecx
mov edx, edi
pop ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x25], cl
inc eax
test cl, cl
jne 0x1000778a
mov edx, edi
mov ecx, 0x10042688
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx + 4], al
inc ecx
test al, al
jne 0x1000779e
mov ecx, edi
sub ecx, ebx
mov al, byte [ebx]
mov byte [ecx + ebx + 0x46], al
inc ebx
test al, al
jne 0x100077ad
mov edx, edi
mov ecx, 0x100426ac
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx + 0x67], al
inc ecx
test al, al
jne 0x100077c1
mov ecx, edi
sub ecx, esi
mov al, byte [esi]
mov byte [ecx + esi + 0x88], al
inc esi
test al, al
jne 0x100077d0
mov edx, edi
mov ecx, 0x10042740
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx + 0xa9], al
inc ecx
test al, al
jne 0x100077e7
push 0
push 0xcc
push edi
mov dword [edi], 1
push dword [0x10041410]
call dword [sym.imp.WS2_32.dll_send]
push edi
mov esi, eax
call fcn.100130a4
pop ecx
pop edi
cmp esi, 0xffffffff
pop esi
pop ebx
je 0x10007821
ret
push dword [0x10041410]
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
push str.Error_with_welcome_buff_n
call fcn.10006f00
pop ecx
push 2
push dword [0x10041410]
call dword [sym.imp.WS2_32.dll_shutdown]
call fcn.100084ef
int3
Function at 0x10007852
Capabilities:
Create thread
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x100414a4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10746bcc], 0
push edi
mov edi, dword [ebp + 8]
jne 0x10007919
push ebx
push esi
push 0x1002aeb0
push 0x1002aeb4
call fcn.1001431f
push 0x1002aec4
push dword [edi]
mov esi, eax
call fcn.1001431f
xor ebx, ebx
mov edi, eax
inc ebx
jmp 0x100078aa
push eax
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.10014c27
push esi
push 0x200
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.1001462f
add esp, 0x20
push edi
test eax, eax
jne 0x1000789c
mov dword [0x10746bcc], ebx
call fcn.10013e53
push esi
call fcn.10013e53
lea eax, [ebp - 0x204]
push eax
call fcn.10008fbb
add esp, 0xc
xor esi, esi
push esi
push 2
push 0x10041414
push dword [0x10041418]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call fcn.10006825
push esi
push esi
push esi
push 0x100063ba
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10008f6b
mov esp, ebp
pop ebp
ret

Function at 0x10007a7c
Capabilities:
Create thread

Disassembly:
push edi
xor edi, edi
push edi
push edi
push edi
push 0x10005890
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push edi
push 0x10008810
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
pop edi
ret
Function at 0x10007d10
Capabilities:
Write file on windows

Disassembly:
push 0x28
mov eax, 0x1002933c
call fcn.1000927c
mov esi, ecx
mov dword [ebp - 0x30], esi
xor ebx, ebx
cmp dword [esi + 0x38], ebx
je 0x10007e18
cmp byte [esi + 0x3d], bl
je 0x10007e18
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x10007d48
xor al, al
jmp 0x10007e1a
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.100080fa
lea eax, [esi + 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov ecx, dword [ecx + 0x38]
add eax, edi
push eax
push esi
push dword [ebp - 0x34]
mov edx, dword [ecx]
call dword [edx + 0x20]
sub eax, ebx
je 0x10007da5
sub eax, 1
jne 0x10007dfd
mov esi, dword [ebp - 0x30]
jmp 0x10007dab
mov esi, dword [ebp - 0x30]
mov byte [esi + 0x3d], bl
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov edi, dword [ebp - 0x2c]
cmovae eax, edx
sub edi, eax
je 0x10007de3
push dword [esi + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, edx
push 1
push eax
call fcn.10014c27
add esp, 0x10
cmp edi, eax
jne 0x10007e08
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [esi + 0x3d], 0
je 0x10007e06
test edi, edi
jne 0x10007d6f
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.1000809f
jmp 0x10007d69
dec eax
sub eax, 1
jne 0x10007e0c
inc eax
jmp 0x10007e0a
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.10001ba2
mov al, bl
jmp 0x10007e1a
mov al, 1
call fcn.10009237
ret
Function at 0x10008181
Capabilities:
Connect socket
Create thread

Disassembly:
mov eax, dword [0x100428f4]
inc dword [0x10042874]
mov dword [0x100428f8], eax
push esi
test eax, eax
je 0x100081f6
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, eax
mov dword [0x10041410], ecx
cmp ecx, 0xffffffff
jne 0x100081cc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.socket_failed_with_error:__ld_n
call fcn.10004b4a
pop ecx
pop ecx
pop esi
jmp dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [0x100428f8]
push dword [eax + 0x10]
push dword [eax + 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1000821a
and dword [0x10042874], 0
mov eax, dword [0x100428f4]
mov byte [0x10042685], 1
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [0x10041410], 0xffffffff
jne 0x10008218
push str.Unable_to_connect_to_server__n
call fcn.10004b4a
pop ecx
pop esi
jmp dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
ret
xor esi, esi
push esi
push esi
push esi
push 0x1000644c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push 0x1002aaf8
push str.Server_is_offline_right_now._nTry_again_later.
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 2
push dword [0x10041410]
call dword [sym.imp.WS2_32.dll_shutdown]
or dword [0x10041410], 0xffffffff
call fcn.100084ef
int3
Function at 0x10008546
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x100293b9
call fcn.1000927c
mov esi, ecx
mov dword [ebp - 0x38], esi
mov edi, dword [ebp + 8]
or ebx, 0xffffffff
cmp edi, ebx
jne 0x10008568
xor eax, eax
jmp 0x100086be
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x10008592
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x10008592
dec dword [edx]
mov edx, dword [esi + 0x20]
mov eax, dword [ebp + 8]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x100086be
cmp dword [esi + 0x4c], 0
je 0x100086bc
mov ecx, esi
call fcn.10007ff0
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x100085bf
push dword [esi + 0x4c]
push edi
call fcn.10005117
test al, al
pop ecx
pop ecx
cmovne ebx, edi
jmp 0x100086bc
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x2c], cl
lea ecx, [ebp - 0x2c]
push 8
mov byte [ebp - 0x14], al
mov dword [ebp - 0x18], 0xf
call fcn.100080fa
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x3c], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
cmp edi, 0x10
lea edx, [ebp - 0x2c]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x13]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x3c]
call dword [edi + 0x1c]
test eax, eax
js 0x100086b4
cmp eax, 1
jg 0x10008699
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
cmp edi, 0x10
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x38]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x40], edx
je 0x1000866a
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x2c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.10014c27
mov edx, dword [ebp - 0x40]
add esp, 0x10
cmp edx, eax
jne 0x100086b4
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
jne 0x10008694
test edx, edx
jne 0x100085ea
cmp dword [ebp - 0x1c], 0x20
jae 0x100086b4
push edx
push 8
lea ecx, [ebp - 0x2c]
call fcn.1000809f
jmp 0x100085e7
mov ebx, dword [ebp + 8]
jmp 0x100086b4
cmp eax, 3
jne 0x100086b4
mov eax, dword [ebp - 0x38]
push dword [eax + 0x4c]
push dword [ebp - 0x14]
call fcn.10005117
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.10001ba2
mov eax, ebx
call fcn.10009237
ret 4
Function at 0x1000b4d7
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x10029565
call fcn.1000927c
mov edi, ecx
mov dword [ebp - 0x30], edi
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x1000b60a
cmp byte [edi + 0x3e], bl
je 0x1000b60a
mov eax, dword [edi]
mov ecx, 0xffff
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call fcn.10009f0a
mov ecx, edi
call esi
mov ecx, 0xffff
cmp cx, ax
jne 0x1000b523
xor al, al
jmp 0x1000b60c
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.100080fa
lea eax, [edi + 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
cmp ecx, 0x10
jb 0x1000b558
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x1000b562
mov edx, eax
mov edi, dword [edi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x2c]
mov esi, dword [edi]
push eax
push edx
push dword [ebp - 0x34]
mov ecx, dword [esi + 0x20]
call fcn.10009f0a
mov ecx, edi
call dword [esi + 0x20]
sub eax, ebx
je 0x1000b591
sub eax, 1
jne 0x1000b5ef
mov edi, dword [ebp - 0x30]
jmp 0x1000b597
mov edi, dword [ebp - 0x30]
mov byte [edi + 0x3e], bl
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x1000b5a7
mov edx, eax
mov esi, dword [ebp - 0x38]
sub esi, edx
je 0x1000b5d1
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x1000b5b8
mov edx, eax
push dword [edi + 0x4c]
push esi
push 1
push edx
call fcn.10014c27
add esp, 0x10
cmp esi, eax
jne 0x1000b5fa
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
cmp byte [edi + 0x3e], 0
je 0x1000b5f8
test esi, esi
jne 0x1000b54a
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.1000809f
jmp 0x1000b544
dec eax
sub eax, 1
jne 0x1000b5fe
inc eax
jmp 0x1000b5fc
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.10001ba2
mov al, bl
jmp 0x1000b60c
mov al, 1
call fcn.10009237
ret
Function at 0x1000bad3
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x100295ba
call fcn.1000927c
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x1000baf8
xor eax, eax
jmp 0x1000bc7c
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000bb24
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x1000bb24
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x1000bc7c
cmp dword [esi + 0x4c], 0
je 0x1000bc79
mov ecx, esi
call fcn.1000b6f6
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x1000bb57
push dword [esi + 0x4c]
push edi
call fcn.1000b0b1
pop ecx
pop ecx
test al, al
je 0x1000bc79
movzx ebx, di
jmp 0x1000bc79
push eax
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.100080fa
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x34], edi
cmp ecx, 0x10
jb 0x1000bb91
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x1000bb9b
mov edx, eax
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x34]
mov esi, dword [edi]
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x38]
call fcn.10009f0a
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x1000bc71
cmp eax, 1
jg 0x1000bc4c
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x1000bbe5
mov edx, eax
mov edi, dword [ebp - 0x3c]
sub edi, edx
je 0x1000bc14
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x1000bbf6
mov edx, eax
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push edx
call fcn.10014c27
add esp, 0x10
cmp edi, eax
jne 0x1000bc47
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
jmp 0x1000bc17
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x40], edx
jne 0x1000bc41
test edi, edi
jne 0x1000bb83
cmp dword [ebp - 0x18], 0x20
jae 0x1000bc6b
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.1000809f
jmp 0x1000bb7d
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x1000bc6b
cmp eax, 3
jne 0x1000bc71
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.1000b0b1
pop ecx
pop ecx
test al, al
je 0x1000bc6b
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
lea ecx, [ebp - 0x28]
call fcn.10001ba2
mov ax, bx
call fcn.10009237
ret 4

Function at 0x1000f8d9
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x1002e4f0
push 0x1002e4e8
push str.FlsAlloc
push 0
call fcn.1000f859
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000f90b
push dword [ebp + 8]
mov ecx, esi
call fcn.10009f0a
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x1000f94d
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x1002e500
push 0x1002e4f8
push str.FlsGetValue
push 2
call fcn.1000f859
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x1000f97e
mov ecx, esi
call fcn.10009f0a
call esi
jmp 0x1000f984
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x1000f987
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x1002e508
push 0x1002e500
push str.FlsSetValue
push 3
call fcn.1000f859
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x1000f9bb
mov ecx, esi
call fcn.10009f0a
call esi
jmp 0x1000f9c1
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x1001cf2e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001cbf1

Function at 0x1001cf39
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001cd72