joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10039e80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x10067bf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x208], 0
push 0x1ff
push 0
lea eax, [ebp - 0x207]
push eax
call fcn.1003e4a0
add esp, 0xc
mov byte [ebp - 0x418], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x417]
push ecx
call fcn.1003e4a0
add esp, 0xc
push 0x1011ef18
push str._sLogDump
lea edx, [ebp - 0x208]
push edx
call fcn.1003e8fe
add esp, 0xc
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.10042e42
add esp, 8
test eax, eax
je 0x10039f0a
push 0
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x1011f518
push str._s.dmp
lea edx, [ebp - 0x418]
push edx
call fcn.1003e8fe
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.1003fd50
add esp, 8
push str.DBGHELP.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x214], eax
push str.MiniDumpWriteDump
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
jne 0x10039f72
xor eax, eax
jmp 0x1003a09f
call fcn.1000fc80
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0
jne 0x10039f9e
mov dword [ebp - 0x43c], 0
jmp 0x1003a012
mov ecx, dword [ebp - 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0x3fffffff
jle 0x10039fcc
mov dword [ebp - 0x440], 0
jmp 0x1003a006
mov eax, dword [ebp - 0x20c]
shl eax, 1
call fcn.10040080
mov dword [ebp - 0x444], esp
mov edx, dword [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
mov edx, dword [ebp - 0x444]
push edx
call fcn.1000fc90
mov dword [ebp - 0x440], eax
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x43c], eax
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
mov ecx, dword [ebp - 0x43c]
push ecx
call dword [0x1017fb68]
mov dword [ebp - 0x41c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x42c], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], 0
push 0
push 0
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x42c]
and eax, ecx
push eax
push 0
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x438]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea esp, [ebp - 0x444]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003e48b
mov esp, ebp
pop ebp
ret
Function at 0x1003b4f0
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa20
mov eax, dword [0x10067bf0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
and eax, dword [0x1028ac70]
je 0x1003b513
jmp 0x1003b729
mov ecx, dword [0x1028ac70]
or ecx, dword [ebp + 8]
mov dword [0x1028ac70], ecx
mov byte [ebp - 0x210], 0
push 0x1ff
push 0
lea edx, [ebp - 0x20f]
push edx
call fcn.1003e4a0
add esp, 0xc
mov byte [ebp - 0xa20], 0
push 0x3ff
push 0
lea eax, [ebp - 0xa1f]
push eax
call fcn.1003e4a0
add esp, 0xc
mov byte [ebp - 0x620], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x61f]
push ecx
call fcn.1003e4a0
add esp, 0xc
push 0x1011ef18
push 0x10060c34
lea edx, [ebp - 0x210]
push edx
call fcn.1003e8fe
add esp, 0xc
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.10042e42
add esp, 8
test eax, eax
je 0x1003b5b6
push 0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [ebp - 8]
push edx
call fcn.1003b760
add esp, 4
lea eax, [ebp - 8]
push eax
call fcn.1003b740
add esp, 4
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x10]
add edx, 1
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x14]
add ecx, 0x76c
push ecx
push str._04d__02d_AT.txt
lea edx, [ebp - 0xa20]
push edx
call fcn.1003e8fe
add esp, 0x10
lea eax, [ebp - 0xa20]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.1003fd50
add esp, 8
mov dword [ebp - 0x218], 0
push 0
lea edx, [ebp - 0x210]
push edx
call fcn.10042e42
add esp, 8
test eax, eax
jne 0x1003b656
push 0x10060c50
lea eax, [ebp - 0x210]
push eax
call fcn.10040ed8
add esp, 8
mov dword [ebp - 0x218], eax
jmp 0x1003b670
push 0x10060c54
lea ecx, [ebp - 0x210]
push ecx
call fcn.10040ed8
add esp, 8
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x1003b67e
jmp 0x1003b729
lea edx, [ebp + 0x10]
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xa20]
push edx
call fcn.10040dfa
add esp, 0xc
mov dword [ebp - 0x214], 0
lea eax, [ebp - 0xa20]
push eax
push 0x1011f118
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0xc]
push edx
push 0x10060c58
lea eax, [ebp - 0x620]
push eax
call fcn.1003e8fe
add esp, 0x20
mov ecx, dword [ebp - 0x218]
push ecx
push 1
lea edx, [ebp - 0x620]
push edx
call fcn.1003e400
add esp, 4
push eax
lea eax, [ebp - 0x620]
push eax
call fcn.10040cfa
add esp, 0x10
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.10040b1c
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1003e48b
mov esp, ebp
pop ebp
ret
Function at 0x1003d020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 4
mov dword [ebp - 8], 4
push 1
push 0x10060fc8
call fcn.1003bf80
add esp, 8
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1003d077
push 0
push 0x10060fdc
call fcn.1003bf80
add esp, 8
mov eax, dword [ebp + 0x14]
jmp 0x1003d1c2
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1003d0b8
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x10060ff0
call fcn.1003bf80
add esp, 8
mov eax, dword [ebp + 0x14]
jmp 0x1003d1c2
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x10061004
call fcn.1003bf80
add esp, 8
push str.tc_ssl
mov edx, dword [ebp + 0x10]
push edx
call fcn.10008290
add esp, 8
test eax, eax
je 0x1003d1bf
movzx eax, byte [0x10124fc9]
test eax, eax
je 0x1003d1bf
push 0x10061020
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1003d136
push 0x10061034
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1003d136
push 0x1006104c
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x1003d1bf
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x18], 0
jmp 0x1003d14c
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.1003e400
add esp, 4
cmp dword [ebp - 0x18], eax
jae 0x1003d17a
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x18]
movsx ecx, byte [eax]
push ecx
call fcn.10043005
add esp, 4
movsx edx, byte [ebp - 0x11]
add edx, eax
mov byte [ebp - 0x11], dl
jmp 0x1003d143
movsx eax, byte [ebp - 0x11]
and eax, 0x8000001f
jns 0x1003d18a
dec eax
or eax, 0xffffffe0
inc eax
mov byte [ebp - 0x11], al
movsx eax, byte [ebp - 0x11]
xor edx, edx
mov ecx, 0x20
div ecx
mov esi, dword [ebp - 4]
mov ecx, edx
shl esi, cl
movsx eax, byte [ebp - 0x11]
xor edx, edx
mov ecx, 0x20
div ecx
mov ecx, 0x20
sub ecx, edx
mov edx, dword [ebp - 4]
shr edx, cl
or esi, edx
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003d340
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
cmp dword [0x1011eafc], 0
je 0x1003d357
xor eax, eax
jmp 0x1003d4bf
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
movzx ecx, byte [0x10124fc9]
test ecx, ecx
je 0x1003d433
push 0x100610b0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1003d3a9
push 0x100610c4
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1003d3a9
push 0x100610dc
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x1003d433
mov byte [ebp - 9], 0
mov dword [ebp - 0x10], 0
jmp 0x1003d3bf
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.1003e400
add esp, 4
cmp dword [ebp - 0x10], eax
jae 0x1003d3ed
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
push edx
call fcn.10043005
add esp, 4
movsx ecx, byte [ebp - 9]
add ecx, eax
mov byte [ebp - 9], cl
jmp 0x1003d3b6
movsx edx, byte [ebp - 9]
and edx, 0x8000001f
jns 0x1003d3fe
dec edx
or edx, 0xffffffe0
inc edx
mov byte [ebp - 9], dl
movsx eax, byte [ebp - 9]
xor edx, edx
mov ecx, 0x20
div ecx
mov esi, dword [ebp - 8]
mov ecx, edx
shr esi, cl
movsx eax, byte [ebp - 9]
xor edx, edx
mov ecx, 0x20
div ecx
mov ecx, 0x20
sub ecx, edx
mov edx, dword [ebp - 8]
shl edx, cl
or esi, edx
mov dword [ebp - 8], esi
push 1
push 0x100610e8
call fcn.1003bf80
add esp, 8
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1003d46a
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1003d4a4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x100610fc
call fcn.1003bf80
add esp, 8
or eax, 0xffffffff
jmp 0x1003d4bf
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x10061110
call fcn.1003bf80
add esp, 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003d9d0
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x31b0
call fcn.1003e980
mov eax, dword [0x10067bf0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x1011fd7c], 0x888
jne 0x1003da0a
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.in_Send8Str__s___s_
push 0
call fcn.1003b780
add esp, 0x10
movzx edx, byte [0x10280c58]
test edx, edx
je 0x1003da26
mov eax, dword [ebp + 0x10]
push eax
call fcn.1003d4d0
add esp, 4
jmp 0x1003db86
lea ecx, [ebp - 0x198]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1003da4f
mov edx, dword [ebp + 0x10]
push edx
push str.WSAStartup_err___s_
push 0
call fcn.1003b780
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.100081e0
add esp, 4
mov dword [ebp - 4], eax
mov byte [ebp - 0x2fb0], 0
push 0x2dff
push 0
lea ecx, [ebp - 0x2faf]
push ecx
call fcn.1003e4a0
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
push 0x1006120c
lea eax, [ebp - 0x2fb0]
push eax
call fcn.1003e8fe
add esp, 0xc
mov byte [ebp - 0x1b1], 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0xffffffff
jne 0x1003dacd
mov ecx, dword [ebp + 0x10]
push ecx
push str.socket_err___s_
push 0
call fcn.1003b780
add esp, 0xc
jmp 0x1003db86
push 0x10
push 0
lea edx, [ebp - 0x1a8]
push edx
call fcn.100083a0
add esp, 0xc
mov eax, 2
mov word [ebp - 0x1a8], ax
push 0x1f99
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1a6], ax
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1a4], eax
push 0x10
lea ecx, [ebp - 0x1a8]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1003e400
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1ac]
push ecx
call dword [0x101779d4]
cmp eax, 0xffffffff
jne 0x1003db6b
lea edx, [ebp - 0x31b0]
push edx
call fcn.1003bc20
add esp, 4
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x31b0]
push ecx
push str.sendto_err_:__s___s_
push 0
call fcn.1003b780
add esp, 0x10
jmp 0x1003db86
cmp dword [0x1011fd7c], 0x888
jne 0x1003db86
push str.in_Send8Str_OK_send
push 0
call fcn.1003b780
add esp, 8
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1003e48b
mov esp, ebp
pop ebp
ret
Function at 0x1003e48b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10067bf0]
jne 0x1003e495
repz ret
jmp fcn.100432b3

Function at 0x10042db9
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 0x10042dea
call fcn.10044c3f
mov dword [eax], esi
call fcn.10044c2c
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.10044bc4
add esp, 0x14
push 0x16
pop eax
jmp 0x10042e3f
test dword [ebp + 0xc], 0xfffffff9
jne 0x10042dc6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10042e17
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10044c52
pop ecx
call fcn.10044c2c
mov eax, dword [eax]
jmp 0x10042e3f
test al, 0x10
jne 0x10042e3d
test al, 1
je 0x10042e3d
test byte [ebp + 0xc], 2
je 0x10042e3d
call fcn.10044c3f
mov dword [eax], 5
call fcn.10044c2c
mov dword [eax], 0xd
jmp 0x10042e0e
xor eax, eax
pop esi
pop ebp
ret

Function at 0x1004dc05
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10044048
and dword [ebp - 4], 0
cmp dword [0x1028b7a0], 0
mov ebx, eax
jne 0x1004dcb6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1004dd67
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10063fb4
push edi
call esi
test eax, eax
je 0x1004dd67
push eax
call fcn.10043fd6
mov dword [esp], 0x10063fa4
push edi
mov dword [0x1028b7a0], eax
call esi
push eax
call fcn.10043fd6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1028b7a4], eax
call esi
push eax
call fcn.10043fd6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1028b7a8], eax
call esi
push eax
call fcn.10043fd6
pop ecx
mov dword [0x1028b7b0], eax
test eax, eax
je 0x1004dcb6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10043fd6
pop ecx
mov dword [0x1028b7ac], eax
mov eax, dword [0x1028b7ac]
cmp eax, ebx
je 0x1004dd0e
cmp dword [0x1028b7b0], ebx
je 0x1004dd0e
push eax
call fcn.10044051
push dword [0x1028b7b0]
mov esi, eax
call fcn.10044051
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1004dd0e
test edi, edi
je 0x1004dd0e
call esi
test eax, eax
je 0x1004dd05
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1004dd05
test byte [ebp - 0xc], 1
jne 0x1004dd0e
or dword [ebp + 0x10], 0x200000
jmp 0x1004dd47
mov eax, dword [0x1028b7a4]
cmp eax, ebx
je 0x1004dd47
push eax
call fcn.10044051
pop ecx
test eax, eax
je 0x1004dd47
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1004dd47
mov eax, dword [0x1028b7a8]
cmp eax, ebx
je 0x1004dd47
push eax
call fcn.10044051
pop ecx
test eax, eax
je 0x1004dd47
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1028b7a0]
call fcn.10044051
pop ecx
test eax, eax
je 0x1004dd67
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1004dd69
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401400
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov esi, edx
mov ebx, eax
sub esp, 0x10
mov dword [esp + 4], 0xc
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_calloc]
test eax, eax
je 0x40143c
mov edx, dword [ebx + 4]
mov dword [eax + 8], esi
mov dword [eax], ebx
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ebx + 4], eax
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
test byte [0x404000], 2
jne 0x401452
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_exit]
mov dword [esp + 0xc], str.Out_of_memory_for_list._n
mov dword [esp + 8], str.list_append
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.10
jmp 0x401445
Function at 0x403310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strlen]
mov esi, eax
xor eax, eax
test esi, esi
je 0x40336b
cmp byte [ebx + esi - 1], 0xa
je 0x40333f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x406084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x4039e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call dbg.__wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x403bb0
mov eax, dword fs:[0x18]
mov edi, dword [0x406084]
cmp dword [eax + 0x24], edi
je 0x403ba2
test byte [0x404018], 8
jne 0x403b50
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x404028], 8
jne 0x403b10
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x403aa3
cmp esi, 3
ja 0x403aa3
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x405ad0]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.2
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x403ab4
mov esi, edx
mov dword [esp + 0xc], edi
mov dword [esp + 4], 1
shr esi, 0x10
test edx, 0x8080
mov dword [esp], ebx
cmove edx, esi
lea esi, [ecx + 2]
mov eax, edx
cmove ecx, esi
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x404028
call dbg.__wine_dbg_get_channel_flags
test al, 8
je 0x403a3e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x403a3e
mov dword [esp], 0x404018
call dbg.__wine_dbg_get_channel_flags
test al, 8
je 0x403a2b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
mov ecx, eax
lea ebx, [esp + 0x28]
mul edx
mov dword [esp + 4], str._3u._03u:
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x403a31
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xffffffff
jmp 0x403b01

Function at 0x403c20
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov ebx, dword [eax]
call sym.___p___wargv
mov esi, dword [eax]
call sym.__get_initial_wide_environment
mov edi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x3c]
cmp word [edx + eax + 0x5c], 2
sete dl
movzx edx, dl
add edx, 1
mov dword [esp], edx
call sym.__set_app_type
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dbg.wmain
mov dword [esp], eax
call sym._exit
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x2d3a565d
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0xc5c62c8
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x42bac0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x16c
mov al, 0x6c
push ebx
mov byte [esp + 9], al
mov byte [esp + 0xe], al
mov byte [esp + 0xf], al
mov al, 0x73
mov cl, 0x65
push ebp
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x34], al
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esp + 0xd], cl
mov byte [esp + 0x10], cl
mov byte [esp + 0x20], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x30], cl
lea eax, [esp + 0x1c]
push edi
lea ecx, [esp + 0x10]
mov dl, 0x72
xor ebx, ebx
push eax
push ecx
mov byte [esp + 0x18], 0x6b
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], 0x6e
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x24], bl
mov byte [esp + 0x28], 0x50
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x6f
mov byte [esp + 0x2b], 0x63
mov byte [esp + 0x2f], 0x33
mov byte [esp + 0x30], 0x32
mov byte [esp + 0x31], 0x4e
mov byte [esp + 0x33], 0x78
mov byte [esp + 0x34], 0x74
mov byte [esp + 0x35], bl
mov byte [esp + 0x38], 0x50
mov byte [esp + 0x39], dl
mov byte [esp + 0x3a], 0x6f
mov byte [esp + 0x3b], 0x63
mov byte [esp + 0x3f], 0x33
mov byte [esp + 0x40], 0x32
mov byte [esp + 0x41], 0x46
mov byte [esp + 0x42], 0x69
mov byte [esp + 0x43], dl
mov byte [esp + 0x45], 0x74
mov byte [esp + 0x46], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
lea edx, [esp + 0x30]
lea eax, [esp + 0x10]
push edx
push eax
call esi
push eax
call edi
push ebx
push 2
mov edi, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, ebx
je 0x42bc25
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0x13c
push ecx
push esi
call edi
test eax, eax
je 0x42bc1e
mov edi, dword [esp + 0x180]
lea edx, [esp + 0x64]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x42bc19
lea eax, [esp + 0x40]
push eax
push esi
call ebp
test eax, eax
jne 0x42bbe9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x16c
ret
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x16c
ret