joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100da0b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x100da0e3
push esi
call fcn.100e8470
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x100da0dc
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 0x100da169
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x100da152
mov eax, dword [esi + 8]
test eax, eax
je 0x100da107
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 0x100da14e
cmp eax, 2
je 0x100da152
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100da0fa
cmp eax, 3
je 0x100da12d
cmp eax, 1
jne 0x100da0fa
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 0x100da0fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x100da0fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.100da190
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x100da178
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.100da190
add esp, 4
pop esi
ret

Function at 0x100daa10
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x100daa31
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x100daa31
mov eax, dword [eax + 0x44]
test eax, eax
je 0x100daa31
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100dae80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x100dae8b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x100daf8e
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 + 0x1018d4f8]
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 + 0x1018d4f8]
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 + 0x1018d4f8]
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 + 0x1018d4f8]
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 + 0x1018d4f8]
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 + 0x1018d4f8]
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 + 0x1018d4f8]
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 + 0x1018d4f8]
xor eax, edx
inc ecx
dec edi
jne 0x100daea6
pop edi
test esi, esi
je 0x100dafb0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x1018d4f8]
xor eax, edx
inc ecx
dec esi
jne 0x100daf92
pop esi
pop ebx
not eax
ret
Function at 0x100f5750
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x100f57f3
test eax, eax
jbe 0x100f57f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x100f57f3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x100f579e
xor esi, esi
jmp 0x100f57a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x100f57cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.10091310
add esi, eax
push esi
mov ebx, esi
call fcn.10091310
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x100f57b0
pop ebp
test edi, edi
pop edi
jne 0x100f57f3
test ebx, ebx
je 0x100f57f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.101250e0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x100f5910
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x100f5a2d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100f5a2d
mov eax, dword [esi + 0x3c]
push eax
call fcn.10137223
mov esi, eax
test esi, esi
je 0x100f5a2d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x100f5a2d
mov ecx, esi
call fcn.100f58a0
cmp edi, eax
jge 0x100f5a2d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x100f59b3
mov dword [esp + 0x34], 1
jmp 0x100f5a0e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x100f5a2d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.100f4ea0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x100f8400
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x18
mov ecx, eax
and ecx, 7
je 0x100f8413
sub eax, ecx
add eax, 8
mov ecx, dword [esp + 0x28]
push ebx
push ebp
push esi
mov dword [ecx], eax
push edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x14], 2
shr eax, 3
test eax, eax
mov dword [esp + 0x10], 0
jbe 0x100f84e2
mov esi, dword [esp + 0x2c]
mov ebx, dword [edi]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x24], ebx
mov ebx, dword [edi + 4]
mov edx, 0xc6ef3720
mov dword [esp + 0x20], ebx
mov ebx, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], 0x20
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov edi, ecx
shr edi, 5
add edi, ebx
mov ebx, ecx
shl ebx, 4
add ebx, ebp
mov ebp, dword [esp + 0x24]
xor edi, ebx
lea ebx, [edx + ecx]
xor edi, ebx
mov ebx, dword [esp + 0x20]
sub eax, edi
mov edi, eax
shr edi, 5
add edi, ebx
mov ebx, eax
shl ebx, 4
add ebx, ebp
xor edi, ebx
lea ebx, [edx + eax]
xor edi, ebx
add edx, 0x61c88647
sub ecx, edi
mov edi, dword [esp + 0x30]
dec edi
mov dword [esp + 0x30], edi
jne 0x100f846d
mov dword [esi + 4], eax
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
mov dword [esi], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
inc ecx
add esi, 8
shr eax, 3
cmp ecx, eax
mov dword [esp + 0x10], ecx
jb 0x100f8440
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x14], ecx
jne 0x100f842c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x100f9fa0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.d3d9.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Direct3DCreate9
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push 0x101ea030
lea eax, [esp + 0x14]
and ecx, 3
push 1
push eax
rep movsb byte es:[edi], byte [esi]
push 0x101ea038
call fcn.100fa050
add esp, 0x14
test al, al
pop edi
pop esi
pop ebx
jne 0x100fa022
push 0x101b782c
call fcn.100fa030
add esp, 4
xor eax, eax
add esp, 0x104
ret
mov eax, 1
add esp, 0x104
ret
Function at 0x100fd180
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x101ed194]
xor edx, edx
cmp eax, edx
jne 0x100fd1a6
xor eax, eax
mov byte [eax + 0x101ed094], al
inc eax
cmp eax, 0x100
jl 0x100fd18e
mov dword [0x101ed194], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x101ed094
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x100fd237
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x100fd20a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x100fd1d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x100fd2b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x100fd303
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x100fd2ea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10103c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10144a7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.101045a0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1018f974
call fcn.1013553a
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x10103d13
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1013553a
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x10103d0c
push 0
mov ecx, eax
call fcn.100fadb0
mov dword [esi + 0xc], eax
jmp 0x10103d15
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x10103d15
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x10114310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x10114431
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x10114415
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x10114367
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x10114345
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18

Function at 0x10114e79
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10114ed0
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x10114ed0
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x10114ed0
xor eax, eax
inc eax
jmp 0x10114ed2
xor eax, eax
leave
ret 0x10
Function at 0x10114efb
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x10114f69
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x10193814
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10114f60
cmp dword [ebp - 0xc], 4
jne 0x10114f60
cmp dword [ebp - 0x10], edi
je 0x10114f60
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x101bebb0], edi
xor eax, eax
jmp 0x10114fa8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x101bebb0], edi
jge 0x10114fa3
lea eax, [ebp - 0x34]
push eax
mov dword [0x101bebb0], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x10114fa3
cmp word [ebp - 0x14], 5
jb 0x10114fa3
call fcn.10114ed6
test eax, eax
je 0x10114fa3
emms
mov dword [0x101bebb0], 1
mov eax, dword [0x101bebb0]
pop edi
leave
ret

Function at 0x10137bc7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10137bff
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10135c54
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10135c2c
jmp 0x10137c0b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x101392b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x101392fa
call fcn.1013edd3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x101392fa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x101392f1
xor eax, eax
jmp 0x10139302
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10139308
pop edi
pop esi
pop ebx
ret 4
Function at 0x4022a9
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x4023b3
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetClipCursor]
push ebp
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
push edi
mov edi, dword [esp + 0x14]
push 0
call ebx
push 0
push 0
call ebp
push 0
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
sub byte [esi + edi], 0x49
push 0
call ebx
push 0
push 0
call ebp
push 0
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
xor byte [esi + edi], 0x3b
push 0
call ebx
push 0
push 0
call ebp
push 0
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
xor byte [esi + edi], 0x5b
push 0
call ebx
push 0
push 0
call ebp
push 0
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
add byte [esi + edi], 0x66
push 0
call ebx
push 0
push 0
call ebp
push 0
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
xor byte [esi + edi], 0x74
push 0
call ebx
push 0
push 0
call ebp
push 0
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
add byte [esi + edi], 0x3e
push 0
call ebx
push 0
push 0
call ebp
push 0
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
add byte [esi + edi], 0xe2
push 0
call ebx
push 0
push 0
call ebp
push 0
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
xor byte [esi + edi], 0x64
push 0
call ebx
push 0
push 0
call ebp
push 0
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
add byte [esi + edi], 0xbe
push 0
call ebx
push 0
push 0
call ebp
push 0
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
add byte [esi + edi], 0x4b
inc esi
cmp esi, dword [esp + 0x18]
jb 0x4022c9
pop edi
pop ebp
pop ebx
pop esi
ret

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

Disassembly:
sub esp, 0x20
mov eax, dword [0x429014]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x4026be
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401633
test esi, esi
je 0x4026ab
cmp dword [esp + 0x38], 3
jbe 0x4026ab
lea eax, [esp + 0x14]
push 0x14d
push eax
call fcn.00402739
pop ecx
pop ecx
test eax, eax
je 0x4026ab
cmp eax, dword [esp + 0x38]
je 0x4026d6
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00402184
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x402677
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00404c29
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00402184
jmp 0x4026c0
Function at 0x402a9e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x432600], eax
push 0xda4c2ca8
push dword [0x432600]
call fcn.00402646
pop ecx
pop ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
call edx
pop edi
pop esi
leave
ret

Function at 0x40583d
Capabilities:
Parse pe header

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

Function at 0x40f97d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41f4b8
push 0x41f4b0
push str.FlsAlloc
push 0x1e
call fcn.0040f866
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40f9b1
push dword [ebp + 8]
mov ecx, esi
call dword [0x41c14c]
call esi
jmp 0x40f9b7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40f9fb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41f4c8
push 0x41f4c0
push str.FlsGetValue
push 0x20
call fcn.0040f866
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40fa32
push dword [ebp + 8]
mov ecx, esi
call dword [0x41c14c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x411623
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004112c5

Function at 0x41162e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00411454
Function at 0x10001533
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10001542
pop dword [ebp - 0x4c]
mov eax, 0xf48d6b41
sub eax, 0xe48d55ff
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x4f079f50
add dword [ebp - 0x5c], 0xff4aa5fb
mov dword [ebp - 0x58], 0x4296a870
add dword [ebp - 0x58], 0xef9ca3d5
mov dword [ebp - 0x54], 0x6513aee4
add dword [ebp - 0x54], 0xe738954a
mov dword [ebp - 0x50], 0xb00d7d90
sub dword [ebp - 0x50], 0xb00d7d90
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xb0171ebe
sub dword [ebp - 0x5c], 0x3ba4b568
mov dword [ebp - 0x58], 0x945059e7
add dword [ebp - 0x58], 0xad1c078e
mov dword [ebp - 0x54], 0x6e9e84bb
sub dword [ebp - 0x54], 0xb2f184f
mov dword [ebp - 0x50], 0xfc8d1514
sub dword [ebp - 0x50], 0xfc8d1514
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xfc21c9f9
add eax, 0x13e9269f
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x4c36c
push 0
call eax
mov ecx, 0x5167
mov esi, eax
mov edx, 0xe5c3fa90
sub edx, 0xd5b17c90
add edx, dword [ebp - 0x4c]
mov ebx, 0x45b312f8
sub ebx, 0x8ea0cf7a
mov edi, dword [edx]
xor dword [ebp - 8], 0x189082d5
xor edi, ebx
xor dword [ebp - 0xc], 0x2a907d9a
mov dword [esi], edi
mov dword [ebp - 0x34], 0xd8959dec
add esi, 0xb313adb4
add esi, 0x4cec5250
add edx, 0xe325ed36
sub edx, 0xe325ed32
loop 0x10001659
add eax, 0x1386f
xor ebx, ebx
add ebx, eax
add eax, 0x1c5f087d
add eax, 0xe3a0f788
mov ecx, 0x57bdf09e
sub ecx, 0x47bdf09e
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret