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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447306
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x430], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x418], edi
push 2
push edi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x424], esi
cmp esi, edi
jne 0x42d390
call fcn.00425980
mov edi, eax
jmp 0x42d4a9
mov eax, dword [ebp - 0x41c]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
jne 0x42d3af
call fcn.00425980
jmp 0x42d4a0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, edi
jne 0x42d3cb
call fcn.00425980
jmp 0x42d4a0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x41c], ebx
cmp eax, ebx
jae 0x42d3ec
mov edi, 0x8007000e
jmp 0x42d4a2
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, edi
ja 0x42d401
cmp eax, 0xffffffff
jbe 0x42d40b
push 0x80070216
call fcn.00402060
cmp eax, 0x400
jbe 0x42d43d
lea ecx, [ebp - 0x418]
push ecx
call fcn.0042b680
jmp 0x42d449
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x418]
cmp eax, edi
jne 0x42d461
mov edi, 0x8007000e
jmp 0x42d4a2
push ebx
push eax
mov eax, dword [ebp - 0x420]
push ebx
push eax
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jne 0x42d47f
call fcn.00425980
jmp 0x42d4a0
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0042d170
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x42d4c2
lea eax, [ebp - 0x418]
call fcn.0042b670
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00430f3e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42da70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
mov dword [ebp - 0x214], 0
push ecx
mov word [ebp - 0x20c], ax
call fcn.00433910
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push closesocket
mov dword [ebp - 0x210], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42dade
mov ecx, 0x44e978
jmp 0x42db33
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push str.Start_Page
push edx
mov dword [ebp - 0x214], 0x208
mov dword [0x45a11c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x210]
push eax
mov dword [0x45a11c], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x20c]
push esi
call fcn.00401e30
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.00430f3e
mov esp, ebp
pop ebp
ret
Function at 0x42db50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4485e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4590c0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov eax, dword [0x4590c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push eax
call esi
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x42dbaf
push ecx
mov ecx, dword [edi + 4]
push 0xffffffffffffffec
push ecx
call ebx
mov edx, dword [edi + 4]
push 0xffffffffffffffec
push edx
call esi
mov ecx, eax
and ecx, 0xfffbffff
or ecx, 0x80
cmp eax, ecx
je 0x42dbe8
mov eax, dword [edi + 4]
push ecx
push 0xffffffffffffffec
push eax
call ebx
mov ecx, dword [edi + 4]
push 0x37
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [edi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
call fcn.004325ef
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 4
push 0
push 0x3e8
push ecx
push edx
call fcn.0043ced0
mov ecx, eax
movzx eax, word [esp + 0x1c]
mov esi, edx
cdq
add ecx, eax
adc esi, edx
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xbc], esi
call fcn.004138c0
mov eax, dword [0x45c8e8]
cdq
push edx
push eax
mov eax, dword [0x45c8e4]
cdq
push edx
push eax
call fcn.004012c0
push 0
mov dword [0x45a118], eax
call fcn.004325fa
add esp, 0x14
push eax
call fcn.00431794
add esp, 4
lea esi, [esp + 0xc]
call fcn.0042da70
mov dword [esp + 0x38], 0
mov ecx, dword [eax]
mov esi, dword [edi + 0xd4]
lea ebx, [edi + 0xd4]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x42dce1
cmp dword [esi + 0xc], 0
jl 0x42dcd7
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42dcd7
call fcn.00401a60
mov dword [esp + 0x10], eax
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42dccc
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x10]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x42dce1
push ecx
push ebx
mov ebx, dword [ecx - 0xc]
call fcn.00402080
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42dd09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
cmp dword [0x45cc04], eax
je 0x42dd1d
mov dword [edi + 0xd0], 2
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00430f3e
mov esp, ebp
pop ebp
ret
Function at 0x42e4c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447b10
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4590c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
mov ecx, str.SoftwareMicrosoftInternet_ExplorerMain
mov dword [ebp - 0x10], ebx
call fcn.00401e30
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
push ecx
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x10], ebx
je 0x42e597
mov ecx, dword [ebp + 8]
mov esi, dword [ecx - 0xc]
cmp esi, ebx
jge 0x42e534
push 0x80070057
call fcn.00402060
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x42e552
mov eax, esi
lea ecx, [ebp + 8]
call fcn.00402000
mov ecx, dword [ebp + 8]
lea eax, [esi + esi]
push eax
push ecx
mov ecx, dword [ebp - 0x10]
push 1
push ebx
push str.Start_Page
push ecx
call edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004316dd
add esp, 8
cmp eax, ebx
jl 0x42e52a
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx - 8]
jg 0x42e52a
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp + 8]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
push eax
push str.Software__Policies__Microsoft__Internet_Explorer__Control_Panel
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push ebx
push str.Software__Policies__Microsoft__Internet_Explorer__Control_Panel
push closesocket
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x42e5eb
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42e61c
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 4
push ebx
push str.HomePage
push eax
call edi
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e628
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e64e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov word [ebp - 0x218], ax
call fcn.00433910
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push closesocket
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e7f0
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x218]
push edx
push eax
push eax
mov dword [0x45a11c], eax
mov eax, dword [ebp - 0x21c]
push str.Start_Page
push eax
mov dword [ebp - 0x220], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x21c]
push ecx
mov dword [0x45a11c], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x218]
call fcn.00401e30
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x42e753
push 0x80004005
call fcn.00402060
mov esi, dword [ebp - 0x224]
mov eax, esi
jmp 0x42e760
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42e786
test dx, dx
je 0x42e782
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42e786
add eax, 4
add ecx, 4
test dx, dx
jne 0x42e760
xor eax, eax
jmp 0x42e78b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
or edx, 0xffffffff
test al, al
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
je 0x42e7dd
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e7b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e7d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x42e818
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e7f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e816
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430f3e
mov esp, ebp
pop ebp
ret
Function at 0x42eec0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
lea edi, [ebx + 0x78]
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0xb4], 0
jne 0x42ef7d
push str.ClientClientProcess_e61cb8cd_5c3f_4a47_b775_25bf9735b36b
push 0
push 0xf001f
mov dword [ebx + 0xb4], 1
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
test esi, esi
je 0x42ef38
mov edi, dword [0x45c8e4]
push 0
push 0
push 0
push 2
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp dword [eax], edi
jle 0x42ef25
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 4]
jmp 0x42ef73
push str.ClientClientProcess_e61cb8cd_5c3f_4a47_b775_25bf9735b36b
push 0x14
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
je 0x42ef73
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x42ef73
mov ecx, dword [0x45c8e4]
push eax
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebx + 0xb4], 0
test edi, edi
je 0x42ef88
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x430c9e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x45b824], 0
push esi
push edi
jne 0x430c14
call fcn.00430b80
test eax, eax
je 0x430c59
mov eax, dword [0x45b824]
cmp eax, 1
jne 0x430c35
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x430c59
jmp 0x430c9b
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x430c9b
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x430c5d
xor eax, eax
jmp 0x430c9b
mov eax, dword [esi]
push dword [0x45b824]
call edi
mov edi, eax
test edi, edi
je 0x430c7f
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x430c9b
lea edi, [esi + 0xff0]
push esi
push dword [0x45b824]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x430c85
mov eax, esi
pop edi
pop esi
ret
jmp 0x430c00

Function at 0x430f3e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4590c0]
jne 0x430f48
repz ret
jmp fcn.004339d6
Function at 0x43eea7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004358ab
and dword [ebp - 0x14], 0
cmp dword [0x45c70c], 0
mov dword [ebp - 0x18], eax
jne 0x43ef5a
push 0x44d6fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x43f002
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x43f002
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x44d6e0
push ebx
mov dword [0x45c70c], eax
call edi
push eax
call esi
push 0x44d6cc
push ebx
mov dword [0x45c710], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45c714], eax
call edi
push eax
call esi
mov dword [0x45c71c], eax
test eax, eax
je 0x43ef5a
push 0x44d698
push ebx
call edi
push eax
call esi
mov dword [0x45c718], eax
mov eax, dword [0x45c718]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x43efb3
cmp dword [0x45c71c], ecx
je 0x43efb3
push eax
call esi
push dword [0x45c71c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x43efb3
test ebx, ebx
je 0x43efb3
call edi
test eax, eax
je 0x43efaa
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43efaa
test byte [ebp - 8], 1
jne 0x43efb3
or dword [ebp + 0x10], 0x200000
jmp 0x43efe6
mov eax, dword [0x45c710]
cmp eax, dword [ebp - 0x18]
je 0x43efe6
push eax
call esi
test eax, eax
je 0x43efe6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43efe6
mov eax, dword [0x45c714]
cmp eax, dword [ebp - 0x18]
je 0x43efe6
push eax
call esi
test eax, eax
je 0x43efe6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45c70c]
call esi
test eax, eax
je 0x43f002
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x43f004
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430f3e
leave
ret
Function at 0x440f90
Capabilities:
Encrypt data using rc4 prga
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x453c30
push 0x4363b0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, dword [0x4590c0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x440fda
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x441010
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x34]
jmp 0x44119b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x441048
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x38]
jmp 0x44119b
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x14]
test ecx, ecx
jne 0x441074
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3c]
jmp 0x44119b
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x441097
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x441146
push str..detour
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
add eax, dword [ebp - 0x20]
push eax
call fcn.00433c40
add esp, 8
test eax, eax
jne 0x441141
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0xc], 0
je 0x4410e2
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + eax + 0x10], 0
jne 0x4410e4
jmp 0x441146
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0x40
jb 0x441111
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 4], 0x727444
je 0x441113
jmp 0x441146
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 0
jne 0x441127
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov dword [eax + 8], edx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x40]
jmp 0x44119b
jmp 0x44108e
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x44]
jmp 0x44119b
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x441450
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0x678
jne 0x441471
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
cmp eax, dword [ebp + 0xc]
jbe 0x441483
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4415cb
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4415c8
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4415ac
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
push eax
call fcn.00433e20
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x5c
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00433e20
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
je 0x441589
lea ecx, [ebp - 0x10]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x441587
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x664
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.00433e20
add esp, 0xc
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 8], 1
jmp 0x441590
mov dword [ebp - 8], 1
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8