joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4984e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f91c8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x498519
inc eax
mov dword [esi + 0x10], eax
jmp 0x49862c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x49852d
mov eax, 0xffffffc7
jmp 0x49862e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x49853e
cmp dword [esi + 8], eax
jne 0x49852d
cmp dword [esi + 8], eax
jne 0x498557
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x498557
mov eax, 0xffffffc7
jmp 0x49862e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x49856b
push eax
mov ecx, ebx
call fcn.00497d10
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00460a60
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x49859c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00460a80
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00497480
test eax, eax
mov dword [esp + 0x38], eax
je 0x4985cf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x54b2d8
call fcn.00460c60
mov eax, dword [esp + 0x38]
jmp 0x49862e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00498340
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x498613
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00498360
mov esi, eax
test esi, esi
jne 0x498643
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00498340
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4985e5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x54b2d8
call fcn.00460c60
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x54b2d8
call fcn.00460c60
mov eax, esi
jmp 0x49862e
Function at 0x4a83f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f9ab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x4fc6a4]
push 0
lea ecx, [esp + 0x20]
call fcn.004f12d9
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004a7d50
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004f1207
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004edac2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004edac2
push 1
push 0
push 0
mov ecx, esi
call fcn.004eda6a
push 1
push 0
push 1
mov ecx, esi
call fcn.004eda6a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004f134b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4a8570
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f9ad8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004f12d9
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004a7d50
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004f1207
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x4fc6a4]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4a8634
cmp dword [esp + 0x40], 1
jne 0x4a8632
cmp ecx, eax
jge 0x4a8634
mov eax, ecx
cmp eax, 0xc8
jge 0x4a8640
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004a83f0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x4fc6a0]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004f134b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4a8e40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f9b83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004ebee2
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x4fc184]
push eax
mov ecx, edi
call fcn.004f1581
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004f2ae0
test eax, eax
je 0x4a8f5c
mov ecx, dword [esp + 0x3c]
call fcn.004f15ae
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4fc6c4]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4a8f20
push edi
mov ecx, esi
call fcn.004eec09
mov ecx, esi
call fcn.004a9100
cmp dword [esp + 0x38], 1
jne 0x4a8f55
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004eed44
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x4ab170
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4ab1a3
push esi
call fcn.004b9470
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4ab19c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4ab229
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4ab212
mov eax, dword [esi + 8]
test eax, eax
je 0x4ab1c7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4ab20e
cmp eax, 2
je 0x4ab212
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4ab1ba
cmp eax, 3
je 0x4ab1ed
cmp eax, 1
jne 0x4ab1ba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4ab1ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4ab1ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004ab250
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4ab238
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004ab250
add esp, 4
pop esi
ret
Function at 0x4d0e00
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x56db5c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4d0e13
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4d0e54
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x56dc04]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4d0e86
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4d0e8a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4d0e7b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4d0ea8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4d0eac
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4d0e9d
xor ecx, ecx
mov eax, 0x56db6c
xor ebx, ebx
mov bl, byte [ecx + 0x56dc14]
cmp byte [esp + ebx + 0x14], 0
je 0x4d0ed7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x56dc2c]
cmp byte [esp + ebx + 0x14], 0
je 0x4d0eee
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4d0ebe
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4d0e47
lea edx, [esp + 0x84]
push edx
call fcn.004d0f30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4d5f90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fa920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004d5b40
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004d5bc0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004d5bc0
lea ecx, [esi + 0xc]
call fcn.004ea895
lea ecx, [esi + 0x10]
call fcn.004ea895
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004d7150
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004d7150
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004d7150
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004ea90a
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004ea90a
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40110b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x410004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x401158
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push 0x3ff
push 0x400
push eax
call fcn.004011a6
lea eax, [ebp - 0x404]
push eax
call fcn.004011a6
add esp, 0x18
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401b66
leave
ret

Function at 0x4011a6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x4011b5
pop dword [ebp - 0x10]
mov eax, 0x4011b5
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xb92569a8
sub dword [ebp - 0x20], 0x6ad3245d
mov dword [ebp - 0x1c], 0x1660da46
add dword [ebp - 0x1c], 0x1bd271ff
mov dword [ebp - 0x18], 0x37d9d32b
sub dword [ebp - 0x18], 0xeb8d8efd
mov dword [ebp - 0x14], 0x7fa18477
add dword [ebp - 0x14], 0x805e7b89
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x7ffb3b8c
sub dword [ebp - 0x20], 0xb88d236
mov dword [ebp - 0x1c], 0x6a8799a4
sub dword [ebp - 0x1c], 0x291b382f
mov dword [ebp - 0x18], 0x580f1998
sub dword [ebp - 0x18], 0xf49fad2c
mov dword [ebp - 0x14], 0x87ca5e13
add dword [ebp - 0x14], 0x7835a1ed
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3959b
push 0
call eax
mov ecx, 0x5ebfa80
add ecx, 0xfa144d02
xor edx, edx
add edx, eax
mov ebx, 0xb316d795
add ebx, 0x4d2ad86b
add ebx, dword [ebp - 0x10]
mov esi, 0x8bb36a2b
xor dword [ebp - 8], ebx
mov edi, dword [ebx]
xor edi, esi
sub dword [ebp - 0xc], 0x319c63
mov dword [edx], edi
sub dword [ebp - 4], 0x5eafc420
add edx, 0x86214a0f
add edx, 0x79deb5f5
add ebx, 0x9ef97707
sub ebx, 0x9ef97703
loop 0x4012c4
add eax, 0x110db
xor ebx, ebx
add ebx, eax
add eax, 0x484469e9
add eax, 0xb7bb961c
mov ecx, 0x735f3b5
sub ecx, 0x6f5f3b5
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d
Function at 0x50539a1e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x50539a2d
pop dword [ebp - 0x48]
mov eax, 0x50539a2d
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x6322fb60
add dword [ebp - 0x58], 0xeb2f49eb
mov dword [ebp - 0x54], 0xbdbd2c59
sub dword [ebp - 0x54], 0x8b89e014
mov dword [ebp - 0x50], 0x32a4da28
sub dword [ebp - 0x50], 0xe65895fa
mov dword [ebp - 0x4c], 0x9bcd021c
sub dword [ebp - 0x4c], 0x9bcd021c
lea eax, [ebp - 0x58]
push eax
mov eax, 0x4b7495f5
sub eax, 0xfb2184d1
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x7cb20405
add dword [ebp - 0x58], 0xf7c06551
mov dword [ebp - 0x54], 0x1e819b1e
sub dword [ebp - 0x54], 0xdd1539a9
mov dword [ebp - 0x50], 0x3a03041
sub dword [ebp - 0x50], 0xa030c3d5
mov dword [ebp - 0x4c], 0xb856652
add dword [ebp - 0x4c], 0xf47a99ae
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xbee609ad
add eax, 0x916d0787
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3a479
push 0
call eax
mov ecx, 0x30df9a9d
sub ecx, 0x30df4fd3
xor edx, edx
add edx, eax
mov edi, 0xdf85b7fc
sub edi, 0x8f2f67fc
add edi, dword [ebp - 0x48]
mov esi, 0xb5c8ae33
sub esi, 0xb4a3e60a
add dword [ebp - 0xc], 0xb6de375e
mov ebx, dword [edi]
add dword [ebp - 0x44], 0xc2cc81b0
xor ebx, esi
add dword [ebp - 0x14], eax
mov dword [edx], ebx
add dword [ebp - 0x20], eax
add edx, 0x29080037
add edx, 0xd6f7ffcd
add edi, 0x2e0ba879
sub edi, 0x2e0ba875
loop 0x50539b4c
add eax, 0x11dfb
mov ebx, eax
add eax, 0x8d75788d
sub eax, 0x8d757888
mov ecx, 0x50530000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x50540fec
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
test eax, eax
jle 0x50541011
and eax, 0xffff
or eax, 0x80070000
ret 8
Function at 0x5054eb3e
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x468
push ebx
push ebp
push esi
xor esi, esi
cmp dword [0x5055df98], esi
push edi
mov dword [esp + 0x10], esi
jne 0x5054ed0f
push 0x14
call sub.MSVCR70.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x5054eb6f
mov ecx, eax
call fcn.5054e63e
jmp 0x5054eb71
xor eax, eax
mov dword [0x5055df98], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov dword [esp + 0x14], esi
mov esi, 0x5055dfa0
push esi
call fcn.50539a1e
test eax, eax
je 0x5054ed0f
mov ebx, dword [sym.imp.MSVCR70.dll_wcscat]
push 0x505342dc
push esi
call ebx
push esi
mov edi, str.file:__
push edi
call ebx
add esp, 0x10
lea eax, [esp + 0x10]
push eax
mov eax, 0x50537848
push eax
push eax
mov ecx, 0x5055df50
call fcn.50538f90
test eax, eax
mov ebp, dword [sym.imp.MSVCR70.dll_swprintf]
jl 0x5054ec07
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x5054ec07
push dword [esp + 0x1c]
push esi
push 0x505342c4
push esi
call ebp
push dword [esp + 0x2c]
push edi
push 0x505342b8
push edi
call ebp
add esp, 0x20
mov dword [esp + 0x14], 1
jmp 0x5054ec11
push 0x505342ac
push esi
call ebx
pop ecx
pop ecx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5054ec24
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [esp + 0x10], 0
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.vsansi.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x5054ecc7
cmp dword [esp + 0x14], 0
je 0x5054ed0f
push 0x5053429c
push edi
call dword [sym.imp.MSVCR70.dll_wcscpy]
pop ecx
pop ecx
push esi
call fcn.50539a1e
push 0x505342dc
push esi
call ebx
push esi
push edi
call ebx
push 0x505342ac
push esi
call ebx
add esp, 0x18
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.vsansi.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x5054ed0f
lea eax, [esp + 0x4c]
push eax
push edi
lea eax, [esp + 0x278]
push 0x50534290
push eax
call ebp
mov eax, dword [0x5055df98]
mov ecx, dword [eax]
add esp, 0x10
lea edx, [esp + 0x270]
push edx
push eax
call dword [ecx + 0x20]
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.vsansi.dll_FindNextFileW]
test eax, eax
jne 0x5054ec8a
jmp 0x5054ed0f
lea eax, [esp + 0x4c]
push eax
push edi
lea eax, [esp + 0x278]
push 0x50534290
push eax
call ebp
mov eax, dword [0x5055df98]
mov ecx, dword [eax]
add esp, 0x10
lea edx, [esp + 0x270]
push edx
push eax
call dword [ecx + 0x20]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.vsansi.dll_FindNextFileW]
test eax, eax
jne 0x5054ecc7
push dword [esp + 0x18]
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [0x5055df98]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x468
ret
Function at 0x1010a7f8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xbd26571d
cmp ah, 0x11
test eax, eax
jmp 0x1010cd1c
push dword [esp + 4]
lea esp, [esp + 0x1c]
je 0x101ce956
xor dx, di
sub si, ax
sbb si, cx
movzx dx, bl
mov esi, dword [eax + 0x3c]
bts dx, 2
add esi, eax
not dl
mov edx, dword [esi + 0x78]
clc
test edx, edx
push ebp
pushal
lea esp, [esp + 0x24]
je 0x101ce956
shl ecx, cl
mov cx, 0xf77b
adc ch, al
add edx, eax
shld cx, si, cl
test bl, 0xbf
jmp 0x101a7056
mov ecx, dword [esi + 0x7c]
jno 0x101af7e3
push 0x37af8643
add ecx, edx
push edx
bt eax, 7
jmp 0x101093c7
or dword [ecx - 0x59], esi
fst dword ds:[ecx + 0x42ab5dd5]
sub dword [ebp + 0xf], edx
or edx, dword [esi - 0x769602a4]
in al, dx
ret
cmp eax, dword [edi]
push esi
lea edi, [0xd5dbbd07]
mov dword [0xef39cb99], eax
add edi, ecx
wait
push 0x56
adc eax, 0x2357fcdb
int1
xor eax, edi
clc
call fcn.101adb20
popal
dec ebx
inc ebp
push ecx
in al, dx
int1
loop 0x101af792
pop esi
push ecx
dec byte [ecx - 0x7ebd7aaa]
sbb bh, dh
and al, 0xbb
clc
fisub dword [eax + 0x1981e611]
mov byte [0x584c73f6], al
stc
push ds
int 0x44
cmp ebx, eax
pop es
mov al, byte [0x657ef26b]
wait
or edx, dword [edx + 0x27c117e]
jbe 0x101af85d
stc
mov eax, 0x5ac04874
or ch, ah
cmpsb byte [esi], byte es:[edi]
pop ds
mov ch, 0x97
xchg esp, eax
jmp 0x101af7c9
pop eax
wait
scasd eax, dword es:[edi]
dec ecx
add al, 0xf7
sub edx, dword [eax + 0x67]
lodsd eax, dword [esi]
mov edx, 0xc715b6c
jae 0x101af8a7
ror dword [eax + edx*2 - 0x38], 1
sbb ch, byte [eax + 0x5b98753d]
mov esp, dword [ebp - 0x72c8e611]
retf
mov ecx, 0xcd2a4e18
hlt

Function at 0x1010ab75
Capabilities:
Encode data using xor

Disassembly:
les esi, [esi + 0x252d03f2]
xchg ebp, eax
cld
invalid
cmc
stc
mov word [esp], 0xf223
neg al
cmc
pushal
cmp al, byte [edi]
seta ah
not al
movzx ax, bl
bswap ax
lea edi, [edi + 1]
movsx ax, dl
not al
mov eax, dword [esp + 0x28]
pushfd
push 0x5afec445
call fcn.101093ed
aaa
jge 0x1010ac1d
or eax, 0x83d4f1e6
je 0x1010ab5c
xchg esp, eax
idiv esp
cmpsd dword [esi], dword es:[edi]
adc al, 0xab
and bh, bl
xor al, 0xfb
pop ds
jo 0x1010ab64
add ah, byte [ebp - 0x28]
mov esi, 0xaace12e1
add ebp, dword [ebx + esi*2 + 0x35]
inc ebx
xor byte [ebx], ah
insd dword es:[edi], dx
xor bh, ch
and dword [ecx], esp
lodsb al, byte [esi]
or dl, dl
push 0x4f6dc5f5
push 0xffbc7374
rol byte [edx], 0xbb
jmp 0x1010ac34
inc ebx
xor al, 0xa7
fnstcw word [edx + 0x23]
out dx, eax
push esp
mov bl, 0x8d
out dx, eax
cmpsb byte [esi], byte es:[edi]
and ebx, dword [eax - 0x7dfb8805]
aam 0x59
out dx, al
rcl dword [0x901c7be4], 0x8d
cmp al, byte [esi]
in al, 0x7b
sbb al, 0x90
lea edi, [edx]
push es
pop edi
mov edi, 0x87411ba5
adc eax, 0x39fbb50f
lahf
lock adc ecx, dword [0xc8d89d8f]
pop ecx
movsd dword es:[edi], dword [esi]
jnp 0x1010ac1d
fimul word [edx + eax*4 - 0x150e19f6]
das
or byte [ebx + 0x3f9427f4], bh
shr bh, 1
invalid
Function at 0x1010ba17
Capabilities:
Encode data using xor

Disassembly:
push ecx
lea esp, [esp + 0x34]
jbe 0x101ce956
neg di
pushal
not esi
rol di, 0xd
sub ecx, 1
cmp ah, 0x51
bsf si, sp
mov dword [ebp - 4], ecx
pop edi
shl esi, cl
bswap ecx
mov ecx, dword [ebp - 8]
bsr di, dx
shrd si, bx, 3
shrd di, bp, cl
sbb di, sp
add ecx, dword [ebp - 4]
not di
xor di, 0x4a5e
and di, 0x5fd
shr ecx, 1
or di, 0x87b5
bt sp, 0xc
mov edi, dword [ebx + ecx*4]
pop esi
adc si, 0xa0ea
add edi, eax
push eax
pushfd
mov esi, dword [ebp + 0xc]
call fcn.101a728b
out dx, al
out dx, eax
sbb dword [esi], 0xfffffff1
and al, 0x4b
mov byte [edi - 0x78], bl
inc edi
movsb byte es:[edi], byte [esi]
ja 0x1010ba39
inc ebx
xlatb
mov eax, 0x594b416b
out 3, eax
movlps xmm7, qword [ebp - 0x52]
ljmp 0xc015