joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b11a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1001b129
pop dword [ebp - 0xc]
mov eax, 0xbb6694a5
sub eax, 0xab64e37c
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x4397c
push 0
mov eax, 0xff295ef6
sub eax, 0xef25fe1a
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0xb7de4bd2
add ecx, 0x482208d0
mov edi, eax
mov edx, 0x1003be00
add edx, dword [ebp - 0xc]
mov esi, 0x848443e
add esi, 0x8b90ec7
add dword [ebp - 4], edx
mov ebx, dword [edx]
xor ebx, esi
add dword [ebp - 8], 0x337245f0
mov dword [edi], ebx
xor dword [ebp - 4], 0x5267c607
add edi, 4
add edx, 0x5f7f22c1
sub edx, 0x5f7f22bd
loop 0x1001b182
add eax, 0x1455b
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x100289d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100330b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10035b0c]
test dword [ebp + 8], eax
je 0x10028a7a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push eax
call fcn.1001b11a
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
mov eax, dword [0x10035b08]
test eax, eax
je 0x10028a6d
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.1001b11a
mov eax, dword [0x100330ac]
pop ecx
pop ecx
test eax, eax
jle 0x10028a7a
push esi
mov esi, dword [0x10035b10]
push edi
mov edi, dword [0x10035b14]
cdq
push edx
push eax
push edi
push esi
call fcn.10029420
add esi, 1
mov dword [0x10035b10], esi
adc edi, 0
or eax, edx
mov dword [0x10035b14], edi
pop edi
pop esi
jne 0x10028a7a
push dword [0x10035b08]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
pop ecx
jmp 0x10028a7a
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028d50
leave
ret
Function at 0x4013b5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x104c
call fcn.0040fcd0
cmp dword [0x1ddebb8], 0x594
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x28], esi
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x10], ebx
jne 0x4013ef
push 0
lea eax, [ebp - 0x84c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x41a308]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
mov dword [ebp - 0x30], eax
mov eax, dword [0x41a30c]
mov dword [ebp - 0x18], 0x9e3779b9
mov dword [ebp - 0x24], eax
call fcn.004013ab
mov ecx, dword [0x41a310]
mov eax, dword [0x41a314]
add dword [ebp - 4], 0x23f
push 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
pop esi
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, ebx
mov edx, 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0x1ddebb8], 0xfa9
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x1ddebb4]
cmove eax, edx
xor edx, edx
cmp dword [0x1ddebb8], 0x3eb
mov dword [0x1ddebb4], eax
mov eax, dword [0x1dde5a4]
cmove eax, edx
add ecx, ebx
mov dword [0x1dde5a4], eax
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
xor ebx, ebx
mov eax, dword [ebp - 8]
xor edx, ecx
add eax, dword [ebp - 0x1c]
mov ecx, dword [0x1ddebb8]
xor eax, edx
mov dword [0x1ddebb0], 0xf4ea3dee
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp ecx, 0x213
jne 0x401524
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
lea eax, [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push ebx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push dword [ebp - 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
lea eax, [ebp - 0x104c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
lea eax, [ebp - 0x44c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
mov eax, dword [ebp - 8]
mov ecx, dword [0x1ddebb8]
sub edi, eax
cmp ecx, 0xc
jne 0x401532
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
mov eax, edi
shl eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov eax, edi
mov edx, dword [ebp - 4]
shr eax, cl
add edx, edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x10]
xor eax, edx
mov edx, dword [ebp - 0xc]
xor edx, eax
mov dword [ebp - 0xc], edx
call fcn.004013b2
mov eax, dword [ebp - 0x18]
sub dword [ebp - 4], eax
dec esi
je 0x40157e
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
jmp 0x40142d
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], edi
pop edi
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f00d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4197a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040b3e7
mov dword [ebp - 0x14], eax
cmp dword [0x8189c0], esi
jne 0x40f100
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40f08d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40f1e0
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40f1e0
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f1e0
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x8189c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x8189c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x8189c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8189d0], eax
test eax, eax
je 0x40f0fd
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8189cc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40f125
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40f118
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40f13a
push 4
pop eax
jmp 0x40f1e2
cmp dword [ebp - 0x14], esi
je 0x40f13a
push dword [0x8189c0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40f11f
mov eax, dword [0x8189cc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40f198
cmp dword [0x8189d0], edi
je 0x40f198
push eax
call ebx
push dword [0x8189d0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40f198
test eax, eax
je 0x40f198
call ecx
test eax, eax
je 0x40f18d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40f18d
test byte [ebp - 8], 1
jne 0x40f198
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40f1c8
mov eax, dword [0x8189c4]
cmp eax, edi
je 0x40f1c5
push eax
call ebx
test eax, eax
je 0x40f1c5
call eax
mov esi, eax
test esi, esi
je 0x40f1c5
mov eax, dword [0x8189c8]
cmp eax, edi
je 0x40f1c5
push eax
call ebx
test eax, eax
je 0x40f1c5
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x8189c0]
call ebx
test eax, eax
je 0x40f1e0
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40f1e2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403ef8
mov esp, ebp
pop ebp
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x401443
pop dword [ebp - 0x18]
mov eax, 0x401443
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x7b06fea
sub dword [ebp - 0x28], 0xb95e2a9f
mov dword [ebp - 0x24], 0xaca5555d
sub dword [ebp - 0x24], 0x7a720918
mov dword [ebp - 0x20], 0xc421b5f7
sub dword [ebp - 0x20], 0x77d571c9
mov dword [ebp - 0x1c], 0x70e88a52
sub dword [ebp - 0x1c], 0x70e88a52
lea eax, [ebp - 0x28]
push eax
mov eax, 0x7a684d34
add eax, 0x85d833d0
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x711e61f0
add dword [ebp - 0x28], 0x3540766
mov dword [ebp - 0x24], 0x4f732e63
sub dword [ebp - 0x24], 0xe06ccee
mov dword [ebp - 0x20], 0xc531a6a0
sub dword [ebp - 0x20], 0x61c23a34
mov dword [ebp - 0x1c], 0xe7954306
add dword [ebp - 0x1c], 0x186abcfa
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xe42201c2
add eax, 0x1c1e7f3e
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3b0ee
push 0
call eax
mov ecx, 0xaa005330
sub ecx, 0xaa00001e
xor ebx, ebx
add ebx, eax
mov esi, 0xe86379f5
sub esi, 0xe81c95f5
add esi, dword [ebp - 0x18]
mov edi, 0x275ab030
sub edi, 0x24664efe
mov edx, dword [esi]
xor edx, edi
add dword [ebp - 0x14], edi
mov dword [ebx], edx
xor dword [ebp - 4], 0xd9a9aa0f
add ebx, 4
add esi, 0xc30c4657
add esi, 0x3cf3b9ad
loop 0x401562
add eax, 0x71bef64c
sub eax, 0x71bdb731
mov ebx, eax
add eax, 0x2e0e6f71
add eax, 0xd1f19094
mov ecx, 0x8d1796dd
add ecx, 0x73286923
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x7441b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00744140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00744140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00744140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00744140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x744bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x744c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x75687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x744c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x744c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4071f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x44a56c], 0
jne 0x4074ca
push esi
push str.0:db0:lk0:hs0:ld0:ll0:hb1:pj71.4_.4202:zb0.1:bb
mov byte [0x44a56c], 1
call fcn.0040a6dc
push 0x12a0
push 0
push 0x4492b8
call fcn.0040e900
push 0
push 0x4492d6
push 0x41a7ac
call fcn.00407120
push 0
push 0x4494d4
push 0x41a7b4
call fcn.00407120
push 0x449510
push 0
push 0x41a7bc
call fcn.00407120
push 0
push 0x449514
push 0x41a7c4
call fcn.00407120
add esp, 0x40
push 0
push 0x449712
push 0x41a7cc
call fcn.00407120
push 0x449750
push 0
push 0x41a7d4
call fcn.00407120
push 0
push 0x449754
push 0x41a7dc
call fcn.00407120
push 0
push 0x449952
push 0x41a7e4
call fcn.00407120
push 0x449990
push 0
push 0x41a7ec
call fcn.00407120
push 0
push 0x449994
push 0x41a7f4
call fcn.00407120
add esp, 0x48
push 0
push 0x4499d0
push 0x41a7fc
call fcn.00407120
push 0
push 0x449a0c
push 0x41a804
call fcn.00407120
push 0
push 0x449a70
push 0x41a80c
call fcn.00407120
push 0
push 0x449ad4
push 0x41a814
call fcn.00407120
push 0x449b38
push 0
push 0x41a81c
call fcn.00407120
push 0x449b3c
push 0
push 0x41a824
call fcn.00407120
add esp, 0x48
push 0x449b40
push 0
push 0x41a82c
call fcn.00407120
push 0x449b44
push 0
push 0x41a834
call fcn.00407120
push 0x449b48
push 0
push 0x41a83c
call fcn.00407120
push 0x449b4c
push 0
push 0x41a844
call fcn.00407120
push 0x449b50
push 0
push 0x41a84c
call fcn.00407120
push 0x449b54
push 0
push 0x41a854
call fcn.00407120
add esp, 0x48
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.Console
push connect
mov dword [ebp - 8], 3
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4073f2
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
push str.IpDate
push eax
call esi
cmp dword [ebp - 4], 0xa
jbe 0x4074c9
push 0x7d0
push 0
push str.0:db0:lk0:hs0:ld0:ll0:hb1:pj71.4_.4202:zb0.1:bb
call fcn.0040e900
mov eax, dword [ebp - 0xc]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push str.0:db0:lk0:hs0:ld0:ll0:hb1:pj71.4_.4202:zb0.1:bb
lea edx, [ebp - 8]
push edx
push 0
push str.IpDate
push eax
call esi
push 0
push 0x4492d6
push 0x41a7ac
call fcn.00407120
push 0
push 0x4494d4
push 0x41a7b4
call fcn.00407120
push 0x449510
push 0
push 0x41a7bc
call fcn.00407120
push 0
push 0x449514
push 0x41a7c4
call fcn.00407120
push 0
push 0x449712
push 0x41a7cc
call fcn.00407120
push 0x449750
push 0
push 0x41a7d4
call fcn.00407120
add esp, 0x48
push 0
push 0x449754
push 0x41a7dc
call fcn.00407120
push 0
push 0x449952
push 0x41a7e4
call fcn.00407120
push 0x449990
push 0
push 0x41a7ec
call fcn.00407120
add esp, 0x24
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10008523
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10008562
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10008562
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10008562
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10008562
cmp dword [ecx + 0x74], 0xe
jbe 0x10008562
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000b1df
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000b27c
push ebx
push esi
call fcn.1000b1a8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000b13c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000b229
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b27b
push edi
push eax
call fcn.1000c19a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000b249
call fcn.10009c84
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b27a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000b13c
add esp, 0x20
test eax, eax
jne 0x1000b268
push edi
call fcn.10009c84
jmp 0x1000b270
push ebx
call fcn.10009c84
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000b4e9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10012668
push 0x10012660
push str.FlsAlloc
push 0x1f
call fcn.1000b405
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b51d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10011140]
call esi
jmp 0x1000b523
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000b567
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10012678
push 0x10012670
push str.FlsGetValue
push 0x21
call fcn.1000b405
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b59e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10011140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000b5a6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10012680
push 0x10012678
push str.FlsSetValue
push 0x22
call fcn.1000b405
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b5e0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10011140]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10010c70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10010c9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10010c9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x986058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009861a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x98607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x98606a
add dl, dl
jne 0x986089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9860dc
xor eax, eax
add dl, dl
jne 0x986096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x98617d
add dl, dl
jne 0x9860a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9860b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9860bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9860c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9860d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x986075
mov eax, 1
add dl, dl
jne 0x9860ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9860f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9860e1
sub eax, ebx
mov ebx, 1
jne 0x986128
mov ecx, 1
add dl, dl
jne 0x98610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x986119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x986105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x986075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x98613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x98614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x986136
cmp eax, 0x7d00
jae 0x98616d
cmp eax, 0x500
jb 0x986168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x986075
cmp eax, 0x7f
ja 0x986170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x986075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x98619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x986075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x41f570
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x41f59b
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x41f584
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret

Function at 0x426820
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc], eax
jb 0x426842
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x426861
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x426850
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0xc]
and eax, edx
mov esi, dword [esi + 4]
mov edi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0x10], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 8], eax
cmp edx, esi
jne 0x426889
mov eax, esi
jmp 0x42688d
mov eax, dword [eax]
mov eax, dword [eax]
cmp edi, eax
je 0x4268cf
push ebx
lea eax, [edi + 8]
push eax
call fcn.00427c00
test al, al
je 0x4268a9
mov edi, dword [edi]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
jmp 0x426881
lea eax, [edi + 8]
push eax
push ebx
call fcn.00427c00
mov cl, al
test cl, cl
je 0x4268c2
test cl, cl
mov eax, esi
cmove esi, edi
jmp 0x4268d1
mov eax, dword [ebp - 4]
test cl, cl
cmove esi, edi
mov eax, dword [eax + 4]
jmp 0x4268d1
mov eax, esi
cmp esi, eax
jne 0x426929
mov esi, dword [eax]
lea eax, [ebp - 8]
push ecx
push eax
push ecx
mov edi, dword [esi + 4]
push edi
push esi
mov dword [ebp - 8], ebx
call fcn.0042a0e0
mov ebx, dword [ebp - 4]
mov ecx, eax
mov eax, 0x5d1745c
mov edx, dword [ebx + 8]
sub eax, edx
cmp eax, 1
jb 0x42693b
lea eax, [edx + 1]
mov dword [ebx + 8], eax
mov dword [esi + 4], ecx
mov esi, dword [ebp - 0xc]
mov dword [edi], ecx
mov ecx, ebx
mov edx, dword [ebx + 4]
mov edx, dword [edx]
push edx
add edx, 8
push edx
push esi
call fcn.00428cd0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.004c9e64
int3