joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61d250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x631808
push 0x621288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x61d329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x61d329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.006201d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x61d329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x61d329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x61d32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0061d351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x61dd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x61dd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x61dd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x61dd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x61dd94
push eax
push esi
call fcn.0062020b
add esp, 8
pop esi
ret 0x10

Function at 0x61dda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x61de22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x61de15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x636320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0061fdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x61ddda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x61de30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x61dec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x61deb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x636320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0061fdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x61deab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x61de6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x61e000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x61e131
push esi
call fcn.00621145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00610080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x61e131
push 0
push ebp
call fcn.006103a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00610260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x61e08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.006102f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x61e121
push 0x636918
push edi
call fcn.0061f3f0
push eax
push ebx
push esi
call fcn.0061df60
push 0x6368f8
push edi
call fcn.0061f3f0
push eax
push ebx
push esi
call fcn.0061df60
push 0x6368d8
push edi
call fcn.0061f3f0
push eax
push ebx
push esi
call fcn.0061df60
push 0x6368c0
push edi
call fcn.0061f3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0061df60
push 0x6368a0
push edi
call fcn.0061f3f0
push eax
push ebx
push esi
call fcn.0061df60
push 0x636888
push edi
call fcn.0061f3f0
push eax
push ebx
push esi
call fcn.0061df60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x61f1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0061f140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0061f140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0061f140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0061f140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x61fbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x61fc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x63187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x61fc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x61fc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x146b318
Capabilities:
Decompress data using aplib

Disassembly:
call 0x146b468
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x146b33e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x146b32a
add dl, dl
jne 0x146b349
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x146b39c
xor eax, eax
add dl, dl
jne 0x146b356
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x146b43d
add dl, dl
jne 0x146b365
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x146b370
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x146b37b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x146b386
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x146b392
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x146b335
mov eax, 1
add dl, dl
jne 0x146b3aa
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x146b3b5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x146b3a1
sub eax, ebx
mov ebx, 1
jne 0x146b3e8
mov ecx, 1
add dl, dl
jne 0x146b3ce
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x146b3d9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x146b3c5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x146b335
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x146b3ff
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x146b40a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x146b3f6
cmp eax, 0x7d00
jae 0x146b42d
cmp eax, 0x500
jb 0x146b428
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x146b335
cmp eax, 0x7f
ja 0x146b430
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x146b335
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x146b45e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x146b335
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1460420
Capabilities:
Encode data using xor

Disassembly:
jmp 0x146042a
pushal
call 0x1460430
pop ebp
sub ebp, 0x10
sub ebp, 0x1060420
jmp 0x1460446
mov eax, 0x1060420
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cb
mov edx, 0xb12094d
xor byte [eax], dl
inc eax
dec ecx
jne 0x146045d
jmp 0x1460470
mov byte [eax + 0x4d71c4c6], 0x4d
dec ebp
int3
Function at 0x10015217
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002d711
call fcn.10017005
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015234
xor eax, eax
jmp 0x10015311
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001530f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x100152e5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000128b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000128b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.10026aa6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x100152ef
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10015264
jmp 0x10015308
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016faf
ret

Function at 0x10026aa6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x10026ab5
pop dword [ebp - 0x30]
mov eax, 0x10026ab5
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x44fc6
push 0
mov eax, 0x3e3bd6b
sub eax, 0xf3e0cc0f
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0xff7af06f
add ecx, 0x85663a
mov esi, eax
mov edx, 0x1004ac00
add edx, dword [ebp - 0x30]
mov ebx, 0x2f1ec87b
sub ebx, 0xd7ec47b5
mov edi, dword [edx]
sub edi, ebx
xor dword [ebp - 0x28], 0x265c6776
mov dword [esi], edi
add dword [ebp - 4], edx
add esi, 4
add edx, 0x4df7e2c8
add edx, 0xb2081d3c
loop 0x10026b09
add eax, 0x4f75603c
add eax, 0xb08bed3b
mov ebx, eax
add eax, 5
mov ecx, 0x7487d38d
add ecx, 0x9b782c73
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x401ee4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0x920
mov eax, esp
mov ebx, eax
mov dword [ebp - 0x96], 0x330056
mov dword [ebp - 0x92], 0x530044
mov dword [ebp - 0x8e], 0x6f0043
mov dword [ebp - 0x8a], 0x46006d
mov dword [ebp - 0x86], 0x6e0069
mov dword [ebp - 0x82], 0x650064
mov dword [ebp - 0x7e], 0x430072
mov dword [ebp - 0x7a], 0x61006c
mov dword [ebp - 0x76], 0x730073
mov word [ebp - 0x72], 0
lea edx, [ebp - 0xc8]
mov eax, 0
mov ecx, 0xc
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc8], 0x30
mov dword [ebp - 0xc4], 3
mov dword [ebp - 0xc0], 0x401520
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
mov dword [esp + 4], 0x7f89
mov dword [esp], 0
mov eax, dword [0x40d504]
call eax
sub esp, 8
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], 6
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0x96]
mov dword [ebp - 0xa0], eax
mov dword [esp + 4], 0x65
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [0x40d508]
call eax
sub esp, 8
mov dword [ebp - 0x9c], eax
mov dword [esp + 4], 0x65
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [0x40d508]
call eax
sub esp, 8
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc8]
mov dword [esp], eax
mov eax, dword [0x40d518]
call eax
sub esp, 4
test ax, ax
jne 0x40205f
mov dword [esp + 0xc], 0x30
mov dword [esp + 8], str.Error
mov dword [esp + 4], str.Window_Registration_Failed_
mov dword [esp], 0
mov eax, dword [0x40d50c]
call eax
sub esp, 0x10
mov eax, 0
jmp 0x402a05
mov dword [esp], 0
mov eax, dword [0x40d4f8]
call eax
sub esp, 4
mov dword [ebp - 0x34], eax
mov dword [esp], 1
mov eax, dword [0x40d4f8]
call eax
sub esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0x1d6
mov dword [ebp - 0x40], 0x10e
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [ebp - 0x48], eax
jmp fcn.007cec0f
mov esp, ebx
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret 0x10

Function at 0x4ff25b
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x78a9c1
push eax
mov eax, esp
push ecx
mov ecx, 4
add eax, ecx
pop ecx
sub eax, 4
xchg dword [esp], eax
pop esp
mov dword [esp], ecx
mov dword [esp], 0x22548074
mov dword [esp], ebx
jmp 0x74045d
jmp 0x795183
jmp 0x76b9c9
sub esp, 4
mov dword [esp], esi
push esp
pop esi
add esi, 4
push ebx
mov ebx, 0x14
sub esi, ebx
pop ebx
xchg dword [esp], esi
mov esp, dword [esp]
jmp 0x76b9ee
jmp 0x74033e
push eax
mov dword [esp], ecx
push edi
mov edi, 0x6887194d
mov dword [esp + 4], edi
pop edi
mov dword [esp], eax
mov dword [esp], ebp
jmp 0x78aada
jmp 0x795d37
jmp 0x795274
push edi
push esp
pop edi
add edi, 4
sub edi, 4
xor edi, dword [esp]
xor dword [esp], edi
xor edi, dword [esp]
pop esp
mov dword [esp], edx
mov dword [esp], ecx
jmp 0x795298
jmp fcn.0074c485
jmp 0x795e46
push edx
mov dword [esp], 0x5f2d6041
mov dword [esp], esp
add dword [esp], 4
push dword [esp]
pop ebp
add esp, 4
jmp 0x795e67
jmp 0x76b8b9
Function at 0x100061d5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x14
push ebx
push esi
push edi
push dword [0x100151dc]
xor edi, edi
mov ebx, ecx
and dword [eax], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [ebp + 0xc]
test dword [eax + 0x44], 0x1000000
je 0x1000621b
mov edx, 0x10003080
xor ecx, ecx
mov eax, dword [esi + ecx*4]
cmp eax, dword [edx + ecx*4]
jne 0x1000621b
inc ecx
cmp ecx, 4
jne 0x10006208
mov esi, 0x10003090
mov ecx, esi
mov dword [ebp - 8], esi
call fcn.10007a9a
mov dword [ebp - 0xc], eax
shr eax, 0x10
mov dword [ebp - 0x10], eax
test ax, ax
je 0x10006249
push esi
mov ecx, ebx
call fcn.10005dac
test eax, eax
jne 0x10006249
mov eax, 0x8007000e
jmp 0x10006341
mov esi, dword [0x100156d0]
mov ecx, esi
push 1
push 0x24
push dword [ebp + 8]
call dword [0x10016308]
call esi
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], ecx
test dl, 2
je 0x10006273
mov eax, dword [eax]
test dl, 0x10
je 0x10006290
cmp dword [ebp - 0xc], edi
jne 0x10006290
mov esi, dword [ebp + 8]
push esi
call fcn.10006348
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jmp 0x1000632e
mov esi, dword [eax]
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 8]
mov ecx, dword [esi]
push eax
call dword [0x10016308]
call dword [esi]
mov edi, eax
test edi, edi
js 0x1000632e
cmp dword [ebp - 4], 0
je 0x10006329
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100062cb
mov al, byte [ecx + 4]
and al, 2
movzx eax, al
neg eax
sbb eax, eax
not eax
and ecx, eax
lea eax, [ebp - 0x14]
mov dword [ebx + 8], 2
push eax
push dword [ebp - 0xc]
push ecx
push dword [ebp - 4]
mov ecx, ebx
push 0
call fcn.10020f38
test eax, eax
je 0x1000630b
test byte [ebp - 0x14], 3
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
je 0x10006310
cmp word [ebp - 0x10], 0
je 0x10006310
push eax
mov ecx, ebx
call fcn.100063c3
mov edi, 0x80004002
jmp 0x10006310
mov edi, 0x8007000e
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x10016308]
call esi
and dword [ebx + 8], 0
jmp 0x1000632e
mov edi, 0x80004002
cmp word [ebp - 0x10], 0
je 0x1000633f
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.10005dda
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1001b472
Capabilities:
Encode data using xor

Disassembly:
call 0x1001b3eb
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 0x1001b41b
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 0x1001b437
xor edx, 0
jmp 0x1001b442
xor edx, edx
jmp 0x1001b459
jmp 0x1001b465
xor eax, eax
push 0x8427d7c0
call 0x1001b472
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1001b4ae
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 0x1001b487
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 0x1001b4c5
add eax, 0
jno 0x1001b4ca
add esi, 0
ret 0x10

Function at 0x1001c233
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 0x1001c255
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 0x1001c3f7
cmp edi, dword [ebp + 0x10]
jb 0x1001c3f7
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.1001bd1f
inc edi
jmp 0x1001c2de
jmp 0x1001c2eb
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001bd1f
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001bd1f
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 0x1001c33f
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 0x1001c323
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001c36d
add dword [eax], 0x39
jle 0x1001c349
sub al, 0xf5
mov ch, al
call fcn.1001c382
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1001e05a
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 0x1001e070
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 0x1001e081
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1001e0c2
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 0x1002042e
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 0x10020377
add ebx, 0
push ecx
call 0x1002038c
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, 0x7327720e
sub ebx, dword [0x73296a4d]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73296a3d
call fcn.1001be56
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1001b364
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100204ea
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100204ea
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 0x100204a1
mov eax, 1
lock xchg dword [0x73296a49], eax
push 0x3dd1fc71
call 0x1002042e
push esi
add esp, 8
cmp eax, 0
jne 0x10020417
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1002043d
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10020452
cmp ecx, edx
cmp eax, 0
je 0x10020477
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 0x10020461
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.10020490
dec eax
loope 0x10020493
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73296a49], 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 0x100204c7
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100204dc
jmp 0x100204e7
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100203d5