joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e590
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4d747e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
mov dx, word [0x4ffec0]
push esi
mov esi, ecx
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x5e]
mov dword [esp + 0x4c], 0x5b
mov byte [esp + 0x50], 4
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov word [esp + 0x5c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xae]
mov dword [esp + 0x9c], 0x59
mov byte [esp + 0xa0], 4
mov dword [esp + 0xa4], 1
mov dword [esp + 0xa8], 0x8c
mov word [esp + 0xac], dx
rep stosd dword es:[edi], eax
push 5
push 0
stosw word es:[edi], ax
mov ecx, esi
mov dword [esp + 0xf4], 0x5a
mov byte [esp + 0xf8], 4
mov dword [esp + 0xfc], 0x40
mov dword [esp + 0x100], 1
call fcn.004cf710
push 1
mov ecx, esi
call fcn.004cfb60
push 0
push 0
push 2
push 1
push 5
push 3
push 1
push str.BTN_MASK
push 0
push 0
mov ecx, esi
call fcn.004cf600
push 0x20
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x104], 0
je 0x42e6c1
mov ecx, eax
call fcn.004baf00
mov edi, eax
jmp 0x42e6c3
xor edi, edi
push 0x10
push 0x10
mov ecx, edi
mov dword [esp + 0x10c], 0xffffffff
call fcn.004bb5e0
push str.IL_FINDBARITEM
mov ecx, edi
call fcn.004bb060
push edi
mov ecx, esi
call fcn.004cfd50
lea eax, [esp + 0xc]
push 3
push eax
mov ecx, esi
call fcn.004cd570
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10c]
push 0
push 1
push 0
push 0
push 0x3ec
push ecx
push edx
push str.FindBar
mov ecx, esi
call fcn.004cd440
mov eax, dword [0x6dcf84]
mov ecx, dword [esi + 8]
push 0
push eax
push 0x3e8
push ecx
push 0x16
push 0x8c
push 0
push 0
push 0x54000080
push 0x4ffec0
push str.edit
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x42e4b0
lea ecx, [esi + 0x6bc]
mov dword [esi + 0x6c0], eax
call fcn.004d25b0
mov edx, dword [esi + 0x6c0]
push esi
push str.CLASSPROC
push edx
call dword [sym.imp.USER32.dll_SetPropW]
mov edi, dword [esi + 0x6c0]
push 0
push 0
mov ecx, esi
call fcn.004c4d10
push eax
push 0x30
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
call edi
mov eax, dword [esi + 0x6c0]
push 0x4b14e0
push 0
push 0xd0
push eax
call edi
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 8]
push 0x42e540
push esi
push edx
lea ecx, [esi + 0x69c]
call fcn.004a76b0
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x100
ret 4
Function at 0x4010ca
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [0x45d616], 0x4d29ac2
push 0
mov ebx, 0x108
call fcn.00407460
add esp, 4
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 4
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x401118
mov eax, 0x40b200
push eax
push 2
mov ebx, 0x138
call fcn.00407500
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40113e
push ebx
call fcn.004070f5
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401151
mov eax, 0x40b200
push eax
push 1
mov ebx, 0x154
call fcn.00407570
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401177
push ebx
call fcn.004070f5
add esp, 4
push str..tmp
push dword [ebp - 0x10]
call fcn.0040102d
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4011a5
push ebx
call fcn.004070f5
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x4012a4
push 0x80000004
push 0
push str.Super_EC
push 1
mov ebx, 0x158
call fcn.004075f0
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4011fc
push 6
call fcn.00407101
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40120f
push ebx
call fcn.004070f5
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
push 0
push 0
push 6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40124b
push 6
call fcn.00407101
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 3
mov eax, 0x40b20f
test eax, eax
je 0x401262
add eax, 8
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x401282
push 6
call fcn.00407101
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4012a4
push 6
call fcn.00407101
add esp, 4
call fcn.004012b7
mov eax, 0
jmp 0x4012b3
mov esp, ebp
pop ebp
ret

Function at 0x4014a7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x402571
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [0x45d662], eax
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
push 1
push 2
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4025b7
push 6
call fcn.00407101
add esp, 4
mov dword [0x45d666], eax
cmp dword [0x45d666], 0
je 0x402693
mov dword [ebp - 8], esp
push 0
push 0
push 0
push 2
push dword [0x45d666]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x402602
push 6
call fcn.00407101
add esp, 4
mov dword [0x45d66a], eax
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x402672
fild dword [ebp + 0x14]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x45d26b]
fstp qword [ebp - 0x14]
mov dword [ebp - 0x18], esp
lea eax, [ebp - 4]
push eax
push 0
fld qword [ebp - 0x14]
call fcn.0040254a
push eax
push 0x402a3f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x402672
push 6
call fcn.00407101
add esp, 4
cmp dword [0x45d66a], 0
je 0x40268e
mov eax, 1
jmp 0x4026b1
jmp 0x4026a7
cmp dword [ebp + 0x1c], 0
jne 0x4026a7
push 0
call fcn.004070dd
add esp, 4
mov eax, 0
jmp 0x4026b1
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4010c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
push ebx
xor ebx, ebx
push edi
mov edi, ecx
test eax, eax
je 0x40119c
push esi
push eax
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401191
push 6
push 0x422030
push esi
mov ecx, edi
call fcn.004011b0
test eax, eax
jne 0x401115
push 6
push 0x4220a8
push esi
mov ecx, edi
call fcn.004011b0
test eax, eax
je 0x40118a
push str.IsWow64Process
lea eax, [edi + 0x310]
push eax
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40113c
lea ecx, [ebp + 8]
push ecx
push esi
call eax
cmp dword [ebp + 8], ebx
je 0x40114f
lea eax, [edi + 0x20c]
add edi, 0x414
jmp 0x401158
lea eax, [edi + 4]
add edi, 0x518
mov dword [ebp - 0xc], edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
call edi
cmp eax, 0xffffffff
je 0x40118a
push dword [ebp - 4]
call edi
cmp eax, 0xffffffff
je 0x40118a
push 2
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.0041b189
add esp, 0xc
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401470
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x10c]
push 0
push eax
mov esi, ecx
call fcn.00402220
push 0x104
lea edi, [esi + 4]
push 0
push edi
call fcn.00402220
push 0x104
lea ebx, [esi + 0x108]
push 0
push ebx
call fcn.00402220
push 0x104
lea eax, [esi + 0x20c]
push 0
push eax
call fcn.00402220
push 0x104
lea eax, [esi + 0x310]
push 0
push eax
call fcn.00402220
push 0x104
lea eax, [esi + 0x414]
push 0
push eax
mov dword [ebp - 8], eax
call fcn.00402220
add esp, 0x48
lea eax, [esi + 0x518]
push 0x104
push 0
push eax
mov dword [ebp - 4], eax
call fcn.00402220
add esp, 0xc
lea eax, [ebp - 0x10c]
push 0x104
push eax
push str._SYSTEMROOT_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x10c]
push eax
push 0x104
push edi
call fcn.00401784
push str.System32_amdgfxinfo32.dll
push 0x104
push edi
call fcn.004017d9
lea eax, [ebp - 0x10c]
push eax
push 0x104
push ebx
call fcn.00401784
push str.System32_amdgfxinfo64.dll
push 0x104
push ebx
call fcn.004017d9
lea eax, [ebp - 0x10c]
push eax
push 0x104
lea edi, [esi + 0x20c]
push edi
call fcn.00401784
push str.SysWOW64_amdgfxinfo32.dll
push 0x104
push edi
call fcn.004017d9
add esp, 0x48
lea eax, [esi + 0x310]
push 0x41d424
push 0x104
push eax
call fcn.00401784
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10c]
push eax
push 0x104
push esi
call fcn.00401784
push str.SysWOW64detoured.dll
push 0x104
push esi
call fcn.004017d9
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x10c]
push eax
push 0x104
push esi
call fcn.00401784
push str.System32detoured.dll
push 0x104
push esi
call fcn.004017d9
add esp, 0x3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401670
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
lea ecx, [ebp - 0x61c]
push esi
call fcn.00401060
push 0x10
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.004025d4
add esp, 0xc
lea ecx, [ebp - 0x61c]
push eax
call fcn.004010c0
lea esi, [eax - 1]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x61c]
neg esi
call fcn.00401080
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x417ee8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x422acc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040992e
mov dword [ebp - 0x14], eax
cmp dword [0x423d20], edi
jne 0x417fd9
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x417f66
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4180b9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4180b9
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4180b9
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x423d20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x423d24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x423d28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x423d30], eax
test eax, eax
je 0x417fd6
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x423d2c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x417ffe
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x417ff1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x418013
push 4
pop eax
jmp 0x4180bb
cmp dword [ebp - 0x14], edi
je 0x418013
push dword [0x423d20]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x417ff8
mov eax, dword [0x423d2c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x418071
cmp dword [0x423d30], esi
je 0x418071
push eax
call ebx
push dword [0x423d30]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x418071
test eax, eax
je 0x418071
call ecx
test eax, eax
je 0x418066
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x418066
test byte [ebp - 8], 1
jne 0x418071
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4180a1
mov eax, dword [0x423d24]
cmp eax, esi
je 0x41809e
push eax
call ebx
test eax, eax
je 0x41809e
call eax
mov edi, eax
test edi, edi
je 0x41809e
mov eax, dword [0x423d28]
cmp eax, esi
je 0x41809e
push eax
call ebx
test eax, eax
je 0x41809e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x423d20]
call ebx
test eax, eax
je 0x4180b9
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4180bb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405126
leave
ret
Function at 0x41ac23
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x138
lea eax, [ebp - 0x40]
push esi
push 0x40
push 0
push eax
call fcn.00402220
mov esi, dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp - 0x40]
push 0
push 0x40
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x41ac5c
xor eax, eax
jmp 0x41acbc
mov eax, 0x5a4d
cmp word [ebp - 0x40], ax
jne 0x41ac58
push ebx
mov ebx, 0xf8
push ebx
lea eax, [ebp - 0x138]
push 0
push eax
call fcn.00402220
add esp, 0xc
lea eax, [ebp - 0x138]
push 0
push ebx
push eax
mov eax, dword [ebp - 4]
add eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
pop ebx
test eax, eax
je 0x41ac58
cmp dword [ebp - 0x138], 0x4550
jne 0x41ac58
mov ax, word [ebp - 0x122]
not ax
movzx eax, ax
shr eax, 0xd
and eax, 1
pop esi
leave
ret
Function at 0x41ae5e
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c0
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
push 4
push 0x1000
add eax, 0x1b8
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x41b057
and dword [ebp - 4], 0
push edi
push 0x40
pop edi
push edi
lea eax, [ebp - 0xc8]
push 0
push eax
call fcn.00402220
add esp, 0xc
mov eax, 0x5a4d
mov word [ebp - 0xc8], ax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0xc8]
push eax
push ebx
mov dword [ebp - 0x8c], edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push esi
call edi
test eax, eax
je 0x41b054
cmp dword [ebp - 4], 0x40
jne 0x41b054
push 0xf8
lea eax, [ebp - 0x1c0]
push 0
push eax
add ebx, 0x40
call fcn.00402220
xor eax, eax
add esp, 0xc
inc eax
mov word [ebp - 0x1ba], ax
lea eax, [ebp - 4]
push eax
push 0xf8
lea eax, [ebp - 0x1c0]
push eax
push ebx
push esi
mov dword [ebp - 0x1c0], 0x4550
mov dword [ebp - 0x1ac], 0x200000e0
call edi
test eax, eax
je 0x41b054
mov eax, 0xf8
cmp dword [ebp - 4], eax
jne 0x41b054
add ebx, eax
xor eax, eax
push 0xa
pop ecx
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
mov eax, dword [str..detour]
mov dword [ebp - 0x48], eax
mov eax, dword [0x420864]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x44], eax
mov eax, ebx
sub eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
add eax, 0x58
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 4]
push eax
push 0x28
lea eax, [ebp - 0x48]
push eax
push ebx
push esi
call edi
test eax, eax
je 0x41b054
cmp dword [ebp - 4], 0x28
jne 0x41b054
push 0x40
lea eax, [ebp - 0x88]
push 0
push eax
add ebx, 0x28
call fcn.00402220
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x7c], eax
push 0x40
pop ecx
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 0x88]
push eax
push ebx
push esi
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], 0x727444
mov dword [ebp - 0x80], ecx
call edi
test eax, eax
je 0x41b054
cmp dword [ebp - 4], 0x40
jne 0x41b054
mov esi, dword [ebp + 0xc]
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
and dword [ebp - 0x1c], 0
add eax, 0x18
mov dword [ebp - 0x20], eax
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 4]
push eax
push 0x18
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
push eax
add ebx, 0x40
push ebx
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call edi
test eax, eax
je 0x41b054
cmp dword [ebp - 4], 0x18
jne 0x41b054
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 0x10]
lea ecx, [ebx + 0x18]
push ecx
push dword [ebp + 8]
call edi
test eax, eax
je 0x41b054
cmp dword [ebp - 4], esi
jne 0x41b054
xor eax, eax
inc eax
jmp 0x41b056
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x41b8eb
Capabilities:
Parse pe header

Disassembly:
push 0x10
push 0x4213d0
call fcn.0041c190
mov edi, dword [ebp + 8]
test edi, edi
jne 0x41b907
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
and dword [ebp - 4], 0
mov eax, 0x5a4d
cmp word [edi], ax
je 0x41b91f
push 0xc1
jmp 0x41b9c2
mov ebx, dword [edi + 0x3c]
add ebx, edi
cmp dword [ebx], 0x4550
je 0x41b936
push 0xbf
jmp 0x41b9c2
movzx eax, word [ebx + 0x14]
test ax, ax
je 0x41b9bd
lea edx, [ebx + 0x18]
add edx, eax
mov dword [ebp - 0x20], edx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
movzx eax, word [ebx + 6]
cmp ecx, eax
jae 0x41b9bd
mov eax, ecx
imul eax, eax, 0x28
add eax, edx
mov dword [ebp + 8], eax
push 8
push str..detour
push eax
call fcn.0040c083
add esp, 0xc
test eax, eax
jne 0x41b9ad
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41b9bd
cmp dword [eax + 0x10], 0
je 0x41b9bd
add edi, ecx
mov eax, dword [edi]
cmp eax, 0x40
jb 0x41b9bd
cmp dword [edi + 4], 0x727444
jne 0x41b9bd
cmp dword [edi + 8], 0
jne 0x41b99d
mov dword [edi + 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
or dword [ebp - 4], 0xffffffff
mov eax, edi
jmp 0x41b9ce
mov ecx, dword [ebp - 0x1c]
inc ecx
mov edx, dword [ebp - 0x20]
jmp 0x41b949
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.0041c1cb
ret 4

Function at 0x41bc67
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x421370
call fcn.0041c190
mov esi, dword [ebp + 8]
test esi, esi
jne 0x41bc81
mov esi, 0x10000
jmp 0x41bc87
add esi, 0x10000
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41bcf3
cmp dword [ebp - 0x24], 0x1000
jne 0x41bcc6
test dword [ebp - 0x20], 0x100
jne 0x41bcc6
and dword [ebp - 4], 0
mov eax, 0x5a4d
cmp word [esi], ax
je 0x41bcce
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x28]
add esi, dword [ebp - 0x34]
jmp 0x41bc91
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x41bcc2
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0041c1cb
ret 4
xor eax, eax
jmp 0x41bce0
Function at 0x41c0a8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x150
cmp dword [ebx], eax
jne 0x41c179
cmp dword [ebp + 0xc], eax
jb 0x41c179
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
lea eax, [ebp + 0xc]
push eax
push 0x40
push 0x40
push dword [ebx + 4]
xor edi, edi
call esi
test eax, eax
je 0x41c173
lea eax, [ebp - 4]
push eax
push 0x40
push 0xf8
push dword [ebx + 8]
call esi
test eax, eax
je 0x41c165
cmp dword [ebx + 0xc], edi
je 0x41c112
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push dword [ebx + 0xc]
call esi
test eax, eax
je 0x41c154
mov edi, dword [ebx + 4]
push 0x10
pop ecx
lea esi, [ebx + 0x14]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 8]
push 0x3e
lea esi, [ebx + 0x54]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x41c137
mov eax, dword [ebx + 0x14c]
mov dword [ecx], eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edi, edi
inc edi
cmp dword [ebx + 0xc], 0
je 0x41c154
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
push 4
push dword [ebx + 0xc]
call esi
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
push 0xf8
push dword [ebx + 8]
call esi
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
push 0x40
push dword [ebx + 4]
call esi
mov eax, edi
pop edi
pop esi
jmp 0x41c186
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ebx
leave
ret 8
Function at 0x10001090
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
push ebx
push esi
push edi
jmp 0x100010a0
mov edx, eax
and edx, 1
dec edx
not edx
and edx, 0xedb88320
mov ecx, eax
shr ecx, 1
xor edx, ecx
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr edx, 1
xor ecx, edx
mov edx, ecx
and edx, 1
dec edx
shr ecx, 1
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr edx, 1
xor ecx, edx
mov edx, ecx
and edx, 1
dec edx
shr ecx, 1
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr edx, 1
xor ecx, edx
mov edx, ecx
and edx, 1
dec edx
shr ecx, 1
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr edx, 1
xor ecx, edx
mov dword [eax*4 + 0x100ee4c0], ecx
inc eax
cmp eax, 0x100
jb 0x100010a0
cmp eax, 0x800
jae 0x10001173
lea esp, [esp]
mov edx, dword [eax*4 + 0x100ee0c0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x100ee4c0]
inc eax
mov dword [eax*4 + 0x100ee4bc], edx
cmp eax, 0x800
jb 0x10001150
lea ecx, [ebp - 0x20]
mov dword [0x100e8a74], 0x10001230
call fcn.100064a0
test eax, eax
je 0x10001228
mov edi, dword [ebp - 0x10]
mov esi, edi
shr esi, 8
shr edi, 4
and esi, 0xff00f
and edi, 0xf00f
xor ecx, ecx
mov eax, 0x100e6130
xor edx, edx
lea ecx, [ecx]
mov ebx, dword [ebp - 0x1c]
cmp dword [eax - 8], ebx
jne 0x100011c7
mov ebx, dword [ebp - 0x18]
cmp dword [eax - 4], ebx
mov ebx, dword [ebp - 0x14]
jne 0x100011c7
cmp dword [eax], ebx
je 0x100011d6
add edx, 0xc
inc ecx
add eax, 0xc
cmp edx, 0x24
jb 0x100011b0
or ecx, 0xffffffff
sub ecx, 0
je 0x1000120f
dec ecx
je 0x100011fe
dec ecx
jne 0x10001228
cmp esi, 6
jb 0x10001228
jne 0x1000121e
cmp edi, 0xf
jb 0x10001228
mov dword [0x100e8a74], 0x100012d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 5
jb 0x10001228
jne 0x1000121e
cmp edi, 6
jb 0x10001228
cmp edi, 0xa
jmp 0x1000121c
cmp esi, 6
jb 0x10001228
jne 0x1000121e
cmp edi, 0x100c
je 0x10001228
mov dword [0x100e8a74], 0x100012d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001e10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov esi, dword [edi]
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x10001e7f
mov dword [edi], 0
mov edx, 0x400000
lea esp, [esp]
push 0
lea eax, [ebp - 8]
push eax
mov eax, esi
cmp esi, 0x400000
cmova eax, edx
push eax
push ebx
push dword [ecx]
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 8]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x10001e92
test ecx, ecx
je 0x10001e7f
mov ecx, dword [ebp - 0xc]
mov edx, 0x400000
test esi, esi
jne 0x10001e40
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100947be
mov esp, ebp
pop ebp
ret