joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407734
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.0040442a
and dword [ebp - 4], 0
cmp dword [0x42ccf8], 0
mov ebx, eax
jne 0x4077e5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407896
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407896
push eax
call fcn.004043b8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42ccf8], eax
call esi
push eax
call fcn.004043b8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42ccfc], eax
call esi
push eax
call fcn.004043b8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42cd00], eax
call esi
push eax
call fcn.004043b8
pop ecx
mov dword [0x42cd08], eax
test eax, eax
je 0x4077e5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004043b8
pop ecx
mov dword [0x42cd04], eax
mov eax, dword [0x42cd04]
cmp eax, ebx
je 0x40783d
cmp dword [0x42cd08], ebx
je 0x40783d
push eax
call fcn.00404433
push dword [0x42cd08]
mov esi, eax
call fcn.00404433
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40783d
test edi, edi
je 0x40783d
call esi
test eax, eax
je 0x407834
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407834
test byte [ebp - 0xc], 1
jne 0x40783d
or dword [ebp + 0x10], 0x200000
jmp 0x407876
mov eax, dword [0x42ccfc]
cmp eax, ebx
je 0x407876
push eax
call fcn.00404433
pop ecx
test eax, eax
je 0x407876
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407876
mov eax, dword [0x42cd00]
cmp eax, ebx
je 0x407876
push eax
call fcn.00404433
pop ecx
test eax, eax
je 0x407876
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42ccf8]
call fcn.00404433
pop ecx
test eax, eax
je 0x407896
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407898
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401440
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0xbbeaf81f
xor ebx, 0xbfeaf81f
jmp 0x4014f0
mov edx, 0xa919783e
xor edx, 0xa919783a
mov ecx, 0x25135daf
xor ecx, 0x25136daf
mov eax, 0x500
ror eax, 0x1c
push edx
push ecx
push eax
mov edx, dword [ebp - 0xb4]
rol edx, 4
rol edx, 0xa
mov dword [ebp - 8], edx
push ebx
call fcn.00401644
push esi
pop ecx
mov ebx, eax
test ebx, ebx
je 0x4014f0
sub ebx, 0x86b78ac7
mov dword [ebp - 0x10], ebx
ret

Function at 0x410e10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.fHUBmpzJ
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x410e32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410e39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410e28
mov eax, 1
add ebx, ebx
jne 0x410e4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410e40
jne 0x410e5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410e40
xor ecx, ecx
sub eax, 3
jb 0x410e70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x410ee2
mov ebp, eax
add ebx, ebx
jne 0x410e7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x410e88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x410eac
inc ecx
add ebx, ebx
jne 0x410e98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x410e8d
jne 0x410ea9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410e8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x410ecc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x410ebd
jmp 0x410e2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x410ecc
add edi, ecx
jmp 0x410e2e
pop esi
mov edi, esi
mov ecx, 0x1fd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x410eea
cmp byte [edi], 1
jne 0x410eea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x410eef
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x410f5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x100b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10108]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x410f1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x10110]
or eax, eax
je 0x410f58
mov dword [ebx], eax
add ebx, 4
jmp 0x410f39
call dword [esi + 0x1010c]
mov ebp, dword [esi + 0x10114]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x410f92
sub esp, 0xffffff80
jmp 0x405884
Function at 0x402e5b
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x402e78
mov dword [ebp - 8], RegEnumValueA
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x402e87
mov ebx, 0x40f020
mov eax, dword [ebp + 8]
test eax, eax
jl 0x402e9c
mov ecx, dword [0x423ed8]
add ecx, eax
push ecx
call fcn.00403080
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.0040304e
test eax, eax
je 0x402ff9
test byte [ebp + 0x17], 0x80
je 0x402fe2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x40af90
mov dword [ebp - 0xc], eax
call fcn.00405dd9
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x403044
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x402eec
mov esi, dword [ebp + 0x14]
mov edi, 0x40b020
push esi
push edi
call fcn.0040304e
test eax, eax
je 0x402ff9
sub dword [ebp + 0x14], esi
mov dword [str.vvll], edi
mov dword [0x40afac], esi
mov eax, dword [ebp - 8]
mov ecx, 0x40af90
mov dword [0x40afb0], ebx
mov dword [0x40afb4], eax
call fcn.00405df9
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x402fda
mov esi, dword [0x40afb0]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x423f34], 1
mov edi, eax
je 0x402f8e
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x402f5b
cmp dword [ebp + 0x14], 0
jne 0x402f8e
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x54]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0
call fcn.00404d7b
mov dword [ebp - 0xc], edi
xor eax, eax
cmp esi, eax
je 0x402fcf
cmp dword [ebp + 0x10], eax
jne 0x402fb7
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402fde
cmp dword [ebp - 0x10], esi
jne 0x402fde
add dword [ebp - 4], esi
jmp 0x402fc3
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x40afb0]
cmp dword [ebp - 0x14], 1
jne 0x402f0f
jmp 0x403044
cmp dword [ebp + 0x14], eax
jg 0x402edf
jmp 0x403044
push 0xfffffffffffffffc
jmp 0x402ffb
push 0xfffffffffffffffe
jmp 0x402ffb
test edi, edi
je 0x403039
cmp dword [ebp + 0x14], esi
jge 0x402fee
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.0040304e
test eax, eax
jne 0x403041
push 0xfffffffffffffffd
pop eax
jmp 0x403047
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x403009
mov esi, dword [ebp + 0x14]
mov edi, 0x40b020
push esi
push edi
call fcn.0040304e
test eax, eax
je 0x402ff9
lea eax, [ebp + 0x10]
push 0
push eax
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402fde
cmp esi, dword [ebp + 0x10]
jne 0x402fde
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x402ffe
jmp 0x403044
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10020f97
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x40
mov eax, 0x100b94f2
call fcn.1008b85d
mov eax, ecx
mov dword [ebp - 0x48], eax
xor esi, esi
mov ebx, dword [ebp + 8]
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x4c], ebx
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x44], esi
push ecx
push esi
push esi
push esi
push dword [eax]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x100210e8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x18], esi
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1001df93
pop ecx
pop ecx
mov edi, ebx
xor eax, eax
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov edi, esi
mov dword [ebp - 0x44], ecx
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0x14], edi
jbe 0x100210cb
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x48]
push esi
push edi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100210e0
push dword [ebp - 0x1c]
and dword [ebp - 0x40], eax
lea ecx, [ebp - 0x40]
and dword [ebp - 0x30], eax
push esi
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10013ea6
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
push ecx
cmp eax, dword [ebx + 8]
je 0x10021078
mov ecx, eax
call fcn.100079a2
add dword [ebx + 4], 0x18
jmp 0x10021080
push eax
mov ecx, ebx
call fcn.1001f563
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x100210c1
mov ecx, dword [ebp - 0x40]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
cmp eax, 0x1000
jb 0x100210b8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000c599
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
push eax
push ecx
call fcn.1008b2d8
pop ecx
pop ecx
inc edi
cmp edi, dword [ebp - 0x14]
jb 0x10021019
test esi, esi
je 0x100210d6
push esi
call fcn.1008b2e6
pop ecx
mov eax, ebx
call fcn.1008b80c
ret 4
push eax
push str.Cannot_enumerate_subkeys:_RegEnumKeyEx_failed.
jmp 0x100210ee
push eax
push str.RegQueryInfoKey_failed_while_preparing_for_subkey_enumeration.
lea ecx, [ebp - 0x38]
call fcn.10013281
push 0x100dfb48
lea eax, [ebp - 0x38]
push eax
call fcn.1008ca1a
int3
Function at 0x1002168f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x100b95fb
call fcn.1008b85d
mov ebx, ecx
mov edi, dword [ebp + 0xc]
xor edx, edx
mov esi, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edx
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], edx
jb 0x100216bb
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push edx
push edx
push 2
push eax
push edx
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x10021772
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi], edx
mov dword [esi + 0x10], edx
mov word [esi], ax
mov eax, dword [ebp - 0x14]
shr eax, 1
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], 1
jne 0x10021702
xor ecx, ecx
mov dword [esi + 0x10], eax
mov word [esi + eax*2], cx
jmp 0x1002170d
push edx
push eax
mov ecx, esi
call fcn.1000ee17
xor edx, edx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10021717
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x1002171f
mov edi, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push eax
push edx
push 2
push edi
push edx
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1002173d
push eax
push str.Cannot_get_string_value:_RegGetValue_failed.
jmp 0x10021778
mov eax, dword [ebp - 0x14]
mov ecx, esi
shr eax, 1
dec eax
cmp eax, dword [esi + 0x10]
ja 0x1002175d
cmp dword [esi + 0x14], 8
jb 0x10021752
mov ecx, dword [esi]
xor edx, edx
mov dword [esi + 0x10], eax
mov word [ecx + eax*2], dx
jmp 0x10021768
sub eax, dword [esi + 0x10]
push 0
push eax
call fcn.1000ee17
mov eax, esi
call fcn.1008b80c
ret 8
push eax
push str.Cannot_get_size_of_string_value:_RegGetValue_failed.
lea ecx, [ebp - 0x2c]
call fcn.10013281
push 0x100dfb48
lea eax, [ebp - 0x2c]
push eax
call fcn.1008ca1a
int3
Function at 0x646163c0
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 0x646163fe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x646163f6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x64616400
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x646163e6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x646164d0
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 0x646164e6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x64616501
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x6461d401
Capabilities:
Encode data using xor

Disassembly:
call 0x6461d37a
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 0x6461d3aa
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 0x6461d3c6
xor edx, 0
jmp 0x6461d3d1
xor edx, edx
jmp 0x6461d3e8
jmp 0x6461d3f4
xor eax, eax
push 0x8427d7c0
call 0x6461d401
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x6461d43d
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 0x6461d416
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 0x6461d454
add eax, 0
jno 0x6461d459
add esi, 0
ret 0x10
Function at 0x6461e1c2
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 0x6461e1e4
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 0x6461e386
cmp edi, dword [ebp + 0x10]
jb 0x6461e386
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.6461dcae
inc edi
jmp 0x6461e26d
jmp 0x6461e27a
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.6461dcae
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.6461dcae
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 0x6461e2ce
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 0x6461e2b2
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.6461e2fc
add dword [eax], 0x39
jle 0x6461e2d8
sub al, 0xf5
mov ch, al
call fcn.6461e311
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x6461ffe9
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 0x6461ffff
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 0x64620010
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.64620051
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 0x646223bd
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 0x64622306
add ebx, 0
push ecx
call 0x6462231b
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, 0x6cac72b3
sub ebx, dword [0x6cae6af2]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6cae6ae2
call fcn.6461dde5
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.6461d2f3
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x64622479
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x64622479
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 0x64622430
mov eax, 1
lock xchg dword [0x6cae6aee], eax
push 0x3dd1fc71
call 0x646223bd
push esi
add esp, 8
cmp eax, 0
jne 0x646223a6
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x646223cc
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x646223e1
cmp ecx, edx
cmp eax, 0
je 0x64622406
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 0x646223f0
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.6462241f
dec eax
loope 0x64622422
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6cae6aee], 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 0x64622456
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x6462246b
jmp 0x64622476
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x64622364
Function at 0x646294de
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 0x646297b4
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6cad3766
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6caca72c
push 0xffffffffffffffff
call fcn.646206de
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 0x64629548
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.64629560
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 0x646297a8
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x6462977c
Function at 0x64638fae
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 0x64638fd0
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x64638fd0
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x64638fd0
ret
cmp word [ebx + 4], 0x14c
jne 0x64638fd0
test word [ebx + 0x16], 2
je 0x64638fd0
test word [ebx + 0x16], 0x100
je 0x64638fd0
cmp word [ebx + 0x18], 0x10b
jne 0x64638fd0
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x64638fd0
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x6463905c
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x64638ff0
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.6461ff3b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x64638fd0
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 0x6463905c
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 0x64638fd0
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x64638fd0
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x64638fd0
ret
cmp word [ebx + 4], 0x14c
jne 0x64638fd0
test word [ebx + 0x16], 2
je 0x64638fd0
test word [ebx + 0x16], 0x100
je 0x64638fd0
cmp word [ebx + 0x18], 0x10b
jne 0x64638fd0
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x64638fd0
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x6463905c
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x64638ff0
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.6461ff3b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x64638fd0
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