joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c00
Capabilities:
Get hostname

Disassembly:
mov eax, 0x104c
call fcn.00415800
mov eax, dword [0x43e008]
xor eax, esp
mov dword [esp + 0x1044], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1064]
lea eax, [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x1068]
mov ebx, ecx
mov ecx, dword [esp + 0x1060]
push eax
push 0x4169bc
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.0040b4a0
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x401dc5
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
push 0x41684c
call fcn.0040afb0
test eax, eax
jne 0x401dc5
cmp dword [esp + 0x1c], eax
je 0x401dc5
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 0x4169c4
call fcn.0040b040
test eax, eax
jne 0x401d50
test byte [ebx + 0xcc], 1
je 0x401d54
movups xmm0, xmmword [ebx + 0x22]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x10
push eax
movups xmmword [esp + 0x1038], xmm0
lea eax, [esp + 0x1038]
movups xmm0, xmmword [ebx + 0x32]
push eax
push 4
movups xmmword [esp + 0x1050], xmm0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x401d28
test byte [0x43f278], 2
je 0x401d21
cmp dword [str._CInstance::FSetViaInfoYukonERRRET__GetComputerNameEx:__dWINERR_n], eax
je 0x401d1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [str._CInstance::FSetViaInfoYukonERRRET__GetComputerNameEx:__dWINERR_n]
push eax
mov eax, dword [str.sql_ntdbms_browser_sqlbrowser_brwscore.cpp]
push 0xbd800
push eax
call fcn.00405110
add esp, 0x10
mov esi, dword [esp + 0x14]
xor edi, edi
jmp 0x401dca
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1038]
push eax
push str._via__ws__ws
lea eax, [esp + 0x24]
push eax
push dword [edi]
push dword [ebp]
call fcn.004045a0
add esp, 0x18
test eax, eax
jne 0x401d78
xor edi, edi
jmp 0x401dca
lea eax, [esp + 0x2c]
push eax
lea eax, [ebx + 0x42]
push eax
push str._via__ws__ws
lea eax, [esp + 0x24]
push eax
push dword [edi]
push dword [ebp]
call fcn.004045a0
add esp, 0x18
test eax, eax
je 0x401d21
mov edi, dword [ebp]
sub edi, dword [esp + 0x1064]
push 0x10
call fcn.004147f5
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [eax + 0xc], 0
mov dword [eax], 0
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0xbc]
mov dword [ecx], eax
mov eax, dword [ebx + 0xbc]
mov eax, dword [eax]
add eax, 0xc
mov dword [ebx + 0xbc], eax
mov eax, dword [esp + 0x24]
add dword [ebp], edx
sub dword [eax], edx
mov edi, 1
push 0x410
push esi
call fcn.0041482a
mov ecx, dword [esp + 0x105c]
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004145b4
add esp, 0x104c
ret 0x10
Function at 0x403bc0
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebp, ecx
push edi
xor edi, edi
mov dword [esp + 0x18], ebp
push edi
push edi
push 1
xor ebx, ebx
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call esi
mov dword [ebp + 0x84], eax
test eax, eax
jne 0x403c23
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.SQLBrowser
push 0
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
push 0
test esi, esi
je 0x403cdc
push 0
push 0
push 0
push 0
push 0xc04e0006
jmp 0x403cd0
push 0
push 0
push 1
push 0
call esi
mov dword [ebp + 0x88], eax
test eax, eax
je 0x403bf0
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00402fe0
test eax, eax
je 0x403ced
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov esi, eax
test ebp, ebp
je 0x403c96
nop
cmp word [esi], 0
je 0x403c96
mov edx, esi
inc ebx
lea ecx, [edx + 2]
mov dword [esp + 0x14], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x403c70
sub edx, dword [esp + 0x14]
lea ecx, [edi + 1]
sar edx, 1
add ecx, edx
cmp ecx, edi
jb 0x403ca6
lea esi, [esi + edx*2]
mov edi, ecx
add esi, 2
cmp edi, ebp
jb 0x403c60
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
call fcn.00403630
mov esi, eax
jmp 0x403cf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.SQLBrowser
push 0
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
push 0
test esi, esi
je 0x403cdc
push 0
push 0
push 0
push 0
push 0xc04e000b
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x403cf2
mov esi, 1
push 2
push dword [esp + 0x14]
call fcn.0041482a
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x404b70
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x80c
mov eax, dword [0x43e008]
xor eax, esp
mov dword [esp + 0x808], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [esp + 8]
lea eax, [esp + 0x818]
mov edx, 0x3ff
push eax
push 0
push dword [esp + 0x81c]
call fcn.00401070
add esp, 0xc
test eax, eax
js 0x404bbc
cmp eax, 0x3ff
ja 0x404bbc
jne 0x404bc6
xor eax, eax
mov word [esp + 0x806], ax
push 0x4324c8
mov edx, 0x400
lea ecx, [esp + 0xc]
call fcn.00401120
test byte [0x43f278], 2
je 0x404c07
cmp dword [0x43e06c], 0xffffffff
je 0x404c07
lea eax, [esp + 8]
push eax
mov eax, dword [str.sql_ntdbms_browser_sqlbrowser_brwsmain.cpp]
push 0xcc00
push eax
push dword [0x43e06c]
call dword [0x43e028]
cmp dword [0x43f2a0], 0
je 0x404c2d
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esp + 8]
push eax
push 0x4324cc
call 0x405c40
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x80c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.004145b4
add esp, 0x80c
ret
Function at 0x407820
Capabilities:
Access the windows event log
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], 0
lea ecx, [esi + 0xbc]
mov dword [esp + 4], 0
push edi
mov dword [ecx], 0xf6
mov edx, dword [esi + 0x14]
lea eax, [esi + 0x105]
mov dword [esi + 0x9c], 2
mov dword [esi + 0xc0], eax
mov edi, dword [edx + 0x8c]
test edi, edi
jne 0x407893
push edi
push esi
lea eax, [esi + 0x98]
mov dword [eax], 0x80
push eax
lea eax, [esi + 0x18]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
push 1
push ecx
push dword [edx]
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
jmp 0x407959
mov dword [esi + 0xe0], 0x80
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe8], 1
mov dword [esi + 0xf4], 0
test byte [0x43f278], 2
je 0x407915
cmp dword [str.Post_a_read__control_buffer__pWSABUF__len:_d_n], 0
je 0x4078ee
push dword [esi + 0xec]
mov eax, dword [str.Post_a_read__control_buffer__pWSABUF__len:_d_n]
push dword [esi + 0xf0]
push eax
mov eax, dword [str.sql_ntdbms_browser_sqlbrowser_brwssock.cpp]
push 0xb2000
push eax
call fcn.00405110
add esp, 0x14
test byte [0x43f278], 2
je 0x407915
push 0
push dword [esi + 0xec]
push dword [esi + 0xf0]
push 0x10
push dword [0x43e06c]
call fcn.00405060
add esp, 0x14
mov ecx, dword [esi + 0x14]
mov edx, 2
movzx eax, word [ecx + 8]
cmp dx, ax
jne 0x407932
mov dword [esi + 0xec], 0x14
jmp 0x407946
mov edx, 0x17
cmp dx, ax
jne 0x407946
mov dword [esi + 0xec], 0x20
push 0
push esi
lea eax, [esp + 0x10]
push eax
lea eax, [esi + 0xdc]
push eax
push dword [ecx]
call edi
cmp eax, 0xffffffff
jne 0x4079f8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3e5
je 0x4079f8
test byte [0x43f278], 2
je 0x4079b1
cmp dword [str._CIOContext::ReceiveRequestERRRET___dWINERR_receiving_request:__lsSERVICE_n], 0
je 0x4079b1
push 0x417714
call esi
push eax
mov eax, dword [str._CIOContext::ReceiveRequestERRRET___dWINERR_receiving_request:__lsSERVICE_n]
push eax
mov eax, dword [str.sql_ntdbms_browser_sqlbrowser_brwssock.cpp]
push 0xb8400
push eax
call fcn.00405110
add esp, 0x14
call esi
push str.SQLBrowser
push 0
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
push 0
test esi, esi
je 0x4079e3
push 0
push 0
push 0
push 0
push 0xc04e0008
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
add esp, 8
ret
pop edi
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x407af0
Capabilities:
Access the windows event log
Query or enumerate registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x43e008]
xor eax, esp
mov dword [esp + 0x21c], eax
push esi
mov esi, ecx
mov dword [esp + 0xc], 0x105
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x14]
mov dword [esp + 8], 0
mov edx, 0x105
push str.SOFTWAREMicrosoftMicrosoft_SQL_Server90
lfence
call fcn.004010b0
test eax, eax
js 0x407bd4
xor eax, eax
lea ecx, [esp + 0x14]
push str.SQL_Browser
mov edx, 0x105
mov word [esp + 0x220], ax
call fcn.00401120
lea eax, [esp + 8]
push eax
push 0x20019
push 0
lea eax, [esp + 0x20]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407c28
mov dword [esp + 4], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0xc]
push eax
push 0
push esi
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x407bb1
cmp eax, 0xea
jne 0x407c28
cmp dword [esp + 4], 4
je 0x407bc5
push 0x70c
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x407c28
test eax, eax
jne 0x407c28
cmp dword [esp + 0x10], eax
je 0x407c28
lea esi, [eax + 1]
jmp 0x407c2a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call esi
mov dword [esp + 8], eax
call esi
push str.SQLBrowser
push 0
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x407c18
lea eax, [esp + 8]
push eax
push 0
push 4
push 0
push 0
push 0xc04e0001
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
jmp 0x407c1a
push 0
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor esi, esi
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x220]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004145b4
add esp, 0x220
ret
Function at 0x40abc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x244
mov eax, dword [0x43e008]
xor eax, esp
mov dword [esp + 0x240], eax
cmp dword [0x442dc8], 0
mov eax, dword [0x43eda0]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], edx
mov word [esp + 0x16], cx
mov dword [esp + 0x1c], 0x4361e4
mov dword [esp + 0x20], 0x40a530
mov dword [esp + 0x24], 0x4361f0
mov dword [esp + 0x28], 0x40a950
mov dword [esp + 0x2c], 0x4361fc
mov dword [esp + 0x30], 0x40a4e0
mov dword [edx], eax
je 0x40ac29
movzx eax, cx
jmp 0x40ad4c
push 0x104
lea eax, [esp + 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40ad32
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea eax, [esp + 0x144]
push eax
lea eax, [esp + 0x38]
push 0x10c
push eax
call esi
add esp, 0xc
lea eax, [esp + 0x34]
push str.ws2_32
push 0x10c
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
add esp, 0xc
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test edi, edi
je 0x40aca5
push 0x4361e4
push edi
call ebx
test eax, eax
jne 0x40acf1
push edi
call ebp
lea eax, [esp + 0x144]
push eax
lea eax, [esp + 0x38]
push 0x10c
push eax
call esi
add esp, 0xc
lea eax, [esp + 0x34]
push str.wship6
push 0x10c
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
add esp, 0xc
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ad32
push 0x4361e4
push edi
call ebx
test eax, eax
je 0x40ad2f
xor esi, esi
push dword [esp + esi*8 + 0x1c]
push edi
call ebx
mov dword [esp + esi*8 + 0x20], eax
test eax, eax
je 0x40ad2f
inc esi
cmp esi, 3
jl 0x40acf3
mov eax, dword [esp + 0x20]
mov dword [0x43eda8], eax
mov eax, dword [esp + 0x28]
mov dword [0x43edb0], eax
mov eax, dword [esp + 0x30]
mov dword [0x43edb8], eax
mov dword [0x43eda0], 0
jmp 0x40ad32
push edi
call ebp
mov ecx, dword [esp + 0x18]
mov eax, dword [0x43eda0]
mov dword [0x442dc8], 1
mov dword [ecx], eax
movzx eax, word [esp + 0x16]
mov ecx, dword [esp + 0x250]
mov eax, dword [eax*8 + 0x43eda8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004145b4
add esp, 0x244
ret
Function at 0x40b870
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x26c
mov eax, dword [0x43e008]
xor eax, esp
mov dword [esp + 0x264], eax
push esi
xor eax, eax
mov dword [esp + 8], 0x100
mov esi, edx
mov word [esp + 0x262], ax
push edi
mov edi, ecx
cmp dword [esp + 0x278], eax
je 0x40b8d7
push eax
push str.SoftwareMicrosoftWinFS
push 0xff
lea eax, [esp + 0x74]
push 0x100
push eax
call fcn.0040a1c0
add esp, 0x14
test eax, eax
js 0x40ba18
mov dword [esp + 0xc], 0x18
jmp 0x40b95e
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x6c]
push eax
push 0
push edi
call dword [sym.imp.instapi160.dll_GetInstRegPathByName]
test eax, eax
je 0x40b9bc
xor eax, eax
cmp ax, word [esp + 0x266]
je 0x40b908
mov eax, 0xd
jmp 0x40ba4e
cmp dword [esp + 0x27c], eax
je 0x40b943
lea eax, [esp + 0x10]
push eax
push 0
push edi
call dword [sym.imp.instapi160.dll_GetSvcInstanceIDFromName]
test eax, eax
jne 0x40b92e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40ba4e
push esi
push 0x20019
push 0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.instapi160.dll_GetInstRegKeyAccessMask]
jmp 0x40b954
push esi
push 0x20019
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.instapi160.dll_GetRegKeyAccessMask]
test eax, eax
je 0x40b923
and dword [esi], 0xfffdffe6
lea ecx, [esp + 0x68]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b965
sub ecx, edx
sar ecx, 1
cmp ecx, 0x100
jae 0x40ba18
lea eax, [ecx*2 + 2]
add esi, 4
push eax
lea eax, [esp + 0x6c]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, 0x100
mov ecx, esi
push str.SuperSocketNetLib
call fcn.00401120
test eax, eax
jns 0x40ba4c
mov eax, 0x6f
jmp 0x40ba4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40ba4e
xor eax, eax
mov word [esi + 0x202], ax
test edi, edi
je 0x40ba1f
cmp word [edi], ax
je 0x40ba1f
push eax
push str.MSSQLServer
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp_l]
add esp, 0xc
test eax, eax
je 0x40ba1f
push edi
push str.SOFTWAREMicrosoft_
push 0
push str._sMicrosoft_SQL_Server_sMSSQLServerSuperSocketNetLib
push 0xff
lea eax, [esi + 4]
push 0x100
push eax
call fcn.0040a1c0
add esp, 0x1c
test eax, eax
jns 0x40ba4c
mov eax, 0x6f
jmp 0x40ba4e
push str.SOFTWAREMicrosoft_
push 0
push str._sMSSQLServerMSSQLServerSuperSocketNetLib
push 0xff
lea eax, [esi + 4]
push 0x100
push eax
call fcn.0040a1c0
add esp, 0x18
test eax, eax
jns 0x40ba4c
mov eax, 0x6f
jmp 0x40ba4e
xor eax, eax
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
xor ecx, esp
call fcn.004145b4
add esp, 0x26c
ret 8
Function at 0x40c800
Capabilities:
Get common file path

Disassembly:
sub esp, 0x21c
mov eax, dword [0x43e008]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
xor eax, eax
mov dword [esp + 0xc], ecx
push edi
mov word [esp + 0x14], ax
mov ebp, edx
mov word [esp + 0x21c], ax
lea eax, [esp + 0x14]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, eax
test ebx, ebx
jne 0x40c84e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40c932
cmp ebx, 0x104
jae 0x40c90f
lea eax, [ebx*2 + 2]
cmp eax, 0x208
jbe 0x40c86f
mov edx, 0x6f
jmp 0x40c88a
mov edx, 0xd
cmp eax, 2
jb 0x40c88a
shr eax, 1
xor esi, esi
movzx eax, word [esp + eax*2 + 0x12]
test ax, ax
cmove edx, esi
je 0x40c894
xor eax, eax
mov word [esp + 0x21a], ax
test edx, edx
jne 0x40c930
mov ax, word [esp + 0x14]
lea esi, [esp + 0x14]
mov edi, 0x104
lea esi, [esi + ebx*2]
sub edi, ebx
test ax, ax
je 0x40c8e8
cmp ax, 0x5c
jne 0x40c8c1
cmp word [esp + 0x16], dx
je 0x40c8e8
push 0x416670
xor eax, eax
push eax
push 0x436244
push edi
lfence
push esi
mov word [esi + edi*2], ax
call fcn.0040a190
add esp, 0x14
test eax, eax
js 0x40c90f
sub edi, eax
lea esi, [esi + eax*2]
push dword [esp + 0x10]
xor eax, eax
push eax
push 0x436244
lfence
movzx ebx, word [esi]
push edi
push esi
mov word [esi + edi*2], ax
call fcn.0040a190
add esp, 0x14
test eax, eax
jns 0x40c916
mov word [esi], bx
mov eax, 0x6f
jmp 0x40c932
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp], eax
test eax, eax
je 0x40c843
xor eax, eax
jmp 0x40c932
mov eax, edx
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004145b4
add esp, 0x21c
ret
Function at 0x413110
Capabilities:
Delete file
Write file on windows

Disassembly:
sub esp, 0x22c
mov eax, dword [0x43e008]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x240]
lea eax, [esp + 0x20]
push edi
push 0
push eax
push 1
push 0x43a2b0
mov ebp, edx
mov dword [esp + 0x30], 0xc
mov ebx, ecx
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
movzx edi, word [esp + 0x248]
test eax, eax
setne byte [esp + 0x13]
test eax, eax
jne 0x413185
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateConfigFile:_Failed_to_generate_security_descriptor__error:__d
push edi
push esi
call fcn.00413030
add esp, 0x10
jmp 0x4132c6
push 0
push 0x80
push 1
lea eax, [esp + 0x2c]
push eax
push 1
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x4131c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.CreateFile_failed:__ls__error:__d
push edi
push esi
call fcn.00413030
add esp, 0x14
jmp 0x4132c6
push 0x208
lea eax, [esp + 0x34]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push ebp
push dword [esp + 0x250]
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], 0
push ebp
push str.__xml_version_1.0____SqlDumper___ls__d___ls___SqlDumper_
push 0
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x3c], 0
push eax
lea eax, [esp + 0x58]
push 0x104
push eax
call fcn.00413da0
add esp, 0x30
test eax, eax
jns 0x41322c
push eax
push str.StringCchPrintfExW_failed_to_construct_default_dumper_config_file_content__error:_0x_x
push edi
push esi
lfence
call fcn.00413030
add esp, 0x10
jmp 0x41328c
push 0
mov ebp, 0x104
lea eax, [esp + 0x20]
sub ebp, dword [esp + 0x1c]
push eax
add ebp, ebp
lea eax, [esp + 0x38]
push ebp
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41326b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.Unable_to_write_to_file:__ls__error:__d
push edi
push esi
call fcn.00413030
add esp, 0x14
jmp 0x41328c
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4132a7
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.WriteFile_failed:__ls__error:__d__bytes_written:__d__expected:__d_
push edi
push esi
call fcn.00413030
add esp, 0x1c
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x13]
test al, al
jne 0x4132ca
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4132c6
push ebx
push str._ls_created_successfully.
push edi
push esi
mov byte [esp + 0x23], 1
call fcn.00413030
add esp, 0x10
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004145b4
add esp, 0x22c
ret 0xc
Function at 0x491cf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7b000]
push edi
jmp 0x491d0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x491d11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x491d00
mov eax, 1
add ebx, ebx
jne 0x491d23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x491d34
jne 0x491d53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x491d53
dec eax
add ebx, ebx
jne 0x491d40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x491d18
add ebx, ebx
jne 0x491d4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x491da5
xor ecx, ecx
sub eax, 3
jb 0x491d6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x491dda
sar eax, 1
mov ebp, eax
jmp 0x491d76
add ebx, ebx
jne 0x491d76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x491d44
inc ecx
add ebx, ebx
jne 0x491d84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x491d44
add ebx, ebx
jne 0x491d91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x491d86
jne 0x491da2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x491d86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x491dc4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x491db6
jmp 0x491d06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x491dc4
add edi, ecx
jmp 0x491d06
pop esi
lea edi, [esi + 0x8f000]
mov eax, dword [edi]
or eax, eax
je 0x491e2c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x91000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9111c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x491de1
mov ecx, edi
jns 0x491e10
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 + 0x91124]
or eax, eax
je 0x491e26
mov dword [ebx], eax
add ebx, 4
jmp 0x491dfe
call dword [esi + 0x91120]
mov ebp, dword [esi + 0x91128]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x491e60
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x401e40
Capabilities:
Terminate process

Disassembly:
or cl, byte [ebx + 0x78ec8331]
push esi
mov esi, dword [ebp + 0xc]
push esi
invalid

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x6858140d
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xb113168
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219