joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4766c7
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x4d04c0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x4766f3
xor eax, eax
jmp 0x476772
push 0xfe
lea eax, [ebp - 0x103]
push 0
push eax
mov byte [ebp - 0x104], 0
call fcn.004805d0
add esp, 0xc
push 0xff
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x4766ef
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.00480700
movzx eax, byte [ebp - 0x298]
movzx ecx, byte [ebp - 0x297]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x296]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x295]
shl eax, 8
add esp, 0xc
add eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047a0fb
leave
ret

Function at 0x478120
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x49d674
call fcn.00481105
mov eax, dword [ebp + 8]
mov ebx, ecx
xor esi, esi
mov dword [ebx + 0x10], eax
mov dword [eax + 0x598], esi
cmp dword [ebx + 4], esi
jne 0x4781ac
lea eax, [ebp - 0xa8]
push eax
call fcn.00477e1f
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
push esi
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0xa8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
push 0x40000000
push 0
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00429caf
push eax
mov ecx, ebx
call fcn.0043174a
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.0046b967
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0042ae3c
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call esi
jmp 0x4781b2
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
call dword [eax + 0x28]
and dword [ebp - 4], 0
mov ecx, eax
call fcn.00428f98
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x95], al
call fcn.00428e6d
cmp byte [ebp - 0x95], 0
mov edi, 0x588
je 0x4781fb
mov eax, dword [ebx + 0x10]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [ebx + 0x10]
call fcn.00477f58
test al, al
je 0x47820e
push str.yyyy_MM_dd_HH:mm:ss
jmp 0x478213
push str.yyyy_MM_dd
push 0
push 0x1032
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
add eax, edi
push 0x10
push eax
lea eax, [ebx + 0x1a]
push eax
call fcn.00480700
mov eax, dword [ebx + 0x10]
add esp, 0xc
add eax, edi
push eax
push 0
push 0x1002
push dword [ebx + 4]
call esi
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
call fcn.00481188
ret 4

Function at 0x47a0fb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d04c0]
jne 0x47a105
repz ret
jmp fcn.004842ff
Function at 0x47d1dd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x47d204
call fcn.0047ce9a
mov dword [eax], esi
call fcn.0047ce87
push 0x16
pop esi
mov dword [eax], esi
call fcn.00485384
mov eax, esi
jmp 0x47d259
test dword [ebp + 0xc], 0xfffffff9
jne 0x47d1ea
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x47d231
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0047cead
pop ecx
call fcn.0047ce87
mov eax, dword [eax]
jmp 0x47d259
test al, 0x10
jne 0x47d257
test al, 1
je 0x47d257
test byte [ebp + 0xc], 2
je 0x47d257
call fcn.0047ce9a
mov dword [eax], 5
call fcn.0047ce87
mov dword [eax], 0xd
jmp 0x47d228
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4943c2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d04c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00484999
and dword [ebp - 0x14], 0
cmp dword [0x4d3cfc], 0
mov dword [ebp - 0x18], eax
jne 0x494475
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x49451d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b6c24
push ebx
call edi
test eax, eax
je 0x49451d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4b6c14
push ebx
mov dword [0x4d3cfc], eax
call edi
push eax
call esi
push 0x4b6c00
push ebx
mov dword [0x4d3d00], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4d3d04], eax
call edi
push eax
call esi
mov dword [0x4d3d0c], eax
test eax, eax
je 0x494475
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4d3d08], eax
mov eax, dword [0x4d3d08]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4944ce
cmp dword [0x4d3d0c], ecx
je 0x4944ce
push eax
call esi
push dword [0x4d3d0c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4944ce
test ebx, ebx
je 0x4944ce
call edi
test eax, eax
je 0x4944c5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4944c5
test byte [ebp - 8], 1
jne 0x4944ce
or dword [ebp + 0x10], 0x200000
jmp 0x494501
mov eax, dword [0x4d3d00]
cmp eax, dword [ebp - 0x18]
je 0x494501
push eax
call esi
test eax, eax
je 0x494501
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x494501
mov eax, dword [0x4d3d04]
cmp eax, dword [ebp - 0x18]
je 0x494501
push eax
call esi
test eax, eax
je 0x494501
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4d3cfc]
call esi
test eax, eax
je 0x49451d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x49451f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047a0fb
leave
ret
Function at 0x10005452
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x100054a4
mov dword [ebp - 0xc], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000549c
push 0x4f
push 0x404b9f4
push 6
call fcn.10005665
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x100054dd
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
push 0
push 1
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100054da
push 0x7d
push 0x404b9f4
push 6
call fcn.10005665
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100054f1
mov eax, 0
jmp 0x10005559
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10005522
push 0x113
push 0x404b9f4
push 6
call fcn.10005665
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10005551
push 0x137
push 0x404b9f4
push 6
call fcn.10005665
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x10005559
mov esp, ebp
pop ebp
ret 8

Function at 0x10006660
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call fcn.10007c9e
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x100066ca
push esi
lea edi, [eax + 0x400]
call fcn.10007c93
push edi
call fcn.10007c9e
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x1000669a
push esi
xor edi, edi
call dword [0x10013c18]
add esp, 4
test eax, eax
je 0x100066e6
push eax
push esi
call fcn.100076b0
add esp, 8
mov edi, eax
push esi
call fcn.10007c93
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x10905fb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, eax
push 0x119bea34
push edi
call fcn.1090947f
mov esi, eax
add esp, 8
test esi, esi
je 0x10906003
push ebx
push 2
push 0
push esi
call fcn.109098ea
push esi
call fcn.109097fb
push 0
push 0
push esi
mov ebx, eax
call fcn.109098ea
push esi
call fcn.109099d3
add esp, 0x20
cmp ebx, 0x7d000
pop ebx
jle 0x10906003
push edi
call fcn.10909a47
add esp, 4
push 0x119bea38
push edi
call fcn.1090947f
mov esi, eax
add esp, 8
test esi, esi
jne 0x1090601e
pop edi
lea eax, [esi + 1]
pop esi
pop ebp
ret
mov edx, dword [ebp + 8]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10906026
push esi
sub eax, edi
push eax
push 1
push edx
call fcn.109095ed
push esi
call fcn.109099d3
add esp, 0x14
pop edi
xor eax, eax
pop esi
pop ebp
ret

Function at 0x109078b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
mov edi, eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push edi
call dword [0x119bb034]
test eax, eax
jne 0x109078cf
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp - 0x1c]
push 0x104
push ecx
push esi
call dword [0x119bb0a8]
test eax, eax
jne 0x109078ed
pop esi
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x3c]
movzx edx, word [eax + esi + 0x14]
add eax, esi
lea ecx, [edx + eax + 0x18]
movzx eax, word [eax + 6]
push ebx
sub edi, esi
xor ebx, ebx
mov dword [ebp - 4], eax
test eax, eax
je 0x10907931
lea eax, [ecx + 0x10]
mov edi, edi
mov edx, dword [eax]
mov esi, dword [eax - 8]
mov ecx, dword [eax - 4]
cmp edx, esi
ja 0x1090791e
mov edx, esi
cmp edi, ecx
jb 0x10907928
add edx, ecx
cmp edi, edx
jbe 0x1090793a
inc ebx
add eax, 0x28
cmp ebx, dword [ebp - 4]
jb 0x10907910
pop ebx
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
inc ebx
mov dword [eax], ebx
sub edi, ecx
mov ecx, dword [ebp + 0x10]
pop ebx
pop esi
mov dword [ecx], edi
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40bad4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
lea ebx, [ebp - 0x74]
xor eax, eax
push ebp
push 0x40bbc6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x78]
mov eax, esi
call fcn.0040b258
push dword [ebp - 0x78]
push 0x40bbdc
push edi
lea eax, [ebp - 4]
mov edx, 3
call fcn.004032ac
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402738
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004033a0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x40bb5f
mov al, 0x5b
call fcn.0040b990
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x40bb76
push ebx
call sub.user32.dll_TranslateMessage
push ebx
call sub.user32.dll_DispatchMessageA
push 1
push 0
push 0
push 0
push ebx
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x40bb6a
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x40bb76
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bbcd
lea eax, [ebp - 0x78]
call fcn.00403120
lea eax, [ebp - 4]
call fcn.00403120
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x6c8871a5
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, str._aa
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x616557cc
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4048e0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x660
push ebx
push ebp
push esi
mov esi, dword [esp + 0x670]
xor ebp, ebp
cmp esi, ebp
je 0x404a65
push esi
call fcn.00410abb
add esp, 4
test eax, eax
je 0x404a65
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x404a65
test bl, 1
je 0x40492d
and ebx, 0xfffffffe
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test bl, 0x10
je 0x404a54
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46a]
mov word [esp + 0x468], bp
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x46c]
push eax
call fcn.00410b02
lea ecx, [esp + 0x470]
push 0x4838c4
push ecx
call fcn.00410ad8
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x10], ebp
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x468]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x404a42
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea ecx, [esp + 0x3c]
push 0x483910
push ecx
call ebp
test eax, eax
je 0x404a27
lea edx, [esp + 0x3c]
push 0x48390c
push edx
call ebp
test eax, eax
je 0x404a27
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x262]
mov word [esp + 0x260], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x260]
push esi
push eax
call fcn.00410b02
lea ecx, [esp + 0x268]
push 0x4837d4
push ecx
call fcn.00410ad8
lea edx, [esp + 0x4c]
lea eax, [esp + 0x270]
push edx
push eax
call fcn.00410ad8
lea ecx, [esp + 0x278]
push ecx
call fcn.004048e0
add esp, 0x1c
lea edx, [esp + 0x10]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4049a9
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x660
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
pop ebx
add esp, 0x660
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x660
ret
Function at 0x404a80
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x664
push ebx
push esi
mov esi, dword [esp + 0x670]
xor ebx, ebx
cmp esi, ebx
je 0x404c26
push esi
call fcn.00410abb
add esp, 4
test eax, eax
je 0x404c26
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x18]
push ebx
push eax
push esi
mov dword [esp + 0x24], ebx
call fcn.00402160
add esp, 0x1c
test eax, eax
je 0x404c26
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x404c26
test al, 1
je 0x404aec
and al, 0xfe
push eax
push esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 8]
test al, 0x10
je 0x404c16
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46a]
mov word [esp + 0x468], bx
push esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x46c]
push ecx
stosw word es:[edi], ax
call fcn.00410b02
lea edx, [esp + 0x470]
push 0x4838c4
push edx
call fcn.00410ad8
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x22c]
mov dword [esp + 0x228], ebx
add esp, 0x10
rep stosd dword es:[edi], eax
lea eax, [esp + 0x218]
lea ecx, [esp + 0x468]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x404c05
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea edx, [esp + 0x248]
push 0x483910
push edx
call ebp
test eax, eax
je 0x404be6
lea eax, [esp + 0x248]
push 0x48390c
push eax
call ebp
test eax, eax
je 0x404be6
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push esi
push ecx
stosw word es:[edi], ax
call fcn.00410b02
lea edx, [esp + 0x1c]
push 0x4837d4
push edx
call fcn.00410ad8
lea eax, [esp + 0x258]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00410ad8
lea edx, [esp + 0x2c]
push edx
call fcn.00404a80
add esp, 0x1c
lea eax, [esp + 0x21c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x404b71
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
add esp, 0x664
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebx
add esp, 0x664
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x664
ret
Function at 0x404da0
Capabilities:
Get graphical window text

Disassembly:
call fcn.00422710
test eax, eax
je 0x404dbf
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
ret
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebp, ebp
test edi, edi
je 0x404e40
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x404e40
lea ecx, [esi + esi]
xor eax, eax
mov edx, ecx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.0045795c
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x404e40
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebp, eax
test ebp, ebp
je 0x404e40
push esi
mov esi, dword [esp + 0x1c]
push esi
push 0xffffffffffffffff
push ebx
xor ebp, ebp
call fcn.00401610
add esp, 0x10
test eax, eax
je 0x404e40
push esi
call fcn.00410abb
add esp, 4
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret

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

Disassembly:
mov eax, dword [0x48c298]
sub esp, 0x114
test eax, eax
jne 0x42211d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push edi
push 0x48c030
mov dword [0x48c298], 1
mov dword [0x48c030], 0x114
call esi
mov edx, dword [0x48c040]
xor eax, eax
cmp edx, 2
sete al
test eax, eax
mov dword [0x4882d8], eax
je 0x4220f8
push ebx
push 0x48c148
mov dword [0x48c148], 0x11c
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x483630
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.GetNativeSystemInfo
push esi
call edi
push str.GetProductInfo
push esi
mov dword [0x48c28c], eax
call edi
mov dword [0x48c290], eax
mov eax, dword [0x48c28c]
test eax, eax
push 0x48c268
je 0x422074
call eax
jmp 0x42207a
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x48c14c]
cmp eax, 6
jae 0x422092
cmp eax, 5
jne 0x4220a6
cmp dword [0x48c150], 2
jb 0x4220a6
cmp word [0x48c268], 9
jne 0x4220a6
mov dword [0x48c024], 1
push str.Ntdll.dll
call ebx
test eax, eax
pop ebx
je 0x4220c4
push str.RtlGetVersion
push eax
call edi
mov edx, eax
mov dword [0x48c294], edx
jmp 0x4220ca
mov edx, dword [0x48c294]
test edx, edx
je 0x4220f8
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x114
push eax
call edx
test eax, eax
jne 0x4220f8
mov ecx, dword [esp + 0x14]
mov dword [0x48c03c], ecx
push 0x48c038
push 0x48c034
call fcn.004224c0
add esp, 8
call fcn.00422130
pop edi
mov eax, 1
pop esi
add esp, 0x114
ret
mov eax, 1
add esp, 0x114
ret
Function at 0x423370
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478818
push 0x4144ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [0x48c29c]
xor ebx, ebx
cmp eax, ebx
jne 0x4234d0
mov word [ebp - 0x220], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4234cb
mov word [ebp - 0x42c], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x42a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.user32.dll
lea ecx, [ebp - 0x220]
push ecx
push 0x4893c4
lea edx, [ebp - 0x42c]
push edx
call fcn.004111c9
add esp, 0x10
mov dword [ebp - 0x434], ebx
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x42c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x224], eax
push eax
call fcn.0045795c
add esp, 4
mov esi, eax
mov dword [ebp - 0x440], esi
cmp esi, ebx
je 0x4234cb
push esi
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x434]
push eax
lea ecx, [ebp - 0x42c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4234c2
mov dword [ebp - 0x438], ebx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x438]
push eax
push 0x489390
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4234c2
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x43c], eax
mov ecx, dword [eax]
mov dword [0x48c29c], ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x4234c2
push esi
call fcn.00457985
add esp, 4
mov eax, dword [0x48c29c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426c60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00411580
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x426d2b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x426d2b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x426cde
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x426ce9
or bh, 8
and edi, 0x8000000
je 0x426d04
mov eax, dword [0x48e35c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x426d2b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret