joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6dc11060
Capabilities:
Delete registry key

Disassembly:
push esi
push dword [ebp + 8]
push 0x6dc0c45c
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc241ac
jmp 0x6dc1108f
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc1112a
test dword [eax + 0x1c], 0x400
je 0x6dc1112a
push dword [ebp + 8]
push 0x6dc0c45c
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc27575
jmp 0x6dc1112a
cmp dword [eax], ebx
jne 0x6dc11107
push ebx
push ebx
push 0x6dc05778
push dword [ebp - 0xc]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegDeleteKeyExW]
push dword [edi]
call fcn.6dc030da
mov dword [edi], ebx
jmp 0x6dc11107
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
push dword [ebp + 8]
push 0x6dc0c45c
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc2afec
jmp 0x6dc1116a
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov eax, dword [0x6dc3a848]
mov esi, dword [ebp + 0xc]
cmp eax, 0x6dc3a848
je 0x6dc1108f
test dword [eax + 0x1c], 0x400
jne 0x6dc056d4
push 6
pop ecx
xor eax, eax
push ebx
mov edi, esi
rep stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.6dc057e6
cmp eax, ebx
jne 0x6dc1116d
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.6dc0cb9f
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x6dc1112a
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push dword [ebp + 8]
xor edi, edi
inc edi
mov dword [ebp - 4], edi
call fcn.6dc0cf6b
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x6dc056ef
mov dword [ebp - 8], edi
lea edi, [esi + 4]
push edi
push ebx
push 7
push 6
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
call sym.DNSAPI.dll_Reg_GetValueEx
mov eax, dword [edi]
cmp eax, ebx
jne 0x6dc05726
mov eax, dword [ebp - 0x34]
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], ebx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x18]
push eax
call fcn.6dc0588e
cmp dword [ebp - 4], ebx
je 0x6dc11142
push ebx
lea eax, [ebp - 0x34]
push eax
call fcn.6dc0cb41
cmp dword [ebp - 8], ebx
je 0x6dc11151
push ebx
lea eax, [ebp - 0x54]
push eax
call fcn.6dc0cca1
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc1116a
test dword [eax + 0x1c], 0x400
jne 0x6dc0574c
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x6dc26326
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
call fcn.6dc2467d
test eax, eax
jne 0x6dc2633d
push 0xe
pop eax
jmp 0x6dc2649e
cmp dword [0x6dc3b988], 0xa
push edi
jne 0x6dc2634e
xor edi, edi
jmp 0x6dc26490
push ebx
push esi
push 0x6dc264a4
push 0x6dc223ac
mov dword [0x6dc3b988], 5
call sym.DNSAPI.dll_DnsLogInit
xor esi, esi
push esi
push esi
push 1
push esi
mov dword [0x6dc3b974], esi
call dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_CreateEventW]
mov dword [0x6dc3b960], eax
cmp eax, esi
je 0x6dc263f4
push 0x1f0003
push esi
push esi
mov ebx, 0xffff
push ebx
push esi
push esi
call dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_CreateSemaphoreExW]
mov dword [0x6dc3b964], eax
cmp eax, esi
je 0x6dc263f4
mov ecx, dword [0x6dc3b960]
push 0x6dc3ba40
mov dword [0x6dc3b968], ecx
mov dword [0x6dc3b96c], eax
call dword [sym.imp.ntdll.dll_RtlInitializeCriticalSection]
mov edi, eax
cmp edi, esi
jne 0x6dc26403
push 0x6dc3b97c
push 0x6dc3b978
mov dword [0x6dc3b984], 1
call fcn.6dc251eb
mov edi, eax
cmp edi, esi
je 0x6dc26414
mov dword [0x6dc3b978], esi
mov dword [0x6dc3b97c], esi
cmp edi, esi
jne 0x6dc26403
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov edi, eax
cmp edi, esi
jne 0x6dc26403
push 0xe
pop edi
call fcn.6dc24fbd
mov dword [0x6dc3b988], 1
jmp 0x6dc2648e
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x6dc26454
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call fcn.6dc31ff1
mov dword [0x6dc3b98c], eax
cmp eax, esi
je 0x6dc263f0
push esi
call fcn.6dc16602
test eax, eax
je 0x6dc26442
mov edi, 0x558
jmp 0x6dc26403
push dword [0x6dc3b98c]
push esi
call fcn.6dc14fb3
mov edi, eax
cmp edi, esi
jne 0x6dc2643b
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x6dc262d9
push esi
push esi
call dword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_CreateThread]
mov dword [0x6dc3b970], eax
cmp eax, esi
je 0x6dc263f0
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x6dc26482
cmp eax, ebx
jbe 0x6dc2647d
mov eax, ebx
mov dword [0x6dc3b788], eax
mov dword [0x6dc3b988], 0xa
xor edi, edi
pop esi
pop ebx
push 0x6dc3ba20
call dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_LeaveCriticalSection]
mov eax, edi
pop edi
leave
ret 8
Function at 0x6dc28d29
Capabilities:
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
jne 0x6dc28d3e
or ebx, 0xffffffff
test bl, 3
je 0x6dc28d92
push 7
pop ecx
xor eax, eax
and dword [ebp + 0xc], eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 8]
mov dword [ebp - 0x20], 4
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
jne 0x6dc28d92
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 4]
push eax
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
cmp esi, 0x17
jne 0x6dc28d89
xor eax, eax
inc eax
test al, bl
jne 0x6dc28dd3
jmp 0x6dc28dd1
push 2
pop eax
cmp esi, eax
je 0x6dc28d83
jmp 0x6dc28dd1
mov esi, 0x200
mov edi, 0x2554
test esi, ebx
je 0x6dc28db6
push 3
push dword [ebp + 8]
call sym.DNSAPI.dll_DnsValidateName_W
test eax, eax
je 0x6dc28db2
cmp eax, edi
jne 0x6dc28db6
mov eax, esi
jmp 0x6dc28dd3
mov esi, 0x100
test esi, ebx
je 0x6dc28dd1
push 3
push dword [ebp + 8]
call sym.DNSAPI.dll_DnsValidateName_W
test eax, eax
je 0x6dc28db2
cmp eax, edi
je 0x6dc28db2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x6dc2b382
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
mov eax, dword [0x6dc3a848]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp eax, 0x6dc3a848
je 0x6dc2b3bf
test dword [eax + 0x1c], 0x400
je 0x6dc2b3bf
push ebx
push edi
push 0x6dc0c45c
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc28ddf
cmp edi, 0x3e
jbe 0x6dc2b3cb
xor eax, eax
jmp 0x6dc2b4a6
push 0x410
mov dword [ebx], edi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
call fcn.6dc03247
mov dword [ebp + 0xc], eax
cmp eax, esi
je 0x6dc2b3c4
push 0x6dc2b4b0
mov esi, 0x104
push esi
push eax
call fcn.6dc2517c
imul edi, edi, 0xc
push dword [edi + 0x6dc39cc8]
push esi
push dword [ebp + 0xc]
call fcn.6dc2b30c
mov eax, dword [0x6dc3a848]
mov edi, 0x6dc3a848
cmp eax, edi
je 0x6dc2b433
test dword [eax + 0x1c], 0x400
je 0x6dc2b433
push dword [ebp + 0xc]
push 0x6dc0c45c
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc27575
mov ecx, dword [ebp + 0xc]
push esi
lea eax, [ecx + 0x208]
push eax
push ecx
call dword [sym.imp.API_MS_Win_Core_ProcessEnvironment_L1_1_0.dll_GetEnvironmentVariableW]
test eax, eax
je 0x6dc2b46b
cmp eax, esi
jae 0x6dc2b46b
mov eax, dword [ebp + 0xc]
push 0xa
add eax, 0x208
push 0
push eax
call dword [sym.imp.msvcrt.dll_wcstoul]
xor esi, esi
add esp, 0xc
mov dword [ebx + 4], eax
inc esi
jmp 0x6dc2b46e
mov esi, dword [ebp - 4]
mov dword [ebx + 8], esi
mov eax, dword [0x6dc3a848]
cmp eax, edi
je 0x6dc2b49c
test dword [eax + 0x1c], 0x400
je 0x6dc2b49c
push dword [ebx + 4]
push esi
push dword [ebp + 0xc]
push 0x6dc0c45c
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc2c1bc
push dword [ebp + 0xc]
call fcn.6dc030da
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x6dc2bee5
Capabilities:
Initialize winsock library

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x6dc391d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, dword [0x6dc3a848]
mov esi, 0x6dc3a848
mov ebx, 0x6dc098c4
cmp eax, esi
je 0x6dc2bf2b
test byte [eax + 0x1c], 8
je 0x6dc2bf2b
push dword [ebp + 8]
push ebx
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc242f2
mov eax, dword [0x6dc3a848]
cmp dword [ebp + 8], 0
jne 0x6dc2bf3a
cmp dword [0x6dc3a924], 0
jne 0x6dc2bfaa
push edi
mov edi, 0x202
cmp eax, esi
je 0x6dc2bf5c
test dword [eax + 0x1c], 0x400
je 0x6dc2bf5c
push edi
push ebx
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc242f2
lea eax, [ebp - 0x194]
push eax
push edi
call dword [sym.imp.WS2_32.dll_WSAStartup]
pop edi
test eax, eax
jne 0x6dc2bfac
mov eax, dword [0x6dc3a848]
cmp eax, esi
je 0x6dc2bf9f
test dword [eax + 0x1c], 0x400
je 0x6dc2bf9f
movzx ecx, word [ebp - 0x194]
push ecx
movzx ecx, word [ebp - 0x192]
push ecx
push ebx
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc28ddf
push 0x6dc3a924
call dword [sym.imp.API_MS_Win_Core_Interlocked_L1_1_0.dll_InterlockedIncrement]
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.6dc02eaf
leave
ret 4

Function at 0x6dc2d9d9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push 1
push ebx
push 0x6dc2da78
push 0x80000002
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov byte [esi], bl
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, ebx
jne 0x6dc2da34
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x6dc2da54
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
mov edi, eax
cmp dword [ebp - 4], ebx
je 0x6dc2da42
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
cmp dword [ebp - 8], ebx
je 0x6dc2da4a
mov byte [esi], 1
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x6dc2dc28
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc0
push edi
xor edi, edi
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], edi
jne 0x6dc2dde3
cmp dword [ebp + 8], edi
je 0x6dc2dde3
cmp dword [ebp + 0xc], edi
jne 0x6dc2dc58
mov dword [ebp + 0xc], 0x6dc22480
push ebx
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc0]
push eax
call fcn.6dc14247
push 0xa
lea eax, [ebp - 0x60]
push eax
call sym.DNSAPI.dll_ExtraInfo_Init
mov esi, dword [sym.imp.API_MS_Win_Core_SysInfo_L1_1_0.dll_GetTickCount]
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x4c], eax
call esi
push edi
mov ebx, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x60]
push eax
push 0x1048
push 6
push dword [ebp + 0xc]
call sym.DNSAPI.dll_DnsQuery_W
mov edi, eax
call esi
cmp eax, ebx
jb 0x6dc2dcab
sub eax, ebx
jmp 0x6dc2dcae
sub eax, ebx
dec eax
cmp dword [ebp - 4], 0
mov ebx, eax
je 0x6dc2dcc4
push 1
push dword [ebp - 4]
call sym.DNSAPI.dll_DnsFree
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov eax, 0x251d
cmp edi, eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], edi
jg 0x6dc2dd8b
je 0x6dc2dd82
test edi, edi
je 0x6dc2dd7c
cmp edi, 0x7b
je 0x6dc2ddd7
cmp edi, 0x5b4
je 0x6dc2dd73
cmp edi, 0x2329
jle 0x6dc2dd19
cmp edi, 0x232b
jle 0x6dc2dd82
cmp edi, 0x232d
je 0x6dc2dd6a
cmp edi, 0x2331
je 0x6dc2dd82
mov dword [esi + 0x2c], 0xff
test edi, edi
jne 0x6dc2dd5e
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x60]
push eax
push 0x104a
push 6
push dword [ebp + 0xc]
call sym.DNSAPI.dll_DnsQuery_W
cmp dword [ebp - 4], 0
mov edi, eax
je 0x6dc2dd53
push 1
push dword [ebp - 4]
call sym.DNSAPI.dll_DnsFree
and dword [ebp - 4], 0
test edi, edi
je 0x6dc2dd5e
mov dword [esi + 0x2c], 0x10
push esi
call fcn.6dc2caf5
pop esi
xor eax, eax
pop ebx
jmp 0x6dc2dde6
mov dword [esi + 0x2c], 6
jmp 0x6dc2dd5e
mov dword [esi + 0x2c], 4
jmp 0x6dc2dd5e
and dword [esi + 0x2c], 0
jmp 0x6dc2dd24
mov dword [esi + 0x2c], 5
jmp 0x6dc2dd20
cmp edi, 0x2558
jl 0x6dc2dd19
cmp edi, 0x2559
jle 0x6dc2ddd7
cmp edi, 0x2743
je 0x6dc2ddcb
cmp edi, 0x2746
je 0x6dc2ddcb
cmp edi, 0x274d
je 0x6dc2ddcb
cmp edi, 0x274f
jle 0x6dc2dd19
cmp edi, 0x2751
jg 0x6dc2dd19
mov dword [esi + 0x2c], 3
jmp 0x6dc2dd20
mov dword [esi + 0x2c], 2
jmp 0x6dc2dd20
push 0x57
pop eax
pop edi
leave
ret 0xc
Function at 0x6dc2fe4c
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], ebx
je 0x6dc2ffeb
push edi
mov edi, dword [ebp + 0x14]
cmp dword [edi + 0x1c], ebx
je 0x6dc2ffea
push esi
mov esi, 0x6dc3a980
push esi
call dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_AcquireSRWLockExclusive]
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0xc], ebx
je 0x6dc2fe8c
mov dword [ebp - 4], 1
jmp 0x6dc2fe93
mov dword [eax + 0xc], 1
push esi
call dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_ReleaseSRWLockExclusive]
cmp dword [ebp - 4], ebx
jne 0x6dc2ffe9
push 0x214
call fcn.6dc03247
mov esi, eax
cmp esi, ebx
jne 0x6dc2fee7
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc2ffe9
test dword [eax + 0x1c], 0x400
je 0x6dc2ffe9
push 0x6dc224fc
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc23ea9
jmp 0x6dc2ffe9
cmp dword [ebp + 8], ebx
je 0x6dc2fefa
push dword [ebp + 8]
push 0x100
push esi
call fcn.6dc2517c
mov ax, word [ebp + 0xc]
mov edi, dword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_LoadLibraryExW]
mov word [esi + 0x200], ax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [esi + 0x204], eax
mov eax, dword [ebp + 0x18]
push ebx
push 0x6dc14f7c
mov dword [esi + 0x210], eax
call edi
push ebx
push ebx
push 0x6dc2fff0
mov dword [esi + 0x208], eax
call edi
mov dword [esi + 0x20c], eax
cmp dword [esi + 0x208], ebx
je 0x6dc2ff90
cmp eax, ebx
je 0x6dc2ff90
push ebx
push ebx
push esi
push 0x6dc2f6ca
push ebx
push ebx
call dword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_CreateThread]
cmp eax, ebx
je 0x6dc2ff67
push eax
call dword [sym.imp.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle]
jmp 0x6dc2ffe9
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc2ffc3
test dword [eax + 0x1c], 0x400
je 0x6dc2ffc3
push 0x6dc224fc
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc23ea9
jmp 0x6dc2ffc3
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc2ffc3
test dword [eax + 0x1c], 0x400
je 0x6dc2ffc3
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
push eax
mov eax, dword [0x6dc3a848]
push 0x6dc224fc
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc242f2
push esi
call fcn.6dc030da
mov eax, dword [esi + 0x208]
mov edi, dword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_FreeLibrary]
cmp eax, ebx
je 0x6dc2ffdc
push eax
call edi
mov esi, dword [esi + 0x20c]
cmp esi, ebx
je 0x6dc2ffe9
push esi
call edi
pop esi
pop edi
pop ebx
leave
ret 0x14
Function at 0x6dc300b7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, 0x6dc3a984
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_AcquireSRWLockShared]
mov eax, dword [0x6dc3a8a4]
cmp eax, ebx
jne 0x6dc30227
push edi
call dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_ReleaseSRWLockShared]
push edi
call dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_AcquireSRWLockExclusive]
cmp dword [0x6dc3a8a4], ebx
jne 0x6dc3021e
push esi
mov esi, dword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_LoadLibraryExW]
push ebx
push ebx
push 0x6dc3035c
call esi
mov dword [0x6dc3b6d0], eax
cmp eax, ebx
je 0x6dc30123
push ebx
push ebx
push 0x6dc30344
call esi
mov dword [0x6dc3b6cc], eax
mov eax, dword [0x6dc3b6d0]
cmp dword [0x6dc3b6cc], ebx
je 0x6dc3020a
cmp eax, ebx
je 0x6dc3020a
mov esi, dword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_GetProcAddress]
push 0x6dc30334
push eax
mov dword [0x6dc3a8a4], 1
call esi
push 0x6dc30320
push dword [0x6dc3b6d0]
mov dword [0x6dc3b9cc], eax
call esi
push 0x6dc30300
push dword [0x6dc3b6d0]
mov dword [0x6dc3b9c8], eax
call esi
push 0x6dc302e8
push dword [0x6dc3b6d0]
mov dword [0x6dc3b9c4], eax
call esi
push 0x6dc302d4
push dword [0x6dc3b6d0]
mov dword [0x6dc3b9c0], eax
call esi
push 0x6dc302bc
push dword [0x6dc3b6d0]
mov dword [0x6dc3b9bc], eax
call esi
push 0x6dc302a4
push dword [0x6dc3b6d0]
mov dword [0x6dc3b9b8], eax
call esi
push 0x6dc30294
push dword [0x6dc3b6cc]
mov dword [0x6dc3b9b4], eax
call esi
push 0x6dc30280
push dword [0x6dc3b6cc]
mov dword [0x6dc3b9b0], eax
call esi
push 0x6dc30264
push dword [0x6dc3b6cc]
mov dword [0x6dc3b9ac], eax
call esi
push 0x6dc30244
push dword [0x6dc3b6cc]
mov dword [0x6dc3b9a8], eax
call esi
mov dword [0x6dc3b9a4], eax
jmp 0x6dc3021d
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov dword [ebp - 4], eax
mov dword [0x6dc3a8a4], 2
pop esi
push edi
call dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_ReleaseSRWLockExclusive]
jmp 0x6dc3023a
cmp eax, 2
jne 0x6dc30233
mov dword [ebp - 4], 0x7f
push edi
call dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_ReleaseSRWLockShared]
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x100042d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, eax
dec eax
test edx, edx
jbe 0x1000433e
push edi
mov edi, dword [esp + 0x14]
sub edi, ecx
push esi
mov esi, dword [esp + 0xc]
inc eax
push ebp
push ebx
mov dword [esp + 0x1c], eax
mov eax, ecx
xor edx, edx
mov ebx, 0x7f
mov ebp, 0x7b
div ebx
xor eax, eax
mov al, byte [edx + esi]
xor edx, edx
mov ebx, eax
mov eax, ecx
div ebp
xor eax, eax
mov al, byte [edx + esi]
mov edx, ecx
xor ebx, eax
and edx, 0x7f
mov al, byte [ebx + 0x10056ae8]
mov bl, byte [edx + esi]
xor al, bl
mov bl, byte [ecx + edi]
xor bl, al
mov eax, dword [esp + 0x1c]
mov byte [ecx + edi], bl
inc ecx
dec eax
mov dword [esp + 0x1c], eax
jne 0x100042f2
pop ebx
pop ebp
pop esi
pop edi
mov eax, 0x3e9
ret

Function at 0x10018ae0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
lea eax, [ebp + 0x800]
xor edi, edi
push eax
call fcn.100326a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10018b07
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ecx
ret
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x18]
push 0
push 0
push eax
push ebx
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x10]
push 0
push eax
lea eax, [ebp + 0x800]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10018b9d
mov eax, dword [esp + 0x10]
cmp eax, ebp
jb 0x10018b9d
mov ecx, dword [esp + 0x20]
push ebp
push ecx
push eax
push esi
call fcn.10018aa0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10018ba1
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
lea eax, [ebp + 0x800]
add edx, 0x800
cmp ecx, eax
mov dword [esp + 0x24], edx
jne 0x10018b83
mov edx, ebp
push 1
neg edx
push edi
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x10]
push 0
push eax
lea eax, [ebp + 0x800]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10018b3a
test edi, edi
je 0x10018bc6
mov ebp, dword [esp + 0x24]
sub edi, esi
add ebp, edi
push 0
push 0
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call fcn.10032600
add esp, 4
mov eax, ebp
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
mov dword [esp + 0x24], 0xffffffff
push esi
mov ebp, dword [esp + 0x28]
call fcn.10032600
add esp, 4
mov eax, ebp
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x1001b9b5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
jmp 0x1001b9c5
mov ebp, ebp
jg 0x1001b9c8
nop
jle 0x1001b9c8
jmp 0x1001b9be
js 0x1001b9d3
nop
xchg ebx, ebx
jg 0x1001b9d8
xchg eax, eax
jle 0x1001b9d8
je 0x1001b9d5
js 0x1001b9ca
adc cl, byte [ebx - 0xdaf7bb]
add byte [eax], al
add byte [ebx - 0x1e7ef3b3], cl
inc dword [eax]
add byte [eax], al
mov eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 0xc]
and ecx, 0xff
xor eax, ecx
mov byte [ebp - 4], al
jbe 0x1001b9fa
nop
nop
je 0x1001b9f8
xchg ecx, ecx
ja 0x1001b9f8
jmp 0x1001ba02
xchg ecx, ecx
nop
jbe 0x1001b9f0
je 0x1001ba14
mov dword [0x5ffc458a], eax
mov al, byte [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
adc dword [edi + ecx - 0x7a], esi
sldt word [eax]

Function at 0x1001fc70
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
cmp dword [esi + 8], 0x65
jne 0x1001fcbf
mov eax, dword [esp + 0x10]
mov ecx, dword [esi]
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1001fcbf
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test ax, ax
je 0x1001fcbf
cmp dword [esp + 0xc], edi
jne 0x1001fcbf
mov ax, 1
pop edi
pop esi
ret
pop edi
xor ax, ax
pop esi
ret

Function at 0x1001fcd0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
cmp dword [esi + 8], 0x65
jne 0x1001fd1f
mov eax, dword [esp + 0x10]
mov ecx, dword [esi]
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1001fd1f
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test ax, ax
je 0x1001fd1f
cmp dword [esp + 0xc], edi
jne 0x1001fd1f
mov ax, 1
pop edi
pop esi
ret
pop edi
xor ax, ax
pop esi
ret

Function at 0x100200b0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 8]
push edi
mov al, byte [ecx]
xor edi, edi
mov byte [ebp], al
mov al, byte [ecx]
test al, al
je 0x100200e2
push esi
mov esi, ebp
sub esi, ecx
mov dl, byte [ecx + 1]
mov al, byte [esi + ecx]
inc edi
inc ecx
dec dl
xor al, dl
mov byte [esi + ecx], al
mov al, byte [ecx]
test al, al
jne 0x100200cc
pop esi
mov byte [edi + ebp], 0
mov eax, ebp
pop edi
pop ebp
ret