joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d170
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
mov edi, eax
test edi, edi
jne 0x47d1de
call fcn.00438e90
cmp eax, 2
jg 0x47d1c6
lea ebx, [edi + 1]
call sub.KERNEL32.DLL_GetLastError
push eax
push 2
push 0x1f
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktopwindowscrash_reporterprocess_state_impl.cc
lea ecx, [ebp - 0xbc]
call fcn.004384e0
add eax, 0x10
push str.GetLogicalDriveStrings_failed
push eax
call fcn.00404c5e
add esp, 8
test bl, 1
je 0x47d1d6
lea ecx, [ebp - 0xbc]
call fcn.00438780
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
push esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00483600
mov esi, eax
add esp, 4
test esi, esi
je 0x47d295
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
mov dword [ebp - 4], eax
test eax, eax
je 0x47d218
cmp eax, edi
jbe 0x47d295
call fcn.00438e90
cmp eax, 2
jg 0x47d271
mov ebx, 2
call sub.KERNEL32.DLL_GetLastError
push eax
push ebx
push 0x26
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktopwindowscrash_reporterprocess_state_impl.cc
lea ecx, [ebp - 0xbc]
call fcn.004384e0
push edi
push str.__length
push dword [ebp - 4]
add eax, 0x10
push str.GetLogicalDriveStrings_failed__result
push eax
call fcn.00404c5e
add esp, 8
mov ecx, eax
call fcn.004121ba
push eax
call fcn.00404c5e
add esp, 8
mov ecx, eax
call fcn.004121ba
test bl, 2
je 0x47d281
lea ecx, [ebp - 0xbc]
call fcn.00438780
push esi
xor edi, edi
call fcn.004835e0
add esp, 4
mov eax, edi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, esi
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e540
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [ebp + 0x10]
xor edx, edx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [esi + 0x110], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x114], eax
test edi, edi
je 0x47e588
mov edi, edi
cmp word [edi + edx*2], bx
je 0x47e588
mov al, byte [edi + edx*2]
mov byte [edx + esi + 0xc], al
inc edx
lea eax, [edx + 1]
cmp eax, 0x80
jb 0x47e570
push 0
push 0
push 0
push 2
push 0
push dword [ebp + 0xc]
mov byte [edx + esi + 0xc], bl
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov dword [ebp + 0x14], eax
test eax, eax
je 0x47e656
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x47e5e3
push eax
mov ecx, esi
call fcn.0047e6c0
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00438e90
cmp eax, 2
jg 0x47e634
mov ebx, 1
call sub.KERNEL32.DLL_GetLastError
push eax
push 2
push 0xcc
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktopwindowscrash_reportermodule_info_impl.cc
lea ecx, [ebp - 0xbc]
call fcn.004384e0
test edi, edi
mov ecx, 0x4ba190
cmovne ecx, edi
add eax, 0x10
push ecx
push str.MapViewOfFile_failed_for
push eax
call fcn.00404c5e
add esp, 8
push eax
call fcn.00438950
add esp, 8
test bl, 1
je 0x47e644
lea ecx, [ebp - 0xbc]
call fcn.00438780
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00438e90
cmp eax, 2
jg 0x47e6a6
mov ebx, 2
call sub.KERNEL32.DLL_GetLastError
push eax
push ebx
push 0xd1
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktopwindowscrash_reportermodule_info_impl.cc
lea ecx, [ebp - 0xbc]
call fcn.004384e0
test edi, edi
mov ecx, 0x4ba190
cmovne ecx, edi
add eax, 0x10
push ecx
push str.CreateFileMappingFailed_for
push eax
call fcn.00404c5e
add esp, 8
push eax
call fcn.00438950
add esp, 8
test bl, 2
je 0x47e6b6
lea ecx, [ebp - 0xbc]
call fcn.00438780
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x481ff0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
cmp word [edx], ax
jne 0x482029
xor ecx, ecx
jmp 0x48203f
mov ecx, edx
lea ebx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482030
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.004046e6
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0043c3e0
push eax
mov ecx, esi
call fcn.0043c1e0
lea ecx, [ebp - 0x34]
call fcn.0043c140
cmp dword [ebp - 8], 8
jb 0x482079
push dword [ebp - 0x1c]
call fcn.004835e0
add esp, 4
push esi
call fcn.0043e9d0
add esp, 4
test al, al
jne 0x4820a4
push esi
call fcn.004407e0
add esp, 4
test al, al
jne 0x4820a4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x10], 0
jne 0x4820bd
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
push edi
push esi
call fcn.004820f0
mov bl, al
add esp, 8
test bl, bl
jne 0x4820dc
cmp dword [esi + 0x14], 8
jb 0x4820d5
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret
Function at 0x482390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
movzx ecx, ax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x20], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x24], ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov word [ebp - 0x1c], ax
mov eax, dword [ebp + 0x10]
mov edi, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], ebx
and edi, 0x8000000f
jns 0x4823dc
dec edi
or edi, 0xfffffff0
inc edi
cdq
and edx, 0xf
add eax, edx
sar eax, 4
push ecx
inc eax
movzx eax, ax
push eax
push 6
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceExW]
test eax, eax
jne 0x482472
call fcn.00438e90
cmp eax, 2
jg 0x482433
mov ebx, 1
call sub.KERNEL32.DLL_GetLastError
push eax
push 2
push 0x28
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktopwindows_rc_l10n_handler_rc_l10n_handler.cc
lea ecx, [ebp - 0xdc]
call fcn.004384e0
add eax, 0x10
push str.Failed_to_find_string
push eax
call fcn.00404c5e
add esp, 8
test bl, 1
je 0x482443
lea ecx, [ebp - 0xdc]
call fcn.00438780
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.004040ce
cmp dword [ebp - 8], 8
jb 0x48245f
push dword [ebp - 0x1c]
call fcn.004835e0
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x4824c0
call fcn.00438e90
cmp eax, 2
jg 0x4824b8
mov ebx, 2
call sub.KERNEL32.DLL_GetLastError
push eax
push ebx
push 0x2e
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktopwindows_rc_l10n_handler_rc_l10n_handler.cc
lea ecx, [ebp - 0xdc]
call fcn.004384e0
add eax, 0x10
push str.Failed_to_load_string
push eax
call fcn.00404c5e
add esp, 8
test bl, 2
jmp 0x482436
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ecx, eax
test ecx, ecx
jne 0x48250f
call fcn.00438e90
cmp eax, 2
jg 0x482507
mov ebx, 4
call sub.KERNEL32.DLL_GetLastError
push eax
push 2
push 0x34
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktopwindows_rc_l10n_handler_rc_l10n_handler.cc
lea ecx, [ebp - 0xdc]
call fcn.004384e0
add eax, 0x10
push str.Failed_to_lock_string
push eax
call fcn.00404c5e
add esp, 8
test bl, 4
jmp 0x482436
test edi, edi
jle 0x48251f
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
add ecx, 2
dec edi
jne 0x482513
movzx eax, word [ecx]
push eax
lea eax, [ecx + 2]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004046e6
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x482443
push 0
push ecx
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.0043b550
add esp, 0x10
jmp 0x48244e
Function at 0x483c00
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x70
push 0
push esi
call fcn.00488e30
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov eax, 1
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
pop esi
pop ebp
ret
Function at 0x4847d0
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x88], edi
push eax
push 5
push edi
mov byte [ebp - 0x75], 0
mov dword [ebp - 0x90], 0x40
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x484883
push 0xa
lea eax, [ebp - 0x44]
mov byte [ebp - 0x75], 1
push 0
push eax
call fcn.0048e647
mov esi, dword [ebp - 0x4c]
add esp, 0xc
mov dword [ebp - 0x84], eax
cmp esi, eax
ja 0x484883
cmp dword [ebp - 0x48], eax
je 0x484883
push 1
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404596
test al, al
je 0x484883
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x4c], esi
cmovae eax, dword [ebp - 0x5c]
mov byte [eax + esi], 0
xor eax, eax
push eax
push eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov ebx, eax
test ebx, ebx
je 0x48492a
nop
mov esi, dword [ebp - 0x80]
test esi, esi
je 0x48495d
cmp esi, 0xffffffff
ja 0x4849de
push esi
call fcn.00483600
mov edi, eax
add esp, 4
test edi, edi
je 0x4849d9
push esi
push 0
push edi
call fcn.00488e30
mov esi, dword [ebp - 0x88]
lea eax, [ebp - 0x8c]
add esp, 0xc
push eax
push dword [ebp - 0x80]
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, eax
test ebx, ebx
je 0x484950
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x484950
add dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x5c]
push eax
push edi
call fcn.00404210
push edi
call fcn.004835e0
add esp, 4
lea eax, [ebp - 0x80]
push 0
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov ebx, eax
test ebx, ebx
jne 0x4848a0
xor bl, bl
cmp dword [ebp - 0x48], 0x10
jb 0x48493d
push dword [ebp - 0x5c]
call fcn.004835e0
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x48495d
push edi
call fcn.004835e0
add esp, 4
test ebx, ebx
je 0x48492a
cmp byte [ebp - 0x75], 0
je 0x484972
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x84]
jne 0x48492a
mov edi, dword [ebp - 0x94]
mov bl, 1
test edi, edi
je 0x48492c
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00484e10
mov esi, eax
add esp, 8
cmp edi, esi
je 0x4849bf
cmp dword [edi + 0x14], 8
jb 0x4849a4
push dword [edi]
call fcn.004835e0
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
push esi
mov word [edi], ax
call fcn.00404395
cmp dword [ebp - 0x60], 8
jb 0x48492c
push dword [ebp - 0x74]
call fcn.004835e0
add esp, 4
jmp 0x48492c
call fcn.004a8f2b
push str.vector_T__too_long
call fcn.004a8f5c
int3
Function at 0x4865b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
push ebx
push esi
push 0x100000
mov dword [ebp - 0xc], 0
call fcn.00483600
mov esi, eax
add esp, 4
test esi, esi
je 0x48662b
push 9
push 8
push 0
push 0
push 0
push 0
push 0
push 0
push str.crashlog.txt
push dword [ebp + 0xc]
call fcn.004b0140
add esp, 0x28
test eax, eax
jne 0x48662b
push 0x4b7910
push dword [ebp + 8]
call fcn.0048deff
mov ebx, eax
add esp, 8
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x48662b
push ebx
call fcn.004864e0
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x486642
push ebx
call fcn.0048b384
add esp, 4
xor bl, bl
test esi, esi
je 0x48663a
push esi
call fcn.004835e0
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
test eax, eax
je 0x4866a8
mov ecx, 0x100000
push edi
mov edi, edi
push dword [ebp - 4]
mov edi, eax
sub edi, ebx
cmp edi, 0x100000
cmova edi, ecx
push edi
push 1
push esi
call fcn.0048b859
add esp, 0x10
cmp eax, edi
jne 0x4866a7
mov eax, dword [ebp - 0xc]
test al, 1
je 0x486688
and eax, 0xfffffffe
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xc], eax
call fcn.00438510
push edi
push esi
push dword [ebp + 0xc]
call fcn.004b07a0
add esp, 0xc
test eax, eax
jne 0x4866a7
mov eax, dword [ebp - 8]
add ebx, edi
mov ecx, 0x100000
cmp ebx, eax
jb 0x486650
pop edi
push dword [ebp - 4]
call fcn.0048b384
add esp, 4
cmp ebx, dword [ebp - 8]
sete bl
jmp 0x48662d
Function at 0x4a1152
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0048ee39
mov dword [ebp - 0x14], eax
cmp dword [0x4d94a8], esi
jne 0x4a1245
push 0x800
push esi
push 0x4c14c0
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4a11d2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x57
jne 0x4a1325
push esi
push esi
push 0x4c14c0
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4a1325
push 0x4c14d8
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x4a1325
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4d94a8], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4d94ac], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4d94b0], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x4d94b8], eax
test eax, eax
je 0x4a1242
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x4d94b4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
je 0x4a126a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4a125d
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4a127f
push 4
pop eax
jmp 0x4a1327
cmp dword [ebp - 0x14], esi
je 0x4a127f
push dword [0x4d94a8]
call dword [sym.imp.KERNEL32.DLL_DecodePointer]
push 3
jmp 0x4a1264
mov eax, dword [0x4d94b4]
mov ebx, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, edi
je 0x4a12dd
cmp dword [0x4d94b8], edi
je 0x4a12dd
push eax
call ebx
push dword [0x4d94b8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4a12dd
test eax, eax
je 0x4a12dd
call ecx
test eax, eax
je 0x4a12d2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4a12d2
test byte [ebp - 8], 1
jne 0x4a12dd
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4a130d
mov eax, dword [0x4d94ac]
cmp eax, edi
je 0x4a130a
push eax
call ebx
test eax, eax
je 0x4a130a
call eax
mov esi, eax
test esi, esi
je 0x4a130a
mov eax, dword [0x4d94b0]
cmp eax, edi
je 0x4a130a
push eax
call ebx
test eax, eax
je 0x4a130a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4d94a8]
call ebx
test eax, eax
je 0x4a1325
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4a1327
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret
Function at 0x4aac30
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultUILanguage]
movzx edi, ax
mov eax, 0x1400
cmp ax, di
je 0x4aace3
push 9
lea eax, [ebp - 0x18]
mov ebx, edi
push eax
push 0x59
push ebx
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
cmp eax, 1
jle 0x4aace3
mov ecx, dword [ebp - 0x1c]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004046e6
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4aac9b
mov eax, dword [esi]
jmp 0x4aac9d
mov eax, esi
xor ecx, ecx
and edi, 0xfc00
mov word [eax], cx
xor eax, eax
cmp ax, di
je 0x4aacd0
push 9
lea eax, [ebp - 0x18]
push eax
push 0x5a
push ebx
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
cmp eax, 1
jle 0x4aacd0
dec eax
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004046e6
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret
Function at 0x4ac360
Capabilities:
Create pipe

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x84], 0
jne 0x4ac404
push 0
push 1
push 0
mov dword [esi + 0x84], 2
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x4ac404
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x4ac404
push 4
push 0xffffffffffffffff
push esi
push 0x4ac210
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.KERNEL32.DLL_RegisterWaitForSingleObject]
test eax, eax
je 0x4ac404
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x4ac3c9
mov eax, dword [eax]
push dword [esi + 0x38]
push 0
push 0x40
push 0x40
push 1
push 6
push 0x40080003
push eax
call dword [sym.imp.KERNEL32.DLL_CreateNamedPipeW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x4ac404
push dword [esi + 0x9c]
call dword [sym.imp.KERNEL32.DLL_SetEvent]
test eax, eax
jne 0x4ac408
mov dword [esi + 0x84], 1
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x4aeb60
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [eax], 0x12345678
mov dword [eax + 4], 0x23456789
mov dword [eax + 8], 0x34567890
mov cl, byte [ebx]
test cl, cl
je 0x4aebe0
push esi
push edi
mov edi, dword [eax + 4]
mov esi, 0x34567890
mov edi, edi
mov edx, dword [eax]
lea ebx, [ebx + 1]
mov eax, dword [ebp + 0x10]
movsx ecx, cl
xor ecx, edx
shr edx, 8
and ecx, 0xff
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp + 0xc]
xor ecx, edx
mov edx, dword [ebp + 0x10]
mov dword [eax], ecx
movzx ecx, cl
add ecx, edi
imul edi, ecx, 0x8088405
inc edi
mov ecx, edi
mov dword [eax + 4], edi
shr ecx, 0x18
xor ecx, esi
shr esi, 8
and ecx, 0xff
xor esi, dword [edx + ecx*4]
mov dword [eax + 8], esi
mov cl, byte [ebx]
test cl, cl
jne 0x4aeb90
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4aebf0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp dword [esi + 0x100b4], ebx
je 0x4aecaa
cmp dword [esi + 0x80], ebx
jbe 0x4aecaa
mov eax, 0xffffff54
lea ebx, [esi + 0xac]
sub eax, esi
mov dword [ebp + 8], eax
movzx eax, byte [ebx]
mov ecx, dword [esi + 0x100d8]
xor eax, ecx
mov edx, dword [esi + 0x100e4]
and eax, 0xff
mov edi, dword [esi + 0x100e0]
shr ecx, 8
and edi, 0xfffd
or edi, 2
mov eax, dword [edx + eax*4]
xor eax, ecx
mov dword [esi + 0x100d8], eax
movzx eax, al
add eax, dword [esi + 0x100dc]
imul ecx, eax, 0x8088405
mov eax, dword [esi + 0x100e0]
inc ecx
mov dword [esi + 0x100dc], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [edx + ecx*4]
mov dword [esi + 0x100e0], eax
mov eax, edi
xor eax, 1
imul eax, edi
shr eax, 8
xor byte [ebx], al
inc ebx
mov eax, dword [ebp + 8]
add eax, ebx
cmp eax, dword [esi + 0x80]
jb 0x4aec23
xor ebx, ebx
mov edi, dword [esi + 0x80]
lea eax, [esi + 0xac]
push edi
push eax
push dword [esi + 0x2c]
mov eax, dword [esi + 8]
push dword [esi + 0x1c]
call eax
add esp, 0x10
mov dword [esi + 0x80], 0
or ecx, 0xffffffff
cmp eax, edi
cmovne ebx, ecx
add dword [esi + 0x100c8], edi
mov ecx, dword [esi + 0x48]
mov eax, ebx
adc dword [esi + 0x100cc], 0
add dword [esi + 0x100d0], ecx
pop edi
adc dword [esi + 0x100d4], 0
mov dword [esi + 0x48], 0
pop esi
pop ebx
pop ebp
ret
Function at 0x4b2f00
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov eax, dword [ebx + 0x8c]
mov edi, 0x1505
add eax, dword [ebp + 0xc]
cmp esi, 0x102
jae 0x4b3035
test esi, esi
je 0x4b3035
xor edx, edx
test esi, esi
je 0x4b2f4c
mov ebx, eax
movzx ecx, byte [edx + ebx]
mov eax, edi
shl eax, 5
inc edx
add edi, eax
add edi, ecx
cmp edx, esi
jb 0x4b2f37
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
and edi, 0xff
mov edx, dword [ebx + edi*4 + 0xb4]
mov dword [ebx + edi*4 + 0xb4], eax
mov dword [ebp + 0x10], edx
mov dword [ebx + 0x4c8], 0
test edx, edx
je 0x4b3035
mov ecx, eax
sub ecx, edx
cmp ecx, esi
jbe 0x4b3035
mov eax, dword [ebx + 0x80]
sub eax, 0x106
cmp ecx, eax
jae 0x4b3035
cmp esi, dword [ebx + 0x4cc]
ja 0x4b3035
xor edi, edi
test esi, esi
je 0x4b2ff9
mov eax, dword [ebx + 0x8c]
mov ebx, edx
mov ecx, dword [ebp + 0xc]
add ecx, eax
sub eax, ecx
add eax, edx
sub ecx, edx
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
add ecx, ebx
mov al, byte [ecx]
cmp al, byte [ecx + edx]
jne 0x4b3035
mov eax, dword [ebp + 8]
mov edx, ebx
shr edx, 3
mov cl, bl
and cl, 7
mov eax, dword [eax + 0xb0]
mov al, byte [edx + eax]
shr al, cl
test al, 1
je 0x4b3035
mov ecx, dword [ebp - 4]
inc edi
inc ebx
cmp edi, esi
jb 0x4b2fc2
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x8c]
lea ecx, [edx + esi]
cmp byte [ecx + eax - 1], 0x3b
je 0x4b3026
mov eax, dword [ebx + 0xb0]
lea ecx, [edx + esi]
mov edx, ecx
and cl, 7
shr edx, 3
mov al, byte [edx + eax]
shr al, cl
test al, 1
jne 0x4b3035
mov edx, dword [ebp + 0x10]
pop edi
mov eax, esi
mov dword [ebx + 0x4c8], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b3b90
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4b3b9c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.004b3c20