joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100114c0
Capabilities:
Enumerate devices by category

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1001a0e0
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push edi
mov edi, dword [esp + 0x34]
xor ebx, ebx
cmp edi, ebx
jge 0x100114f9
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov dword [esp + 8], ebx
lea eax, [esp + 8]
mov dword [esp + 0x2c], ebx
push eax
push 0x1001f3b0
push 1
push ebx
push 0x1001f440
call dword [0x1001b600]
cmp eax, ebx
je 0x10011548
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x10011592
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 8]
lea ecx, [esp + 0x34]
push ebx
push ecx
mov edx, dword [eax]
push 0x1001f430
push eax
mov byte [esp + 0x3c], 1
call dword [edx + 0xc]
cmp eax, ebx
je 0x100115a7
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2c], bl
cmp eax, ebx
je 0x1001157c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x10011592
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov eax, dword [esp + 0x34]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push 1
push eax
xor esi, esi
call dword [ecx + 0xc]
cmp edi, ebx
jl 0x10011666
push ebp
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
push 0x1001be78
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jl 0x1001163c
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
push ebx
mov word [esp + 0x20], 8
mov ecx, dword [eax]
push edx
push 0x100244e0
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jne 0x10011632
cmp esi, edi
jne 0x10011627
mov eax, dword [esp + 0x14]
push ebp
push 0x1001f3a0
push ebx
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x20]
mov edx, dword [esp + 0x24]
push edx
call dword [0x1001b3d8]
mov eax, dword [esp + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push edx
push 1
push eax
inc esi
call dword [ecx + 0xc]
cmp esi, edi
jle 0x100115d7
pop ebp
mov eax, dword [esp + 0x38]
mov byte [esp + 0x30], bl
cmp eax, ebx
pop esi
je 0x10011679
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x1001168f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x24]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x10013200
Capabilities:
Enumerate devices by category

Disassembly:
push 0xffffffffffffffff
push 0x1001a09b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x828
lea eax, [esp + 0x14]
push ebp
push eax
xor ebp, ebp
push 0x1001f3b0
push 1
push ebp
push 0x1001f440
mov byte [esp + 0x1b], 0
call dword [0x1001b600]
cmp eax, ebp
je 0x10013257
xor al, al
pop ebp
mov ecx, dword [esp + 0x828]
mov dword fs:[0], ecx
add esp, 0x834
ret
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x18]
lea edx, [esp + 8]
push ebp
push edx
mov ecx, dword [eax]
push 0x1001f430
push eax
mov dword [esp + 0x844], ebp
call dword [ecx + 0xc]
cmp eax, ebp
je 0x100132ac
mov eax, dword [esp + 8]
mov dword [esp + 0x834], 0xffffffff
cmp eax, ebp
je 0x10013294
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
pop ebp
mov ecx, dword [esp + 0x828]
mov dword fs:[0], ecx
add esp, 0x834
ret
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
cmp eax, ebp
jne 0x100133bf
push ebx
mov ebx, dword [0x1001b174]
push esi
mov esi, dword [esp + 0x844]
push edi
mov edi, dword [0x1001b264]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0x1001be78
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x10013394
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push 0
mov word [esp + 0x2c], 8
mov ecx, dword [eax]
push edx
push 0x100244e0
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1001338a
mov eax, dword [esp + 0x30]
push eax
call dword [0x1001b378]
add esp, 4
test eax, eax
jbe 0x1001338a
test esi, esi
je 0x10013386
mov edx, dword [esp + 0x30]
push 0
push 0
lea ecx, [esp + 0x40]
push 0x800
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call ebx
lea eax, [esp + 0x38]
push 0x64
push eax
push esi
call dword [0x1001b35c]
add esp, 0xc
push esi
call edi
push esi
lea ebp, [eax + ebp + 1]
call edi
mov ecx, dword [esp + 0x30]
lea esi, [esi + eax + 1]
push ecx
call dword [0x1001b3d8]
inc byte [esp + 0x13]
mov eax, dword [esp + 0x1c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
test eax, eax
je 0x100132ea
pop edi
pop esi
pop ebx
mov eax, dword [esp + 0x840]
test eax, eax
je 0x100133cc
mov dword [eax], ebp
mov eax, dword [esp + 8]
mov dword [esp + 0x834], 0xffffffff
test eax, eax
je 0x100133e5
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x82c]
mov al, byte [esp + 7]
pop ebp
mov dword fs:[0], ecx
add esp, 0x834
ret
Function at 0x100137a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
push 0x1c
push eax
push edi
call dword [0x1001b2a8]
test eax, eax
je 0x10013816
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
push ecx
push edx
push esi
call dword [0x1001b18c]
test eax, eax
je 0x10013816
mov eax, dword [esi + 0x3c]
xor ecx, ecx
add eax, esi
sub edi, esi
xor ebp, ebp
mov cx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
xor ecx, ecx
mov cx, word [eax + 6]
test ecx, ecx
jbe 0x10013816
lea eax, [edx + 0x10]
mov edx, dword [eax]
mov esi, dword [eax - 8]
mov ebx, dword [eax - 4]
cmp edx, esi
ja 0x10013804
mov edx, esi
cmp edi, ebx
jb 0x1001380e
add edx, ebx
cmp edi, edx
jbe 0x10013820
inc ebp
add eax, 0x28
cmp ebp, ecx
jb 0x100137f6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
inc ebp
sub edi, ebx
mov dword [edx], ebp
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret

Function at 0x10016460
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bd58
push 0x10019ada
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
xor ebx, ebx
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51396f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop esi
mov eax, dword [ebp - 0x4ec]
mov ecx, dword [eax]
mov dword [ebp - 0x4ec], ecx
mov edx, dword [ebp - 0x4ec]
cmp edx, dword [ebp - 0xc68]
je 0x51399f
mov eax, dword [ebp - 0x4ec]
cmp dword [eax + 0x30], 0
jne 0x51376a
mov dword [ebp - 0x2a8], 0
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3ed67e99
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..rdata
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3b0c4c81
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401eef
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push edi
jne 0x401f0d
mov edi, dword [ebp + 0x10]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov al, 1
jmp 0x401fa5
cmp dword [0x406168], ebx
jne 0x401f35
push 0xf0000000
push 1
push 0x401450
push ebx
push 0x406168
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x401f35
xor al, al
jmp 0x401fa5
push esi
push ebx
push ebx
push ebx
push 2
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
cmp esi, ebx
je 0x401fa2
push ebx
push ebx
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x401fa2
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x8003
push dword [0x406168]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x401f9b
push ebx
push dword [ebp + 0xc]
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x401fab
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor al, al
pop esi
pop edi
pop ebx
leave
ret 0xc
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 8], 0x10
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x401fdd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov al, bl
jmp 0x401fa4
mov bl, 1
jmp 0x401fc9
Function at 0x4047a9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x10
cmp eax, dword [ebp + 0x10]
je 0x4047cf
push 0x44f
call fcn.00403fba
pop ebp
ret 0xc

Function at 0x4047f3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
cmp eax, dword [ebp + 0x10]
je 0x404819
push 0x452
call fcn.00403fba
pop ebp
ret 0xc

Function at 0x404a3b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4065e0]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
shr ecx, 4
push 6
xor esi, esi
inc ecx
push ecx
push eax
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x404aa1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404aa1
and edi, 0xf
je 0x404a7c
dec edi
movzx ecx, word [eax]
lea eax, [eax + ecx*2 + 2]
jne 0x404a72
movzx ecx, word [eax]
mov esi, 0x3ff
cmp cx, si
jae 0x404a8c
movzx esi, cx
lea ecx, [esi + esi]
push ecx
add eax, 2
push eax
push 0x4065e8
call sub.MSVCR80.dll_memcpy
add esp, 0xc
and word [esi*2 + 0x4065e8], 0
pop edi
test esi, esi
pop esi
pop ebx
jne 0x404ab9
and word [0x4065e8], 0
mov eax, 0x4065e8
pop ebp
ret 4

Function at 0x404d6b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x406148]
jne 0x404d75
repz ret
jmp fcn.00405224
Function at 0x50020a6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
push ebx
push esi
push edi
mov dword [ebp - 0x264], 0x72657375
mov dword [ebp - 0x260], 0x61746164
mov dword [ebp - 0x25c], 0x7275635c
mov dword [ebp - 0x258], 0x746e6572
mov dword [ebp - 0x254], 0x76726573
mov dword [ebp - 0x250], 0x692e7265
mov dword [ebp - 0x24c], 0x696e
and dword [ebp - 0x248], 0
lea eax, [ebp - 0x264]
mov dword [ebp - 0x244], eax
call 0x5002114
js 0xf0593001
add dl, byte [eax + 0x33]
add ecx, 2
jmp 0x500211f
push ecx
ret

Function at 0x5002ede
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push ebx
push esi
push edi
mov dword [ebp - 0x38], 0x32302e25
mov dword [ebp - 0x34], 0x302e2564
mov dword [ebp - 0x30], 0x2e256432
mov dword [ebp - 0x2c], 0x643230
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], eax
call 0x5002f19
js 0xf0593e06
add dl, byte [eax + 0x33]
add ecx, 2
jmp 0x5002f24
push ecx
ret

Function at 0x5003148
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 1
call fcn.05001dce
xor esi, esi
pop ecx
cmp eax, esi
je 0x5003188
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x32423141
push ecx
push eax
mov dword [ebp - 8], 0x3343
mov dword [ebp - 4], esi
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x5003188
push 0x7530
call fcn.05003a6f
cmp dword [0x50070f0], esi
jne 0x50031a4
push 0x50070f0
push esi
push esi
push 0x5001ccc
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
leave
ret
Function at 0x2e01b247
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.2e015dc1
and dword [ebp - 4], 0
cmp dword [0x2e022c68], 0
mov ebx, eax
jne 0x2e01b2f8
push 0x2e002d40
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x2e01b3a9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2e002d34
push edi
call esi
test eax, eax
je 0x2e01b3a9
push eax
call fcn.2e015d4f
mov dword [esp], 0x2e002d24
push edi
mov dword [0x2e022c68], eax
call esi
push eax
call fcn.2e015d4f
mov dword [esp], 0x2e002d10
push edi
mov dword [0x2e022c6c], eax
call esi
push eax
call fcn.2e015d4f
mov dword [esp], 0x2e002cf4
push edi
mov dword [0x2e022c70], eax
call esi
push eax
call fcn.2e015d4f
pop ecx
mov dword [0x2e022c78], eax
test eax, eax
je 0x2e01b2f8
push 0x2e002cdc
push edi
call esi
push eax
call fcn.2e015d4f
pop ecx
mov dword [0x2e022c74], eax
mov eax, dword [0x2e022c74]
cmp eax, ebx
je 0x2e01b350
cmp dword [0x2e022c78], ebx
je 0x2e01b350
push eax
call fcn.2e015dca
push dword [0x2e022c78]
mov esi, eax
call fcn.2e015dca
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x2e01b350
test edi, edi
je 0x2e01b350
call esi
test eax, eax
je 0x2e01b347
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x2e01b347
test byte [ebp - 0xc], 1
jne 0x2e01b350
or dword [ebp + 0x10], 0x200000
jmp 0x2e01b389
mov eax, dword [0x2e022c6c]
cmp eax, ebx
je 0x2e01b389
push eax
call fcn.2e015dca
pop ecx
test eax, eax
je 0x2e01b389
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x2e01b389
mov eax, dword [0x2e022c70]
cmp eax, ebx
je 0x2e01b389
push eax
call fcn.2e015dca
pop ecx
test eax, eax
je 0x2e01b389
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x2e022c68]
call fcn.2e015dca
pop ecx
test eax, eax
je 0x2e01b3a9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x2e01b3ab
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x403560
Capabilities:
Create pipe
Create process on windows
Get thread local storage value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x180c
call fcn.00410080
mov eax, dword [0x46b9f4]
mov ecx, dword [0x46b484]
push ebx
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403677
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x46b9f4], 0x959
jne 0x403660
push 0
lea eax, [ebp - 0xc08]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x1808]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x1008]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [ebp - 4]
push ecx
call fcn.004032a0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x40359e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40540b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45c168]
jne 0x405415
repz ret
jmp fcn.0040a89c

Function at 0x40ae2e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409539
and dword [ebp - 4], 0
cmp dword [0x4629b4], 0
mov ebx, eax
jne 0x40aedf
push 0x401ad8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40af90
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401acc
push edi
call esi
test eax, eax
je 0x40af90
push eax
call fcn.004094c7
mov dword [esp], 0x401abc
push edi
mov dword [0x4629b4], eax
call esi
push eax
call fcn.004094c7
mov dword [esp], 0x401aa8
push edi
mov dword [0x4629b8], eax
call esi
push eax
call fcn.004094c7
mov dword [esp], 0x401a8c
push edi
mov dword [0x4629bc], eax
call esi
push eax
call fcn.004094c7
pop ecx
mov dword [0x4629c4], eax
test eax, eax
je 0x40aedf
push 0x401a74
push edi
call esi
push eax
call fcn.004094c7
pop ecx
mov dword [0x4629c0], eax
mov eax, dword [0x4629c0]
cmp eax, ebx
je 0x40af37
cmp dword [0x4629c4], ebx
je 0x40af37
push eax
call fcn.00409542
push dword [0x4629c4]
mov esi, eax
call fcn.00409542
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40af37
test edi, edi
je 0x40af37
call esi
test eax, eax
je 0x40af2e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40af2e
test byte [ebp - 0xc], 1
jne 0x40af37
or dword [ebp + 0x10], 0x200000
jmp 0x40af70
mov eax, dword [0x4629b8]
cmp eax, ebx
je 0x40af70
push eax
call fcn.00409542
pop ecx
test eax, eax
je 0x40af70
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40af70
mov eax, dword [0x4629bc]
cmp eax, ebx
je 0x40af70
push eax
call fcn.00409542
pop ecx
test eax, eax
je 0x40af70
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4629b4]
call fcn.00409542
pop ecx
test eax, eax
je 0x40af90
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40af92
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001ee0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x10001eeb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x10001fee
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x1ff96fc]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x1ff96fc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x1ff96fc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x1ff96fc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x1ff96fc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x1ff96fc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x1ff96fc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x1ff96fc]
xor eax, edx
inc ecx
dec edi
jne 0x10001f06
pop edi
test esi, esi
je 0x10002010
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x1ff96fc]
xor eax, edx
inc ecx
dec esi
jne 0x10001ff2
pop esi
pop ebx
not eax
ret
Function at 0x1001ffcd
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1ff7ce8
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x40]
test edx, edx
setne bl
inc ebx
test eax, eax
je 0x1001ffe3
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.1000df00
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.1000e400
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.10020050
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x1ff9fcc
call fcn.1000e100
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8