joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f330
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b068
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x477010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00420a67
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00422094
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
not ecx
mov dword [edi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
and ecx, 1
mov dword [edi + 0x38], 0
shl ecx, 2
mov eax, ebx
mov edx, ecx
or edx, 2
and al, 2
mov eax, ebx
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov dword [edi + 0x3c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41b100
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c088
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x477010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [ebp - 0x4c], 0
push 5
xor eax, eax
mov dword [ebp - 0x48], 7
push str.runas
lea ecx, [ebp - 0x5c]
mov word [ebp - 0x5c], ax
call fcn.0040bcc0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
mov edx, eax
mov dword [ebp - 0x34], 0
mov ecx, edx
mov dword [ebp - 0x30], 7
xor eax, eax
mov word [ebp - 0x44], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b192
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.0040bcc0
mov byte [ebp - 4], 1
xor eax, eax
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b1d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040bcc0
push 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push 5
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.0041a610
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov esi, eax
cmp edx, 8
jb 0x41b23f
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b235
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b2f0
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x41b289
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b27f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b2f5
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x41b2d3
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b2c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b2fa
push edx
push ecx
call fcn.00420a59
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00420a25
mov esp, ebp
pop ebp
ret
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
int3
Function at 0x41fec0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c648
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x477010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x420009
cmp byte [ebx + 0x3d], 0
je 0x420009
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x41ff14
xor al, al
jmp 0x42000b
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00420740
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
nop
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmp edx, 0x10
lea esi, [ebp - 0x28]
cmovae esi, eax
cmovae edi, eax
mov edx, dword [ecx]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x41ff7f
sub eax, 1
je 0x41ff83
mov edx, dword [ebp - 0x14]
sub eax, 2
mov eax, dword [ebp - 0x28]
je 0x41ffd9
xor bl, bl
jmp 0x41ffdb
mov byte [ebx + 0x3d], 0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp edx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae ecx, eax
sub esi, ecx
je 0x41ffbb
push dword [ebx + 0x4c]
cmp edx, 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, eax
push 1
push ecx
call fcn.0042d11d
mov edx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
mov eax, dword [ebp - 0x28]
jne 0x41ff7b
cmp byte [ebx + 0x3d], 0
je 0x41ffd9
test esi, esi
jne 0x41ff40
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00411990
jmp 0x41ff39
mov bl, 1
cmp edx, 0x10
jb 0x420005
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x41fffb
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x420027
push edx
push eax
call fcn.00420a59
add esp, 8
mov al, bl
jmp 0x42000b
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00420a25
mov esp, ebp
pop ebp
ret
call fcn.0042848b
int3

Function at 0x427f7f
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x461900
push 0x4618f8
push str.FlsAlloc
push 0
call fcn.00427ef8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x427fb1
push dword [ebp + 8]
mov ecx, esi
call fcn.00420f6d
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x427ff6
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x461910
push 0x461908
push str.FlsGetValue
push 2
call fcn.00427ef8
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x428027
mov ecx, esi
call fcn.00420f6d
call esi
jmp 0x42802d
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret
Function at 0x428030
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x461918
push 0x461910
push str.FlsSetValue
push 3
call fcn.00427ef8
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x428064
mov ecx, esi
call fcn.00420f6d
call esi
jmp 0x42806a
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x435821
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043569e

Function at 0x438085
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00437d27

Function at 0x44397b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x443d1a
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
jne 0x443d37
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x443d3b
jmp 0x443d43
mov esp, ebp
pop ebp
ret
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.0044423d
push 0x473cf8
lea eax, [ebp - 0x10]
push eax
call fcn.0042477c
int3

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

Disassembly:
push 4
mov eax, 0x45ce80
call fcn.00457a61
mov edi, ecx
mov dword [ebp - 0x10], edi
or dword [edi + 4], 0xfffffff
lea ecx, [edi + 0x3c]
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0x80000000
mov dword [edi + 0x18], ebx
mov dword [edi + 0x38], ebx
call fcn.0044284e
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x64]
mov dword [edi + 0x64], eax
xor eax, eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
test dword [0x4779d4], 0x80000000
je 0x44d070
push dword [0x47a6fc]
call fcn.00443d69
pop ecx
test eax, eax
jne 0x44d075
call fcn.0044952e
mov dword [edi + 0xc], eax
mov eax, dword [eax + 0x34]
mov dword [edi], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
test eax, eax
je 0x44d090
cmp eax, 2
je 0x44d090
lock inc dword [eax + 4]
mov ecx, edi
call fcn.0044dbb0
lea ecx, [edi + 0x3c]
call fcn.0044315c
cmp byte [ebp + 0xc], 0
je 0x44d0d1
mov edx, dword [edi + 0x64]
mov ecx, edi
add edx, 0x68
mov esi, dword [edx]
mov eax, esi
mov dword [edi + 0x68], esi
lock cmpxchg dword [edx], ecx
jmp 0x44d0cb
mov dword [edi + 0x68], eax
mov esi, eax
mov ecx, dword [edi + 0x64]
mov edx, edi
add ecx, 0x68
lock cmpxchg dword [ecx], edx
cmp eax, esi
jne 0x44d0ba
jmp 0x44d0d9
or dword [edi + 0x78], 1
and dword [edi + 0x68], 0
call fcn.00449719
mov esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x44d0f1
mov ecx, esi
call fcn.0044c584
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x40]
and dword [edi + 4], 0xfffffff
mov dword [edi + 0x80], eax
mov eax, edi
call fcn.00457a3b
ret 8
Function at 0x4550ef
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x47a768], eax
cmp eax, 0xffffffff
jne 0x455111
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x455115
jmp 0x45511d
mov esp, ebp
pop ebp
ret
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.0044423d
push 0x473cf8
lea eax, [ebp - 0x10]
push eax
call fcn.0042477c
int3

Function at 0x41b790
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
jmp 0x41b7aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41b7b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41b7a0
mov eax, 1
add ebx, ebx
jne 0x41b7c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41b7b8
jne 0x41b7d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b7b8
xor ecx, ecx
sub eax, 3
jb 0x41b7e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41b85a
mov ebp, eax
add ebx, ebx
jne 0x41b7f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41b800
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41b824
inc ecx
add ebx, ebx
jne 0x41b810
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41b805
jne 0x41b821
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b805
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41b844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41b835
jmp 0x41b7a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41b844
add edi, ecx
jmp 0x41b7a6
pop esi
mov edi, esi
mov ecx, 0x12d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41b862
cmp byte [edi], 2
jne 0x41b862
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41b867
lea edi, [esi + 0x19000]
mov eax, dword [edi]
or eax, eax
je 0x41b8d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b638]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b6cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41b894
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b6d4]
or eax, eax
je 0x41b8d0
mov dword [ebx], eax
add ebx, 4
jmp 0x41b8b1
call dword [esi + 0x1b6d0]
mov ebp, dword [esi + 0x1b6d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41b90a
sub esp, 0xffffff80
jmp 0x405a80
Function at 0x40bb27
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, 0xbb40e64e
cmp dword [0x410438], eax
je 0x40bb49
cmp dword [0x410438], ebx
jne 0x40bbdd
push edi
push eax
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
xor edi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x410438
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
test edi, edi
push eax
push dword [ebp - 4]
cmovne ebx, edi
mov edi, 0x410438
push 4
push edi
mov dword [0x410438], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push edi
call sub.KERNEL32.dll_WerRegisterMemoryBlock
mov eax, dword [0x410438]
not eax
mov dword [0x4120c0], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40ad90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pop ebx
mov ebx, 0x10c25de5
add byte [ebx - 0x70], ch
invalid
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 2
je 0x40adab
pushfd
adc eax, 0x42a3c12c
fadd dword [eax]
jl 0x40ae14
add byte [eax], al
xor esp, dword [edx - 0x63]
ret
mov eax, dword [ebp + 0x14]
and eax, 0xcd0f104d
or al, 0x50
push ecx
push edx
call 0x8640add0
add esp, 0xc
xchg ebx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
jbe 0x40ae1a
adc byte [ebx + 0x4d], ah
or al, 0x73
lodsd eax, dword [esi]
adc byte [edx + 0x2c15ff0c], dl
test byte [eax], 0xb5
add byte [eax + eax], bl
add byte [eax], al
push ss
add byte [ebp + 0x1c00], dh
add byte [esi], dl
rcr byte [ebp - 0x3d], 0x53
jle 0x40ad7c
jne 0x40ade3
push edi
mov edi, 4
inc eax
push es
inc esi
cmp al, 0x63
mov byte [ebp + 0x74], al
jbe 0x40ae1d
mov eax, dword [ebp - 0x5f]
mov ebx, 0x4d000040
and eax, 0x2500ff
cmp dh, bh
sti
add al, 0x30
adc dword [ebp + 0x10], edx
mov byte [ebx + 0x41], bl
xor byte [ecx], dl
push ebp
adc byte [eax + 0x4eb415b], cl
inc ecx
jmp 0x40ae21
or dword ss:[esi + 0x17], esi
les ecx, [ebp + 0x10]
mov ebx, 0xab00000a
dec ebp
adc byte [ebx - 0x54fffff6], bh
and eax, 0xff
sub esi, edi
sti
add al, 0x30
mov byte [ecx], al
inc ecx
mov al, dl
add al, 0x30
mov byte [ecx], al
inc ecx
mov byte [ecx], 0xb4
inc ecx
dec edi
jne 0x40aebf
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov byte [ecx - 1], 0x1e
pop ebx
pop ebp
push ecx
push ebp
mov ebp, dword [ebx]
jb 0x40ae22
mov ebx, 0x758b5653
adc byte [edi - 0x7d], dl
add byte ds:[edi + 0x11], dh
invalid
cwde
rol byte [eax], 0xff
salc
test eax, eax
jne 0x40aed2
pop edi
pop esi
pop ebx
mov ebx, dword [edx - 0x72]
ret 0xc
call esi
pop edi
pop esi
add eax, 0x36fc80
pop ebx
cld
in eax, 0x5d
ret 0xc
Function at 0x10017f10
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100a60a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
push edi
mov dword [ebp - 0x20], esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [edi + 4], 0
mov edx, eax
mov dword [ebp - 0x24], edx
mov ebx, edx
je 0x10018094
test esi, esi
je 0x10018094
mov esi, dword [edi + 0xcc]
sub eax, esi
mov ecx, dword [edi + 0xd0]
cmp eax, ecx
jae 0x10017f70
sub ecx, edx
add ecx, esi
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
mov edi, dword [edi]
mov ecx, dword [ecx + 0x2c]
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, ecx
cdq
and edx, 7
lea esi, [edx + eax]
sar esi, 3
mov dword [ebp - 0x18], esi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp dword [0x100a7550], eax
je 0x10017fb5
mov ecx, edi
call fcn.100bcfa0
test byte [edi + 0x8c], 2
jne 0x10018039
mov eax, dword [edi + 0xb30]
mov esi, dword [0x100a74c4]
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0xb3c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
call dword [0x100ac510]
call esi
mov esi, eax
mov edx, edi
mov ecx, esi
call fcn.1000f560
test eax, eax
jne 0x10018002
mov ecx, esi
call fcn.10017c10
test eax, eax
jne 0x10018092
mov eax, dword [edi + 0x116c]
mov edx, dword [ebp - 8]
cmp eax, 2
je 0x10018015
cmp eax, 4
jne 0x10018058
cmp byte [ebp - 0xc], 0
jne 0x10018058
mov ecx, dword [edi + 0x117c]
mov esi, dword [ebp - 0x18]
test ecx, ecx
je 0x1001805b
mov eax, dword [edi + 0x1180]
imul eax, edx
xor edx, edx
div ecx
mov edx, eax
jmp 0x1001805b
mov ecx, dword [0x100a74a0]
mov eax, 0x64
mov edx, ecx
add ecx, 0xa
cmp eax, ecx
sbb eax, eax
not eax
and eax, ecx
mov dword [0x100a74a0], eax
jmp 0x1001805b
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
add eax, edx
cmp eax, dword [ecx + 4]
jl 0x10018092
mov ecx, dword [ecx + 0xc]
cmp edx, ecx
jg 0x10018092
lea eax, [edx + esi]
cmp eax, ecx
jge 0x1001807e
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
sub eax, dword [ebp - 0x24]
cmp eax, 0x1e
jb 0x10017f98
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009ebb0
mov esp, ebp
pop ebp
ret
Function at 0x1009f080
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1009f0be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1009f0b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1009f0c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1009f0a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1009f190
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x1009f1c1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1009f1c1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x1009f1c1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x100b74da
Capabilities:
Encode data using xor

Disassembly:
call 0x100b7453
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x100b7483
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100b749f
xor edx, 0
jmp 0x100b74aa
xor edx, edx
jmp 0x100b74c1
jmp 0x100b74cd
xor eax, eax
push 0x8427d7c0
call 0x100b74da
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100b7516
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100b74ef
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x100b752d
add eax, 0
jno 0x100b7532
add esi, 0
ret 0x10
Function at 0x100b829b
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x100b82bd
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x100b845f
cmp edi, dword [ebp + 0x10]
jb 0x100b845f
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.100b7d87
inc edi
jmp 0x100b8346
jmp 0x100b8353
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100b7d87
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100b7d87
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x100b83a7
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x100b838b
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100b83d5
add dword [eax], 0x39
jle 0x100b83b1
sub al, 0xf5
mov ch, al
call fcn.100b83ea
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x100ba0c2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x100ba0d8
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x100ba0e9
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100ba12a
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx