joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4709cb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x66f33c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.0047be90
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x470a36
lea eax, [ebp - 0x20c]
push 0x5e283c
push eax
call fcn.0048d7df
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0046ff10
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045132d
mov esp, ebp
pop ebp
ret 4

Function at 0x470c6b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 0x5e7734
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
call fcn.00454993
test al, al
je 0x470ca4
push esi
push edi
push ecx
pop edi
push eax
pop ebx
pop esp
push esp
pop esp
pop edi
push ebx
pop edx
push esi
pop esp
push eax
push eax
pop ebx
pop ecx
push esp
pop ebp
pop esi
pop edx
push ecx
call fcn.004547b0
test al, al
je 0x470ccc
push ebx
push edx
pop edx
push ebx
pop ebx
pop ecx
push eax
pop eax
pop esp
push edx
pop edx
pop ecx
push eax
pop esp
pop esp
push esp
push ebx
push esi
pop ebx
push edx
pop ebp
push ecx
push esp
push edx
pop edx
pop esp
pop edx
push ebx
push edx
pop esp
push ecx
call fcn.0045483a
test al, al
je 0x470ce5
push eax
push esp
pop edi
push esi
push edi
pop ebp
push ebx
push edx
pop ecx
push edi
push esp
pop esi
pop edx
pop ebx
pop esi
pop ebp
call fcn.0045494e
test al, al
je 0x470d01
push esp
push edi
push ebx
pop ebp
pop esi
pop eax
pop ebx
push esi
pop ebx
push esi
push edx
push edi
push ebp
pop ebx
pop edx
pop ebx
pop esp
pop esp
push edi
mov esi, dword [ebp - 4]
cmp dword [esi], 0
jne 0x470d10
xor eax, eax
jmp 0x470d9d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5e9610
push dword [esi]
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
mov ebx, str.Wow64RevertWow64FsRedirection
mov dword [esi + 0x18], eax
push ebx
push dword [esi]
call edi
push 0x5eae90
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
call fcn.00454a62
test al, al
je 0x470d82
push edx
push ecx
pop ecx
pop ecx
push ecx
push esp
push esi
pop ebp
pop ebp
push ebp
pop ecx
pop eax
push ecx
push eax
push edi
push eax
pop ebx
pop ebx
push esp
mov ebx, str.Wow64RevertWow64FsRedirection
cmp dword [esi + 4], 0
je 0x470d09
push ebx
push dword [esi + 4]
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x471195
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x4711bd
xor al, al
jmp 0x4712ea
call fcn.00454588
test al, al
je 0x4711d8
pop edx
pop edi
push edx
pop ebx
pop ebp
pop edx
push esp
pop edx
push esp
push ebp
pop ebp
pop edi
push eax
push esp
push esp
push ebx
pop edi
pop edi
call fcn.004547b0
test al, al
je 0x4711fc
push edi
push edi
push eax
push edi
pop ecx
push ebp
push esp
pop ebp
push ebp
push ebp
pop edi
pop ebp
push ebp
pop esp
pop ecx
push esp
push eax
pop esp
push esi
pop esp
push ebp
push esi
push eax
push edi
pop edx
push edx
push esp
call fcn.00454612
test al, al
je 0x47121a
pop edi
push edi
push ebx
push edx
pop esi
pop edi
push ebx
pop ebx
push esp
push eax
pop eax
push ebx
pop esi
push ebx
push ebx
push esp
pop ecx
pop ebx
mov esi, dword [ebp - 4]
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 8]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x18]
push eax
mov dword [ecx], eax
call fcn.00451376
mov dword [ebp - 0xc], eax
pop ecx
test eax, eax
je 0x4711b6
call fcn.004543ea
test al, al
je 0x471270
push ebx
push ecx
pop edx
pop ecx
pop edx
push eax
pop ecx
push edi
push ebx
push edx
push edx
push edi
pop esi
pop ebx
push esp
push esi
push eax
pop edi
pop eax
push esp
push edx
pop edi
pop esi
push ebp
pop eax
pop edx
pop esi
push ebx
push ebp
pop ebp
push esi
call fcn.00454726
test al, al
je 0x471297
pop esi
pop ebp
pop ebx
pop ecx
push ecx
push ebp
pop eax
push esi
pop ecx
pop eax
pop edx
push ebp
pop eax
push esp
pop esi
pop esi
push edi
pop ecx
pop ebx
push eax
push esi
pop edi
pop ecx
push ecx
pop eax
push esi
push ebp
pop eax
push edi
pop ecx
call fcn.00454909
test al, al
je 0x4712bf
push esp
pop eax
push ecx
pop edi
push ecx
pop ecx
pop eax
push esp
pop ecx
pop edi
pop edi
push ebx
pop ecx
pop edx
pop ecx
push eax
pop esp
pop eax
push edx
pop ecx
pop eax
pop ebx
pop eax
pop ecx
pop edx
push ebp
push ecx
pop eax
push edi
push esp
pop edx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp - 0xc]
push dword [ecx]
push eax
push esi
call fcn.0047b910
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x471dce
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x248
mov eax, 0x5e08bf
call fcn.005d2642
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
and dword [ebp - 0x24c], 0
push 0x208
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 0x250], esi
call fcn.0047be90
add esp, 0xc
call fcn.004549d8
test al, al
je 0x471e2f
push eax
push edi
pop edi
push ecx
pop ebx
push edi
pop edi
pop eax
pop esp
pop eax
pop edx
push eax
pop ebp
pop esp
pop ecx
push esi
pop edx
pop ebx
push edi
pop ebx
push eax
pop ecx
push ebx
pop edi
push esi
push eax
push 0x104
lea eax, [ebp - 0x218]
xor ebx, ebx
push eax
push ebx
jmp 0x471f48
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x471f3a
call fcn.00454543
test al, al
je 0x471e8a
pop esp
pop ecx
pop ecx
push edx
pop esp
pop edx
push ecx
pop edi
push esi
pop ecx
pop ecx
pop ecx
push esi
pop ebp
push edx
push ebx
pop edx
push ecx
pop edx
push ebx
pop esi
push edi
push ebp
pop edx
push ebp
push esi
pop ecx
mov esi, dword [ebp - 0x250]
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x471eba
lea eax, [ebp - 0x218]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403000
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0045af6f
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.0041e4c0
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push dword [ebp - 0x254]
call fcn.00466de2
pop ecx
pop ecx
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
push 0
push 1
call fcn.0040c250
push 0x104
lea eax, [ebp - 0x218]
inc ebx
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x471e43
call fcn.005d25ec
ret
Function at 0x472c42
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.004543ea
test al, al
je 0x472c70
pop esp
pop ebx
push ebx
pop ebp
pop eax
pop ebp
push edi
push esi
push edi
pop edx
push edx
push ebp
push esp
push ebp
pop eax
push esi
push edx
lea eax, [ebp - 0xc]
mov ebx, 0xf013f
push eax
push ebx
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x472da8
push esi
lea eax, [ebp - 8]
push eax
push esi
push ebx
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x472cbb
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x472da8
call fcn.00454543
test al, al
je 0x472cdd
push ebp
pop esp
pop esi
push ecx
pop edi
push ebx
push ebx
push esi
pop ebp
pop ebp
push ebp
push ecx
push esp
pop edi
pop esi
push esp
push esp
pop ebx
xor esi, esi
mov ebx, 0xf013f
push esi
lea eax, [ebp - 4]
push eax
push esi
push ebx
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x472d0a
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x472da6
push dword [ebp + 0x14]
call fcn.0048cd3b
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004544b9
test al, al
je 0x472d56
pop esi
push ebx
pop edi
push ecx
pop ebx
push edi
pop ebp
push ecx
push ebx
push ebx
push esi
pop edx
push eax
push ecx
pop edi
push edx
push edi
pop ebx
pop esp
pop esi
push edx
pop ebp
push eax
call fcn.004543ea
test al, al
je 0x472d76
pop esi
pop ecx
push ecx
pop ebp
push ebp
push ebp
push ebx
push edi
pop ebp
push esp
push ecx
pop edi
push eax
push eax
push ebx
push ebp
pop edx
pop edx
push esi
pop ebp
pop edi
pop ecx
push ecx
call fcn.0045494e
test al, al
je 0x472d98
push esp
push edi
push edi
push esp
pop esi
pop ecx
push ecx
pop edi
push ecx
pop esp
push ebp
push esi
pop edx
push edx
pop ebx
push esp
pop eax
pop esi
pop eax
pop edx
push ecx
pop esp
push eax
pop edi
push ecx
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x472daf
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call fcn.004543ea
test al, al
je 0x472dd9
pop esp
pop ebx
push ebx
pop ebp
pop eax
pop ebp
push edi
push esi
push edi
pop edx
push edx
push ebp
push esp
push ebp
pop eax
push esi
push edx
lea eax, [ebp - 4]
mov edi, 0xf013f
push eax
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x472ed6
push esi
lea eax, [ebp - 8]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x472e24
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x472ed6
call fcn.00454543
test al, al
je 0x472e41
push ebp
pop esp
pop esi
push ecx
pop edi
push ebx
push ebx
push esi
pop ebp
pop ebp
push ebp
push ecx
push esp
pop edi
pop esi
push esp
push esp
pop ebx
xor esi, esi
push dword [ebp + 0x10]
call fcn.0048cd3b
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x10]
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call fcn.004544b9
test al, al
je 0x472e84
pop esi
push ebx
pop edi
push ecx
pop ebx
push edi
pop ebp
push ecx
push ebx
push ebx
push esi
pop edx
push eax
push ecx
pop edi
push edx
push edi
pop ebx
pop esp
pop esi
push edx
pop ebp
push eax
call fcn.004543ea
test al, al
je 0x472ea4
pop esi
pop ecx
push ecx
pop ebp
push ebp
push ebp
push ebx
push edi
pop ebp
push esp
push ecx
pop edi
push eax
push eax
push ebx
push ebp
pop edx
pop edx
push esi
pop ebp
pop edi
pop ecx
push ecx
call fcn.0045494e
test al, al
je 0x472ec6
push esp
push edi
push edi
push esp
pop esi
pop ecx
push ecx
pop edi
push ecx
pop esp
push ebp
push esi
pop edx
push edx
pop ebx
push esp
pop eax
pop esi
pop eax
pop edx
push ecx
pop esp
push eax
pop edi
push ecx
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x472edd
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.00454360
test al, al
je 0x472f1c
push ebx
push ebx
pop ebp
push esi
pop edx
pop esp
push edi
push ebx
pop edx
push edi
push edi
push ebp
pop eax
pop edi
push esp
pop edi
push ebx
push ebx
push ebx
push ebp
pop ecx
pop ebx
pop esi
push esi
push esi
push esp
pop esp
push esi
pop edi
push ecx
push esp
pop ebx
xor esi, esi
call fcn.0045442f
test al, al
je 0x472f38
pop eax
pop eax
push ebx
pop edx
pop ecx
push edi
pop esp
pop ebp
push eax
pop edi
pop edi
pop eax
push esi
push esp
push eax
push eax
push esp
pop eax
pop ebp
call fcn.004544fe
test al, al
je 0x472f55
pop edi
pop ebx
push ebp
push eax
pop edx
pop ecx
push ecx
push esi
pop edi
push esp
push ebp
push esp
pop edi
push edi
pop esp
push esi
pop esp
push edx
push edx
push ecx
lea eax, [ebp - 0xc]
mov edi, 0xf013f
push eax
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47305a
call fcn.004544b9
test al, al
je 0x472f99
push eax
push edx
pop ecx
pop esp
pop ecx
pop ebx
push ecx
push esi
push edi
push edi
pop esi
pop ebx
pop ebx
pop edi
pop ebp
push ecx
pop esp
xor esi, esi
mov edi, 0xf013f
push esi
lea eax, [ebp - 8]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x472fc3
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47305a
call fcn.004543ea
test al, al
je 0x472fdd
pop esp
pop ebx
push ebx
pop ebp
pop eax
pop ebp
push edi
push esi
push edi
pop edx
push edx
push ebp
push esp
push ebp
pop eax
push esi
push edx
xor ecx, ecx
lea eax, [ebp - 4]
push ecx
push eax
push ecx
push edi
push ecx
push ecx
push ecx
push dword [ebp + 0xc]
push dword [ebp - 8]
call esi
test eax, eax
je 0x473005
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x473058
call fcn.00454543
test al, al
je 0x473021
pop ebx
pop eax
pop edi
push esi
push esp
pop ecx
pop ecx
pop edi
pop ebp
pop esi
pop eax
pop edi
push edx
push esp
pop esi
pop ebx
pop eax
push esi
push esp
push dword [ebp + 0x14]
call fcn.0048cd3b
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474b2b
Capabilities:
Read file via mapping

Disassembly:
push 0x28
mov eax, 0x5de488
call fcn.005d2642
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x1c], eax
je 0x474b81
mov ebx, str.Global_
push ebx
call fcn.0048cd3b
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403000
xor ebx, ebx
cmp word [esi], bx
jne 0x474b8a
mov eax, ebx
jmp 0x474b91
push esi
call fcn.0048cd3b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00405290
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x474bad
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.00402ee0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
test edi, edi
je 0x474c43
xor eax, eax
push eax
push eax
push eax
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x474be7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x474c43
push 0
push dword [ebp - 0x2c]
lea eax, [esi + 4]
push eax
call fcn.00459d11
add esp, 0xc
test al, al
je 0x474c35
push dword [esi]
call fcn.00451376
mov dword [ebp - 0x2c], eax
pop ecx
test eax, eax
je 0x474c35
push dword [esi]
push 0
push eax
call fcn.0047be90
push dword [esi]
mov ebx, dword [ebp - 0x2c]
lea eax, [esi + 0x28]
push eax
push ebx
call fcn.0047b910
mov eax, dword [ebp - 0x30]
add esp, 0x18
mov ecx, dword [ebp - 0x34]
mov dword [eax], ebx
mov bl, 1
mov eax, dword [esi]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0041e4c0
mov al, bl
call fcn.005d25ec
ret

Function at 0x475219
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x89], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x476696
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, ecx
mov byte [ebp - 1], 0
push ebx
push esi
push edi
lea ecx, [eax + 0x210]
mov dword [ebp - 0x14], eax
mov esi, dword [ecx]
mov dword [ebp - 0x18], ecx
cmp esi, dword [eax + 0x214]
je 0x47674d
mov eax, dword [ebp + 8]
lea edi, [esi + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 8], edi
lea ecx, [eax + 0xa8]
add eax, 0x28
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
push ecx
call ebx
push 0x5e704c
call ebx
sub edi, 0xffffff80
push edi
call ebx
push 0x5e704c
call ebx
push dword [ebp - 0xc]
call ebx
push 0x5e704c
call ebx
push dword [ebp - 8]
call ebx
push 0x5e704c
call ebx
push edi
push dword [ebp - 0x10]
call fcn.0048d840
mov edi, dword [ebp - 8]
pop ecx
pop ecx
test eax, eax
jne 0x47672d
push edi
push dword [ebp - 0xc]
call fcn.0048d840
pop ecx
pop ecx
test eax, eax
je 0x476749
mov eax, 0x1b0
add edi, eax
add esi, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], edi
cmp esi, dword [eax + 0x214]
je 0x47674d
mov ecx, dword [ebp - 0x10]
jmp 0x4766dd
mov byte [ebp - 1], 1
call fcn.004546e1
test al, al
je 0x476768
push esp
pop esp
pop ecx
pop eax
pop ecx
push esi
pop esp
push edx
push esi
pop ecx
pop eax
pop ebp
pop edx
push edx
pop esi
push ebx
pop edx
pop ecx
call fcn.004546e1
test al, al
je 0x476791
push ecx
push ebx
pop ecx
pop eax
pop eax
push ebp
push ebp
push ebp
push eax
pop eax
push ebx
pop ecx
pop ebx
pop edx
pop edx
pop edi
push edx
push edx
push eax
push eax
push edi
push ecx
pop ebx
pop eax
pop ebp
pop ecx
push eax
pop ecx
pop esp
push eax
pop esp
pop edi
call fcn.0045483a
test al, al
je 0x4767ad
pop ebx
pop ecx
push eax
pop edx
push edx
push edx
pop edx
pop eax
pop ecx
push esp
push esi
pop ecx
pop edi
push ecx
push ebx
push esp
push esp
push ebx
pop ebp
cmp byte [ebp - 1], 0
jne 0x4767d4
mov esi, dword [ebp + 8]
lea edx, [esi + 0xa8]
push edx
call fcn.0048ccb0
pop ecx
test eax, eax
je 0x4767d4
mov ecx, dword [ebp - 0x18]
push esi
call fcn.004773bd
mov al, 1
jmp 0x4767d6
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4772e7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x66f33c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x210]
mov dword [esi + 0x214], eax
call fcn.004547b0
test al, al
je 0x477326
pop eax
push esi
pop eax
pop esp
pop edx
pop ebp
pop ebx
push edi
push edx
push edi
pop edx
push edx
push ebp
push eax
push ebp
push edx
mov ebx, 0x114
lea eax, [ebp - 0x118]
push ebx
push edi
push eax
call fcn.0047be90
add esp, 0xc
mov dword [ebp - 0x118], ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x477361
mov ecx, esi
call fcn.00476bb0
jmp 0x477376
mov ebx, edi
test edi, edi
jne 0x477376
mov ecx, esi
call fcn.00476a70
inc ebx
mov edi, eax
cmp ebx, 0xa
jl 0x477363
mov eax, dword [esi + 0x214]
mov ecx, 0x1b0
sub eax, dword [esi + 0x210]
cdq
idiv ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045132d
mov esp, ebp
pop ebp
ret

Function at 0x492c99
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00492b18

Function at 0x49409d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00493d5d
Function at 0x49ff00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
cmp dword [eax + 4], 3
jne 0x49ff2c
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x49ff1d
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call ecx
jmp 0x49ff60
cmp dword [esi + 8], 0
jne 0x49ff50
push 0x5e7058
push dword [eax + 8]
call fcn.00489171
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x49ff50
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.00489623
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x49ff82
mov eax, dword [esi + 8]
test eax, eax
je 0x49ff7c
push eax
call fcn.00488f58
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4a03a0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x66f33c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4a03f0
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x4a03ea
shr eax, 8
cmp al, 2
jne 0x4a03ea
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045132d
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.0045132d
mov esp, ebp
pop ebp
ret