joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ec40
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x45a074]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x41ec53
xor ecx, ecx
jne 0x41ec57
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
ja 0x41ec94
jb 0x41ec89
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x1c]
jae 0x41ec94
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jne 0x41ecc7
call fcn.0041ee20
jmp 0x41ed5a
cmp dword [ebp + 0xc], 0
jne 0x41ecdb
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], ecx
jmp 0x41ece4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x14], eax
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x41ed58
call fcn.0041ee20
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x14]
jmp 0x41ed5a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421c00
mov esp, ebp
pop ebp
ret 0x18
Function at 0x41f5f0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41f653
push 0x10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41f649
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x41f660
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41f6c3
push 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41f6b9
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x41f6d0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4582b0
push 0x4235a0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffcc
mov eax, dword [0x45a074]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041f3f0
add esp, 4
test eax, eax
jne 0x41f71d
mov eax, 1
jmp 0x41f7b4
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x41f753
jmp 0x41f78e
push 0x10020
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x41f771
jmp 0x41f78e
lea eax, [ebp - 0x38]
push eax
push 1
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0041f79c
jmp 0x41f7b1
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00421c00
mov esp, ebp
pop ebp
ret
Function at 0x41f810
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x45a074]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
je 0x41f82f
cmp dword [ebp + 0x1c], 1
jne 0x41f842
cmp dword [ebp + 0x14], 0
jne 0x41f842
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], 0
je 0x41f8bc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.Drivers
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41f89d
xor eax, eax
jmp 0x41f9e5
mov edx, dword [ebp + 0x14]
push edx
push str.System32Drivers
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea ecx, [ebp - 0x310]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x2c]
push edx
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041fa80
add esp, 0x20
test eax, eax
jne 0x41f8ef
xor eax, eax
jmp 0x41f9e5
cmp dword [ebp + 0x30], 0
je 0x41f9e0
mov ecx, dword [ebp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41f9e0
mov edx, dword [ebp + 8]
push edx
push str.SYSTEMControlSet001Services
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
push str.Instances
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0
push 0x456124
push str.DefaultInstance
lea edx, [ebp - 0x108]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041fdc0
add esp, 0x14
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
je 0x41f966
xor eax, eax
jmp 0x41f9e5
push str.AltitudeAndFlags
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0
mov ecx, dword [ebp + 0x30]
push ecx
push str.Altitude
lea edx, [ebp - 0x108]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041fdc0
add esp, 0x14
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
je 0x41f9aa
xor eax, eax
jmp 0x41f9e5
push 0
push 4
lea eax, [ebp + 0x34]
push eax
push 4
push str.Flags
lea ecx, [ebp - 0x108]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041fcc0
add esp, 0x1c
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
je 0x41f9e0
xor eax, eax
jmp 0x41f9e5
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421c00
mov esp, ebp
pop ebp
ret
Function at 0x41fb70
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
push 0x10
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41fbd0
push 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41fbc6
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x41fcc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x45a074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x20], 0
je 0x41fd0f
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 0x20]
movsx ecx, byte [eax + edx]
test ecx, ecx
je 0x41fd0f
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41fd0f
jmp 0x41fd8f
cmp dword [ebp + 0xc], 0
je 0x41fd60
mov dword [ebp - 0xc], 0
push 0
lea edx, [ebp - 0xc]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41fd48
jmp 0x41fd8f
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 8]
je 0x41fd5a
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41fd87
jmp 0x41fd8f
xor ecx, ecx
jne 0x41fcd6
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 8]
je 0x41fda1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421c00
mov esp, ebp
pop ebp
ret

Function at 0x4326e1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00432557
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10001160
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013e97
mov eax, dword fs:[0]
push eax
mov eax, 0x2250
call fcn.10013bf0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x221c], edi
mov dword [ebp - 0x225c], edi
mov dword [ebp - 0x221c], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x210]
cmp dword [edx + 0x14], 7
xorps xmm0, xmm0
mov dword [ebp - 0x2248], eax
lea eax, [ebp - 0x2210]
mov dword [ebp - 0x222c], eax
mov eax, edx
mov dword [ebp - 0x221c], 1
movlpd qword [ebp - 0x2254], xmm0
mov dword [ebp - 0x224c], 0
movlpd qword [ebp - 0x2240], xmm0
movlpd qword [ebp - 0x2238], xmm0
mov dword [ebp - 0x2230], 0
movlpd qword [ebp - 0x2224], xmm0
mov dword [ebp - 0x2258], 0x3c
mov dword [ebp - 0x2244], 0x100
mov dword [ebp - 0x2228], 0x800
jbe 0x10001246
mov eax, dword [edx]
lea ecx, [ebp - 0x2258]
push ecx
push 0
push dword [edx + 0x10]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x1000136b
push 0
push 0
push 0
push 0
push str.Downloader
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
test ebx, ebx
je 0x1000136b
push 0
push dword [ebp - 0x2240]
push dword [ebp - 0x2248]
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ecx, eax
mov dword [ebp - 0x2218], ecx
test ecx, ecx
jne 0x100012ab
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x1000136b
xor eax, eax
mov edx, 0x800000
cmp dword [ebp - 0x224c], 2
cmove eax, edx
push eax
push 0
push 0
push 0
push dword [ebp - 0x222c]
push 0x10019910
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
test esi, esi
jne 0x100012e6
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x10001360
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x10001357
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x10001357
mov dword [ebp - 0x2214], 0
lea eax, [ebp - 0x2214]
push eax
push 0x1000
lea eax, [ebp - 0x1210]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1000134e
mov eax, dword [ebp - 0x2214]
test eax, eax
je 0x10001357
push eax
lea eax, [ebp - 0x1210]
mov ecx, edi
push eax
push dword [edi + 4]
call fcn.100016e0
cmp dword [ebp - 0x2214], 0
ja 0x10001314
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x2218]
call esi
push ebx
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10002417
mov esp, ebp
pop ebp
ret
Function at 0x10001ef0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.10001c10
test eax, eax
je 0x10001f5a
mov ecx, dword [esi + 0x20]
call fcn.10001a70
test eax, eax
je 0x10001f5a
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x20]
mov edi, dword [eax + 0x34]
cmp ecx, edi
jne 0x10001f39
push str.___Relocation_not_required_n
push 2
call fcn.10005915
add esp, 4
push eax
call fcn.10001930
add esp, 8
jmp 0x10001f6f
cmp dword [eax + 0xa4], 0
jne 0x10001f62
push str.___PE_required_relocation_but_no_relocatiom_information_found_n
push 2
call fcn.10005915
add esp, 4
push eax
call fcn.10001930
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, ecx
sub edx, edi
call fcn.10001950
test eax, eax
je 0x10001f5a
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 8]
push 0x40
push dword [eax + 0x50]
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001faf
push str.___Failed_to_change_mapping_protection_n
push 2
call fcn.10005915
add esp, 4
push eax
call fcn.10001930
xor ecx, ecx
xor eax, eax
add esp, 8
test ecx, ecx
setne al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.___Fixing_Image_Base_address_in_PEB_n
push 2
call fcn.10005915
add esp, 4
push eax
call fcn.10001930
mov ecx, dword fs:[0x30]
add esp, 8
mov eax, dword [esi + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x28]
add eax, dword [esi + 0x20]
push eax
push str.___Executing_Entry_Point:_0x_08x_n
push 2
mov dword [ebp - 4], eax
call fcn.10005915
add esp, 4
push eax
call fcn.10001930
add esp, 0xc
mov eax, dword [ebp - 4]
call eax
int3
Function at 0x10007aa1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10007ae0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10007ae0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10007ae0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10007ae0
cmp dword [ecx + 0x74], 0xe
jbe 0x10007ae0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10008fab
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10015af8
push 0x10015af0
push str.FlsAlloc
push 0x1f
call fcn.10008ec7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10008fdf
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001414c]
call esi
jmp 0x10008fe5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10009029
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10015b08
push 0x10015b00
push str.FlsGetValue
push 0x21
call fcn.10008ec7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10009060
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001414c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10009068
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10015b10
push 0x10015b08
push str.FlsSetValue
push 0x22
call fcn.10008ec7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100090a2
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001414c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000c0c9
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000c166
push ebx
push esi
call fcn.1000c092
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000c026
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000c113
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000c165
push edi
push eax
call fcn.1000975a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000c133
call fcn.10008d74
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000c164
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000c026
add esp, 0x20
test eax, eax
jne 0x1000c152
push edi
call fcn.10008d74
jmp 0x1000c15a
push ebx
call fcn.10008d74
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10013830
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001385d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001385d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40b15a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x40b168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x40b14a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x40b145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x40b145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40b890
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40ba5e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b8bb
mov eax, 0x7000000
jmp 0x40b8c3
test eax, eax
je 0x40ba39
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.00461500
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x5d71c0]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40ba51
cmp ecx, 0x21
jae 0x40ba45
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045b160
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.0045b230
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x5404d4]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x54053c]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40ba14
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x540584]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.004615e0
mov eax, ecx
mov ecx, 0x21
call fcn.00461690
nop
call fcn.00460140
jmp fcn.0040b890