joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb951b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00b95140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00b95140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00b95140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00b95140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xb95bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xb95c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xba787c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xb95c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xb95c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4b27c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x4b27e5
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x4b2858
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x4b281a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x4b284d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x4b284b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x4b2811
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4b27dc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ecx
cmp byte [0x411007], 0
mov dword [esp], 0
je 0x40102d
push str.password:
call fcn.00401617
lea eax, [esp + 4]
push eax
push 0x40e1b0
call fcn.004015fa
add esp, 0xc
push esi
push 0x40e1ac
push str.RunTmpXXX.exe
call fcn.00401566
mov esi, eax
add esp, 8
test esi, esi
je 0x4010c2
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x401070
mov eax, 0xc
jmp 0x401060
xor dword [eax + section..data], ecx
add eax, 4
cmp eax, 0xafd2ba
jl 0x401060
push esi
push 0xafd2ae
push 1
push 0x41100c
call fcn.00401430
push esi
call fcn.00401265
push str.RunTmpXXX2.exe
call fcn.004011c8
push str.RunTmpXXX.exe
call fcn.004010d9
push str.RunTmpXXX2.exe
call fcn.004010d9
push str.RunTmpXXX.exe
call fcn.004011c8
push str.RunTmpXXX2.exe
call fcn.004011c8
add esp, 0x28
xor eax, eax
pop esi
pop ecx
ret
push str.Cant_create_run_file_nPress_Enter_n
call fcn.00401617
add esp, 4
call fcn.004011c3
xor eax, eax
pop esi
pop ecx
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x401fb5
call fcn.00401f58
mov dword [eax], esi
call fcn.00401f45
push 0x16
pop esi
mov dword [eax], esi
call fcn.004019f2
mov eax, esi
jmp 0x40200a
test dword [ebp + 0xc], 0xfffffff9
jne 0x401f9b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x401fe2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401f6b
pop ecx
call fcn.00401f45
mov eax, dword [eax]
jmp 0x40200a
test al, 0x10
jne 0x402008
test al, 1
je 0x402008
test byte [ebp + 0xc], 2
je 0x402008
call fcn.00401f58
mov dword [eax], 5
call fcn.00401f45
mov dword [eax], 0xd
jmp 0x401fd9
xor eax, eax
pop esi
pop ebp
ret

Function at 0x406be2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xf0e6d0]
jne 0x406bec
repz ret
jmp fcn.0040aa89
Function at 0x40a6b3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xf0e6d0]
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.004066ad
and dword [ebp - 0x14], 0
cmp dword [0xf0fad4], 0
mov dword [ebp - 0x18], eax
jne 0x40a766
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40a80e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40a80e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0xf0fad4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0xf0fad8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0xf0fadc], eax
call edi
push eax
call esi
mov dword [0xf0fae4], eax
test eax, eax
je 0x40a766
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0xf0fae0], eax
mov eax, dword [0xf0fae0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40a7bf
cmp dword [0xf0fae4], ecx
je 0x40a7bf
push eax
call esi
push dword [0xf0fae4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40a7bf
test ebx, ebx
je 0x40a7bf
call edi
test eax, eax
je 0x40a7b6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40a7b6
test byte [ebp - 8], 1
jne 0x40a7bf
or dword [ebp + 0x10], 0x200000
jmp 0x40a7f2
mov eax, dword [0xf0fad8]
cmp eax, dword [ebp - 0x18]
je 0x40a7f2
push eax
call esi
test eax, eax
je 0x40a7f2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40a7f2
mov eax, dword [0xf0fadc]
cmp eax, dword [ebp - 0x18]
je 0x40a7f2
push eax
call esi
test eax, eax
je 0x40a7f2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xf0fad4]
call esi
test eax, eax
je 0x40a80e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40a810
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406be2
leave
ret

Function at 0x4538d7
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x400]
push 0x4099b4
push eax
call dword [fcn.0040929c]
push esi
lea eax, [ebp - 0x400]
push eax
mov edi, 0x409970
push edi
push 0x80000002
call fcn.00453873
add esp, 0x1c
cmp byte [esi], 0
jne 0x453939
push esi
push dword [ebp + 8]
push edi
push 0x80000001
call fcn.00453873
add esp, 0x10
cmp byte [esi], 0
jne 0x453939
push esi
push 0x400
call dword [fcn.004090d4]
pop edi
leave
ret
Function at 0x4127d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x4127f5
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x412868
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x41282a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x41285d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x41285b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x412821
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4127ec
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4019b4
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0x254
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
xor ebx, ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebp, dword [sym.imp.MSVCRT.dll_wcscpy]
lea edi, [esi + eax*2]
mov dword [esp], 0x408298
push edi
call ebp
pop ecx
lea eax, [esp + 0x18]
pop ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
and word [edi], bx
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x401a01
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401ac2
lea eax, [esp + 0x40]
push 0x408294
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x401a75
lea eax, [esp + 0x40]
push 0x40828c
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x401a75
lea eax, [esp + 0x40]
push eax
push edi
call ebp
test byte [esp + 0x1c], 0x10
pop ecx
pop ecx
je 0x401a55
push 0x408248
push esi
call dword [sym.imp.MSVCRT.dll_wcscat]
pop ecx
pop ecx
mov ecx, esi
call fcn.004019b4
jmp 0x401a6f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x401a71
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x401a9b
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401a01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x12
jne 0x401a9b
xor ebx, ebx
push dword [esp + 0x10]
and word [edi], 0
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jne 0x401ac0
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x401ac0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret

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

Disassembly:
push ebx
push esi
push edi
xor esi, esi
mov edx, 0x409040
mov ecx, 0x409440
push 8
mov eax, esi
pop edi
mov ebx, eax
and ebx, 1
neg ebx
and ebx, 0xedb88320
shr eax, 1
xor eax, ebx
dec edi
jne 0x403c82
mov dword [edx], eax
add edx, 4
inc esi
cmp edx, ecx
jb 0x403c7d
mov eax, dword [ecx - 0x400]
mov edx, eax
and edx, 0xff
shr eax, 8
mov edx, dword [edx*4 + 0x409040]
xor edx, eax
mov dword [ecx], edx
add ecx, 4
cmp ecx, 0x40b040
jb 0x403ca0
mov eax, 0x403cf4
mov esi, 0x403da8
mov dword [0x40b044], eax
mov dword [0x409030], eax
mov dword [0x40b040], esi
call fcn.00405400
test eax, eax
jne 0x403cf0
mov dword [0x409030], esi
pop edi
pop esi
pop ebx
ret
Function at 0x403f13
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], edx
mov ebx, ecx
mov edi, dword [esi]
test edi, edi
je 0x403f6c
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x403f36
mov eax, edi
lea ecx, [ebp + 8]
push 0
and dword [ebp + 8], 0
push ecx
push eax
push dword [ebp - 4]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
add dword [ebp - 4], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x403f64
test ecx, ecx
je 0x403f6c
test edi, edi
jbe 0x403f6c
jmp 0x403f2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x403f6e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x403f75
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], edx
mov ebx, ecx
mov edi, dword [esi]
test edi, edi
je 0x403fce
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x403f98
mov eax, edi
lea ecx, [ebp + 8]
push 0
and dword [ebp + 8], 0
push ecx
push eax
push dword [ebp - 4]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
add dword [ebp - 4], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x403fc6
test ecx, ecx
je 0x403fce
test edi, edi
jbe 0x403fce
jmp 0x403f8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x403fd0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4050d9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], edx
push edi
mov edx, ecx
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov edi, dword [ecx]
and edi, 7
cmp dword [ebp - 4], 5
jb 0x40521e
sub dword [ebp - 4], 4
add dword [ebp + 8], 5
push ebx
push esi
mov ecx, dword [ebp - 4]
lea esi, [eax + edx]
lea ebx, [edx + ecx]
cmp esi, ebx
jae 0x405120
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x405120
inc esi
jmp 0x40510f
mov ecx, esi
sub ecx, eax
mov eax, esi
sub ecx, edx
sub eax, edx
cmp esi, ebx
jae 0x40520a
cmp ecx, 2
jbe 0x40513b
xor edi, edi
jmp 0x405165
shr edi, cl
test edi, edi
je 0x405165
cmp edi, 4
ja 0x4051ff
cmp edi, 3
je 0x4051ff
mov ecx, edi
shr ecx, 1
mov cl, byte [ecx + esi + 1]
inc ecx
test cl, 0xfe
je 0x4051ff
movzx ecx, byte [esi + 4]
lea ebx, [ecx + 1]
test bl, 0xfe
jne 0x4051ff
movzx ebx, byte [esi + 3]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi + 2]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi + 1]
shl ecx, 8
or ecx, ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
add ecx, eax
add eax, 5
cmp dword [ebp + 0x10], 0
mov dword [ebp - 8], ecx
je 0x4051a7
add ebx, ecx
jmp 0x4051a9
sub ebx, ecx
test edi, edi
je 0x4051dc
and edi, 6
mov edx, ebx
shl edi, 2
mov ecx, edi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x4051d7
mov edx, 0x100
shl edx, cl
dec edx
xor ebx, edx
cmp dword [ebp + 0x10], 0
je 0x4051d4
add ebx, dword [ebp - 8]
jmp 0x4051d7
sub ebx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor edi, edi
mov ecx, ebx
mov byte [esi + 1], bl
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [esi + 3], cl
mov byte [esi + 4], bl
jmp 0x405106
or edi, 8
shr edi, 1
inc eax
jmp 0x405106
push 2
pop edx
pop esi
shr edi, cl
cmp edx, ecx
mov edx, dword [ebp + 0xc]
sbb ecx, ecx
pop ebx
not ecx
and ecx, edi
mov dword [edx], ecx
pop edi
leave
ret 0xc
Function at 0x407b74
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408360
push 0x407cb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x40b048], 0xffffffff
or dword [0x40b04c], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40902c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x409028]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40b050], eax
call fcn.00407ca5
cmp dword [0x409010], 0
jne 0x407bf7
push 0x407ca2
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00407c90
push 0x40900c
push 0x409008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x409024]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x409020]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x409004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call section..text
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x9249b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x89f015
lea edi, [esi - 0x49e015]
push edi
or ebp, 0xffffffff
jmp 0x9249d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9249d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9249c8
mov eax, 1
add ebx, ebx
jne 0x9249eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9249fc
jne 0x924a1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x924a1b
dec eax
add ebx, ebx
jne 0x924a08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x9249e0
add ebx, ebx
jne 0x924a17
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x924a6d
xor ecx, ecx
sub eax, 3
jb 0x924a33
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x924aa2
sar eax, 1
mov ebp, eax
jmp 0x924a3e
add ebx, ebx
jne 0x924a3e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x924a0c
inc ecx
add ebx, ebx
jne 0x924a4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x924a0c
add ebx, ebx
jne 0x924a59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x924a4e
jne 0x924a6a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x924a4e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x924a8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x924a7e
jmp 0x9249ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x924a8c
add edi, ecx
jmp 0x9249ce
pop esi
mov edi, esi
mov ecx, 0x198a6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x924aaa
cmp byte [edi], 0xc
jne 0x924aaa
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 0x924aaf
lea edi, [esi + 0x522000]
mov eax, dword [edi]
or eax, eax
je 0x924b27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5244b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5244f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x924adc
mov ecx, edi
jns 0x924b0b
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 + 0x5244f8]
or eax, eax
je 0x924b21
mov dword [ebx], eax
add ebx, 4
jmp 0x924af9
call dword [esi + 0x5244f4]
mov ebp, dword [esi + 0x5244fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x924b5b
sub esp, 0xffffff80
jmp 0x406aa4
Function at 0x401000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48abf0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b185c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esi + 4]
push eax
mov dword [esi], vtable.OResourceFile.0
call fcn.004010b0
xor edi, edi
mov dword [esp + 0x18], edi
lea ecx, [esi + 0x18]
push ecx
call fcn.0040c3a0
mov byte [esp + 0x18], 1
mov dword [esi + 0x20], edi
mov byte [esp + 0x18], 2
mov dword [esi + 0x24], vtable.OStringArray.0
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x401d80
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48af58
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b185c]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
push 0x20
lea eax, [ebx + 0x28]
push eax
lea ecx, [esp + 0x24]
call fcn.00405650
xor edi, edi
mov dword [esp + 0x60], edi
cmp dword [esp + 0x30], edi
je 0x401eea
cmp dword [ebx + 0x38], edi
jbe 0x401eea
mov eax, dword [ebx + 0x34]
cmp eax, edi
je 0x401eea
mov edx, dword [esp + 0x1c]
mov esi, dword [eax + 0x2a]
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x1c]
call eax
mov ecx, dword [esp + 0x30]
push edi
push edi
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x401eea
push edi
lea edx, [esp + 0x18]
push edx
push 0x1e
lea ecx, [esp + 0x44]
push ecx
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401eea
cmp dword [esp + 0x14], 0x1e
jne 0x401eea
cmp dword [esp + 0x38], 0x4034b50
jne 0x401eea
movzx edx, word [esp + 0x52]
mov eax, dword [esp + 0x4a]
lea esi, [edx + eax + 0x1e]
cmp esi, dword [ebx + 0x30]
je 0x401e64
mov ecx, dword [ebx + 0x2c]
push esi
push ecx
call fcn.0046df68
add esp, 8
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], esi
mov ebp, dword [ebx + 0x2c]
mov edi, ebp
mov ecx, 7
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movzx edx, word [esp + 0x52]
push edx
add ebp, 0x1e
push ebp
lea ecx, [esp + 0x24]
call fcn.00405990
movzx eax, word [esp + 0x52]
mov ecx, dword [esp + 0x4a]
push ecx
add ebp, eax
push ebp
lea ecx, [esp + 0x24]
call fcn.00405990
mov eax, dword [esp + 0x42]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
add ebx, 0x20
push ebx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004056d0
mov al, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004056d0
xor al, al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret