joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f920
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
je 0x40fa28
cmp eax, ebx
je 0x40fa28
cmp word [eax], bx
je 0x40fa28
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x40f952
mov dword [ecx], ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f978
call fcn.0040a3ee
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [esp + 0x18]
push eax
push 4
push edi
push esi
mov dword [edi], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40f9a9
call fcn.0040a3ee
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi], 0x4d
jne 0x40fa18
cmp byte [edi + 1], 0x5a
jne 0x40fa18
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], ebx
call fcn.0040f730
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40f9db
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x10]
xor eax, eax
push eax
push eax
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x40f992
mov eax, dword [ebp + 8]
mov dword [edi], 0
test eax, eax
je 0x40f9ff
mov dword [eax], ebx
push 0
lea edx, [esp + 0x18]
push edx
push 4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40f992
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40fd00
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x40fd0f
mov dword [esi], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [eax + 8]
push edx
push ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40fd43
call fcn.0040a3ee
pop esi
ret 0x10
test esi, esi
je 0x40fd4d
mov edx, dword [esp + 0x14]
mov dword [esi], edx
xor eax, eax
pop esi
ret 0x10

Function at 0x40fdc0
Capabilities:
Get file size

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x40fdd8
mov eax, 0x80070057
pop esi
add esp, 8
ret 8
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
lea eax, [esp + 4]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x40fdfb
call fcn.0040a3ee
pop esi
add esp, 8
ret 8
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esi], eax
mov dword [esi + 4], ecx
xor eax, eax
pop esi
add esp, 8
ret 8
Function at 0x41f540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44fe01
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push edi
mov eax, dword [0x4650e0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov dword [edi + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov eax, dword [esp + 0x24]
mov byte [esp + 0x18], 2
mov dword [edi + 0xc], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x10], ebx
cmp dword [edi + 0x30], esi
je 0x41f5b2
cmp esi, ebx
je 0x41f5a0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [edi + 0x30]
cmp eax, ebx
je 0x41f5af
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x30], esi
cmp dword [edi + 0x2c], ebp
je 0x41f5d6
cmp ebp, ebx
je 0x41f5c4
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push ebp
call ecx
mov eax, dword [edi + 0x2c]
cmp eax, ebx
je 0x41f5d3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [edi + 0x2c], ebp
mov eax, dword [edi + 0x14]
sub eax, 1
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x24], ecx
mov dword [edi + 0x28], ebx
mov byte [edi + 8], bl
je 0x41f605
sub eax, 1
mov eax, edi
jne 0x41f60c
call fcn.0041f870
jmp 0x41f60a
call fcn.0041f7d0
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x41f630
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x44fc51
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4650e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, 2
mov dword [esp + 0x14], eax
cmp dword [esi + 0x14], eax
jne 0x41f6a9
cmp dword [esi + 0x10], 1
jne 0x41f6a9
mov edi, dword [esi]
cmp byte [edi], 0
jne 0x41f6a9
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 4]
push eax
push ecx
mov byte [edi + 0x18], 0
call fcn.0042d865
mov dword [edi + 4], eax
mov dword [esi + 0xc], eax
call fcn.00434027
mov edx, dword [esi + 0x18]
add eax, 0x20
push eax
mov eax, dword [esi + 0xc]
push edx
push 1
push eax
call fcn.0042e64e
add esp, 0x18
cmp dword [esi + 0x14], 0
jne 0x41f6d2
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x41f715
mov edx, dword [esi + 0x34]
test edx, edx
je 0x41f715
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x41f715
mov edi, dword [eax]
push 0
push ecx
mov ecx, dword [edi + 0xc]
push edx
push eax
call ecx
jmp 0x41f715
cmp dword [esi + 0x10], 0
jne 0x41f6f4
cmp byte [esi + 8], 0
je 0x41f6ea
mov edx, dword [esi + 0xc]
push edx
call fcn.0042d575
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x41f715
push eax
jmp 0x41f70d
mov edi, dword [esi]
test edi, edi
je 0x41f715
cmp byte [edi + 0x18], 0
je 0x41f70c
mov eax, dword [edi + 4]
push eax
call fcn.0042d575
add esp, 4
push edi
call fcn.0042cabc
add esp, 4
mov eax, dword [esi + 0x34]
test eax, eax
je 0x41f72c
push eax
call fcn.0042d85a
add esp, 4
mov dword [esi + 0x34], 0
mov byte [esp + 0x14], 0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x41f740
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x41f757
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x42c642
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x467440], 0
push esi
jne 0x42c5b5
call fcn.0042c4db
test eax, eax
je 0x42c5f8
mov eax, dword [0x467440]
cmp eax, 1
jne 0x42c5d6
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x42c5f8
pop esi
ret
push eax
call dword [0x467448]
test eax, eax
jne 0x42c640
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x42c5fc
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x467440]
call dword [0x467448]
mov edi, eax
test edi, edi
je 0x42c621
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x42c63d
mov edi, esi
add esi, 0xff0
push edi
push dword [0x467440]
call dword [0x467444]
add edi, 0x10
cmp edi, esi
jb 0x42c629
mov eax, edi
pop edi
pop esi
ret
jmp 0x42c5a2

Function at 0x42cac7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4650e0]
jne 0x42cad1
repz ret
jmp fcn.00430b2c

Function at 0x43cd8b
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.00430e72
and dword [ebp - 4], 0
cmp dword [0x46815c], 0
mov ebx, eax
jne 0x43ce3c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43ceed
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43ceed
push eax
call fcn.00430e00
mov dword [esp], 0x454050
push edi
mov dword [0x46815c], eax
call esi
push eax
call fcn.00430e00
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x468160], eax
call esi
push eax
call fcn.00430e00
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x468164], eax
call esi
push eax
call fcn.00430e00
pop ecx
mov dword [0x46816c], eax
test eax, eax
je 0x43ce3c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00430e00
pop ecx
mov dword [0x468168], eax
mov eax, dword [0x468168]
cmp eax, ebx
je 0x43ce94
cmp dword [0x46816c], ebx
je 0x43ce94
push eax
call fcn.00430e7b
push dword [0x46816c]
mov esi, eax
call fcn.00430e7b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43ce94
test edi, edi
je 0x43ce94
call esi
test eax, eax
je 0x43ce8b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43ce8b
test byte [ebp - 0xc], 1
jne 0x43ce94
or dword [ebp + 0x10], 0x200000
jmp 0x43cecd
mov eax, dword [0x468160]
cmp eax, ebx
je 0x43cecd
push eax
call fcn.00430e7b
pop ecx
test eax, eax
je 0x43cecd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43cecd
mov eax, dword [0x468164]
cmp eax, ebx
je 0x43cecd
push eax
call fcn.00430e7b
pop ecx
test eax, eax
je 0x43cecd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46815c]
call fcn.00430e7b
pop ecx
test eax, eax
je 0x43ceed
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43ceef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443677
Capabilities:
Read file via mapping

Disassembly:
push edi
push str.KZ_Config_Integration_
push 0x10000
xor edi, edi
push edi
push 0x8000004
push edi
push 0xffffffffffffffff
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi], eax
cmp eax, edi
je 0x4436ae
push edi
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
mov eax, esi
pop edi
ret

Function at 0x4436b2
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x248
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp + 0x1c4], eax
mov eax, dword [ebp + 0x1d0]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push ebx
mov dword [ecx], edx
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0
push 0
lea ebx, [ebp - 0x44]
call fcn.0044d491
pop ebx
test eax, eax
jne 0x443770
push 0x45a5f0
lea eax, [ebp - 0x44]
push 0x104
push eax
call fcn.0042f1df
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x443770
push 0x38
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0042f410
and dword [ebp - 0x64], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x70], eax
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x6c], str._KZsetup_integration
mov dword [ebp - 0x7c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x443770
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x443772
xor eax, eax
mov ecx, dword [ebp + 0x1c4]
xor ecx, ebp
call fcn.0042cac7
add ebp, 0x1c8
leave
ret 4

Function at 0x443894
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 0x11
pop esi
call fcn.00444750
xor edi, edi
push edi
lea ecx, [ebp - 4]
push ecx
push edi
push 0xf003f
push edi
push edi
push edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x443951
mov esi, dword [0x46a7f0]
mov dword [ebp - 8], edi
cmp esi, dword [0x46a7f4]
jbe 0x4438de
call fcn.0042cf00
mov eax, dword [0x46a7e4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
mov esi, dword [0x46a7f4]
cmp dword [0x46a7f0], esi
jbe 0x4438fc
call fcn.0042cf00
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x44390b
cmp eax, dword [0x46a7e4]
je 0x443910
call fcn.0042cf00
cmp dword [ebp - 0xc], esi
je 0x443948
lea esi, [ebp - 0x10]
call fcn.00405ab1
cmp dword [eax + 0x18], 8
jb 0x443928
mov eax, dword [eax + 4]
jmp 0x44392b
add eax, 4
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea esi, [ebp - 0x10]
call fcn.00405bd0
jmp 0x4438e9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret
Function at 0x444451
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
mov edi, str.LANGUAGES
cmp dword [esp + 0x14], ebx
jne 0x444481
movzx eax, word [0x46a620]
push edi
push eax
push ebp
call esi
test eax, eax
jne 0x4444a2
movzx eax, word [esp + 0x14]
push edi
push eax
push ebp
call esi
test eax, eax
jne 0x4444a2
movzx eax, word [0x46a620]
push edi
push eax
push ebp
call esi
xor eax, eax
jmp 0x444578
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4444b7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push 0x1a
pop ecx
mov eax, 0x46a32c
push 0xf
mov edi, eax
push str.VspLanguagePack
mov esi, ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0042efeb
add esp, 0xc
test eax, eax
jne 0x44449b
mov eax, dword [0x46a390]
mov dword [0x46a39c], eax
add ebx, 0x68
call fcn.00444378
xor edi, edi
cmp dword [0x46a390], edi
jbe 0x444570
mov eax, dword [ebx]
mov ecx, dword [0x46a394]
mov esi, edi
shl esi, 3
mov dword [esi + ecx], eax
mov eax, dword [ebx + 4]
mov ecx, dword [0x46a394]
mov dword [esi + ecx + 4], eax
mov eax, dword [0x46a394]
mov eax, dword [esi + eax]
add ebx, 8
inc eax
push eax
call fcn.0042d652
mov ecx, dword [0x46a394]
mov dword [esi + ecx + 4], eax
mov eax, dword [0x46a394]
add eax, esi
mov ecx, dword [eax]
inc ecx
push ecx
push 0
push dword [eax + 4]
call fcn.0042f410
mov eax, dword [0x46a394]
add eax, esi
push dword [eax]
push ebx
push dword [eax + 4]
call fcn.004305e0
mov eax, dword [0x46a394]
add ebx, dword [esi + eax]
add esp, 0x1c
mov edx, edi
call fcn.004443ff
inc edi
cmp edi, dword [0x46a390]
jb 0x4444f5
xor eax, eax
inc eax
mov byte [0x46a328], al
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x44457f
Capabilities:
Read file on windows

Disassembly:
push ebx
push 0x45b044
push dword [esp + 0xc]
call fcn.0042e3c6
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x444666
cmp byte [0x46a328], 0
je 0x4445a8
call fcn.004442c6
push esi
push ebx
push 1
push 0x68
mov esi, 0x46a32c
push esi
call fcn.0042efce
push 0xf
push 0x45b04c
push esi
call fcn.0042efeb
add esp, 0x1c
test eax, eax
je 0x4445d4
xor eax, eax
jmp 0x444665
mov eax, dword [0x46a390]
push edi
mov dword [0x46a39c], eax
call fcn.00444378
xor edi, edi
cmp dword [0x46a390], edi
jbe 0x44465a
mov eax, dword [0x46a394]
push ebx
mov esi, edi
push 1
shl esi, 3
add eax, esi
push 8
push eax
call fcn.0042efce
mov eax, dword [0x46a394]
mov eax, dword [esi + eax]
inc eax
push eax
call fcn.0042d652
mov ecx, dword [0x46a394]
mov dword [esi + ecx + 4], eax
mov eax, dword [0x46a394]
add eax, esi
mov ecx, dword [eax]
inc ecx
push ecx
push 0
push dword [eax + 4]
call fcn.0042f410
mov eax, dword [0x46a394]
push ebx
add eax, esi
push 1
push dword [eax]
push dword [eax + 4]
call fcn.0042efce
add esp, 0x30
mov edx, edi
call fcn.004443ff
inc edi
cmp edi, dword [0x46a390]
jb 0x4445ee
push ebx
call fcn.0042e8da
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret 4
Function at 0x444fbf
Capabilities:
Check http status code
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
push str.VsyDownload_1.0
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x10], edi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, edi
je 0x44500e
push edi
push 0x84000002
push edi
push edi
push dword [ebp + 8]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, edi
jne 0x445015
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push ebx
call esi
test eax, eax
jne 0x445036
mov dword [ebp - 0xc], edi
cmp dword [ebp - 0xc], 0xc8
je 0x445044
push dword [ebp - 0x1c]
jmp 0x445008
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push ebx
call esi
test eax, eax
jne 0x44505f
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.0042c877
mov ebx, eax
mov eax, dword [ebp - 4]
inc eax
push eax
push edi
push ebx
call fcn.0042f410
mov eax, dword [ebp + 0xc]
add esp, 0x10
cmp eax, edi
je 0x445083
mov dword [eax], ebx
xor esi, esi
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
sub eax, esi
mov ecx, 0x400
cmp eax, ecx
jb 0x44509f
mov eax, ecx
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [esi + ebx]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetReadFile]
add esi, dword [ebp - 8]
cmp dword [ebp - 8], edi
ja 0x445085
push dword [ebp - 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
cmp dword [ebp + 0xc], edi
jne 0x4450d5
push ebx
call fcn.0042d85a
pop ecx
xor eax, eax
inc eax
jmp 0x445010
Function at 0x44563f
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x1c
mov eax, 0x44f913
call fcn.0042fb3d
xor ebx, ebx
cmp edi, ebx
je 0x445728
cmp dword [edi + 0x4c], ebx
jne 0x445728
cmp dword [edi + 0x14], ebx
je 0x445728
xor eax, eax
push 0x208
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.0042f410
add esp, 0xc
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [edi + 0x30], ebx
je 0x4456bb
cmp dword [edi + 0x34], 8
jb 0x4456b6
mov eax, dword [edi + 0x20]
jmp 0x4456d0
lea eax, [edi + 0x20]
jmp 0x4456d0
cmp dword [edi + 0x18], 8
jb 0x4456c6
mov eax, dword [edi + 4]
jmp 0x4456c9
lea eax, [edi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp]
push eax
lea esi, [ebp - 0x28]
call fcn.0040217f
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x38]
mov dword [ebp - 4], ebx
call fcn.00402658
push ebx
push 1
call fcn.0040273f
mov esi, dword [0x46a728]
inc dword [0x46a728]
push ebx
push ebx
push edi
push 0x445530
push 0xa
push ebx
lea esi, [esi*4 + 0x46a628]
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
xor eax, eax
inc eax
jmp 0x44572a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.0042cac7
add ebp, 0x210
leave
ret

Function at 0x44574d
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 4
mov eax, 0x44f943
call fcn.0042fb3d
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, eax
call esi
mov edi, 0x1388
jmp 0x44577f
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x46a2a3], 0
jne 0x445785
call esi
sub eax, ebx
cmp eax, edi
jb 0x44576c
mov al, byte [ebp + 8]
mov byte [0x46a744], al
mov al, byte [ebp + 0xc]
mov byte [0x46a745], al
push 0x45b718
lea eax, [ebp - 0x10]
push eax
call fcn.00401015
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x46a73c]
sub eax, dword [0x46a738]
sar eax, 2
test eax, eax
jbe 0x44586b
mov esi, 0x46a72c
mov edi, ebx
call fcn.00405a98
mov eax, dword [eax]
cmp dword [eax + 0xb0], 0
je 0x445854
cmp byte [0x46a745], 0
je 0x4457ee
call fcn.00405a98
mov eax, dword [eax]
test byte [eax + 0xb4], 2
je 0x445854
cmp byte [0x46a744], 0
je 0x445809
mov edi, ebx
call fcn.00405a98
mov eax, dword [eax]
test byte [eax + 0xb4], 1
je 0x445854
mov edi, ebx
call fcn.00405a98
mov ecx, dword [eax]
test ecx, ecx
je 0x44581f
call fcn.004453e5
test eax, eax
jne 0x445854
mov edi, ebx
call fcn.00405a98
mov edi, dword [eax]
call fcn.0044563f
mov edi, ebx
call fcn.00405a98
mov eax, dword [eax]
push dword [eax + 0x8c]
lea eax, [ebp - 0x10]
push 0x45b71c
call fcn.004061c2
push dword [ebp - 0x10]
call fcn.00444a2b
add esp, 0xc
mov eax, dword [0x46a73c]
sub eax, dword [0x46a738]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x4457c3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004015fa
xor eax, eax
call fcn.0042fc15
ret 8
Function at 0x44631b
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x44fbd0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4650e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push 0x104
xor ebx, ebx
push ebx
mov ebp, 0x46a628
push ebp
call fcn.0042f410
push 4
call fcn.0042cb6e
add esp, 0x10
cmp eax, ebx
je 0x446369
mov dword [eax], 0x46a72c
jmp 0x44636b
xor eax, eax
mov dword [0x46a72c], eax
mov dword [0x46a738], ebx
mov dword [0x46a73c], ebx
mov dword [0x46a740], ebx
mov byte [0x46a744], bl
mov byte [0x46a745], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x45b5bc
call fcn.00444806
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x4463b6
mov eax, 0x45b5c4
mov ecx, eax
cmp ecx, 0x45b5e0
je 0x4463b6
mov esi, eax
push 0x80
push ebx
mov edi, 0x46a746
push edi
call fcn.0042f410
add esp, 0xc
cmp esi, ebx
je 0x4463dd
push edi
push str._id_s
push esi
call fcn.0042e261
add esp, 0xc
mov esi, dword [0x46a728]
inc dword [0x46a728]
push ebx
push ebx
push 0x46a2a4
push 0x446274
push 0xa
push ebx
lea esi, [esi*4 + 0x46a628]
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
mov eax, ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x44641d
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x144
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0xcc]
rep stosd dword es:[edi], eax
push 0x11c
xor edi, edi
lea eax, [ebp - 0xa8]
push edi
push eax
call fcn.0042f410
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44650e
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x44649c
lea ecx, [ebp - 0xcc]
push ecx
call eax
jmp 0x4464a9
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
cmp dword [ebp - 0x98], 2
jne 0x44650e
cmp dword [ebp - 0xa4], 4
jbe 0x44650e
cmp dword [ebp - 0xa4], 6
jne 0x4464df
cmp dword [ebp - 0xa0], edi
jne 0x4464d2
push 4
jmp 0x446500
cmp dword [ebp - 0xa0], 1
jne 0x44650e
push 5
jmp 0x446500
cmp dword [ebp - 0xa4], 5
jne 0x44650e
cmp dword [ebp - 0xa0], 2
jne 0x4464f5
push 3
jmp 0x446500
cmp dword [ebp - 0xa0], 1
jne 0x446503
push 2
pop eax
jmp 0x44650e
cmp dword [ebp - 0xa0], edi
jne 0x44650e
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop edi
call fcn.0042cac7
add ebp, 0x78
leave
ret