joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404f57
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x23c
mov eax, 0x40ba1c
call fcn.0040ae04
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, dword [0x4122d8]
inc edi
push 0xf0
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4050e3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4050e3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4050e3
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4050e3
mov ecx, dword [esi + 4]
mov dword [ebp - 0x220], eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x224], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x405053
push 3
lea eax, [ebp - 0x110]
push esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call fcn.004060a2
push dword [ebp - 0x114]
mov eax, dword [ebp - 0x220]
and dword [ebp - 4], 0
push 0
push 0x143
movzx eax, ax
push eax
mov eax, dword [ebp - 0x21c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x110]
cmove edi, ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x114], eax
je 0x4050d5
push dword [ebp - 0x114]
call dword [sym.imp.MSVCR120.dll_free]
pop ecx
jmp 0x4050d5
mov ecx, 0x1234
cmp cx, ax
jne 0x4050d5
or dword [ebp - 0x244], 0xffffffff
lea eax, [ebp - 0x214]
push 3
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x248], 1
mov dword [ebp - 0x218], eax
call fcn.004060a2
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x240], eax
cmp eax, ecx
je 0x4050a6
push eax
call dword [sym.imp.MSVCR120.dll_free]
pop ecx
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 0x220]
push 0
push 0x40b
movzx eax, ax
push eax
mov eax, dword [ebp - 0x21c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
add esi, dword [ebp - 0x224]
test edi, edi
jne 0x404fb1
mov eax, edi
call fcn.0040adc2
ret 4

Function at 0x4058e4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, esi
mov dword [ebp - 4], ecx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR120.dll_void____cdecl_operator_new___unsigned_int_
add esi, esi
mov ebx, eax
push esi
push 0
push ebx
call sub.MSVCR120.dll_memset
add esp, 0x10
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
push 0
push dword [ebp + 0xc]
call sub.MSVCR120.dll_memset
mov eax, dword [ebp - 4]
add esp, 0xc
add eax, 0x25c
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push str.labels
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebx
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp + 0xc]
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x406b1b
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
mov eax, dword [0x411190]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x18
mov ebx, ecx
lea edi, [ebp - 0x68]
pop ecx
mov esi, 0x40cff0
xor eax, eax
rep movsd dword es:[edi], dword [esi]
push 0x206
push eax
mov word [ebp - 0x270], ax
lea eax, [ebp - 0x26e]
push eax
movsw word es:[edi], word [esi]
call sub.MSVCR120.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x270]
add esp, 0xc
mov edi, str.License.html
push edi
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x478], ax
lea eax, [ebp - 0x476]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x478]
push edi
push eax
call esi
push 0x54
lea eax, [ebp - 0x4cc]
push 0
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [ebx + 4]
add esp, 0xc
mov dword [ebp - 0x4cc], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x4c4], eax
mov eax, 0x104
mov dword [ebp - 0x4b0], eax
mov dword [ebp - 0x4a8], eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x4b4], eax
lea eax, [ebp - 0x478]
mov dword [ebp - 0x4ac], eax
lea eax, [ebp - 0x4d0]
push eax
mov dword [ebp - 0x4d0], 0x58
mov dword [ebp - 0x494], str.html
mov dword [ebp - 0x49c], 0x802
call fcn.0040a2bf
test eax, eax
je 0x406c2f
push 0
lea eax, [ebp - 0x270]
push eax
lea eax, [ebx + 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ad98
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406fd1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x411190]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
push 0xce
call fcn.00404f57
xor eax, eax
mov dword [esi], 1
push 0x40e
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
mov esi, 0x208
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebx + 0x28]
lea eax, [ebp - 0x414]
push esi
push eax
push str.DeclTitle
call fcn.004058e4
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [ebp - 0x414]
push esi
push eax
mov esi, 0xcf
push esi
push dword [ebx + 4]
call edi
mov ecx, dword [ebx + 0x28]
lea eax, [ebp - 0x414]
push 0x208
push eax
push str.DeclText1
call fcn.004058e4
push eax
push esi
push dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
call esi
push 0x208
lea eax, [ebp - 0x414]
push eax
push 0xd0
push dword [ebx + 4]
call edi
mov ecx, dword [ebx + 0x28]
lea eax, [ebp - 0x414]
push 0x208
push eax
push str.DeclText2
call fcn.004058e4
push eax
push 0xd0
push dword [ebx + 4]
call esi
push 0x208
lea eax, [ebp - 0x414]
push eax
push 1
push dword [ebx + 4]
call edi
mov ecx, dword [ebx + 0x28]
lea eax, [ebp - 0x414]
push 0x208
push eax
push 0x40d100
call fcn.004058e4
push eax
push 1
push dword [ebx + 4]
call esi
push 0x208
lea eax, [ebp - 0x414]
push eax
push 2
push dword [ebx + 4]
call edi
push 0x208
lea ecx, [ebp - 0x414]
push ecx
mov ecx, dword [ebx + 0x28]
push 0x40d10c
call fcn.004058e4
push eax
push 2
push dword [ebx + 4]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0040ad98
mov esp, ebp
pop ebp
ret 0x10
Function at 0x407146
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x411190]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
mov edi, 0xcf
push edi
call fcn.00404f57
xor eax, eax
mov dword [esi], 1
push 0x40e
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
mov esi, 0x208
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebx + 0x28]
lea eax, [ebp - 0x414]
push esi
push eax
push str.DeclTitle
call fcn.004058e4
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
lea eax, [ebp - 0x414]
push eax
push edi
push dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItemTextW]
call edi
mov ecx, dword [ebx + 0x28]
lea eax, [ebp - 0x414]
push esi
push eax
push str.DeclText1
call fcn.004058e4
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0xcf
push dword [ebx + 4]
call esi
push 0x208
lea eax, [ebp - 0x414]
push eax
push 0xd0
push dword [ebx + 4]
call edi
mov ecx, dword [ebx + 0x28]
lea eax, [ebp - 0x414]
push 0x208
push eax
push str.DeclText2
call fcn.004058e4
push eax
push 0xd0
push dword [ebx + 4]
call esi
push 0x208
lea eax, [ebp - 0x414]
push eax
push 1
push dword [ebx + 4]
call edi
mov ecx, dword [ebx + 0x28]
lea eax, [ebp - 0x414]
push 0x208
push eax
push 0x40d100
call fcn.004058e4
push eax
push 1
push dword [ebx + 4]
call esi
push 0x208
lea eax, [ebp - 0x414]
push eax
push 2
push dword [ebx + 4]
call edi
push 0x208
lea ecx, [ebp - 0x414]
push ecx
mov ecx, dword [ebx + 0x28]
push 0x40d10c
call fcn.004058e4
push eax
push 2
push dword [ebx + 4]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0040ad98
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1003a960
Capabilities:
Delete file

Disassembly:
sub esp, 0x108
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
lea ecx, [esp]
push esi
push 0x104
push ecx
push eax
mov esi, 0xfffff8ed
call fcn.10115660
test eax, eax
js 0x1003a9a6
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov ecx, dword [esp + 0x108]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1011720d
add esp, 0x108
ret 4

Function at 0x1003abe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd0
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0xcc], eax
mov eax, dword [0x100040c0]
movdqu xmm0, xmmword [0x10004098]
mov dword [esp + 0x78], eax
movzx eax, word [0x100040c4]
mov word [esp + 0x7c], ax
movzx eax, word [0x100040d8]
movdqu xmmword [esp + 0x50], xmm0
mov word [esp + 0x20], ax
lea eax, [esp + 8]
movdqu xmm0, xmmword [0x100040a8]
push eax
push 1
movdqu xmmword [esp + 0x68], xmm0
lea eax, [esp + 0x58]
mov dword [esp + 0x14], 4
movq xmm0, qword [0x100040b8]
push 0
movq qword [esp + 0x7c], xmm0
movdqu xmm0, xmmword [0x100040c8]
push eax
push reloc.mswstr10.dll_Ordinal_2
movdqu xmmword [esp + 0x24], xmm0
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003aca7
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 4], eax
sete al
test eax, eax
je 0x1003ad89
movdqu xmm0, xmmword [0x100040dc]
movzx eax, word [0x10004114]
mov word [esp + 0xb8], ax
mov al, byte [0x10004116]
movdqu xmmword [esp + 0x80], xmm0
mov byte [esp + 0xba], al
movdqu xmm0, xmmword [0x100040ec]
movzx eax, word [0x100040d8]
mov word [esp + 0x40], ax
lea eax, [esp + 8]
movdqu xmmword [esp + 0x90], xmm0
push eax
movdqu xmm0, xmmword [0x100040fc]
push 1
push 0
movdqu xmmword [esp + 0xac], xmm0
lea eax, [esp + 0x8c]
mov dword [esp + 0x10], 0
movq xmm0, qword [0x1000410c]
movq qword [esp + 0xbc], xmm0
movdqu xmm0, xmmword [0x100040c8]
push eax
push reloc.mswstr10.dll_Ordinal_2
movdqu xmmword [esp + 0x44], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003ad80
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 4], eax
sete al
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.1011720d
mov esp, ebp
pop ebp
ret
Function at 0x1003b0f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x1c]
push edi
xor edi, edi
mov eax, dword [ebx]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1003b127
lea ecx, [esp + 0x20]
push ecx
push 1
push edi
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003b174
lea edi, [eax + 1]
mov eax, dword [esp + 0x20]
jmp 0x1003b12f
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
push ebp
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push esi
push ebx
push ebp
push ecx
push 0
push dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [ebx]
cmp eax, dword [esp + 0x10]
jge 0x1003b162
cmp dword [esp + 0x18], 1
jne 0x1003b162
test esi, esi
jne 0x1003b162
mov byte [eax + ebp], 0
test edi, edi
je 0x1003b170
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret 0x14
Function at 0x10047b30
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
xor edx, edx
push ebp
push esi
mov esi, dword [esp + 0x1c]
xor ebp, ebp
push edi
lea eax, [ebx + 0x10]
mov ecx, ebx
mov edi, eax
sub edi, ebx
mov dword [esi], 0
add edi, 3
shr edi, 2
cmp ebx, eax
cmova edi, ebp
test edi, edi
je 0x10047b6c
mov edi, edi
mov eax, dword [ecx]
lea ecx, [ecx + 4]
xor dword [esi], eax
inc edx
cmp edx, edi
jb 0x10047b60
mov ebx, dword [ebx]
mov edi, dword [esp + 0x14]
or ebx, 1
mov dword [esp + 0x1c], ebx
xor ebp, ebp
mov eax, ebx
lea ecx, [ecx]
xor ebx, ebx
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x14], ebx
cmp dword [esi], ebx
je 0x10047c27
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx*4 + 0x10139180]
mov eax, dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x10047bd1
push 0x80400000
push 0x1000490c
lea eax, [esp + 0x28]
push eax
push ecx
push edi
call fcn.1003b870
test eax, eax
js 0x10047c23
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], 1
jmp 0x10047bd5
mov dword [esp + 0x20], eax
push 0x100050e0
push eax
push edi
call fcn.1003cef0
test eax, eax
js 0x10047c0e
push 1
push 4
push esi
push dword [esp + 0x2c]
push edi
call fcn.1003c720
test eax, eax
js 0x10047c0e
push 1
push dword [esp + 0x24]
push edi
call fcn.1003cd30
test eax, eax
mov eax, 1
cmovs ebx, eax
cmp dword [esp + 0x14], 0
je 0x10047c1f
push dword [esp + 0x20]
push edi
call fcn.1003bdc0
test ebx, ebx
jne 0x10047c42
mov eax, dword [esp + 0x1c]
add dword [esi], eax
inc ebp
cmp ebp, 0x7fffffff
jl 0x10047b80
pop edi
pop esi
pop ebp
mov eax, 0xffffb1bc
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x100a9b05
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov edx, dword [esi + 0x8c]
mov ebx, edx
mov ecx, dword [esi + 0x60]
imul eax, edx, 0x24
shl ebx, 3
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], eax
mov eax, dword [ecx + eax + 0x58]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0xe4]
add ecx, ebx
mov ebx, dword [eax + 0x104]
imul eax, dword [eax + 0x108], 0xc
mov dword [esp + 0x14], ecx
add eax, ebx
mov dword [esp + 0x10], eax
jmp 0x100a9c9e
mov ebp, dword [ebx]
mov edi, dword [ebp + 0xe4]
add edi, dword [esp + 0x2c]
and dword [esp + 0x20], 0
cmp dword [esp + 0x48], 0
je 0x100a9b9b
mov eax, dword [esp + 0x48]
push dword [eax + 0x28]
push ebx
push esi
call fcn.100ce71c
mov ecx, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0x10]
js 0x100a9c97
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x4c], 0
je 0x100a9bac
cmp ebp, dword [esp + 0x4c]
je 0x100a9c97
test byte [edi + 4], 6
jne 0x100a9ce6
test byte [edi + 4], 1
je 0x100a9bd2
push 3
push dword [ebp + edx*4 + 0x28]
push dword [esi + 0x28]
call fcn.1003c9c0
and dword [edi + 4], 0xfffffffe
mov ecx, dword [esp + 0x14]
cmp byte [ecx], 2
je 0x100a9cb2
test byte [ecx + 4], 1
jne 0x100a9cb2
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
cmp dword [edx + eax + 0x64], 0xa
jne 0x100a9bff
cmp dword [esp + 0x50], 0
je 0x100a9c93
or dword [edi + 4], 8
mov dword [esp + 0x24], 1
mov byte [edi], 3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + eax + 0x64], 0
jne 0x100a9c59
mov eax, dword [ebp + 0xf0]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
and edx, 0x3f
shl edx, 4
add edx, ecx
mov dword [esp + 0x30], ecx
cmp ecx, edx
jae 0x100a9c59
mov esi, ecx
mov ecx, dword [esi]
add esi, 0x10
mov eax, dword [edi + 4]
shl eax, 3
not eax
xor eax, dword [ecx + 4]
and eax, 0x40
xor dword [ecx + 4], eax
cmp esi, edx
jb 0x100a9c3b
mov esi, dword [esp + 0x3c]
mov eax, dword [ebp + 0xe0]
xor edi, edi
push edi
push edi
push dword [esp + 0x28]
push dword [esp + 0x50]
push dword [eax + 0x28]
push dword [esp + 0x48]
push dword [esi + 0x28]
call fcn.1003cd80
push dword [esp + 0x24]
push edi
push edi
push dword [esp + 0x50]
push ebp
push esi
call fcn.100a9b05
test eax, eax
js 0x100a9ca8
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
add ebx, 0xc
cmp ebx, eax
jb 0x100a9b61
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x18
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x48]
push ebx
push dword [esp + 0x4c]
push esi
call fcn.100a9edc
test eax, eax
jne 0x100a9bff
and dword [esp + 0x24], eax
mov eax, dword [edi + 4]
and eax, 0xfffffff7
mov byte [edi], 2
or eax, 0x10
mov dword [edi + 4], eax
jmp 0x100a9c0e
lea eax, [esp + 0x44]
push eax
push ebp
push esi
call fcn.100ab6ae
xor eax, eax
push eax
push eax
push eax
push 0xffffe009
push eax
push eax
push dword [esp + 0x5c]
push dword [esi + 0x28]
call fcn.10037780
mov eax, 0xfffffbe8
jmp 0x100a9ca8
Function at 0x10188178
Capabilities:
Encode data using xor

Disassembly:
call 0x101880f1
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 0x10188121
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 0x1018813d
xor edx, 0
jmp 0x10188148
xor edx, edx
jmp 0x1018815f
jmp 0x1018816b
xor eax, eax
push 0x8427d7c0
call 0x10188178
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x101881b4
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 0x1018818d
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 0x101881cb
add eax, 0
jno 0x101881d0
add esi, 0
ret 0x10

Function at 0x10188f39
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 0x10188f5b
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 0x101890fd
cmp edi, dword [ebp + 0x10]
jb 0x101890fd
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.10188a25
inc edi
jmp 0x10188fe4
jmp 0x10188ff1
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10188a25
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10188a25
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 0x10189045
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 0x10189029
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.10189073
add dword [eax], 0x39
jle 0x1018904f
sub al, 0xf5
mov ch, al
call fcn.10189088
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1018ad60
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 0x1018ad76
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 0x1018ad87
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1018adc8
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

Function at 0x1018d134
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1018d07d
add ebx, 0
push ecx
call 0x1018d092
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x58a3f8
sub ebx, dword [0x5a9c37]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x5a9c27
call fcn.10188b5c
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1018806a
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1018d1f0
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1018d1f0
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1018d1a7
mov eax, 1
lock xchg dword [0x5a9c33], eax
push 0x3dd1fc71
call 0x1018d134
push esi
add esp, 8
cmp eax, 0
jne 0x1018d11d
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1018d143
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1018d158
cmp ecx, edx
cmp eax, 0
je 0x1018d17d
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1018d167
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1018d196
dec eax
loope 0x1018d199
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x5a9c33], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1018d1cd
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1018d1e2
jmp 0x1018d1ed
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1018d0db
Function at 0x10194255
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1019452b
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x5968ab
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x58d871
push 0xffffffffffffffff
call fcn.1018b455
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x101942bf
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.101942d7
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1019451f
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x101944f3