joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423bd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48edab
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x4c2b20]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push esi
push edi
mov eax, dword [0x4c2b20]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x200
xor edi, edi
lea ecx, [esp + 0x3a]
xor eax, eax
push edi
push ecx
mov word [esp + 0x40], ax
call fcn.0046a930
push 0x200
lea eax, [esp + 0x24e]
xor edx, edx
push edi
push eax
mov word [esp + 0x254], dx
call fcn.0046a930
push 0x100
lea ecx, [esp + 0x258]
push ecx
push 0x100
lea edx, [esp + 0x58]
push edx
push edi
push edi
push edi
push edi
push esi
call fcn.0046ca72
add esp, 0x3c
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.AcroRd32.exe
lea edx, [esp + 0x38]
push edx
call ebx
test eax, eax
jne 0x423cb8
push 4
lea eax, [esp + 0x14]
push eax
push 4
push str.bProtectedMode
push str.SoftwareAdobeAcrobat_Reader10.0Privileged
push closesocket
mov dword [esp + 0x28], edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [esp + 0x1c], str.acrord32.exe
mov dword [esp + 0x20], str.acrobat.exe
mov dword [esp + 0x24], str.ACDSeePro1.exe
mov dword [esp + 0x28], str.ACDSeePro2.exe
mov dword [esp + 0x2c], str.ACDSeePro3.exe
mov dword [esp + 0x30], str.Photoshop.exe
jmp 0x423cf0
mov esi, dword [esp + edi*4 + 0x1c]
lea ecx, [esp + 0x34]
push ecx
push esi
call ebx
test eax, eax
jne 0x423d41
lea ecx, [esp + 0x14]
call fcn.0042eaf0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
mov dword [esp + 0x460], 0
call fcn.0041af70
lea ecx, [esp + 0x18]
call fcn.0042eb60
or ecx, 0xffffffff
mov dword [esp + 0x458], ecx
cmp eax, ecx
lea ecx, [esp + 0x14]
jne 0x423d72
call fcn.0042eb10
inc edi
cmp edi, 6
jb 0x423cf0
mov eax, 1
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.0046b5b0
mov esp, ebp
pop ebp
ret 4
call fcn.0042eb10
xor eax, eax
jmp 0x423d4c
Function at 0x4255f0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x48ef00
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c2b20]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x1c], 0
call fcn.0041a0b0
add eax, 0x10
add esp, 4
mov dword [esp + 0xc], eax
push 1
push 0x4a6a80
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call fcn.0041a800
lea ecx, [edi + 0x578]
test ecx, ecx
jne 0x425657
xor eax, eax
jmp 0x42566f
mov eax, ecx
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x425660
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0041a800
lea edx, [edi + 0x67a]
test edx, edx
jne 0x425688
xor eax, eax
jmp 0x42569f
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425690
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.0041a800
mov esi, dword [esp + 0xc]
push 0
push esi
add edi, 4
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4256de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425706
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x425720
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x48ef30
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4c2b20]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], 0
call fcn.0041f3c0
test eax, eax
jne 0x425796
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42577f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
push 2
lea ecx, [esi + 0xabd]
push ecx
lea edi, [esi + 4]
push edi
call eax
add esp, 0xc
mov ecx, esi
mov ebp, eax
call fcn.0041f470
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
test ebp, ebp
jne 0x4257d3
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x425773
push eax
call fcn.0041a0b0
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
push 0x4a6a80
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call fcn.0041af30
lea ecx, [esi + 0x578]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041af30
add esi, 0x67a
push esi
lea ecx, [esp + 0x14]
call fcn.0041af30
mov esi, dword [esp + 0x10]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x1c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425847
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42586f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
Function at 0x42a310
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [esp + 4]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push eax
mov dword [esi], vtable.CEt99Ex.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x42a3bf
cmp eax, 0xffffffff
je 0x42a3bf
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.et_FindToken
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
push str.et_OpenToken
push eax
call edi
mov ecx, dword [esi + 0xc]
push str.et_CloseToken
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 0xc]
push str.et_Verify
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0xc]
push str.et_Read
push eax
call edi
mov dword [esi + 0x24], eax
pop edi
cmp dword [esi + 0x14], ebx
je 0x42a3bf
cmp dword [esi + 0x18], ebx
je 0x42a3bf
cmp dword [esi + 0x1c], ebx
je 0x42a3bf
cmp dword [esi + 0x20], ebx
je 0x42a3bf
cmp eax, ebx
mov eax, esi
je 0x42a3c1
mov dword [esi + 0x10], 1
pop esi
pop ebx
ret 4
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x42a5a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42a5ce
xor eax, eax
pop ecx
ret 0x18
mov ecx, dword [esp + 0x18]
push esi
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret 0x18
Function at 0x42a690
Capabilities:
Query or enumerate registry key

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push edi
lea eax, [esp + 4]
push eax
push 0x20019
xor edi, edi
push edi
push ecx
push edx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x42a6be
xor eax, eax
pop edi
pop ecx
ret 0x10
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
shr eax, 0xa
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x200
mov edi, edi
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push ebx
push edi
push ecx
call ebp
mov esi, eax
inc edi
cmp esi, 0x103
je 0x42a719
cmp edi, dword [esp + 0x18]
ja 0x42a719
add ebx, 0x400
mov dword [esp + 0x1c], 0x200
test esi, esi
je 0x42a6e0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x42a73a
cmp esi, 0x103
je 0x42a73a
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
pop ecx
ret 0x10
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
pop ecx
ret 0x10
Function at 0x42cf30
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42cf5c
xor eax, eax
pop ecx
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push esi
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret

Function at 0x42cfa0
Capabilities:
Check if file exists
Get file attributes
Persist via run registry key
Query environment variable

Disassembly:
sub esp, 0xa0c
mov eax, dword [0x4c2b20]
xor eax, esp
mov dword [esp + 0xa08], eax
push esi
mov esi, dword [esp + 0xa14]
xor eax, eax
push 0x3fe
push eax
lea ecx, [esp + 0x616]
push ecx
mov dword [esp + 0x10], 0x400
mov word [esp + 0x618], ax
call fcn.0046a930
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x61c]
push eax
push 1
push str.CDGRegedit
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042cf30
add esp, 0x24
test eax, eax
jne 0x42d021
pop esi
mov ecx, dword [esp + 0xa08]
xor ecx, esp
call fcn.0046b5b0
add esp, 0xa0c
ret
push edi
xor ecx, ecx
push 0x400
push ecx
lea edx, [esp + 0x216]
push edx
mov word [esp + 0x218], cx
call fcn.0046a930
add esp, 0xc
push 0x200
lea eax, [esp + 0x210]
push eax
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.EstTemp_
lea ecx, [esp + 0x210]
push ecx
call edi
lea edx, [esp + 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42d09c
test al, 0x10
je 0x42d09c
push 0x200
lea eax, [esp + 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x42d0f1
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [esp + 0x16]
push edx
mov word [esp + 0x18], cx
call fcn.0046a930
push 0
push 0
push 0
push 0
push 0x100
lea eax, [esp + 0x2c]
push eax
push 0x100
lea ecx, [esp + 0x638]
push esi
push ecx
mov dword [esi], 0
call fcn.0046ca72
add esp, 0x30
lea edx, [esp + 0xc]
push edx
push esi
call edi
push str.TEMP_
push esi
call edi
mov ecx, dword [esp + 0xa10]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0046b5b0
add esp, 0xa0c
ret
Function at 0x42d110
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x380
mov eax, dword [0x4c2b20]
xor eax, esp
mov dword [esp + 0x37c], eax
push esi
mov esi, dword [esp + 0x388]
push 0x3c
lea eax, [esp + 0x28]
push 0
push eax
mov dword [esp + 0x2c], 0
call fcn.0046a930
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [esp + 0x196]
push edx
mov word [esp + 0x198], cx
call fcn.0046a930
lea eax, [esp + 0x198]
push eax
call fcn.0042cfa0
push 0
push 0
push 0x100
lea ecx, [esp + 0x1a8]
push ecx
push 0
push 0
push 0
push 0
push esi
call fcn.0046ca72
add esp, 0x40
lea edx, [esp + 0x180]
push str.ugs_router
push edx
call fcn.0046e2b8
add esp, 8
test eax, eax
jne 0x42d1bf
xor eax, eax
pop esi
mov ecx, dword [esp + 0x37c]
xor ecx, esp
call fcn.0046b5b0
add esp, 0x380
ret
lea eax, [esp + 0x180]
push str.proe
push eax
call fcn.0046e2b8
add esp, 8
test eax, eax
je 0x42d1a7
lea ecx, [esp + 0x180]
push str.VSLauncher
push ecx
call fcn.0046e2b8
add esp, 8
test eax, eax
je 0x42d1a7
lea edx, [esp + 0x180]
push str.AcLauncher
push edx
call fcn.0046e2b8
add esp, 8
test eax, eax
je 0x42d1a7
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42d1a7
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0xc]
push eax
push 0x40
lea ecx, [esp + 0x150]
push ecx
push esi
call edi
test eax, eax
je 0x42d2bd
mov edx, 0x5a4d
cmp dx, word [esp + 0x144]
jne 0x42d2bd
push 0
lea eax, [esp + 0xc]
push eax
push 0x40
lea ecx, [esp + 0x30]
push ecx
push esi
call edi
test eax, eax
je 0x42d2bd
mov edx, dword [esp + 0x180]
push 0
push 0
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x42d2bd
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea ecx, [esp + 0x18]
push ecx
push esi
call edi
test eax, eax
je 0x42d2bd
cmp dword [esp + 0xc], 0x4550
jne 0x42d2bd
push 0
lea edx, [esp + 0xc]
push edx
push 0x14
lea eax, [esp + 0x1c]
push eax
push esi
call edi
test eax, eax
jne 0x42d2dd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x37c]
xor ecx, esp
call fcn.0046b5b0
add esp, 0x380
ret
push 0
lea ecx, [esp + 0xc]
push ecx
push 0xe0
lea edx, [esp + 0x70]
push edx
push esi
call edi
push esi
test eax, eax
je 0x42d2be
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x384]
xor eax, eax
cmp word [esp + 0xa8], 2
pop edi
sete al
pop esi
xor ecx, esp
call fcn.0046b5b0
add esp, 0x380
ret
Function at 0x42d890
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x404
mov eax, dword [0x4c2b20]
xor eax, esp
mov dword [esp + 0x400], eax
push ebx
push ebp
mov ebp, dword [esp + 0x410]
push esi
push edi
mov edi, dword [esp + 0x41c]
xor eax, eax
push 0x3fe
mov esi, ecx
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.0046a930
mov edx, dword [esi + 0x7c]
add esp, 0xc
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
jmp 0x42d8f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d8f0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x42d919
push 0x4a6a80
lea ecx, [esp + 0x14]
push ecx
call ebx
push str.PCID.DAT
lea edx, [esp + 0x14]
push edx
call ebx
mov ecx, dword [esi + 0x80]
lea eax, [esp + 0x10]
push eax
push 0
push str.Auto
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea edx, [esp + 0x10]
push edx
push 0x200
push edi
push 0
mov dword [ebp], eax
mov eax, dword [esi + 0x80]
push str.Pcid
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
test eax, eax
setg cl
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0046b5b0
add esp, 0x404
ret 8
Function at 0x42fa80
Capabilities:
Get common file path

Disassembly:
mov eax, 0x2a44
call fcn.0046c720
mov eax, dword [0x4c2b20]
xor eax, esp
mov dword [esp + 0x2a40], eax
push ebx
push esi
xor ebx, ebx
push 0x27ff
lea eax, [esp + 0x24d]
push ebx
push eax
mov byte [esp + 0x254], bl
call fcn.0046a930
mov edx, dword [esp + 0x2a5c]
lea ecx, [esp + 0x2a60]
push ecx
push edx
lea eax, [esp + 0x25c]
push 0x2800
push eax
call fcn.0046e6a1
push 0x1ff
lea ecx, [esp + 0x69]
push ebx
push ecx
mov byte [esp + 0x70], bl
call fcn.0046a930
add esp, 0x28
push 0x200
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x494c84
lea eax, [esp + 0x4c]
push eax
call esi
push str.CDGODMGuard.LOG
lea ecx, [esp + 0x4c]
push ecx
call esi
lea edx, [esp + 0x48]
push 0x495880
push edx
call fcn.0046db84
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x42fbc5
xor eax, eax
mov dword [esp + 9], eax
mov dword [esp + 0xd], eax
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov word [esp + 0x25], ax
mov byte [esp + 0x27], al
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov word [esp + 0x45], ax
mov byte [esp + 0x47], al
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x10], bl
mov byte [esp + 0x30], bl
call fcn.0046e5d2
add esp, 4
push eax
lea edx, [esp + 0x10]
push edx
call fcn.0046e513
add esp, 4
push eax
push str._s__s____s_n
push esi
call fcn.0046e34b
push esi
call fcn.0046d805
add esp, 0x18
mov ecx, dword [esp + 0x2a48]
pop esi
pop ebx
xor ecx, esp
call fcn.0046b5b0
add esp, 0x2a44
ret
Function at 0x430e90
Capabilities:
Create udp socket

Disassembly:
push esi
push 0
push 2
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi], eax
pop esi
mov eax, ecx
ret

Function at 0x430eb0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
neg eax
sbb eax, eax
inc eax
ret 8

Function at 0x430f40
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
push esi
mov esi, dword [esp + 0x118]
mov eax, 0x10624dd3
mul esi
mov eax, dword [ecx]
shr edx, 6
mov dword [esp + 4], edx
imul edx, edx, 0x3e8
lea ecx, [esp + 4]
push ecx
push 0
sub esi, edx
push 0
lea edx, [esp + 0x18]
push edx
push 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 1
call dword [sym.imp.WS2_32.dll_select]
pop esi
cmp eax, 0xffffffff
jne 0x430f9d
xor eax, eax
add esp, 0x10c
ret 8
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov eax, 1
mov dword [edx], ecx
add esp, 0x10c
ret 8

Function at 0x431260
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4c2b20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
test edi, edi
jne 0x431280
xor esi, esi
jmp 0x4312ab
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x431293
xor esi, esi
jmp 0x4312ab
lea esi, [eax + eax]
mov eax, esi
call fcn.0046b5c0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004185d0
mov esi, eax
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x4312f4
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x431317
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
push 0x10
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
call fcn.00430eb0
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b5b0
mov esp, ebp
pop ebp
ret 8
xor eax, eax
jmp 0x431301
Function at 0x432160
Capabilities:
Get common file path
Get disk size

Disassembly:
sub esp, 0x418
mov eax, dword [0x4c2b20]
xor eax, esp
mov dword [esp + 0x414], eax
mov ecx, 0x3a
mov word [esp + 0xa], cx
mov edx, 0x5c
xor ecx, ecx
push 0x400
mov word [esp + 0x10], dx
xor eax, eax
push ecx
lea edx, [esp + 0x1a]
push edx
mov word [esp + 0x14], ax
mov word [esp + 0x1a], ax
mov word [esp + 0x1c], cx
call fcn.0046a930
add esp, 0xc
push 0x200
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov cx, word [esp + 0x10]
push 4
lea edx, [esp + 0x14]
push 0x4a6a70
push edx
mov word [esp + 0x14], cx
call fcn.0046ef0c
add esp, 0xc
test eax, eax
jne 0x4321ea
mov ax, word [esp + 0x18]
mov word [esp + 8], ax
push 0
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x43222e
cmp dword [esp + 4], 0
ja 0x43222e
jb 0x432214
cmp dword [esp], 0x6400000
ja 0x43222e
mov eax, 1
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0046b5b0
add esp, 0x418
ret
mov ecx, dword [esp + 0x414]
xor ecx, esp
xor eax, eax
call fcn.0046b5b0
add esp, 0x418
ret
Function at 0x4322a0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
mov eax, 0x1258
call fcn.0046c720
mov eax, dword [0x4c2b20]
xor eax, esp
mov dword [esp + 0x1254], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1268]
push edi
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x26e]
push ecx
mov word [esp + 0x270], ax
call fcn.0046a930
xor edx, edx
push 0x7fe
push edx
lea eax, [esp + 0xa7a]
push eax
mov word [esp + 0xa7c], dx
call fcn.0046a930
mov eax, esi
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432305
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x43232a
push 0x4a6a80
push esi
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea ecx, [esp + 0xa68]
push ecx
call ebp
push 0x494ca4
lea edx, [esp + 0xa68]
push edx
call edi
push 0x250
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0046a930
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xa68]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0xffffffff
je 0x43249e
test ebx, ebx
je 0x43249e
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x4957b0
lea eax, [esp + 0x40]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4323c6
test dx, dx
je 0x4323c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4323c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4323a0
xor eax, eax
jmp 0x4323cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43246d
mov ecx, 0x494c88
lea eax, [esp + 0x40]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x432406
test dx, dx
je 0x432402
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x432406
add eax, 4
add ecx, 4
test dx, dx
jne 0x4323e0
xor eax, eax
jmp 0x43240b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43246d
push esi
lea eax, [esp + 0x268]
push eax
call ebp
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x268]
push edx
call edi
lea eax, [esp + 0x264]
push eax
call ebx
test al, 0x10
je 0x432449
lea ecx, [esp + 0x264]
push ecx
call fcn.004322a0
add esp, 4
jmp 0x43246d
test al, 1
je 0x43245f
and eax, 0xfffffffe
push eax
lea edx, [esp + 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x432394
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, 1
jmp 0x4324a0
xor eax, eax
mov ecx, dword [esp + 0x1264]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046b5b0
add esp, 0x1258
ret