joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fef3
Capabilities:
Encode data using xor

Disassembly:
push 0x18
mov eax, 0x46e4a6
call fcn.0044fc20
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x14], 0x10
jb 0x43ff11
mov eax, dword [edi]
jmp 0x43ff13
mov eax, edi
mov ecx, dword [edi + 0x10]
add ecx, eax
cmp dword [edi + 0x14], 0x10
jb 0x43ff22
mov eax, dword [edi]
jmp 0x43ff24
mov eax, edi
xor ebx, ebx
cmp eax, ecx
je 0x43ff4b
mov esi, ebx
mov edx, ebx
shr edx, 2
shl esi, 6
add esi, edx
movsx edx, byte [eax]
add edx, 0x9e3779b9
add edx, esi
xor ebx, edx
inc eax
cmp eax, ecx
jne 0x43ff2a
mov esi, dword [ebp - 0x10]
push ecx
push edi
push ebx
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.00440306
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x43ff6e
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x43fffb
lea eax, [esi + 3]
test eax, eax
je 0x43ff78
inc eax
jmp 0x43ff7a
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], eax
call fcn.0044060b
mov edi, dword [ebp - 0x1c]
mov dword [ebp + 0xc], edi
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x43ffc2
mov eax, dword [ebp + 0x10]
mov ecx, edi
mov esi, dword [eax]
push esi
call fcn.00407ca2
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 2
call fcn.00407ca2
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 0
mov eax, dword [esi + 8]
inc eax
push eax
mov ecx, esi
mov byte [ebp - 0x17], 1
call fcn.00440271
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.00440003
mov ecx, dword [eax]
mov esi, dword [ebp + 8]
mov dword [esi], ecx
lea ecx, [ebp - 0x20]
mov byte [esi + 4], 1
call fcn.004402da
mov eax, esi
call fcn.0044fbee
ret 0xc

Function at 0x441660
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4977b8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0044f0d0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4416ba
cmp dword [ebp - 0x108], 2
jne 0x4416ba
cmp dword [ebp - 0x114], 6
jb 0x4416ba
mov al, 1
jmp 0x4416bc
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a9a4
leave
ret
Function at 0x44216d
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e96e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x183c
call fcn.0045cd80
mov eax, dword [0x4977b8]
xor eax, esp
mov dword [esp + 0x1838], eax
push ebx
push esi
push edi
mov eax, dword [0x4977b8]
xor eax, esp
push eax
lea eax, [esp + 0x1850]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x24]
push eax
push 0x1000
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
mov edi, dword [esp + 0x24]
xor ebx, ebx
and dword [esp + 0x20], ebx
xor esi, esi
shr edi, 2
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
and dword [esp + 0x1858], ebx
test edi, edi
je 0x4422bc
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x44]
mov dword [esp + 0x14], eax
push dword [eax]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 0x28], esi
push 0x400
lea eax, [esp + 0x1048]
push eax
push esi
mov byte [esp + 0x1864], 1
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x44228f
xor eax, eax
mov word [esp + 0x1842], ax
lea eax, [esp + 0x1044]
push eax
lea ecx, [esp + 0x30]
call fcn.00408227
lea eax, [ebx + 0x5c]
mov byte [esp + 0x1858], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x442263
mov eax, dword [eax]
push ecx
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.0040947f
cmp eax, 0xffffffff
je 0x442282
push dword [esp + 0x14]
lea ecx, [esp + 0x1c]
call fcn.0043727b
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.00409522
mov byte [esp + 0x1858], 0
test esi, esi
je 0x4422a2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x14], eax
dec edi
jne 0x4421fd
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edi, esi
mov byte [eax + 0x58], 0
cmp esi, ebx
je 0x4422e4
mov esi, eax
push dword [edi]
mov ecx, esi
call fcn.00441eaf
add edi, 4
cmp edi, ebx
jne 0x4422cc
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov bl, byte [eax + 0x58]
test esi, esi
je 0x4422f2
push esi
call fcn.0044a99f
pop ecx
mov al, bl
mov ecx, dword [esp + 0x1850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1838]
xor ecx, esp
call fcn.0044a9a4
mov esp, ebp
pop ebp
ret
Function at 0x442b8f
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
test esi, esi
je 0x442bed
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x442bed
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x442bbd
shr eax, 4
and eax, 1
jmp 0x442bef
push esi
call dword [sym.imp.SHLWAPI.dll_StrDupW]
push 0x5c
mov edi, eax
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x442c09
xor ecx, ecx
mov word [eax], cx
push edi
mov ecx, ebx
call fcn.00442b8f
push edi
test eax, eax
jne 0x442bf6
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x442bed
xor eax, eax
inc eax
jmp 0x442bef
Function at 0x442c0e
Capabilities:
Timestomp file

Disassembly:
push 0x4c
mov eax, 0x46eacf
call fcn.0044fc53
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x48], esi
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_couldnt_open__S
push eax
mov dword [ebp - 4], ebx
call fcn.0042a994
add esp, 0xc
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
jne 0x442c5b
mov ecx, eax
call fcn.00427e7f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00407d52
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_GetFileTime:__S
push eax
call fcn.0042a994
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x442c9c
mov ecx, ebx
call fcn.00427e7f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00407d52
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_DosDateTimeToFileTime:__S
push eax
call fcn.0042a994
add esp, 0xc
mov ebx, eax
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
push ecx
shr ecx, 0x10
push ecx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
jne 0x442cdd
mov ecx, ebx
call fcn.00427e7f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00407d52
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_LocalFileTimeToFileTime:__S
push eax
call fcn.0042a994
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
jne 0x442d1a
mov ecx, ebx
call fcn.00427e7f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00407d52
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_SetFileTime:__S
push eax
call fcn.0042a994
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x442d5c
mov ecx, edi
call fcn.00427e7f
lea ecx, [ebp - 0x2c]
call fcn.00407d52
test esi, esi
je 0x442d6f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0044fc02
ret 8
Function at 0x443047
Capabilities:
Connect socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1dc
mov eax, dword [0x4977b8]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [esp + 0x50]
push eax
push 0x202
mov dword [esp + 0x18], esi
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4431d7
push 8
pop ecx
push 6
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
and dword [esp + 0x1c], eax
pop edi
lea ecx, [esp + 0xc]
push ecx
xor ebx, ebx
inc ebx
cmp dword [0x499040], 0x10
lea ecx, [esp + 0x18]
push ecx
mov eax, 0x49902c
cmovae eax, dword [0x49902c]
push 0
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x4431cb
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4431cb
push edi
push ebx
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
test ebx, ebx
jns 0x443109
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp dword [esp + 0xc], 0
je 0x4431d7
push dword [esp + 0xc]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x4431d7
push 7
xor eax, eax
pop ecx
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc]
mov ax, word [eax + 4]
mov word [esp + 0x34], ax
movzx eax, word [0x498e2c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x36], ax
mov eax, dword [esp + 0xc]
cmp dword [eax + 4], 2
jne 0x44314a
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
jmp 0x443162
cmp dword [eax + 4], 0x17
jne 0x4431b9
mov esi, dword [eax + 0x18]
add esi, 8
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
push 0x1c
lea eax, [esp + 0x38]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
cmp dword [esp + 0xc], 0
mov edi, eax
je 0x443183
push dword [esp + 0xc]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test edi, edi
jns 0x443196
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x4431d1
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x4431a1
mov esi, dword [esi]
push 0x1c
lea ecx, [esp + 0x38]
push ecx
push 0
push eax
push esi
push ebx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x44318d
jmp 0x443187
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x4430ef
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x1e4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044a9a4
mov esp, ebp
pop ebp
ret
Function at 0x443292
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0xff
mov esi, dword [edi]
mov eax, esi
xor eax, dword [ebp + 8]
mov ecx, dword [edi + 8]
and eax, ebx
shr esi, 8
mov eax, dword [edx + eax*4]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [edx + eax*4]
mov eax, dword [ebp + 8]
mov dword [edi + 8], ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45f115
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4977b8]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0045198c
mov dword [ebp - 0x14], eax
cmp dword [0x4a214c], edi
jne 0x45f206
push 0x800
push edi
push 0x47668c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x45f193
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x45f2e6
push 0x47668c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x45f2e6
push 0x4766a4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45f2e6
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4a214c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4a2150], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4a2154], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a215c], eax
test eax, eax
je 0x45f203
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a2158], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x45f22b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45f21e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x45f240
push 4
pop eax
jmp 0x45f2e8
cmp dword [ebp - 0x14], edi
je 0x45f240
push dword [0x4a214c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x45f225
mov eax, dword [0x4a2158]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x45f29e
cmp dword [0x4a215c], esi
je 0x45f29e
push eax
call ebx
push dword [0x4a215c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x45f29e
test eax, eax
je 0x45f29e
call ecx
test eax, eax
je 0x45f293
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 0x45f293
test byte [ebp - 8], 1
jne 0x45f29e
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x45f2ce
mov eax, dword [0x4a2150]
cmp eax, esi
je 0x45f2cb
push eax
call ebx
test eax, eax
je 0x45f2cb
call eax
mov edi, eax
test edi, edi
je 0x45f2cb
mov eax, dword [0x4a2154]
cmp eax, esi
je 0x45f2cb
push eax
call ebx
test eax, eax
je 0x45f2cb
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4a214c]
call ebx
test eax, eax
je 0x45f2e6
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x45f2e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a9a4
leave
ret
Function at 0x461a63
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00453e87
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x461a9b
xor eax, eax
jmp 0x461ac7
cmp esi, dword [ebp - 4]
je 0x461ac4
cmp dword [ebp + 0xc], 0
je 0x461ac4
push dword [edi + 0x9c]
call fcn.00461671
push dword [edi + 0x9c]
mov esi, eax
call fcn.00451dfa
pop ecx
pop ecx
cmp esi, eax
je 0x461a97
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x406b11
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x406b50
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x406b50
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406b50
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x406b50
cmp dword [ecx + 0x74], 0xe
jbe 0x406b50
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x101d2230
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x101d240e
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdf000]
push edi
or ebp, 0xffffffff
jmp 0x101d225a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x101d2261
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d2250
mov eax, 1
add ebx, ebx
jne 0x101d2273
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x101d2284
jne 0x101d22a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d22a3
dec eax
add ebx, ebx
jne 0x101d2290
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x101d2268
add ebx, ebx
jne 0x101d229f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x101d22f5
xor ecx, ecx
sub eax, 3
jb 0x101d22bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101d232a
sar eax, 1
mov ebp, eax
jmp 0x101d22c6
add ebx, ebx
jne 0x101d22c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d2294
inc ecx
add ebx, ebx
jne 0x101d22d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d2294
add ebx, ebx
jne 0x101d22e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101d22d6
jne 0x101d22f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101d22d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101d2314
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x101d2306
jmp 0x101d2256
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101d2314
add edi, ecx
jmp 0x101d2256
pop esi
mov edi, esi
mov ecx, 0xda741
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x101d234f
cmp byte [edi], 0x34
jne 0x101d2334
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x101d2332
lea edi, [esi + 0x1c9000]
mov eax, dword [edi]
or eax, eax
je 0x101d23a0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1dc614]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1dc740]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x101d2355
mov ecx, edi
jns 0x101d2384
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 + 0x1dc744]
or eax, eax
je 0x101d239a
mov dword [ebx], eax
add ebx, 4
jmp 0x101d2372
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x101d23d1
cmp al, 0xef
ja 0x101d23c4
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x101d23a6
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x101d23b3
mov ebp, dword [esi + 0x1dc748]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
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 0x101d2405
sub esp, 0xffffff80
jmp 0x100a4795
Function at 0x4050f5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x443d70
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov edx, dword [ecx]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x40511b

Function at 0x40693c
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x406964

Function at 0x408810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
mov ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x30], ebx
push esi
push edi
test ebx, ebx
je 0x446545
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [esi]
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x28], ecx
cmp eax, dword [esi + 4]
jae 0x44e68f
mov edx, dword [ebp - 8]
cmp dword [ebp + 0x18], 0
jne 0x446567
push 1
push 0
push 0
push 0
push 0
xor edx, edx
lea ecx, [ebp + 0x18]
call fcn.00408810
add esp, 0x14
jmp 0x4089db
lea eax, [ebp + 0x18]
sub eax, dword [ebp - 8]
cdq
xor eax, edx
sub eax, edx
neg eax
jmp 0x4089db
Function at 0x40ec40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword fs:[0x2c]
mov dword [esp + 0x18], ecx
Function at 0x418ae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0x456831
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0x60]
pop esi
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
mov word [eax + 0x68], 0
pop ebp
ret 4

Function at 0x418b06
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [edi], cl
test byte [0x810003fa], dh
cli
inc dword [eax]
add byte [eax], al
dec esi
cli
add eax, dword [eax]
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0x18], 0
jne 0x456841
mov ecx, dword [0x4d191c]
cmp ecx, 0xffffffff
je 0x418b96
cmp dword [ebp + 8], 0
jne 0x45685b
mov eax, dword [0x4d1910]
xor edx, edx
push esi
push edi
mov edi, dword [ebp + 0x10]
inc edx
mov eax, dword [eax + ecx*4]
mov dword [ebp + 8], edx
mov esi, dword [eax]
mov eax, dword [esi]
mov dword [ebp - 8], eax
test edi, edi
jne 0x45687b
mov edi, edx
cmp dword [ebp + 0xc], 0xffffffff
je 0x418b74
lea ecx, [ebp + 0xc]
call fcn.00419bd8
cmp dword [esi + 0x4c], 0
jge 0x456951
mov eax, dword [ebp + 0xc]
push 1
push eax
mov dword [esi + 0x4c], eax
call fcn.00419700
mov eax, dword [ebp + 0x1c]
cmp eax, 0xffffffff
jne 0x418b9a
mov eax, dword [ebp + 0x20]
cmp eax, 0xffffffff
jne 0x418b9f
cmp byte [esi + 0x38], 0
jne 0x45695e
mov eax, edi
pop edi
pop esi
leave
ret 0x1c
xor eax, eax
jmp 0x418b92
mov dword [esi + 0x50], eax
jmp 0x418b7c
mov dword [esi + 0x54], eax
jmp 0x418b84
invalid
mov al, 0x18
dec ebp
add al, ch
push ebx
xor ebp, ecx
xchg edx, eax
mov ah, 0xc8
mov dword [0xfffbb11c], ecx
jmp 0x408b31
mov byte [ebx + 0x28c18308], cl
call 0xfd496b6d
mov ecx, dword [0xfffbb11c]
jmp 0x408b40
mov edi, dword [ebp + 8]
fisttp dword [edi]
test byte [ebp - 0x4ddf8], al
neg eax
sbb eax, eax
and edi, eax
jmp 0x14418b64

Function at 0x419f18
Capabilities:
Parse pe header

Disassembly:
cmp dword [0x89470000], eax
add eax, 0x89470000
jge 0x409f64
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ecx
cmp edi, 2
jb 0x419f62
push 0
pop eax
mov esi, eax
mov edx, eax
sub edi, 1
je 0x419f62
mov bl, byte [edx + ecx]
mov cl, byte [edx + ecx + 1]
add edx, 2
test bl, bl
je 0x45789e
test cl, cl
je 0x4578b2
test eax, eax
jne 0x419f69
mov ecx, dword [ebp - 4]
cmp edx, edi
jb 0x419f35
test eax, eax
jne 0x419f6f
test esi, esi
jne 0x419f73
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
test esi, esi
jne 0x419f62
jmp 0x419f53
push 6
jmp 0x419f75
push 8
pop eax
jmp 0x419f64
cld
dec dword [ebx + 0x345ae8ce]
sti
pop es
mov ecx, dword [eax + 0x10]
jmp 0x4578b3
sti
inc dword [eax + 0x9740af9]
cmp cl, 0xd
jne 0x409f65
inc esi
jmp 0x409f65
Function at 0x43927b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004390fa

Function at 0x4696e2
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
jle 0x4696ef
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x4696e6
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4728fe
Capabilities:
Encode data using xor

Disassembly:
push edi
fcomp st(4)
or eax, 0x4c81b0
call fcn.0044208e
pop esi
cmp eax, 0x8d310100
jl 0x472919
mov eax, 0xff50ff
inc ebp
cld
push eax