joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411a90
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x416f6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
mov eax, dword [0x4251a4]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push edi
push edi
push 1
mov ebx, ecx
push ebx
xor eax, ebp
push str.long___thiscall_CCmdReceiver::PreHandleCmdlineEx_wchar_t__int_bool__
mov dword [esp + 0x250], eax
mov eax, dword [ebp + 0x10]
push 0x41cbe0
push str.long___thiscall_CCmdReceiver::PreHandleCmdlineEx_wchar_t__int_bool__
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], eax
call fcn.00408360
mov dword [esp + 0x24c], edi
lea ecx, [ebp + 0xc]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edx, eax
cmp dword [ebp + 0xc], 2
mov dword [esp + 0x14], edx
jl 0x411c46
mov edx, dword [edx]
mov word [esp + 0x30], di
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x32]
rep stosd dword es:[edi], eax
push 0x104
stosw word es:[edi], ax
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.MSVCR71.dll_wcsncpy]
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411c46
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x411c46
mov edi, dword [sym.imp.MSVCR71.dll__wcsicmp]
push eax
push str..dll
call edi
add esp, 8
test eax, eax
jne 0x411c46
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
push ecx
push 0x41c850
call edi
add esp, 8
test eax, eax
jne 0x411c46
mov edx, dword [esp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x30]
push eax
mov byte [edx], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push 0x41c838
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x411bc4
push 0
call esi
mov dword [esp + 0x10], eax
push 0x41cb90
call fcn.00402d00
add esp, 4
test eax, eax
jne 0x411c2c
push 1
push esi
push str.___function_:
push edi
push str.__handle_:
lea ecx, [esp + 0x44]
push ecx
push str.loaddll_path
push ebx
push 0x41cb90
call fcn.00407790
add esp, 8
mov ecx, eax
call fcn.0040f3e0
mov ecx, eax
call fcn.0040d460
mov ecx, eax
call fcn.0040f3e0
mov ecx, eax
call fcn.0040d3d0
mov ecx, eax
call fcn.0040f3e0
mov ecx, eax
call fcn.0040d3d0
mov ecx, eax
call fcn.0040f3a0
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00408660
mov eax, dword [esp + 0x10]
jmp 0x411c6b
mov edx, dword [esp + 0x10]
push edx
push esi
mov ecx, ebx
call fcn.00410390
mov esi, eax
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00408660
mov eax, esi
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414f09
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4134ea
Capabilities:
Parse pe header

Disassembly:
push 0x2c
push 0x41dc98
call fcn.004153ec
push 0x1c
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
cmp word [ecx], 0x5a4d
jne 0x413556
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x20], eax
cmp dword [eax], 0x4550
je 0x41352e
xor al, al
or dword [ebp - 4], 0xffffffff
jmp 0x41355c
mov edx, dword [eax + 0xd8]
lea esi, [edx + ecx]
cmp dword [ebp + 0xc], esi
jb 0x413526
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp dword [ebp + 0xc], eax
jae 0x413526
mov al, 1
jmp 0x413528
or dword [ebp - 4], 0xffffffff
xor al, al
call fcn.00415427
ret
Function at 0x41369c
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
cmp esi, 0x7ff80000
push edi
mov ebx, 0x10000
jbe 0x4136bf
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x4136c2
mov dword [ebp - 4], ebx
cmp esi, 0x80000000
jae 0x4136d5
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x4136dc
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x4265bc]
test eax, eax
mov ecx, dword [0x4265b8]
jne 0x4136f6
test ecx, ecx
je 0x41370b
mov eax, ecx
mov dword [0x4265bc], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x41370b
cmp edx, dword [ebp - 4]
jb 0x41370b
cmp edx, dword [ebp - 8]
jbe 0x4137df
mov eax, ecx
test ecx, ecx
jmp 0x41372f
test eax, eax
je 0x41372a
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x41372a
cmp ecx, dword [ebp - 4]
jb 0x41372a
cmp ecx, dword [ebp - 8]
jbe 0x4137df
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x4265bc], eax
jne 0x413711
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp esi, dword [ebp - 4]
mov edi, esi
jbe 0x41387a
cmp edi, 0x70000000
jb 0x41375f
cmp edi, 0x80000000
ja 0x41375f
mov edi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41387a
cmp dword [ebp - 0x30], ebx
jne 0x41377e
cmp dword [ebp - 0x34], ebx
jae 0x413791
mov edi, dword [ebp - 0x3c]
add edi, 0xffff0000
cmp edi, dword [ebp - 4]
ja 0x41374a
jmp 0x41387a
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
mov dword [0x4265bc], eax
je 0x41387a
mov ecx, dword [0x4265b8]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x4265b8], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x4137d1
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, dword [ebp - 4]
jb 0x41387f
cmp esi, dword [ebp - 8]
ja 0x41387f
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call sub.MSVCR71.dll_memset
add esp, 0xc
mov eax, esi
jmp 0x413881
cmp esi, 0x70000000
jb 0x413823
cmp esi, 0x80000000
ja 0x413823
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41387f
cmp dword [ebp - 0x14], ebx
jne 0x413871
cmp dword [ebp - 0x18], ebx
jb 0x413871
mov ecx, esi
and ecx, 0xffff
je 0x413855
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x18], eax
add dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
mov dword [0x4265bc], eax
jne 0x4137ad
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea esi, [eax + ecx]
cmp esi, dword [ebp - 8]
jb 0x41380e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4138a7
Capabilities:
Parse pe header

Disassembly:
push 0x28
push 0x41dca8
call fcn.004153ec
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x413902
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp word [ecx], 0x5a4d
jne 0x4138fe
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x4138fe
cmp word [eax + 0x14], 0
jne 0x4138f3
xor eax, eax
or dword [ebp - 4], 0xffffffff
jmp 0x413904
mov eax, ecx
jmp 0x4138ed
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.00415427
ret

Function at 0x413928
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x4265c4], edi
jne 0x41394b
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x4265c4
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x413952
mov eax, 0x10dd
jmp 0x413996
push esi
mov esi, dword [0x4265b8]
mov dword [0x4265c0], edi
mov dword [0x4265d4], edi
mov dword [0x4265d0], edi
mov dword [0x4265c8], edi
mov dword [0x4265cc], edi
jmp 0x41398f
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x413979
xor eax, eax
pop esi
pop edi
pop ecx
ret

Function at 0x413999
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4265c4], eax
je 0x4139af
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x4265d4]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x4139fa
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x4139eb
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x4139eb
call fcn.00413886
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x4139be
mov dword [0x4265d4], ebx
call fcn.00413675
mov esi, dword [0x4265d0]
cmp esi, ebx
je 0x413a27
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x413a0f
pop edi
pop esi
mov dword [0x4265d0], ebx
mov dword [0x4265c4], ebx
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x413c7a
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x4265c8]
test eax, eax
jne 0x413cea
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x413c96
xor eax, eax
jmp 0x413ce9
push esi
push 8
call fcn.00414c6c
mov esi, eax
test esi, esi
pop ecx
jne 0x413caa
push 8
pop edi
jmp 0x413cc5
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x413cd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
pop ecx
and dword [0x4265cc], 0
mov dword [0x4265c8], edi
mov eax, edi
jmp 0x413ce8
mov eax, dword [0x4265d0]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x4265d0], esi
xor eax, eax
pop esi
pop edi
ret 4
Function at 0x413f2a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4265c4], eax
je 0x413f46
mov eax, 0x10dd
jmp 0x414022
mov eax, dword [0x4265c8]
test eax, eax
jne 0x414022
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x413f63
push 6
pop eax
jmp 0x414021
cmp dword [edi], 0
push ebx
push esi
jne 0x413f77
push 6
pop eax
mov dword [0x4265c8], eax
jmp 0x414019
push 0x18
call fcn.00414c6c
mov esi, eax
test esi, esi
pop ecx
jne 0x413f8a
push 8
pop edi
jmp 0x414003
mov edi, dword [edi]
push 0
push dword [ebp + 0xc]
call fcn.0041390a
movzx ecx, byte [edi + 0x17]
mov ebx, dword [edi + 0x18]
xor edx, edx
sub ebx, ecx
cmp ecx, edx
je 0x413ff8
cmp ecx, 0x17
ja 0x413ff8
cmp dword [edi + 0x1c], eax
jne 0x413ff8
lea eax, [ebp - 4]
push eax
push 0x40
push ecx
push ebx
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x413fce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x414003
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], ebx
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov eax, dword [0x4265d4]
mov dword [esi], eax
mov dword [0x4265d4], esi
xor eax, eax
jmp 0x41401f
cmp dword [0x4265c0], edx
push 9
pop edi
jne 0x414009
mov dword [0x4265c8], edi
test esi, esi
je 0x414014
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, edi
mov edi, dword [ebp + 8]
mov dword [0x4265cc], edi
pop esi
pop ebx
pop edi
leave
ret 8
Function at 0x4151e2
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x41ef90
call fcn.004153ec
xor edi, edi
mov dword [ebp - 0x20], edi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call ebx
cmp word [eax], 0x5a4d
jne 0x415222
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x415222
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x41523a
cmp eax, 0x20b
je 0x415227
mov dword [ebp - 0x1c], edi
jmp 0x41524e
cmp dword [ecx + 0x84], 0xe
jbe 0x415222
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x415248
cmp dword [ecx + 0x74], 0xe
jbe 0x415222
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x426650], 0xffffffff
or dword [0x426654], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x426648]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x426644]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x42664c], eax
call fcn.004154f8
call fcn.004155a1
cmp dword [0x4251c0], edi
jne 0x4152ae
push 0x41559e
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00415586
push 0x425038
push 0x425034
call sub.MSVCR71.dll__initterm
push 0x41553c
call fcn.00415062
mov eax, dword [0x426640]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x42663c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, edi
jge 0x415302
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x425030
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x41532c
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x4153e6
mov dword [ebp - 0x24], esi
mov ax, word [esi]
cmp ax, 0x20
ja 0x41539b
cmp ax, di
je 0x415342
cmp dword [ebp - 0x20], edi
jne 0x41539b
mov ax, word [esi]
cmp ax, di
je 0x415357
cmp ax, 0x20
ja 0x415357
inc esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x415342
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x58], 1
je 0x415373
movzx eax, word [ebp - 0x54]
jmp 0x415376
push 0xa
pop eax
push eax
push esi
push edi
push edi
call ebx
push eax
call fcn.00412220
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], edi
jne 0x415393
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x4153e0
cmp ax, 0x22
jne 0x4153ac
xor eax, eax
cmp dword [ebp - 0x20], edi
sete al
mov dword [ebp - 0x20], eax
inc esi
inc esi
jmp 0x41532c
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00415427
ret
Function at 0x1000566e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x1000569c
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x100056a3
cmp ebx, dword [eax + 4]
jae 0x100056a3
xor eax, eax
jmp 0x10005893
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x100056b4
xor eax, eax
inc eax
jmp 0x10005892
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x100056ca
cmp ecx, edx
jae 0x1000580f
cmp dword [eax + 4], 0
je 0x100056d3
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x100056bb
cmp dword [ebp + 8], 0
je 0x100056f5
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x1000580f
cmp eax, esi
jae 0x1000580f
mov eax, dword [0x7b9c28]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x1000571a
cmp dword [esi*4 + 0x7b9c30], edi
je 0x10005813
inc esi
cmp esi, eax
jl 0x10005708
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x7b70b0]
test eax, eax
je 0x1000588f
cmp dword [ebp - 8], 0x1000000
jne 0x1000588f
test byte [ebp - 0xc], 0xcc
je 0x10005798
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x1000588f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1000588f
cmp word [eax + 0x18], 0x10b
jne 0x1000588f
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x1000588f
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x10005798
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x10005798
test byte [ecx + 0x27], 0x80
jne 0x1000580f
push 1
push 0x7b9c70
call dword [0x7b70ac]
test eax, eax
jne 0x100056ac
mov ecx, dword [0x7b9c28]
test ecx, ecx
mov edx, ecx
jle 0x100057cc
lea eax, [ecx*4 + 0x7b9c2c]
cmp dword [eax], edi
je 0x100057cc
dec edx
sub eax, 4
test edx, edx
jg 0x100057c0
test edx, edx
jne 0x100057fd
push 0xf
pop ebx
cmp ecx, ebx
jg 0x100057d9
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x100057f1
lea eax, [edx*4 + 0x7b9c30]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x100057df
cmp ecx, 0x10
jge 0x100057fd
inc ecx
mov dword [0x7b9c28], ecx
push 0
push 0x7b9c70
call dword [0x7b70ac]
jmp 0x100056ac
xor eax, eax
jmp 0x10005892
test esi, esi
jle 0x100056ac
mov ebx, dword [0x7b70ac]
push 1
push 0x7b9c70
call ebx
test eax, eax
jne 0x100056ac
cmp dword [esi*4 + 0x7b9c30], edi
je 0x10005869
mov eax, dword [0x7b9c28]
lea esi, [eax - 1]
test esi, esi
jl 0x10005857
cmp dword [esi*4 + 0x7b9c30], edi
je 0x10005853
dec esi
jns 0x10005847
test esi, esi
jge 0x10005867
cmp eax, 0x10
jge 0x10005862
inc eax
mov dword [0x7b9c28], eax
lea esi, [eax - 1]
jmp 0x10005869
je 0x10005881
xor ecx, ecx
test esi, esi
jl 0x10005881
lea eax, [ecx*4 + 0x7b9c30]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x1000586f
push 0
push 0x7b9c70
call ebx
jmp 0x100056ac
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46f874
Capabilities:
Encode data using xor

Disassembly:
sti
dec esi
dec esp
mov esi, 0xfc7040a6
sbb dl, byte [ebp + 0x32]
in al, 0x85
pushal
dec ecx
sbb al, 0x42
mov ebx, 0xb79a5735
out dx, eax
xor al, 0x5c
mov esi, 0xbeeec697
pop es
jge 0x46f8a8
mov eax, 0x2bc5a3f5
cmpsb byte [esi], byte es:[edi]
arpl sp, si
xor dword [ecx], esp
xor ebx, dword [edx + 0x40393a70]
fmul st(6), st(0)
into
inc ebp
enter 0x41b0, 0xffffffffffffffad
dec esi
inc esi
insb byte es:[edi], dx
lodsb al, byte [esi]
imul ebp, esp, 0xffffffb6
sub al, 0x2c
xchg byte [ebx + 0x39d44928], bh
lodsd eax, dword [esi]
lodsd eax, dword [esi]
or ebx, eax
fcom dword [ebx + ebp*4 - 0x384af456]
pop ecx
in al, dx
movsd dword es:[edi], dword [esi]
out dx, eax
cmpsd dword [esi], dword es:[edi]
add eax, 0x7684d391
invalid
Function at 0x40104d
Capabilities:
Read file on windows

Disassembly:
push str.Please_input_PE_file_path_relative_path_:
call fcn.0040132c
push 0x32
push 0x4040f0
call fcn.00401364
push 0
push 0x20
push 3
push 0
push 1
push 0x80000000
push 0x4040f0
call sub.kernel32.dll_CreateFileA
mov dword [0x404122], eax
push 0
push 0
push 0
push dword [0x404122]
call sub.kernel32.dll_SetFilePointer
push 0
push 0
push 0xf3c
push 0x403129
push dword [0x404122]
call sub.kernel32.dll_ReadFile
mov esi, 0x403129
push str.IMAGE_DOS_HEADER:
call fcn.0040132c
push 0x403127
call fcn.0040132c
mov eax, 0
push str.
call fcn.0040132c
push str.e_magic:
call fcn.0040132c
mov ax, word [esi]
mov dword [0x404126], esi
push 4
push eax
push str.00000000
call section..text
push 0x403127
call fcn.0040132c
add esi, 0x3c
push str.
call fcn.0040132c
push str.e_lfanew:
call fcn.0040132c
mov eax, dword [esi]
push 0
push eax
push str.00000000
call section..text
add eax, dword [0x404126]
mov esi, eax
push 0x403127
call fcn.0040132c
push str.IMAGE_NT_HEADER:
call fcn.0040132c
push 0x403127
call fcn.0040132c
push str.
call fcn.0040132c
push str.Signature:
call fcn.0040132c
mov eax, dword [esi]
push 0
push eax
push str.00000000
call section..text
push 0x403127
call fcn.0040132c
push str.IMAGE_FILE_HEADE:
call fcn.0040132c
push 0x403127
call fcn.0040132c
add esi, 6
push str.
call fcn.0040132c
push str.NumberOfSections:
call fcn.0040132c
mov eax, 0
mov ax, word [esi]
push 4
push eax
push str.00000000
call section..text
push 0x403127
call fcn.0040132c
add esi, 2
push str.
call fcn.0040132c
push str.TimeDateStamp:
call fcn.0040132c
mov eax, dword [esi]
push 0
push eax
push str.00000000
call section..text
push 0x403127
call fcn.0040132c
add esi, 0xe
push str.
call fcn.0040132c
push str.Characteristic:
call fcn.0040132c
mov eax, 0
mov ax, word [esi]
push 4
push eax
push str.00000000
call section..text
push 0x403127
call fcn.0040132c
push str.IMAGE_OPTIONAL_HEADER:
call fcn.0040132c
push 0x403127
call fcn.0040132c
add esi, 0x12
push str.
call fcn.0040132c
push str.AddressOfEntryPoint:
call fcn.0040132c
mov eax, dword [esi]
push 0
push eax
push str.00000000
call section..text
push 0x403127
call fcn.0040132c
add esi, 0xc
push str.
call fcn.0040132c
push str.ImageBase:
call fcn.0040132c
mov eax, dword [esi]
push 0
push eax
push str.00000000
call section..text
push 0x403127
call fcn.0040132c
add esi, 4
push str.
call fcn.0040132c
push str.SectionAligment:
call fcn.0040132c
mov eax, dword [esi]
push 0
push eax
push str.00000000
call section..text
push 0x403127
call fcn.0040132c
add esi, 4
push str.
call fcn.0040132c
push str.FileAligment:
call fcn.0040132c
mov eax, dword [esi]
push 0
push eax
push str.00000000
call section..text
push 0x403127
call fcn.0040132c
push dword [0x404122]
call 0x40130c
push 0
call sub.kernel32.dll_ExitProcess
jmp dword [sym.imp.kernel32.dll_CloseHandle]
Function at 0x40132c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.004013c0
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
mov eax, dword [ebp - 8]
leave
ret 4

Function at 0x401364
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0xfffffffffffffff6
call sub.kernel32.dll_GetStdHandle
mov dword [ebp - 4], eax
push 7
push dword [ebp - 4]
call sub.kernel32.dll_SetConsoleMode
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_ReadFile
mov edx, dword [ebp + 8]
sub edx, 1
add edx, 1
cmp byte [edx], 0
je 0x4013a8
cmp byte [edx], 0xd
jne 0x401398
mov byte [edx], 0
mov eax, dword [ebp - 8]
sub eax, 2
leave
ret 8
Function at 0x4149d9
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x4149fa
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x4149f1
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x4149e9
mov eax, ebx
leave
ret

Function at 0x414a20
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x414a7f
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x414aac
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x414a9b
xor ecx, eax
xor edx, ebx
dec edi
jne 0x414a8c
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x414ad2
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x414a73
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8