joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407ca0
Capabilities:
Initialize winhttp library

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, edx
mov esi, eax
mov ebx, ecx
call fcn.00407bf0
mov ebp, eax
xor eax, eax
push str._Proxy__Opening_HTTP_Session_n
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 8
push 0
push 0
push 0
push 1
push str.JWrapper_Proxy_Detector_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
test edi, edi
je 0x407e3e
test ebx, ebx
mov dword [esp + 0x20], 1
je 0x407d45
push ebx
push str._Proxy__Using_auto_config_URL:__S_n
mov dword [esp + 0x28], 3
call fcn.0040a3e4
add esp, 8
mov dword [esp + 0x28], ebx
push ebp
push str._Proxy__Attempting_to_detect_proxy_for_URL__S_n
mov dword [esp + 0x2c], 3
mov dword [esp + 0x3c], 1
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x407e00
push str._Proxy__Configuration_found_n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 8
cmp dword [esp + 0x14], 1
jne 0x407db8
push str._Proxy__Direct_connection_used_n
call fcn.0040a3e4
add esp, 4
jmp 0x407e1b
mov edx, dword [esp + 0x18]
push edx
push str._Proxy___S_n
call fcn.0040a3e4
mov eax, dword [esp + 0x24]
push eax
push str._Proxy___S_n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
mov ebx, dword [esp + 0x2c]
add esp, 0x14
call fcn.00407c50
mov ebx, dword [esp + 0x1c]
mov dword [esi], eax
call fcn.00407c50
mov dword [esi + 4], eax
jmp 0x407e1b
push str._Proxy__Configuration_NOT_found_n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 8
mov eax, dword [esp + 0x18]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x407e2c
push eax
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x407e37
push eax
call esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebp
call fcn.004095a3
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x408020
Capabilities:
Create process on windows

Disassembly:
mov eax, 0xc3b8
call fcn.004180a0
mov eax, dword [0x421420]
xor eax, esp
mov dword [esp + 0xc3b0], eax
push ebp
push esi
push edi
push str._Spawner__Constructing_command_line..._n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
mov eax, dword [ebx]
add esp, 8
xor ebp, ebp
test eax, eax
mov byte [esp + 0x68], 0
je 0x4080ea
jmp 0x408070
lea edi, [esp + 0x68]
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x408077
mov cx, word [0x41cef8]
mov word [edi], cx
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x408090
lea edi, [esp + 0x68]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4080a4
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x68]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4080c3
mov dx, word [0x41f420]
mov cl, byte [0x41f422]
mov word [eax], dx
add ebp, 1
mov byte [eax + 2], cl
mov eax, dword [ebx + ebp*4]
test eax, eax
jne 0x408070
lea edx, [esp + 0x68]
push edx
push str._Spawner__Creating_command_line__s_n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
push 0x44
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0040fa70
add esp, 0x18
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
push eax
push eax
push 1
push eax
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x88]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40818c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xc3b0]
xor ecx, esp
call fcn.00409594
add esp, 0xc3b8
ret
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
push str._Spawner__runSpawnerAndWait_returned__d_n
call fcn.0040a3e4
mov ecx, dword [esp + 0xc3c4]
mov eax, dword [esp + 0x14]
add esp, 8
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00409594
add esp, 0xc3b8
ret
Function at 0x4081f0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0xc3b8
call fcn.004180a0
mov eax, dword [0x421420]
xor eax, esp
mov dword [esp + 0xc3b0], eax
push ebp
push esi
push edi
push str._Spawner__Constructing_command..._n
mov byte [esp + 0x6c], 0
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
mov eax, dword [ebx]
add esp, 8
xor ebp, ebp
test eax, eax
je 0x4082ba
jmp 0x408240
lea edi, [esp + 0x68]
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x408247
mov cx, word [0x41cef8]
mov word [edi], cx
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x408260
lea edi, [esp + 0x68]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x408274
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x68]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x408293
mov dx, word [0x41f420]
mov cl, byte [0x41f422]
mov word [eax], dx
add ebp, 1
mov byte [eax + 2], cl
mov eax, dword [ebx + ebp*4]
test eax, eax
jne 0x408240
lea edx, [esp + 0x68]
push edx
push str._Spawner__Executing_command__s_n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
push 0x44
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0040fa70
add esp, 0x18
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
push eax
push eax
push 1
push eax
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x88]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40835c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xc3b0]
xor ecx, esp
call fcn.00409594
add esp, 0xc3b8
ret
push str._Spawner__Create_process_seems_to_have_worked_n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
mov ecx, dword [esp + 0xc3bc]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00409594
add esp, 0xc3b8
ret

Function at 0x408590
Capabilities:
Create thread

Disassembly:
cmp dword [0x422800], 0
push 0
jne 0x4085f4
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x422804
push 0
push 0x422800
push 0x4086a0
push 0
push 0
mov dword [0x422808], eax
call fcn.0040bc67
add esp, 0x18
mov dword [0x422800], eax
mov eax, dword [0x422808]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x408605
push str.Error_starting_SplashThread_n
call fcn.0040a3e4
add esp, 4
ret
mov ecx, dword [0x422804]
push 2
push 6
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
ret
Function at 0x408630
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x422800], 0
je 0x40868f
mov eax, dword [0x422804]
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov ecx, dword [0x422800]
push 0x2328
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x408676
mov edx, dword [0x422800]
push 0x8ae
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x422800]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [0x422808]
push ecx
call esi
pop esi
mov dword [0x422800], 0
ret

Function at 0x409594
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x421420]
jne 0x40959e
repz ret
jmp fcn.0040bf3a

Function at 0x412b75
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040d1fe
xor ebx, ebx
cmp dword [0x423264], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x412c4a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x412bb5
xor eax, eax
jmp 0x412d0e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x412bae
push eax
call fcn.0040d19b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423264], eax
call esi
push eax
call fcn.0040d19b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423268], eax
call esi
push eax
call fcn.0040d19b
mov dword [0x42326c], eax
lea eax, [ebp - 8]
push eax
call fcn.0040afca
test eax, eax
pop ecx
pop ecx
je 0x412c18
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040d775
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x412c4a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040d19b
cmp eax, ebx
pop ecx
mov dword [0x423274], eax
je 0x412c4a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040d19b
pop ecx
mov dword [0x423270], eax
mov eax, dword [0x423270]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x412cc3
cmp dword [0x423274], esi
je 0x412cc3
push eax
call fcn.0040d207
pop ecx
call eax
cmp eax, ebx
je 0x412c90
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x423274]
call fcn.0040d207
pop ecx
call eax
test eax, eax
je 0x412c90
test byte [ebp - 0x18], 1
jne 0x412cc3
lea eax, [ebp - 0xc]
push eax
call fcn.0040b001
test eax, eax
pop ecx
je 0x412cab
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040d775
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x412cba
or dword [ebp + 0x10], 0x200000
jmp 0x412cf4
or dword [ebp + 0x10], 0x40000
jmp 0x412cf4
mov eax, dword [0x423268]
cmp eax, esi
je 0x412cf4
push eax
call fcn.0040d207
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x412cf4
mov eax, dword [0x42326c]
cmp eax, esi
je 0x412cf4
push dword [ebp - 4]
push eax
call fcn.0040d207
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x423264]
call fcn.0040d207
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x61af0b
Capabilities:
Encode data using xor

Disassembly:
in al, 6
sbb eax, 0x45fe6c9
leave
adc al, 0xc5
mov esi, ds
add ch, dl
xchg esp, eax
lea edi, [edi + edx*4 + 0x58df815d]
fnsave dword [ebx]
insd dword es:[edi], dx
pop ebx
xor ebp, dword [ebp + 0x5b]
jg 0x61af20
sti
jmp 0x61aed8

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

Disassembly:
pushal
nop
nop
mov eax, section..wixburn
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3d7f7d09
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..pdata
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x6b6305d
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408e84
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3cfa4c9e
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1dbb642a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401980
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4019e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x40539c]
test esi, esi
jle 0x401ae0
mov eax, dword [0x4053a0]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x401a10
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401a8f
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401a00
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x401b07
mov eax, dword [0x4053a0]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x4053a0]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401ae7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401a88
sub eax, 4
and eax, 0xfffffffb
jne 0x401a96
add dword [0x40539c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add ebx, dword [0x4053a0]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401a88
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
xor esi, esi
jmp 0x401a1a
mov eax, dword [0x4053a0]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop
Function at 0x401fc0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053b0]
sub esp, 4
test ebx, ebx
je 0x402015
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40200e
test esi, esi
je 0x40200e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401ff0
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x1003b0eb
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x10021f03
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x10021f1d
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0x10021f0c
pop esi
jmp 0x10021f28
ret 4
jmp 0x10021ef6
jmp 0x1003b0d5

Function at 0x1003b603
Capabilities:
Check for vm using instruction vpcext

Disassembly:
pushfd
lea esp, [esp + 4]
call fcn.1003b659
mov dl, byte [ebx]
and esi, 0x15
cmpsb byte [esi], byte es:[edi]
push ss
add dword [eax + 3], 0x648d95ba
and al, 0x2c
Function at 0x100d2b77
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bh, dh
mov dword [esp + 3], edi
xchg word [esp + 4], bp
jmp 0x100d2bc0
pop word [esp + 3]
mov ebp, 0xadeb2b34
pop edi
mov bl, cl
push word [esp]
xchg ebp, eax
jmp 0x100d2ba0

Function at 0x100d2e6c
Capabilities:
Execute anti-debugging instructions

Disassembly:
std
btc eax, ecx
jmp 0x100d2eb4
dec ax
add esp, 6
xchg cx, si
lea ecx, [ebp*4]
cpuid
jmp 0x100d2e9e
neg eax
lea ecx, [esi*4]
not bl
mov word [esp + 5], bx
neg esi
xchg ah, ch
jmp 0x100d2e72

Function at 0x100d3074
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg word [esp + 0x1c], ax
jmp 0x100d3453
mov bx, sp
mov ah, bl
mov ebp, edx
mov ebp, dword [esp]
btc bx, bp
dec dl
jmp 0x100d3145
dec eax
lea ebx, [eax + ecx]
mov cl, 3
bswap ebx
mov dh, dl
mov ch, dl
jmp 0x100d30a8
mov dword [esp], ecx
mov bp, ax
mov ax, si
xchg si, bp
bt esi, esi
jmp 0x100d30f7
xchg byte [esp + 2], cl
xchg bx, si
sub di, dx
mov byte [esp + 1], dl
mov dword [esp], eax
bswap ebp
jmp 0x100d30cc
mov word [esp + 1], ax
mov esi, esp
not esi
xchg byte [esp + 1], bh
jmp 0x100d3127
mov word [esp + 1], dx
rdtsc
mov word [esp + 1], sp
sub ebx, 0x84379c44
bsf ebx, esp
sub cl, dh
jmp 0x100d30e2
xchg word [esp + 1], bx
mov bl, bh
setbe bl
xchg ch, ah
add esp, 0
lea edx, [edx*4]
jmp 0x100d3377
clc
cmc
bsr ebx, ebp
not al
push eax
lea esi, [edi*4]
jmp 0x100d310e
mov ax, word [esp + 3]
mov eax, edx
not ax
xchg si, bp
jmp 0x100d3231
pop dword [esp + 4]
mov ebp, dword [esp + 3]
mov dx, bx
mov di, 0x6d59
pop ebx
rcl dl, cl
jmp 0x100d3156
mov dword [esp + 3], edi
mov dh, bh
mov ecx, dword [esp + 6]
push dword [esp + 7]
sete bl
mov edx, ebp
jmp 0x100d316c
lea ebp, [esi + edi]
lea edx, [ebp + ebp]
bswap ecx
setp dh
jmp 0x100d31fd
mov word [esp + 1], di
mov ch, 0x9e
cld
pop dword [esp]
sub esp, 0x11
mov si, bp
jmp 0x100d319b
mov ah, byte [esp + 5]
rdtsc
bsf ecx, esi
mov byte [esp + 5], dh
mov dh, ah
xchg word [esp + 5], bx
jmp 0x100d31b1
lea eax, reloc.KERNEL32.dll_QueryPerformanceCounter
mov si, word [esp + 8]
xchg dword [esp + 0xf], ebp
call fcn.100d31e7
mov word [esp + 0x13], bx
xchg cx, dx
pop cx
xchg edx, eax
xchg byte [esp + 0x13], bh
call fcn.100d32d4
sbb dword [edx + ecx - 0x7e806393], edx
inc eax
add edi, dword [edx + reloc.KERNEL32.dll_QueryPerformanceCounter]
add dword [esi - 0x47], esp
xchg esi, eax
pushfd
mov byte [esp + 1], cl
mov cx, 0x9c96
mov dl, ch
pop word [esp]
push dword [esp + 2]
mov dword [esp + 1], edx
jmp 0x100d31d1
xchg dword [esp], ebx
sub esp, 6
mov edi, dword [esp + 1]
neg ah
cld
xchg word [esp + 4], di
jmp 0x100d3186
xchg bp, ax
mov byte [esp + 6], cl
lea edi, [ebx*4]
mov dword [esp + 0xe], eax
sub esp, 9
lea esp, [esp + 0x41]
jmp 0x100d30be
Function at 0x100d32d4
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edx, 0x94ae8c5f
sub esp, 5
shl di, cl
and al, 0x6b
dec dh
jmp 0x100d32a8
mov eax, 0x50b123ef
xchg cl, bh
mov bx, word [esp + 2]
add esp, 0x1b
cpuid
shr edx, 0x17
jmp 0x100d3249
aam 0xbb
das
mov edi, 0xc2d529da
jge 0x100d327b
ret 0xfd7d
std
pop dx
push dword [esp + 1]
mov edx, 0xc4bd66d8
rdtsc
mov word [esp + 0xd], sp
jmp 0x100d325f
cpuid
adc edx, 0x7e74cb72
pushal
mov bh, 0x9a
popal
xchg dword [esp + 6], eax
jmp 0x100d32b9
rdtsc
pushfd
lea esi, [esi + edi]
xchg dword [esp + 1], eax
neg eax
bts ebp, esi
jmp 0x100d3292
cpuid
pushfd
pop word [esp + 3]
pop dword [esp + 2]
push word [esp + 2]
pop dword [esp]
jmp 0x100d32ef
xchg bx, dx
jmp 0x100d327d
pop cx
neg al
call fcn.100d331f
push ss
mov ebx, dword [ebx]
jle 0x100d3274
bound edi, qword [esp + ebp - 0x6ccb3a5e]
mov ecx, 0xdf81a20f
pushfd
lea ebp, [edx + 0xe]
cpuid
sbb edi, 0xe6a8d9c
mov word [esp + 1], cx
mov word [esp + 4], bp
mov dl, 5
xchg byte [esp + 4], dh
jmp 0x100d32d9

Function at 0x100d331f
Capabilities:
Execute anti-debugging instructions

Disassembly:
rol dx, cl
sub esp, 5
xchg ebx, esi
stc
mov edx, edi
mov cx, di
jmp 0x100d3344
push word [esp + 3]
xchg ebx, ecx
xchg ah, dl
mov cx, sp
jmp 0x100d3309
pop dword [esp + 3]
xchg ebp, eax
pop dword [esp + 3]
pop si
setno dl
pop di
jmp 0x100d335a
lea edx, [esp + 0xa3]
xchg ecx, ebp
rdtsc
setne bh
mov edx, dword [esp + 1]
mov dh, 0xe2
jmp 0x100d332d
lea esp, [esp]
pushfd
xchg ah, cl
cld
mov edx, ebp
lea esi, [edx*4]
jmp 0x100d33e9
pop word [esp]
pop ax
rcl ecx, cl
mov dx, word [esp]
or bx, 0x8018
jmp 0x100d33c0
xchg word [esp + 1], si
neg dl
lea edx, reloc.KERNEL32.dll_QueryPerformanceCounter
rdtsc
mov ch, byte [esp]
lea ebx, reloc.KERNEL32.dll_QueryPerformanceCounter
jmp 0x100d338e
shr esi, 0xe
mov cl, byte [esp]
lea ebp, [edi*4]
ror ecx, cl
call fcn.100d3420
imul eax, dword [ebx], reloc.KERNEL32.dll_QueryPerformanceCounter
test byte [0x5ac453b6], 0x3d
int3
add esp, 4
mov bx, word [esp + 2]
lea edi, [eax*4]
mov esi, esp
rdtsc
mov bl, byte [esp + 1]
jmp 0x100d33a6

Function at 0x100d537a
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea edi, [edx*4]
not edx
xchg edx, edi
pop edi
lea esp, [esp]
jmp 0x100d539a
mov dword [esp], ecx
xchg dh, dl
pop eax
sub esp, 8
lea esp, [esp + 1]
not di
jmp 0x100d5341
xchg dx, ax
xchg dword [esp], eax
rcl eax, cl
jmp 0x100d5357
xchg byte [esp + 0x16], dl
rdtsc
cmc
bswap eax
pop edi
xchg byte [esp + 0xc], al
jmp 0x100d53b2
sub esp, 0x17
mov eax, dword [esp]
mov edi, 0xd91332c9
mov edx, ebp
lea eax, [edi + 0xf7]
bsr edx, esi
jmp 0x100d5384
bsr di, sp
mov di, word [esp + 3]
mov byte [esp + 0xa], dl
mov dword [esp + 0xf], esp
xchg al, dl
add esp, 0xd
jmp 0x100d53fd
lea edi, [esi*4]
mov di, 0xa223
bt eax, edx
mov dl, bl
xchg word [esp + 6], di
push eax
jmp 0x100d53e7

Function at 0x100d57db
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x100d5827
lea esp, [esp + 9]
rol eax, 0
mov word [esp], bp
xchg dword [esp], edx
setp dh
add esp, 2
lea edx, reloc.KERNEL32.dll_QueryPerformanceCounter
xchg di, dx
xchg word [esp + 3], dx
push word [esp + 2]
mov dl, 0xf1
mov al, ch
jmp 0x100d57dd