joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40851c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40853d
mov al, byte [esp]
jmp 0x40853f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d860
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d8f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.0040d3d8
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403868
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x40d8db
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x41d81c]
call fcn.00404340
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x40d248]
call fcn.00408e9c
call fcn.00402f40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d8f8
lea eax, [ebp - 0x10]
call fcn.00403428
ret

Function at 0x40d904
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d99f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403868
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x40d979
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x41d854]
call fcn.00404340
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x40d248]
call fcn.00408e9c
call fcn.00402f40
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0040d408
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d9a6
lea eax, [ebp - 0x10]
call fcn.00403428
ret
Function at 0x413ca8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403858
xor eax, eax
push ebp
push 0x413d58
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.0040603c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x413d42
xor eax, eax
push ebp
push 0x413d3b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetFileSize_1
mov edx, eax
mov eax, ebx
call fcn.00403978
mov eax, dword [ebx]
call fcn.004036a4
push eax
mov eax, ebx
call fcn.00403874
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.004060a0
mov edx, eax
mov eax, ebx
call fcn.00403978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413d42
mov eax, dword [ebp - 8]
call fcn.00406104
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413d5f
lea eax, [ebp - 4]
call fcn.00403428
ret
Function at 0x416fd8
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x200], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41707d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x1f9], 0
push 0x1f4
lea eax, [ebp - 0x1f9]
push eax
lea edx, [ebp - 0x200]
mov eax, esi
call fcn.00416fa4
mov eax, dword [ebp - 0x200]
call fcn.00403868
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
lea eax, [ebp - 0x200]
lea edx, [ebp - 0x1f9]
mov ecx, 0x1f5
call fcn.00403654
mov eax, dword [ebp - 0x200]
lea edx, [ebp - 4]
call fcn.004028d8
cmp dword [ebp - 4], 0
jne 0x41705c
cmp ebx, eax
je 0x417060
xor eax, eax
jmp 0x417062
mov al, 1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417084
lea eax, [ebp - 0x200]
call fcn.00403428
ret

Function at 0x418994
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403868
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4189ad
test al, 0x10
jne 0x4189b1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4189b8
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403858
xor eax, eax
push ebp
push 0x418a85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004036a4
test eax, eax
mov eax, dword [ebp - 4]
call fcn.00418964
test eax, eax
je 0x418a16
mov eax, dword [ebp - 4]
call fcn.00418964
cmp byte [eax], 0x5c
jne 0x418a16
mov eax, dword [ebp - 4]
call fcn.004036a4
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.004038e8
mov eax, dword [ebp - 4]
call fcn.004036a4
cmp eax, 3
jl 0x418a6a
mov eax, dword [ebp - 4]
call fcn.00418994
test al, al
jne 0x418a6a
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00406364
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004037b4
je 0x418a6a
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00406364
mov eax, dword [ebp - 8]
call fcn.004189b8
push 0
mov eax, dword [ebp - 4]
call fcn.00403868
push eax
call sub.kernel32.dll_CreateDirectoryA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418a8c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040344c
ret
Function at 0x419080
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
cmp dword [edx + 4], 0x4cf
jne 0x41913c
cmp byte [ebx + 0x1f8], 0
je 0x41913c
push esp
call sub.user32.dll_GetCursorPos
push 0x17
call sub.user32.dll_GetSystemMetrics
test eax, eax
setne al
and eax, 0x7f
inc eax
push eax
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jl 0x4190cd
xor edx, edx
mov eax, ebx
call fcn.00419b84
jmp 0x41913c
mov ecx, dword [esp]
sub ecx, dword [ebx + 0x1fc]
mov esi, dword [esp + 4]
sub esi, dword [ebx + 0x200]
cmp byte [ebx + 0x1f9], 0
jne 0x419101
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jge 0x419101
mov eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jl 0x41913c
add dword [ebx + 0x1c], ecx
add dword [ebx + 0x18], esi
mov eax, dword [esp]
mov dword [ebx + 0x1fc], eax
mov eax, dword [esp + 4]
mov dword [ebx + 0x200], eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_MoveWindow
mov byte [ebx + 0x1f9], 1
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x419144
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4192ff
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, dword [esi + 0x25c]
call fcn.004034c0
mov edx, dword [ebp - 0xc]
mov eax, 0x419318
call fcn.00403930
mov ebx, eax
test ebx, ebx
jne 0x41919a
mov eax, dword [ebp - 0xc]
call fcn.004036a4
mov ebx, eax
inc ebx
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004038a8
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x74]
mov edx, dword [eax + 0x30]
lea eax, [ebp - 8]
call fcn.004036f0
lea eax, [ebp - 0xc]
mov ecx, ebx
mov edx, 1
call fcn.004038e8
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0040642c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00405e34
mov eax, dword [ebp - 0x10]
mov edx, 0x419324
call fcn.004037b4
jne 0x419297
mov eax, dword [ebp - 8]
call fcn.00403868
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4192e4
xor eax, eax
push ebp
push 0x419290
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x41932c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress
mov ebx, eax
test ebx, ebx
je 0x419279
xor eax, eax
push ebp
push 0x41926f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x419340
call fcn.004036ac
mov eax, dword [ebp - 0xc]
call fcn.00403868
push eax
mov eax, dword [esi + 4]
push eax
lea eax, [ebp - 0x114]
push eax
call ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419279
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4192e4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0040642c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00405e34
mov eax, dword [ebp - 0x10]
mov edx, 0x41934c
call fcn.004037b4
jne 0x4192e4
push 1
push dword [ebp - 8]
push 0x419318
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403764
mov eax, dword [ebp - 0x10]
call fcn.00403868
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419306
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.0040344c
ret
Function at 0x4060b6
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.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x405260
Capabilities:
Create pipe

Disassembly:
mov eax, dword [0x5e7654]
mov ecx, dword [0x5e70e4]
sub esp, 0xc0c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
je 0x405369
mov esi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
mov ebp, dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x5e7654], 0x959
jne 0x405350
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
call esi
push 0x404d3c
push 0
call edi
push 0
lea ecx, [esp + 0x41c]
push ecx
call ebx
push 0
push 0
push 0
call ebp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsFree]
push 0
lea edx, [esp + 0x81c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esp + 0x10]
push eax
call fcn.00404fc0
add dword [esp + 0x10], 8
dec dword [esp + 0x14]
jne 0x4052a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0c
ret
Function at 0x40b2ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441e78]
jne 0x40b2b6
repz ret
jmp fcn.0040df4c

Function at 0x40c30e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x441e78]
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.00407928
and dword [ebp - 0x14], 0
cmp dword [0x4593e4], 0
mov dword [ebp - 0x18], eax
jne 0x40c3c1
push 0x402cac
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40c469
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402ca0
push ebx
call edi
test eax, eax
je 0x40c469
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402c90
push ebx
mov dword [0x4593e4], eax
call edi
push eax
call esi
push 0x402c7c
push ebx
mov dword [0x4593e8], eax
call edi
push eax
call esi
push 0x402c60
push ebx
mov dword [0x4593ec], eax
call edi
push eax
call esi
mov dword [0x4593f4], eax
test eax, eax
je 0x40c3c1
push 0x402c48
push ebx
call edi
push eax
call esi
mov dword [0x4593f0], eax
mov eax, dword [0x4593f0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40c41a
cmp dword [0x4593f4], ecx
je 0x40c41a
push eax
call esi
push dword [0x4593f4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40c41a
test ebx, ebx
je 0x40c41a
call edi
test eax, eax
je 0x40c411
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40c411
test byte [ebp - 8], 1
jne 0x40c41a
or dword [ebp + 0x10], 0x200000
jmp 0x40c44d
mov eax, dword [0x4593e8]
cmp eax, dword [ebp - 0x18]
je 0x40c44d
push eax
call esi
test eax, eax
je 0x40c44d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40c44d
mov eax, dword [0x4593ec]
cmp eax, dword [ebp - 0x18]
je 0x40c44d
push eax
call esi
test eax, eax
je 0x40c44d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4593e4]
call esi
test eax, eax
je 0x40c469
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40c46b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b2ac
leave
ret
Function at 0xc374b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6a3000]
push edi
jmp 0xc374ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xc374d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc374c0
mov eax, 1
add ebx, ebx
jne 0xc374e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xc374f4
jne 0xc37513
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc37513
dec eax
add ebx, ebx
jne 0xc37500
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xc374d8
add ebx, ebx
jne 0xc3750f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xc37565
xor ecx, ecx
sub eax, 3
jb 0xc3752b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xc3759a
sar eax, 1
mov ebp, eax
jmp 0xc37536
add ebx, ebx
jne 0xc37536
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc37504
inc ecx
add ebx, ebx
jne 0xc37544
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc37504
add ebx, ebx
jne 0xc37551
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xc37546
jne 0xc37562
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc37546
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xc37584
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xc37576
jmp 0xc374c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xc37584
add edi, ecx
jmp 0xc374c6
pop esi
mov edi, esi
mov ecx, 0x29d4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xc375a2
cmp byte [edi], 0x69
jne 0xc375a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xc375a7
lea edi, [esi + 0x835000]
mov eax, dword [edi]
or eax, eax
je 0xc3761f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x83a7ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x83a828]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xc375d4
mov ecx, edi
jns 0xc37603
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x83a830]
or eax, eax
je 0xc37619
mov dword [ebx], eax
add ebx, 4
jmp 0xc375f1
call dword [esi + 0x83a82c]
mov ebp, dword [esi + 0x83a834]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xc37653
sub esp, 0xffffff80
jmp 0x411b28
Function at 0xca0640
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4fa000
lea edi, [esi - 0x849000]
push edi
jmp 0xca065a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xca0661
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xca0650
mov eax, 1
add ebx, ebx
jne 0xca0673
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xca0684
jne 0xca06a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xca06a3
dec eax
add ebx, ebx
jne 0xca0690
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xca0668
add ebx, ebx
jne 0xca069f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xca06f5
xor ecx, ecx
sub eax, 3
jb 0xca06bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xca072a
sar eax, 1
mov ebp, eax
jmp 0xca06c6
add ebx, ebx
jne 0xca06c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xca0694
inc ecx
add ebx, ebx
jne 0xca06d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xca0694
add ebx, ebx
jne 0xca06e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xca06d6
jne 0xca06f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xca06d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xca0714
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xca0706
jmp 0xca0656
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xca0714
add edi, ecx
jmp 0xca0656
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xca0732
cmp byte [edi], 0x11
jne 0xca0732
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xca0737
lea edi, [esi + 0x899000]
mov eax, dword [edi]
or eax, eax
je 0xca07af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1068704]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1068880]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xca0764
mov ecx, edi
jns 0xca0793
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1068884]
or eax, eax
je 0xca07a9
mov dword [ebx], eax
add ebx, 4
jmp 0xca0781
call dword [esi + 0x1068894]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xca07e0
cmp al, 0xef
ja 0xca07d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xca07b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xca07c2
mov ebp, dword [esi + 0x1068888]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xca0814
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x401000
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push eax
mov eax, dword fs:[0x30]
movzx ecx, byte [eax + 2]
cmp ecx, 1
je 0x401012
jmp 0x401014
int 3
pop eax
push ebp
je 0x40101b
jne 0x40101b
call 0xecc3fda8
or al, 0xe8
or dword [ecx], eax
add byte [eax], al
mov ebp, ebp
sub esp, 0xc
call 0x40112e
add esp, 0xc
mov esp, ebp
pop ebp
nop
ret

Function at 0x40105c
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
je 0x401067
jne 0x401067
call 0x650941cb
mov eax, dword [ecx + 0x30]
pushal
xor ecx, ecx
mov eax, dword fs:[ecx + 0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
lodsd eax, dword [esi]
xchg esi, eax
lodsd eax, dword [esi]
mov ebx, dword [eax + 0x10]
mov edx, dword [ebx + 0x3c]
add edx, ebx
mov edx, dword [edx + 0x78]
add edx, ebx
mov esi, dword [edx + 0x20]
add esi, ebx
xor ecx, ecx
inc ecx
lodsd eax, dword [esi]
add eax, ebx
cmp dword [eax], 0x50746547
jne 0x40108b
cmp dword [eax + 4], 0x41636f72
jne 0x40108b
cmp dword [eax + 8], 0x65726464
jne 0x40108b
mov esi, dword [edx + 0x24]
add esi, ebx
mov cx, word [esi + ecx*2]
dec ecx
mov esi, dword [edx + 0x1c]
add esi, ebx
mov edx, dword [esi + ecx*4]
add edx, ebx
mov eax, edx
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
add esp, 0x40
mov esp, ebp
pop ebp
ret

Function at 0x401112
Capabilities:
Access peb ldr_data

Disassembly:
xor eax, eax
push esi
je 0x40111a
jne 0x40111a
call 0x70b282
add byte [eax], al
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
lodsd eax, dword [esi]
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 0x10]
pop esi
ret