joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4074e9
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1070
call fcn.00424f20
mov eax, dword [0x4386b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x101c]
push eax
lea eax, [ebp - 0x100c]
push eax
xor esi, esi
lea eax, [ebp - 0x1008]
inc esi
push eax
mov edi, ecx
mov dword [ebp - 0x101c], 0xc
mov dword [ebp - 0x1018], ebx
mov dword [ebp - 0x1014], esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x407547
xor eax, eax
jmp 0x40763b
lea eax, [ebp - 0x1060]
push eax
mov dword [ebp - 0x1060], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [ebp - 0x100c]
mov dword [ebp - 0x1020], eax
mov dword [ebp - 0x1024], eax
xor eax, eax
mov word [ebp - 0x1030], ax
lea eax, [ebp - 0x1070]
push eax
lea eax, [ebp - 0x1060]
push eax
push ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push ebx
mov dword [ebp - 0x1034], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x407540
push dword [ebp - 0x100c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0xfff
push esi
lea eax, [ebp - 0x1003]
push ebx
push eax
mov byte [ebp - 0x1004], bl
call fcn.00417670
lea eax, [ebp - 0x1004]
add esp, 0xc
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4075d4
sub eax, edi
push eax
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.00417670
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x40761b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x1004]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407604
sub eax, edx
push eax
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.00417670
add esp, 0xc
push ebx
lea eax, [ebp - 0x1010]
push eax
push esi
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1008]
call edi
test eax, eax
jne 0x4075f3
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411f09
leave
ret
Function at 0x411f09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4386b4]
jne 0x411f13
repz ret
jmp fcn.00418b9a

Function at 0x41e051
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 0x41e078
call fcn.00412a84
mov dword [eax], esi
call fcn.00412a71
push 0x16
pop esi
mov dword [eax], esi
call fcn.00419bf8
mov eax, esi
jmp 0x41e0cd
test dword [ebp + 0xc], 0xfffffff9
jne 0x41e05e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41e0a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00412a97
pop ecx
call fcn.00412a71
mov eax, dword [eax]
jmp 0x41e0cd
test al, 0x10
jne 0x41e0cb
test al, 1
je 0x41e0cb
test byte [ebp + 0xc], 2
je 0x41e0cb
call fcn.00412a84
mov dword [eax], 5
call fcn.00412a71
mov dword [eax], 0xd
jmp 0x41e09c
xor eax, eax
pop esi
pop ebp
ret
Function at 0x41fba0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4386b4]
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.0041847e
and dword [ebp - 0x14], 0
cmp dword [0x43ac70], 0
mov dword [ebp - 0x18], eax
jne 0x41fc53
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fcfb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fcfb
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43ac70], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43ac74], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43ac78], eax
call edi
push eax
call esi
mov dword [0x43ac80], eax
test eax, eax
je 0x41fc53
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43ac7c], eax
mov eax, dword [0x43ac7c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fcac
cmp dword [0x43ac80], ecx
je 0x41fcac
push eax
call esi
push dword [0x43ac80]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fcac
test ebx, ebx
je 0x41fcac
call edi
test eax, eax
je 0x41fca3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fca3
test byte [ebp - 8], 1
jne 0x41fcac
or dword [ebp + 0x10], 0x200000
jmp 0x41fcdf
mov eax, dword [0x43ac74]
cmp eax, dword [ebp - 0x18]
je 0x41fcdf
push eax
call esi
test eax, eax
je 0x41fcdf
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fcdf
mov eax, dword [0x43ac78]
cmp eax, dword [ebp - 0x18]
je 0x41fcdf
push eax
call esi
test eax, eax
je 0x41fcdf
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43ac70]
call esi
test eax, eax
je 0x41fcfb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fcfd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411f09
leave
ret
Function at 0x4018f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x462004]
jne 0x40100a
repz ret
jmp fcn.004013a7

Function at 0x40663e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x462004]
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.00403a74
and dword [ebp - 0x14], 0
cmp dword [0x464a60], 0
mov dword [ebp - 0x18], eax
jne 0x4066f1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406799
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406799
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x464a60], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x464a64], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x464a68], eax
call edi
push eax
call esi
mov dword [0x464a70], eax
test eax, eax
je 0x4066f1
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x464a6c], eax
mov eax, dword [0x464a6c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40674a
cmp dword [0x464a70], ecx
je 0x40674a
push eax
call esi
push dword [0x464a70]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40674a
test ebx, ebx
je 0x40674a
call edi
test eax, eax
je 0x406741
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406741
test byte [ebp - 8], 1
jne 0x40674a
or dword [ebp + 0x10], 0x200000
jmp 0x40677d
mov eax, dword [0x464a64]
cmp eax, dword [ebp - 0x18]
je 0x40677d
push eax
call esi
test eax, eax
je 0x40677d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40677d
mov eax, dword [0x464a68]
cmp eax, dword [ebp - 0x18]
je 0x40677d
push eax
call esi
test eax, eax
je 0x40677d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x464a60]
call esi
test eax, eax
je 0x406799
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40679b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x45e9c0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x462ec0]
sub esp, 0x10
push ebx
mov ebx, dword [0x1f36c10]
push edi
mov edi, dword [0x1f36eec]
push eax
call fcn.0045e8d0
add esp, 4
cmp dword [0x1f36eec], 0x2f
jne 0x45ea1d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.0045e920
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402d54
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x416020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402dec
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402dcc
xor eax, eax
push ebp
push 0x402dc5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402e08
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402dcc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x416020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x416020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4037ec
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x418044], 0
je 0x40384d
cmp word [0x418218], 0xd7b2
jne 0x403815
cmp dword [0x418220], 0
jbe 0x403815
mov eax, 0x418214
call dword [0x418230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x41606c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403874
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x416030], 0
jne 0x403869
push 0
push 0x416064
push 0x41606c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404b20
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404d50
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404ba3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404d50
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404ba3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404d6c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404c2c
xor eax, eax
push ebp
push 0x404c25
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404968
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404c0a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404d8c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404c0a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404c2c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404d46
cmp byte [ebp - 0xd], 0
jne 0x404c73
cmp byte [ebp - 0x12], 0
je 0x404d46
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404c8c
dec ebx
cmp byte [ebx], 0x2e
je 0x404c9b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404c8b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404d46
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404cd8
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404d46
cmp byte [ebp - 0xd], 0
je 0x404d46
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404d46
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4053dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405442
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403bd8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402948
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40542c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405449
lea eax, [ebp - 0x10]
call fcn.00403968
ret

Function at 0x409680
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4096b9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403a58
jmp 0x4096c2
mov eax, ebx
mov edx, esi
call fcn.004039bc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4096cc
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 0x4096ed
mov al, byte [esp]
jmp 0x4096ef
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x409d74
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x409bec
mov eax, dword [0x417b58]
cmp byte [eax], 0
je 0x409df0
mov eax, dword [0x417a7c]
call fcn.00402854
call fcn.0040271c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00407034
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x409e38
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x409e26
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x417a58]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x418660]
call fcn.0040492c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40aad4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40ab38
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403bd8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00406b7c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ab3f
lea eax, [ebp - 0xc]
call fcn.00403968
ret

Function at 0x4156c8
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00403df4
xor eax, eax
push ebp
push 0x415771
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406eec
test al, al
jne 0x4156fa
xor ebx, ebx
jmp 0x41575b
mov edx, dword [0x4153f4]
mov eax, 0x10
call fcn.00404640
mov ebx, eax
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004039bc
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.00406d68
mov edi, eax
mov dword [ebx + 4], edi
push 0
push 0
push 0
push 2
push 0
push edi
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebx + 8], eax
push 0
push 0
push 0
push 4
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebx + 0xc], eax
mov edx, ebx
mov eax, esi
call fcn.0040f9a4
mov ebx, dword [ebx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415778
lea eax, [ebp - 4]
call fcn.00403968
ret

Function at 0x41588c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov edx, esi
mov eax, ebx
call fcn.0040fae0
mov ebx, eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_GetFileSize
mov esi, eax
mov byte [edi], 0
xor eax, eax
push ebp
push 0x415938
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4158cd
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov edx, 0x41594c
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.004028b8
je 0x4158ee
mov eax, dword [ebx + 0xc]
add eax, esi
sub eax, 0x1e
cmp eax, dword [ebp - 4]
ja 0x4158ca
inc dword [ebp - 4]
jmp 0x41590d
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov edx, 0x41594c
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.004028b8
jne 0x41590d
mov byte [edi], 1
mov eax, dword [ebp - 4]
mov edx, 0x41594c
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.004028b8
je 0x41592e
mov eax, dword [ebx + 0xc]
add eax, esi
sub eax, 0x1e
cmp eax, dword [ebp - 4]
ja 0x4158f3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x415942
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a7cb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6f000]
push edi
jmp 0x4a7cca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a7cd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a7cc0
mov eax, 1
add ebx, ebx
jne 0x4a7ce3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a7cf4
jne 0x4a7d13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a7d13
dec eax
add ebx, ebx
jne 0x4a7d00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a7cd8
add ebx, ebx
jne 0x4a7d0f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a7d65
xor ecx, ecx
sub eax, 3
jb 0x4a7d2b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a7d9a
sar eax, 1
mov ebp, eax
jmp 0x4a7d36
add ebx, ebx
jne 0x4a7d36
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a7d04
inc ecx
add ebx, ebx
jne 0x4a7d44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a7d04
add ebx, ebx
jne 0x4a7d51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a7d46
jne 0x4a7d62
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a7d46
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a7d84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a7d76
jmp 0x4a7cc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a7d84
add edi, ecx
jmp 0x4a7cc6
pop esi
mov edi, esi
mov ecx, 0x2cc0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a7da2
cmp byte [edi], 0x1a
jne 0x4a7da2
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 0x4a7da7
lea edi, [esi + 0xa4000]
mov eax, dword [edi]
or eax, eax
je 0x4a7e1f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbcac4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbcbdc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a7dd4
mov ecx, edi
jns 0x4a7e03
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 + 0xbcbe0]
or eax, eax
je 0x4a7e19
mov dword [ebx], eax
add ebx, 4
jmp 0x4a7df1
call dword [esi + 0xbcbf0]
mov ebp, dword [esi + 0xbcbe4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x4a7e53
sub esp, 0xffffff80
jmp 0x454d3d
Function at 0x28094a20
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x2810bbd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x20]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
mov dword [esp + 0xc], ecx
jne 0x28094a6b
push 1
push str.NULL_Pointer_getReportInstanceFromCUID
push 0x3eb
push str..BELOVDataSource.cpp
call fcn.28099b50
add esp, 0x10
push 0x80004003
call fcn.28109e00
push str.SELECT_TOP_1_SI_FILES__SI_CUID__SI_SCHEDULE_STATUS_FROM_CI_APPOBJECTS_WHERE_SI_PARENT_CUID
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
cmp esi, ebx
mov dword [esp + 8], esi
jne 0x28094a8a
push 0x8007000e
call fcn.280911c0
push ebp
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
cmp eax, ebx
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x20], ebx
je 0x28094abe
lea ecx, [esp + 0x28]
push ecx
push eax
push esi
mov dword [esp + 0x34], ebx
call sub.OLEAUT32.dll_VarBstrCmp
cmp eax, ebx
jl 0x28094ae2
push esi
call ebp
mov esi, dword [esp + 0x28]
mov dword [esp + 0xc], esi
push edi
push 0xffffffffffffffff
push str._AND_SI_INSTANCE_OBJECT1_ORDER_BY_SI_ENDTIME_DESC
call fcn.28092ae0
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x18], edi
jne 0x28094ae8
push 0x8007000e
call fcn.280911c0
push eax
call fcn.280911c0
lea edx, [esp + 0x2c]
push edx
push edi
push esi
mov byte [esp + 0x30], 1
mov dword [esp + 0x38], ebx
call sub.OLEAUT32.dll_VarBstrCmp
cmp eax, ebx
jl 0x28094b43
push esi
call ebp
mov ebx, dword [esp + 0x2c]
push edi
mov dword [esp + 0x14], ebx
mov byte [esp + 0x28], 0
call ebp
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.28094730
push ebx
mov esi, eax
call ebp
mov ecx, dword [esp + 0x1c]
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
push eax
call fcn.280911c0
int3

Function at 0x280955b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x2810bd11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor eax, eax
push edi
lea ecx, [esi + 0xc]
xor edi, edi
mov dword [esi + 8], edi
mov edx, ecx
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [esp + 8], esi
mov dword [edx + 0x14], eax
call fcn.28091200
cmp eax, edi
jge 0x280955fa
push eax
call fcn.280911c0
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], edi
mov al, 1
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], al
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov byte [esi + 0x30], al
call fcn.280bb4f0
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 2
call fcn.280bb510
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x5c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret