joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406cc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x417060]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004086b0
add esp, 0xc
mov ecx, dword [ebp - 0x214]
push ecx
push 0x104
lea edx, [ebp - 0x210]
push edx
push 0
push 0x414c00
push 0x414c18
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x406d5f
lea eax, [ebp - 0x210]
push eax
call fcn.00407f49
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
push 0x208
push 0
lea edx, [ebp - 0x210]
push edx
call fcn.004086b0
add esp, 0xc
mov eax, dword [ebp - 0x214]
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0x414c2c
push 0x414c44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x406db5
lea edx, [ebp - 0x210]
push edx
call fcn.00407f49
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ebp - 4], 1
xor edx, edx
jne 0x406ce0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004074a2
mov esp, ebp
pop ebp
ret 8

Function at 0x406f70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x417060]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x70], ax
push 0x62
push 0
lea ecx, [ebp - 0x6e]
push ecx
call fcn.004086b0
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
push 0x414d0c
push 0x104
lea ecx, [ebp - 0x70]
push ecx
call fcn.00407fb4
add esp, 0x10
mov edx, dword [ebp - 0x74]
push edx
push 0xffffffffffffffff
push 0x414d14
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
xor eax, eax
cmp dword [edx], 0xffffffff
setne al
mov dword [ebp - 4], eax
xor ecx, ecx
jne 0x406f8a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004074a2
mov esp, ebp
pop ebp
ret 8

Function at 0x4074a2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417060]
jne 0x4074ac
repz ret
jmp fcn.0040851a
Function at 0x40ea2c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409182
and dword [ebp - 4], 0
cmp dword [0x418af0], 0
mov ebx, eax
jne 0x40eadd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40eb8e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40eb8e
push eax
call fcn.00409110
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x418af0], eax
call esi
push eax
call fcn.00409110
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x418af4], eax
call esi
push eax
call fcn.00409110
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x418af8], eax
call esi
push eax
call fcn.00409110
pop ecx
mov dword [0x418b00], eax
test eax, eax
je 0x40eadd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00409110
pop ecx
mov dword [0x418afc], eax
mov eax, dword [0x418afc]
cmp eax, ebx
je 0x40eb35
cmp dword [0x418b00], ebx
je 0x40eb35
push eax
call fcn.0040918b
push dword [0x418b00]
mov esi, eax
call fcn.0040918b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40eb35
test edi, edi
je 0x40eb35
call esi
test eax, eax
je 0x40eb2c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40eb2c
test byte [ebp - 0xc], 1
jne 0x40eb35
or dword [ebp + 0x10], 0x200000
jmp 0x40eb6e
mov eax, dword [0x418af4]
cmp eax, ebx
je 0x40eb6e
push eax
call fcn.0040918b
pop ecx
test eax, eax
je 0x40eb6e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40eb6e
mov eax, dword [0x418af8]
cmp eax, ebx
je 0x40eb6e
push eax
call fcn.0040918b
pop ecx
test eax, eax
je 0x40eb6e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x418af0]
call fcn.0040918b
pop ecx
test eax, eax
je 0x40eb8e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40eb90
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40186a
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x403004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x13c], ecx
lea edi, [ebp - 0x2c]
push 0xa
pop ecx
xor eax, eax
lea esi, [ebp + 8]
rep stosd dword es:[edi], eax
sub esp, 0x10
lea ecx, [ebp - 0x2c]
mov edi, esp
xor ebx, ebx
mov dword [ebp - 0x134], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004017b4
test eax, eax
je 0x40198d
lea eax, [ebp - 0x2c]
mov esi, 0x104
push eax
push 0x401184
lea eax, [ebp - 0x130]
push esi
push eax
call fcn.0040154c
add esp, 0x10
test eax, eax
js 0x40198d
lea eax, [ebp - 0x134]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x130]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401974
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], esi
push eax
lea eax, [ebp - 0x130]
mov dword [ebp - 0x138], 1
push eax
lea eax, [ebp - 0x138]
push eax
push ebx
push ebx
push dword [ebp - 0x134]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401974
cmp dword [ebp - 0x138], 2
lea eax, [ebp - 0x130]
mov byte [ebp - 0x2d], bl
jne 0x401961
push esi
push dword [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [esi - 1]
cmp ecx, eax
sbb ebx, ebx
inc ebx
jmp 0x401974
mov ecx, dword [ebp - 0x13c]
push eax
call fcn.00401500
xor ebx, ebx
test eax, eax
setns bl
cmp dword [ebp - 0x134], 0
je 0x401989
push dword [ebp - 0x134]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x40198f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401e60
leave
ret 0x10
Function at 0x4019a6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x403004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x104
mov dword [ebp - 0x11c], eax
xor esi, esi
lea eax, [ebp - 0x108]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x10c], esi
push 4
pop edi
push esi
push esi
push 1
push esi
mov dword [ebp - 0x110], edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0x10c]
push eax
push 1
push esi
push 0x401110
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401a58
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push 0x401168
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401a58
cmp dword [ebp - 0x114], edi
jne 0x401a58
cmp dword [ebp - 0x118], 1
jne 0x401a58
push esi
jmp 0x401a5a
push 3
call dword [sym.imp.KERNEL32.dll_SetProcessDEPPolicy]
sub esp, 0x10
lea ecx, [ebp - 0x108]
mov edi, esp
mov esi, 0x4011e8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040186a
mov esi, 0x4011d0
test eax, eax
jne 0x401a92
push esi
lea ecx, [ebp - 0x108]
call fcn.00401500
test eax, eax
js 0x401ae8
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
jne 0x401ab2
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x401ae8
push 0x4011dc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x403380], esi
test esi, esi
je 0x401ae8
push dword [ebp - 0x11c]
mov ecx, esi
push ebx
call dword [0x4040b0]
call esi
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x401aeb
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401e60
leave
ret 0x10
Function at 0x401bc0
Capabilities:
Terminate process

Disassembly:
call fcn.0040226b
jmp 0x401bd0
push 0x58
push 0x4023e0
call fcn.00402330
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x403374
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x401c22
cmp eax, esi
jne 0x401c15
xor esi, esi
inc esi
mov edi, esi
jmp 0x401c25
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401bf9
xor esi, esi
inc esi
cmp dword [0x403378], esi
jne 0x401c37
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x401c71
cmp dword [0x403378], ebx
jne 0x401c6b
mov dword [0x403378], esi
push 0x4010dc
push 0x4010d0
call fcn.00401db5
pop ecx
pop ecx
test eax, eax
je 0x401c71
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401d9f
mov dword [0x403024], esi
cmp dword [0x403378], esi
jne 0x401c94
push 0x4010cc
push 0x4010c4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x403378], 2
test edi, edi
jne 0x401ca1
xor eax, eax
mov ecx, 0x403374
xchg dword [ecx], eax
cmp dword [0x40337c], 0
je 0x401ccd
push 0x40337c
call fcn.00402160
pop ecx
test eax, eax
je 0x401ccd
push ebx
push 2
push ebx
mov esi, dword [0x40337c]
mov ecx, esi
call dword [0x4040b0]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x401d2b
test cl, cl
je 0x401cfa
test edi, edi
jne 0x401d2b
test cl, cl
je 0x401cfa
cmp cl, 0x20
ja 0x401cfa
inc esi
mov dword [ebp - 0x1c], esi
mov cl, byte [esi]
jmp 0x401ce9
test byte [ebp - 0x3c], 1
je 0x401d06
movzx eax, word [ebp - 0x38]
jmp 0x401d09
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x403020], eax
cmp dword [0x403038], 0
jne 0x401d84
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x401d3c
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x401d4f
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x401cda
cmp dword [0x403024], 0
jne 0x401d98
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x403020]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402030
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x402400
call fcn.00402330
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x402090
cmp eax, 0xffffffff
je 0x402090
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x402089
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x402089
cmp edx, 0x10000000
jae 0x402089
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x402086
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x402110
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40214e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x402146
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x402150
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x402136
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x402230
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x402261
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x402261
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x402261
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4084de
Capabilities:
Encode data using xor

Disassembly:
call 0x408457
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 0x408487
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 0x4084a3
xor edx, 0
jmp 0x4084ae
xor edx, edx
jmp 0x4084c5
jmp 0x4084d1
xor eax, eax
push 0x8427d7c0
call 0x4084de
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x40851a
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 0x4084f3
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 0x408531
add eax, 0
jno 0x408536
add esi, 0
ret 0x10
Function at 0x100167f0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1001682e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10016826
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10016830
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10016816
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10016900
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10016916
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10016931
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x1001e352
Capabilities:
Encode data using xor

Disassembly:
call 0x1001e2cb
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 0x1001e2fb
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 0x1001e317
xor edx, 0
jmp 0x1001e322
xor edx, edx
jmp 0x1001e339
jmp 0x1001e345
xor eax, eax
push 0x8427d7c0
call 0x1001e352
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1001e38e
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 0x1001e367
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 0x1001e3a5
add eax, 0
jno 0x1001e3aa
add esi, 0
ret 0x10
Function at 0x1001f113
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 0x1001f135
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 0x1001f2d7
cmp edi, dword [ebp + 0x10]
jb 0x1001f2d7
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.1001ebff
inc edi
jmp 0x1001f1be
jmp 0x1001f1cb
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001ebff
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001ebff
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 0x1001f21f
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 0x1001f203
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001f24d
add dword [eax], 0x39
jle 0x1001f229
sub al, 0xf5
mov ch, al
call fcn.1001f262
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10020f3a
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 0x10020f50
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 0x10020f61
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10020fa2
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 0x1002330e
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 0x10023257
add ebx, 0
push ecx
call 0x1002326c
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, 0x6c4191d1
sub ebx, dword [0x6c438a10]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c438a00
call fcn.1001ed36
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1001e244
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100233ca
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100233ca
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 0x10023381
mov eax, 1
lock xchg dword [0x6c438a0c], eax
push 0x3dd1fc71
call 0x1002330e
push esi
add esp, 8
cmp eax, 0
jne 0x100232f7
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1002331d
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10023332
cmp ecx, edx
cmp eax, 0
je 0x10023357
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 0x10023341
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.10023370
dec eax
loope 0x10023373
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c438a0c], 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 0x100233a7
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100233bc
jmp 0x100233c7
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100232b5
Function at 0x1002a42f
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 0x1002a705
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c425684
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c41c64a
push 0xffffffffffffffff
call fcn.1002162f
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 0x1002a499
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1002a4b1
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 0x1002a6f9
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1002a6cd
Function at 0x10039eff
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10039f21
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10039f21
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10039f21
ret
cmp word [ebx + 4], 0x14c
jne 0x10039f21
test word [ebx + 0x16], 2
je 0x10039f21
test word [ebx + 0x16], 0x100
je 0x10039f21
cmp word [ebx + 0x18], 0x10b
jne 0x10039f21
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10039f21
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10039fad
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10039f41
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10020e8c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10039f21
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10039fad
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10039f21
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10039f21
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10039f21
ret
cmp word [ebx + 4], 0x14c
jne 0x10039f21
test word [ebx + 0x16], 2
je 0x10039f21
test word [ebx + 0x16], 0x100
je 0x10039f21
cmp word [ebx + 0x18], 0x10b
jne 0x10039f21
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10039f21
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10039fad
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10039f41
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10020e8c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10039f21
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8