joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419a4b
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
cmp byte [ebp + 0xc], 0
push esi
je 0x419a8d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.00419938
cmp dword [eax + 0x18], 8
mov dword [ebp - 4], 1
jb 0x419a7a
mov eax, dword [eax + 4]
jmp 0x419a7d
add eax, 4
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
jmp 0x419a90
xor esi, esi
inc esi
test byte [ebp - 4], 1
je 0x419aa2
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.0040321f
test esi, esi
je 0x419ad5
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.00419938
cmp dword [eax + 0x18], 8
jb 0x419abd
mov eax, dword [eax + 4]
jmp 0x419ac0
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.0040321f
xor eax, eax
cmp esi, 1
sete al
pop esi
leave
ret

Function at 0x419ae0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x1c
lea eax, [ebp - 0x1c]
push eax
call fcn.00419938
cmp dword [eax + 0x18], 8
jb 0x419afd
mov eax, dword [eax + 4]
jmp 0x419b00
add eax, 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0
test eax, eax
push 1
lea ecx, [ebp - 0x1c]
setne bl
call fcn.0040321f
mov al, bl
pop ebx
leave
ret

Function at 0x41aa53
Capabilities:
Get common file path

Disassembly:
push 0x48
mov eax, 0x577fea
call fcn.0048905d
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00403766
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00403e7c
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
push ebx
call esi
cmp eax, ebx
je 0x41aad5
lea edi, [eax + 1]
push 0x5b0770
push edi
lea ecx, [ebp - 0x20]
call fcn.00406e3f
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004015e8
push eax
push edi
call esi
push ebx
lea ecx, [ebp - 0x20]
call fcn.004015e8
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push ebx
lea ecx, [ebp - 0x20]
call fcn.004015e8
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0040458d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.004a4f9a
mov edi, dword [ebp - 0x10]
cmp dword [edi + 0x14], ebx
jne 0x41ab05
push str.Unable_to_initialize_path_from_current_directory
lea ecx, [ebp - 0x2c]
call fcn.00404d33
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00404c55
push 0x5f01b8
lea eax, [ebp - 0x54]
push eax
call fcn.00488b8b
mov eax, edi
call fcn.00489135
ret
Function at 0x41b8ae
Capabilities:
Enumerate files on windows

Disassembly:
push 0x2b4
mov eax, 0x57822c
call fcn.004890c6
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x24c
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x294]
push ebx
push eax
mov byte [ebp - 0x299], bl
mov dword [ebp - 0x298], ebx
call fcn.00488910
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00419938
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], ebx
call fcn.0041a1a8
lea ecx, [ebp - 0x2c]
mov dword [esp], str..
call fcn.00404570
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41b91e
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x298]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x2a0], eax
je 0x41ba53
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov byte [ebp - 0x299], 1
test byte [ebp - 0x298], 0x10
je 0x41b993
lea eax, [ebp - 0x26c]
push eax
call esi
cmp eax, 2
jne 0x41b977
cmp word [ebp - 0x26c], 0x2e
je 0x41ba2c
cmp word [ebp - 0x26a], 0x2e
jmp 0x41b98d
lea eax, [ebp - 0x26c]
push eax
call esi
cmp eax, 1
jne 0x41b993
cmp word [ebp - 0x26c], 0x2e
je 0x41ba2c
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
call fcn.00419938
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 1
call fcn.0041a1a8
lea ecx, [ebp - 0x2c0]
mov dword [esp], 0x5b0788
call fcn.00404d55
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0040414a
push ebx
push 1
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 1
call fcn.0040321f
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00404570
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.0041ab0d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2a4]
push eax
mov byte [ebp - 4], 3
call fcn.0041b859
push ebx
push 1
lea ecx, [ebp - 0x2c0]
call fcn.0040321f
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0040321f
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x2a0]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41b948
push dword [ebp - 0x2a0]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040321f
mov al, byte [ebp - 0x299]
call fcn.00489149
ret
Function at 0x41bcfd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x30
mov eax, 0x578297
call fcn.0048905d
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov eax, ecx
sar eax, 4
xor ebx, ebx
inc eax
and ecx, 0xf
movzx eax, ax
mov dword [ebp + 0xc], ecx
mov ecx, dword [edi]
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
cmp eax, ebx
je 0x41bdcb
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x41bdcb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, ebx
je 0x41bdcb
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jbe 0x41bd68
dec eax
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x41bd5e
movzx eax, word [esi]
cmp ax, bx
jbe 0x41bdcb
movzx eax, ax
push eax
lea ecx, [ebp - 0x1c]
call fcn.00418d81
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
jne 0x41bd88
xor eax, eax
jmp 0x41bd90
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
sar eax, 1
push eax
add esi, 2
push esi
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004015e8
push eax
call fcn.00489ef8
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.0041bcae
push ebx
xor ebx, ebx
inc ebx
push ebx
lea ecx, [ebp - 0x38]
call fcn.0040321f
lea ecx, [ebp - 0x1c]
call fcn.004a4f9a
mov al, bl
call fcn.00489135
ret
Function at 0x41e140
Capabilities:
Check if file exists
Identify system language via api

Disassembly:
push ebp
sub esp, 0x5c
push 0x54
mov eax, 0x5787c5
call fcn.0048905d
and dword [ebp + 0x5c], 0
mov byte [ebp + 0x5b], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov edi, dword [ebp + 0x68]
cmp dword [edi + 0x18], 8
movzx eax, ax
mov dword [ebp + 0x54], eax
jb 0x41e172
mov eax, dword [edi + 4]
jmp 0x41e175
lea eax, [edi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e337
mov esi, 0x5b0db8
push esi
lea ecx, [ebp - 0x60]
call fcn.00404d55
push dword [ebp + 0x6c]
and dword [ebp - 4], 0
push dword [ebp + 0x54]
lea eax, [ebp - 0x60]
xor ebx, ebx
push eax
inc ebx
push edi
mov dword [ebp + 0x5c], ebx
call fcn.0041da96
add esp, 0x10
test al, al
jne 0x41e2b3
push esi
lea ecx, [ebp - 0x28]
call fcn.00404d55
push dword [ebp + 0x6c]
mov dword [ebp - 4], ebx
mov ebx, 0x409
push ebx
lea eax, [ebp - 0x28]
push eax
push edi
mov dword [ebp + 0x5c], 3
call fcn.0041da96
add esp, 0x10
test al, al
jne 0x41e2b0
push str.ProductName
lea ecx, [ebp + 0x1c]
call fcn.00404d55
push dword [ebp + 0x6c]
lea eax, [ebp + 0x1c]
push dword [ebp + 0x54]
mov dword [ebp - 4], 2
push eax
push edi
mov dword [ebp + 0x5c], 7
call fcn.0041da96
add esp, 0x10
test al, al
jne 0x41e2b0
push str.ProductName
lea ecx, [ebp - 0x44]
call fcn.00404d55
push dword [ebp + 0x6c]
lea eax, [ebp - 0x44]
push ebx
push eax
push edi
mov dword [ebp - 4], 3
mov dword [ebp + 0x5c], 0xf
call fcn.0041da96
add esp, 0x10
test al, al
jne 0x41e2b0
push esi
lea ecx, [ebp + 0x38]
call fcn.00404d55
push dword [ebp + 0x6c]
lea eax, [ebp + 0x38]
push dword [ebp + 0x54]
mov dword [ebp - 4], 4
push eax
push edi
mov dword [ebp + 0x5c], 0x1f
call fcn.0041da96
add esp, 0x10
test al, al
jne 0x41e2b0
push esi
lea ecx, [ebp]
call fcn.00404d55
push dword [ebp + 0x6c]
lea eax, [ebp]
push ebx
push eax
push edi
mov dword [ebp - 4], 5
mov dword [ebp + 0x5c], 0x3f
call fcn.0041da96
add esp, 0x10
test al, al
jne 0x41e2b0
xor ebx, ebx
mov byte [ebp + 0x6b], al
inc ebx
jmp 0x41e2b7
xor ebx, ebx
inc ebx
mov byte [ebp + 0x6b], 1
xor esi, esi
test byte [ebp + 0x5c], 0x20
je 0x41e2cd
and dword [ebp + 0x5c], 0xffffffdf
push esi
push ebx
lea ecx, [ebp]
call fcn.0040321f
test byte [ebp + 0x5c], 0x10
je 0x41e2e1
and dword [ebp + 0x5c], 0xffffffef
push esi
push ebx
lea ecx, [ebp + 0x38]
call fcn.0040321f
test byte [ebp + 0x5c], 8
je 0x41e2f5
and dword [ebp + 0x5c], 0xfffffff7
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.0040321f
test byte [ebp + 0x5c], 4
je 0x41e309
and dword [ebp + 0x5c], 0xfffffffb
push esi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.0040321f
test byte [ebp + 0x5c], 2
je 0x41e31d
and dword [ebp + 0x5c], 0xfffffffd
push esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040321f
test byte [ebp + 0x5c], 1
je 0x41e32d
push esi
push ebx
lea ecx, [ebp - 0x60]
call fcn.0040321f
cmp byte [ebp + 0x6b], 0
je 0x41e337
mov byte [ebp + 0x5b], 1
mov al, byte [ebp + 0x5b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x60
leave
ret
Function at 0x41ee85
Capabilities:
Enumerate process modules

Disassembly:
push 0x874
mov eax, 0x5788a2
call fcn.004890c6
mov esi, dword [ebp + 0xc]
mov ecx, esi
mov byte [ebp - 0x439], 0
call fcn.0041e768
push dword [ebp + 8]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x41ef3b
push 0x424
lea eax, [ebp - 0x434]
push 0
push eax
call fcn.00488910
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
push edi
mov dword [ebp - 0x438], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x41ef34
mov byte [ebp - 0x439], 1
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x880]
call fcn.0041df04
and dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.0041ed08
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x458]
call fcn.0040321f
lea eax, [ebp - 0x438]
push eax
push edi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x41eef2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x439]
call fcn.00489149
ret

Function at 0x41f8db
Capabilities:
Enumerate threads

Disassembly:
push 0x48
mov eax, 0x57899d
call fcn.0048905d
push 0
push 4
xor bl, bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x41f95c
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
push esi
mov dword [ebp - 0x28], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x41f955
inc bl
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 8]
jne 0x41f947
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.0041ee51
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
push eax
call fcn.0041f7a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00438e60
lea eax, [ebp - 0x28]
push eax
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x41f91a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
call fcn.00489135
ret
Function at 0x423099
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x61f060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004190eb
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
jae 0x4230c4
lea eax, [ebp - 0x1c]
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
dec ebx
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0x20]
inc bl
call fcn.0040321f
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00488a42
leave
ret

Function at 0x4230f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x61f060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004190eb
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
jae 0x42311b
lea eax, [ebp - 0x1c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x423130
test al, 0x10
jbe 0x423130
mov bl, 1
jmp 0x423132
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.0040321f
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00488a42
leave
ret

Function at 0x42314d
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x577f02
call fcn.004890c6
mov esi, dword [ebp + 8]
push 4
pop ebx
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004190eb
and dword [ebp - 4], 0
push esi
call fcn.00423099
add esp, 0xc
test al, al
jne 0x423197
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x423186
lea eax, [ebp - 0x28]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x423197
xor ebx, ebx
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040321f
mov eax, ebx
call fcn.00489149
ret

Function at 0x4231ab
Capabilities:
Copy file

Disassembly:
push 0x3c
mov eax, 0x579317
call fcn.004890c6
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004190eb
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004190eb
mov ecx, dword [ebp - 0x28]
add esp, 0x10
cmp dword [ebp - 0x14], 8
jae 0x4231e4
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x4231f0
lea eax, [ebp - 0x44]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
test eax, eax
push 1
lea ecx, [ebp - 0x2c]
setne bl
call fcn.0040321f
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.0040321f
mov al, bl
call fcn.00489149
ret
Function at 0x4232a2
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x61f060]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x24
mov eax, 0x57934c
call fcn.0048905d
mov esi, dword [ebp + 0x230]
xor ebx, ebx
push ebx
lea ecx, [ebp]
mov byte [ebp - 0xd], bl
mov dword [ebp + 0x18], 7
call fcn.00401848
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push 0x2b
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
cmp eax, ebx
lea eax, [ebp + 0x1c]
push eax
jl 0x423326
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x42331b
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.0040458d
mov byte [ebp - 0xd], 1
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x423345
push ebx
push ebx
push 0x2b
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x423345
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.0040458d
mov byte [ebp - 0xd], 1
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x4233a2
dec eax
push eax
lea ecx, [ebp]
call fcn.00401b57
cmp word [eax], 0x5c
jne 0x42336a
mov eax, dword [ebp + 0x14]
push ebx
dec eax
push eax
lea ecx, [ebp]
call fcn.00410ff0
lea eax, [ebp]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00418dde
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00404046
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.004031b4
push str.Adobe
mov ecx, esi
call fcn.00404510
push ebx
push 1
lea ecx, [ebp]
call fcn.0040321f
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.00488a42
add ebp, 0x228
leave
ret

Function at 0x4266b2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0xf0], 0
je 0x4266da
push 0
push 0xd
push 0x100
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
call dword [sym.imp.WSOCK32.dll_WSACleanup]
call fcn.0041bafc
mov ecx, esi
call fcn.0046a0ac
mov eax, dword [esi + 0xf4]
pop esi
ret
Function at 0x427b15
Capabilities:
Check if file exists
Delete file

Disassembly:
push 4
mov eax, 0x5799f7
call fcn.0048905d
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CAhmbedAlertDlg.1.0
mov dword [esi + 0x74], vtable.CAhmbedAlertDlg.0
lea edi, [esi + 0x178]
cmp dword [edi + 0x18], 8
mov dword [ebp - 4], 6
jb 0x427b4b
mov eax, dword [edi + 4]
jmp 0x427b4e
lea eax, [edi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427b6e
cmp dword [edi + 0x18], 8
jb 0x427b64
mov eax, dword [edi + 4]
jmp 0x427b67
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
push ebx
mov ecx, esi
mov dword [esi + 0x118], ebx
call fcn.0046e36d
push ebx
push 1
mov ecx, edi
call fcn.0040321f
push ebx
push 1
lea ecx, [esi + 0x158]
call fcn.004031b4
lea ecx, [esi + 0x148]
call fcn.0042362d
mov ecx, dword [esi + 0x140]
cmp ecx, ebx
mov byte [ebp - 4], 2
je 0x427bb4
call fcn.0040f9a3
mov ecx, dword [esi + 0x138]
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x427bc7
call fcn.0040f9a3
lea ecx, [esi + 0x124]
mov byte [ebp - 4], bl
call fcn.00427364
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0046ec5c
call fcn.00489135
ret

Function at 0x42982b
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push 0x3c
lea eax, [ebp - 0x3c]
push edi
push eax
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.00488910
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x429884
cmp dword [ebp - 0x34], edi
ja 0x42986b
cmp dword [ebp - 0x38], edi
jbe 0x429884
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00429788
shrd eax, edx, 0x14
pop ecx
shr edx, 0x14
pop ecx
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [esi]
or eax, dword [esi + 4]
je 0x429890
xor eax, eax
inc eax
jmp 0x429892
xor eax, eax
pop edi
pop esi
leave
ret 4

Function at 0x42990d
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x61f060]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
xor al, al
dec ecx
mov byte [esi], al
jne 0x42997c
push ebx
push edi
push 6
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
push dword [ebp + 8]
mov ebx, eax
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
and dword [ebp - 0x10], 0
mov word [ebp - 0x14], 2
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.WSOCK32.dll_bind]
cmp eax, 0xffffffff
je 0x429971
mov byte [esi], 1
push ebx
call dword [sym.imp.WSOCK32.dll_closesocket]
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00488a42
leave
ret 0xc
Function at 0x429ec4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x1c
push ebx
push edi
lea eax, [ebp - 0x1c]
push eax
xor ebx, ebx
call fcn.00419938
cmp dword [eax + 0x18], 8
jb 0x429ee5
mov eax, dword [eax + 4]
jmp 0x429ee8
add eax, 4
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push 1
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.0040321f
cmp edi, 0xffffffff
je 0x429f5b
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 4]
cmp ecx, ebx
mov dword [ebp + 8], ebx
jne 0x429f22
xor eax, eax
jmp 0x429f27
mov eax, dword [esi + 8]
sub eax, ecx
push ebx
lea ecx, [ebp + 8]
push ecx
push eax
push ebx
mov ecx, esi
call fcn.0041840f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x429f4f
xor esi, esi
jmp 0x429f54
mov esi, dword [esi + 8]
sub esi, eax
cmp dword [ebp + 8], esi
pop esi
sete bl
pop edi
mov al, bl
pop ebx
leave
ret 8
Function at 0x430b24
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
sub esp, 0x1a4
lea ebp, [esp - 4]
mov eax, dword [0x61f060]
xor eax, ebp
mov dword [ebp + 0x1a4], eax
push 0x9c
mov eax, 0x57af4e
call fcn.0048905d
mov esi, dword [ebp + 0x1b0]
push 8
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [ebp - 0x38], ebx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
push str.IsWow64Process
lea ecx, [ebp - 0xa8]
mov byte [ebp - 0xd], bl
call fcn.00404d55
mov edi, 0x5b1cc0
push edi
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], ebx
call fcn.00404d55
push ebx
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp + 0x114]
mov byte [ebp - 4], 1
call fcn.004267c8
push ebx
push 1
lea ecx, [ebp - 0x8c]
call fcn.0040321f
push ebx
push 1
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.0040321f
push str.GetNativeSystemInfo
lea ecx, [ebp - 0x70]
call fcn.00404d55
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.00404d55
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x15c]
mov byte [ebp - 4], 6
call fcn.0042a613
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.0040321f
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.0040321f
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
lea ecx, [ebp + 0x114]
call fcn.00429d13
test eax, eax
je 0x430c44
cmp dword [ebp - 0x14], ebx
je 0x430c44
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 0x15c]
call fcn.00429d78
jmp 0x430c4e
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x110
lea eax, [ebp + 4]
push ebx
push eax
call fcn.00488910
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x430cc7
cmp dword [ebp + 4], 5
jne 0x430cc7
cmp dword [ebp + 8], 1
jne 0x430c96
cmp dword [ebp - 0x14], ebx
mov eax, 0x62a3e8
jne 0x430c90
mov eax, 0x62a2ec
push 0xffffffffffffffff
push ebx
push eax
jmp 0x430cab
cmp dword [ebp + 8], 2
jne 0x430cc7
cmp word [ebp - 0x38], 6
jne 0x430cb6
push 0xffffffffffffffff
push ebx
push 0x62a394
mov ecx, esi
call fcn.00404292
mov bl, 1
jmp 0x430cca
cmp dword [ebp - 0x14], ebx
mov eax, 0x62a308
jne 0x430c90
mov eax, 0x62a35c
jmp 0x430c90
mov bl, byte [ebp - 0xd]
lea ecx, [ebp + 0x15c]
call fcn.00429e3f
lea ecx, [ebp + 0x114]
call fcn.00426771
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1a4]
xor ecx, ebp
call fcn.00488a42
add ebp, 0x1a8
leave
ret
Function at 0x435f74
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x61f060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor bl, bl
cmp dword [esi + 0x14], 0
je 0x435fe9
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.004190eb
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
jae 0x435fa8
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435fca
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x435fbf
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jmp 0x435fce
cmp dword [esi + 0x14], 0
je 0x435fd2
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.0040321f
test bl, bl
je 0x435fe9
mov ecx, esi
call fcn.004184fe
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00488a42
leave
ret