joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425c29
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
xor edx, edx
inc ecx
push edi
movzx esi, byte [ecx - 1]
movzx edi, byte [ecx]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 1]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 2]
shl esi, 8
or esi, edi
mov dword [ebp + edx*4 - 0x120], esi
inc edx
add ecx, 4
cmp edx, 0x10
jb 0x425c38
push 0x40
pop esi
cmp edx, esi
jae 0x425cb3
sub esi, edx
lea ecx, [ebp + edx*4 - 0x128]
mov dword [ebp - 4], esi
mov esi, dword [ecx]
mov edx, dword [ecx - 0x34]
mov edi, esi
rol edi, 0xf
mov ebx, esi
shr esi, 0xa
rol ebx, 0xd
xor edi, ebx
xor edi, esi
mov esi, edx
rol esi, 0xe
mov ebx, edx
ror ebx, 7
xor esi, ebx
shr edx, 3
xor esi, edx
add edi, esi
add edi, dword [ecx - 0x38]
add ecx, 4
add edi, dword [ecx - 0x18]
dec dword [ebp - 4]
mov dword [ecx + 4], edi
jne 0x425c79
mov ecx, dword [eax + 0x54]
mov edi, dword [eax + 0x50]
mov ebx, dword [eax + 0x68]
mov esi, dword [eax + 0x60]
and dword [ebp - 0x14], 0
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ecx
mov ecx, esi
ror ecx, 0xb
mov edx, esi
rol edx, 7
xor ecx, edx
mov edx, esi
ror edx, 6
xor ecx, edx
mov edx, esi
not edx
and edx, ebx
mov ebx, dword [ebp - 0x10]
and ebx, esi
xor edx, ebx
add ecx, edx
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + 0x449fb8]
mov ebx, edi
add ecx, dword [ebp + edx - 0x120]
mov edx, edi
add ecx, dword [ebp - 4]
ror edx, 0xd
rol ebx, 0xa
xor edx, ebx
mov ebx, edi
add dword [ebp - 0x14], 4
ror ebx, 2
xor edx, ebx
mov ebx, dword [ebp - 8]
xor ebx, edi
and ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
and edi, dword [ebp - 0x18]
xor ebx, edi
mov edi, dword [ebp - 0x20]
add edx, ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 8], edi
add esi, ecx
cmp dword [ebp - 0x14], 0x100
lea edi, [edx + ecx]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], edi
jb 0x425ce4
mov ecx, dword [eax + 0x50]
mov edx, dword [ebp - 8]
add ecx, edi
mov dword [eax + 0x50], ecx
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x54], ecx
mov ecx, dword [eax + 0x58]
add ecx, edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x58], ecx
mov ecx, dword [eax + 0x5c]
add ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x5c], ecx
mov ecx, dword [eax + 0x60]
add ecx, esi
mov dword [eax + 0x60], ecx
mov ecx, dword [eax + 0x64]
add ecx, edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x64], ecx
mov ecx, dword [eax + 0x68]
add ecx, ebx
mov dword [eax + 0x68], ecx
mov ecx, dword [eax + 0x6c]
pop edi
add ecx, edx
pop esi
mov dword [eax + 0x6c], ecx
pop ebx
leave
ret
Function at 0x425f94
Capabilities:
Delete registry key

Disassembly:
cmp dword [0x458f90], 0
jne 0x425fac
mov dword [0x458f90], 1
jmp fcn.00426e8c
ret

Function at 0x42664c
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x441118
call fcn.0042a474
xor edi, edi
mov dword [ebp - 4], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.00429297
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x426696
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jne 0x426682
mov dword [esi + 0x10], edi
jmp 0x426698
lea eax, [ebp + 8]
cmp ecx, eax
mov eax, dword [ecx]
jne 0x42668e
push esi
jmp 0x42668f
push edi
call dword [eax]
mov dword [esi + 0x10], eax
jmp 0x426698
xor esi, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push esi
push 0x4266d8
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
lea esi, [ebp + 8]
mov edi, eax
call fcn.00420804
mov eax, edi
jmp 0x4266d2
call fcn.0042a519
ret

Function at 0x426b62
Capabilities:
Delete registry value

Disassembly:
push 0x58
mov eax, 0x4429a7
call fcn.0042a4aa
mov esi, ecx
lea eax, [ebp - 0x48]
push eax
mov ebx, esi
mov edi, edx
call fcn.0040c46f
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x34], ebx
je 0x426c2c
cmp edi, ebx
jne 0x426b95
mov edi, 0x448c8e
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x426ba1
lea eax, [ebp - 0x44]
push esi
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str._s__hs__p
lea ecx, [ebp - 0x2c]
call fcn.0040ccac
add esp, 0x10
mov byte [ebp - 4], 1
cmp byte [ebp + 8], bl
je 0x426c04
lea eax, [ebp - 0x64]
push eax
call fcn.0040bfea
cmp dword [eax + 0x18], 8
pop ecx
jb 0x426bd9
mov eax, dword [eax + 4]
jmp 0x426bdc
add eax, 4
cmp dword [ebp - 0x14], 8
mov ebx, dword [ebp - 0x28]
jae 0x426be8
lea ebx, [ebp - 0x28]
mov esi, eax
mov edi, 0x458f98
call fcn.0040cd76
push 0
push 1
lea esi, [ebp - 0x64]
call fcn.00401828
xor ebx, ebx
jmp 0x426c21
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x426c10
lea eax, [ebp - 0x28]
push eax
push 0x458f98
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.00401828
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.00401828
call fcn.0042a52d
ret 4
Function at 0x426e8c
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x454070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, str.Softwareprojonepodlpdebug_async_
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
cmp eax, 0xc6
ja 0x426f2c
push ebx
push edi
push esi
mov esi, 0x458f98
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0042b7e0
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
push edi
push 0x44999c
push esi
call ebx
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push esi
call ebx
push esi
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop edi
pop ebx
call fcn.004267ca
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004291e7
leave
ret

Function at 0x4291e7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x454070]
jne 0x4291f1
repz ret
jmp fcn.0042a54b
Function at 0x42f7ec
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.0042a9df
and dword [ebp - 4], 0
cmp dword [0x457768], 0
mov ebx, eax
jne 0x42f89d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42f94e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42f94e
push eax
call fcn.0042a96d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x457768], eax
call esi
push eax
call fcn.0042a96d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45776c], eax
call esi
push eax
call fcn.0042a96d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x457770], eax
call esi
push eax
call fcn.0042a96d
pop ecx
mov dword [0x457778], eax
test eax, eax
je 0x42f89d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042a96d
pop ecx
mov dword [0x457774], eax
mov eax, dword [0x457774]
cmp eax, ebx
je 0x42f8f5
cmp dword [0x457778], ebx
je 0x42f8f5
push eax
call fcn.0042a9e8
push dword [0x457778]
mov esi, eax
call fcn.0042a9e8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42f8f5
test edi, edi
je 0x42f8f5
call esi
test eax, eax
je 0x42f8ec
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42f8ec
test byte [ebp - 0xc], 1
jne 0x42f8f5
or dword [ebp + 0x10], 0x200000
jmp 0x42f92e
mov eax, dword [0x45776c]
cmp eax, ebx
je 0x42f92e
push eax
call fcn.0042a9e8
pop ecx
test eax, eax
je 0x42f92e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42f92e
mov eax, dword [0x457770]
cmp eax, ebx
je 0x42f92e
push eax
call fcn.0042a9e8
pop ecx
test eax, eax
je 0x42f92e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x457768]
call fcn.0042a9e8
pop ecx
test eax, eax
je 0x42f94e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42f950
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x435420
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x457898], eax
je 0x43543e
mov eax, 0x10dd
jmp 0x43551f
mov eax, dword [0x4578a8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4354bc
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x43549a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x43549a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.00435590
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00429220
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x435446
mov dword [0x4578a8], 0
call fcn.00435530
mov ecx, dword [0x4578a4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x435509
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00429220
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x4354d4
mov dword [0x4578a4], 0
mov dword [0x457898], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x435a60
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x435a75
xor eax, eax
jmp 0x435aea
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x435aa2
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x435ae5
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x435ae3
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x435adf
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x435ae3
xor eax, eax
jmp 0x435aea
jmp 0x435a99
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x435b90
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x45789c], 0
je 0x435ba9
mov eax, dword [0x45789c]
jmp 0x435c49
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x435bbb
xor eax, eax
jmp 0x435c49
push 8
call fcn.00429297
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x435c11
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x435bfa
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00429220
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x45789c], eax
mov dword [0x4578a0], 0
mov eax, dword [ebp - 4]
jmp 0x435c49
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x435c2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x435bdb
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x4578a4]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x4578a4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x436540
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00436750
add esp, 0xc
mov dword [ebp - 0x10], 0
cmp dword [0x45788c], 0
jne 0x43657d
cmp dword [0x457888], 0
je 0x43657d
mov eax, dword [0x457888]
mov dword [0x45788c], eax
cmp dword [0x45788c], 0
je 0x4365fa
mov ecx, dword [0x45788c]
cmp dword [ecx + 8], 0
je 0x4365fa
mov edx, dword [0x45788c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 8]
jb 0x4365fa
mov ecx, dword [0x45788c]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x4365fa
mov eax, dword [0x45788c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
jb 0x4365c9
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jbe 0x4365d0
xor eax, eax
jmp 0x436740
mov ecx, dword [0x45788c]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042b7e0
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x436740
mov edx, dword [0x457888]
mov dword [0x45788c], edx
jmp 0x436616
mov eax, dword [0x45788c]
mov ecx, dword [eax + 4]
mov dword [0x45788c], ecx
cmp dword [0x45788c], 0
je 0x436656
cmp dword [0x45788c], 0
je 0x436654
mov edx, dword [0x45788c]
cmp dword [edx + 8], 0
je 0x436654
mov eax, dword [0x45788c]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jb 0x436654
mov edx, dword [0x45788c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x436654
jmp 0x4365ae
jmp 0x436608
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
jne 0x436687
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00436930
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4366a0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00436830
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43673e
mov ecx, dword [ebp - 4]
mov dword [0x45788c], ecx
mov edx, dword [0x45788c]
mov dword [edx], 0x52727464
mov eax, dword [0x45788c]
mov dword [eax + 8], 0
mov ecx, dword [0x45788c]
mov edx, dword [0x457888]
mov dword [ecx + 4], edx
mov eax, dword [0x45788c]
mov dword [0x457888], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [0x45788c]
add ecx, 0x48
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], 0x38c
jmp 0x436709
mov edx, dword [ebp - 0x18]
sub edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 1
jle 0x43672d
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x48
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax + 0x40], edx
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x48
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x436700
mov ecx, dword [0x45788c]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 8], edx
jmp 0x4365ae
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x436830
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.00436900
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x4368f5
mov edx, dword [ebp - 4]
cmp edx, dword [0x454ce0]
jb 0x436875
mov eax, dword [ebp - 4]
cmp eax, dword [0x454ce4]
ja 0x436875
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x436845
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.0042b7e0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x43689b
jmp 0x4368f5
cmp dword [ebp - 0x10], 0x10000
jne 0x4368de
cmp dword [ebp - 0x14], 0x10000
jb 0x4368de
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4368d1
mov eax, dword [ebp - 0x24]
jmp 0x4368f7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x4368f0
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.00436900
add esp, 4
mov dword [ebp - 4], eax
jmp 0x436845
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x436930
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.00436a10
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x4369fd
mov edx, dword [ebp - 4]
cmp edx, dword [0x454ce0]
jb 0x43697a
mov eax, dword [ebp - 4]
cmp eax, dword [0x454ce4]
ja 0x43697a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x43694a
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.0042b7e0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x4369a0
jmp 0x4369fd
cmp dword [ebp - 0x10], 0x10000
jne 0x4369e3
cmp dword [ebp - 0x14], 0x10000
jb 0x4369e3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4369d6
mov eax, dword [ebp - 0x24]
jmp 0x4369ff
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x4369f8
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.00436a10
add esp, 4
mov dword [ebp - 4], eax
jmp 0x43694a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x436a40
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x4578d4], 0
je 0x436a56
xor eax, eax
jmp 0x436c72
cmp dword [0x4578d0], 0
je 0x436a69
mov eax, dword [0x4578d0]
jmp 0x436c72
push 0x24
push 0
push 0x4578ac
call fcn.0042b7e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x4578ac], eax
push 0
push 0
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x4578b0], eax
cmp dword [0x4578b0], 0
jne 0x436b0e
mov dword [0x4578d4], 1
cmp dword [0x4578b0], 0
je 0x436ac1
mov eax, dword [0x4578b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4578b4], 0
mov dword [0x4578b8], 0
mov dword [0x4578bc], 0
mov dword [0x4578c0], 0
mov dword [0x4578c4], 0
mov dword [0x4578c8], 0
mov dword [0x4578cc], 0
xor eax, eax
jmp 0x436c72
push str.ImagehlpApiVersionEx
mov ecx, dword [0x4578b0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4578b4], eax
push str.SymInitialize
mov edx, dword [0x4578b0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4578b8], eax
push str.SymSetOptions
mov eax, dword [0x4578b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4578bc], eax
push str.SymGetOptions
mov ecx, dword [0x4578b0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4578c0], eax
push str.SymLoadModule64
mov edx, dword [0x4578b0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4578c4], eax
push str.SymGetModuleInfo64
mov eax, dword [0x4578b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4578c8], eax
push str.SymFromName
mov ecx, dword [0x4578b0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4578cc], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call fcn.0042b7e0
add esp, 0xc
mov eax, 0xb
mov word [ebp - 8], ax
cmp dword [0x4578b4], 0
je 0x436bf3
cmp dword [0x4578b8], 0
je 0x436bf3
cmp dword [0x4578c4], 0
je 0x436bf3
cmp dword [0x4578c8], 0
je 0x436bf3
cmp dword [0x4578cc], 0
jne 0x436bf8
jmp 0x436aa2
lea ecx, [ebp - 8]
push ecx
call dword [0x4578b4]
movzx edx, word [ebp - 8]
cmp edx, 0xb
jge 0x436c10
jmp 0x436aa2
push 0
push 0
mov eax, dword [0x4578ac]
push eax
call dword [0x4578b8]
test eax, eax
jne 0x436c29
jmp 0x436aa2
cmp dword [0x4578c0], 0
je 0x436c63
cmp dword [0x4578bc], 0
je 0x436c63
call dword [0x4578c0]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0xfffffff8
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
or edx, 0x2704
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call dword [0x4578bc]
mov dword [0x4578d0], 0x4578ac
mov eax, dword [0x4578d0]
mov esp, ebp
pop ebp
ret
Function at 0x405ec3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x405ee7
xor eax, eax
test eax, eax
je 0x405ef9
cmp byte [ebp + eax - 0x121], 0x5c
je 0x405ef9
xor ecx, ecx
jmp 0x405efc
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409010]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
leave
ret 4

Function at 0x405f9c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c654], 0
push esi
jne 0x405fd3
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405fad
mov dword [ecx*4 + 0x42c650], eax
inc ecx
cmp ecx, 0x100
jl 0x405fa8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406004
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c650]
xor eax, esi
inc ecx
dec edx
jne 0x405fe6
pop edi
not eax
pop esi
ret 0xc

Function at 0x10001060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call fcn.1000106f

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
cmpsb byte [esi], byte es:[edi]
push esi
imul esi, dword [edx + 0x35dd0ff6], 0xa4e4def3
xor dword [ebp + 0x37051e8c], ebx
div byte [ecx - 0x6323dff3]
push edi
sbb dword [edx - 0x75], esi
dec edx
fild qword [esi + esi - 0xd]
mov byte gs:[ecx + esi*4 - 0x6cbbcb21], dl
sahf
mov word [ebx + reloc.shlwapi.dll_SHGetValueW], ds
test byte [ebx - 0x75], dh
or al, 0x67
pushfd
adc al, 0xb2
fbld tbyte [ebp + 0x75]
and byte [ebx - 0x43], dh
xor bh, bl
invalid