joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408a20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460955
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x47f534]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx - 0xc]
lea esi, [eax + 0xa]
push esi
call fcn.0042a715
mov edi, eax
mov dword [ebp - 0x80], edi
push esi
push 0
push edi
call fcn.0044c470
add esp, 0x10
mov byte [edi], 4
mov byte [edi + 1], 1
mov dx, word [ebp + 0x24]
mov word [edi + 2], dx
mov esi, 9
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x408ac9
mov byte [edi + 4], al
mov byte [edi + 5], al
mov byte [edi + 6], al
mov byte [edi + 7], 1
mov ecx, dword [ebp + 0x20]
lea edx, [edi + 9]
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x408ab0
mov eax, dword [ebp + 0x20]
mov eax, dword [eax - 0xc]
lea esi, [eax + 0xa]
jmp 0x408acc
mov dword [edi + 4], eax
lea ecx, [ebp - 0x8c]
call fcn.0042fd0e
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
push 0
push esi
push edi
mov ecx, dword [ebx + 0x34]
push ecx
call dword [sym.imp.WS2_32.dll_send]
push 0x64
push 0
lea edx, [ebp - 0x78]
push edx
call fcn.0044c470
add esp, 0xc
push 8
lea eax, [ebp - 0x78]
push eax
mov eax, 0x3c
mov esi, ebx
call fcn.0040ac90
cmp eax, 8
je 0x408b79
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], 2
mov byte [ebp - 4], 3
call fcn.0042fd24
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00403830
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.00403830
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.00403830
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00403830
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00448f05
mov esp, ebp
pop ebp
ret 0x24
mov dword [ebp - 4], 3
call fcn.0042fd24
push edi
call fcn.0042a71a
add esp, 4
cmp byte [ebp - 0x77], 0x5a
je 0x408b9f
mov edx, dword [ebp - 0x7c]
mov dword [edx], 2
jmp 0x408b26
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00403830
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.00403830
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.00403830
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00403830
mov eax, 1
jmp 0x408b5b
Function at 0x40ac90
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x21c
mov ecx, 1
mov dword [esp + 0x110], ecx
mov dword [esp + 8], ecx
lea ecx, [esp]
push ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 8], eax
mov eax, dword [esi + 0x34]
push 0
lea ecx, [esp + 0x11c]
mov dword [esp + 0x120], eax
mov dword [esp + 0x18], eax
push ecx
add eax, 1
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x40ad0f
test eax, eax
jne 0x40acef
add esp, 0x21c
ret 8
mov edx, dword [esp + 0x224]
mov eax, dword [esp + 0x220]
mov ecx, dword [esi + 0x34]
push 0
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x40ad12
or eax, 0xffffffff
add esp, 0x21c
ret 8

Function at 0x40ad50
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ff00
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x47f534]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0x10
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ecx + 0x34]
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x40adb1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40c090
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0xc8
mov eax, dword [0x47f534]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
mov ebp, dword [esp + 0xd4]
push edi
mov edi, ecx
cmp edi, 0x40
lea eax, [edi*8]
mov dword [esp + 0xc], eax
mov dword [0x483b60], 0x67452301
mov dword [0x483b64], 0xefcdab89
mov dword [0x483b68], 0x98badcfe
mov dword [0x483b6c], 0x10325476
jle 0x40c11c
lea ebx, [edi - 0x41]
shr ebx, 6
add ebx, 1
mov ecx, ebx
neg ecx
shl ecx, 6
add edi, ecx
lea ebx, [ebx]
mov eax, ebp
lea ecx, [esp + 0x10]
call fcn.0040bff0
lea eax, [esp + 0x10]
call fcn.0040bad0
add ebp, 0x40
sub ebx, 1
jne 0x40c100
push 0x80
xor ebx, ebx
lea edx, [esp + 0x54]
push ebx
push edx
call fcn.0044c470
push edi
lea eax, [esp + 0x60]
push ebp
push eax
call fcn.00451660
mov eax, dword [esp + 0x24]
mov ecx, eax
mov edx, eax
add esp, 0x18
shr ecx, 8
shr edx, 0x10
cmp edi, 0x37
mov byte [esp + edi + 0x50], 0x80
jg 0x40c17a
mov byte [esp + 0x88], al
shr eax, 0x18
mov byte [esp + 0x8b], al
mov byte [esp + 0x89], cl
mov byte [esp + 0x8a], dl
lea eax, [esp + 0x50]
jmp 0x40c1b6
mov byte [esp + 0xc8], al
shr eax, 0x18
mov byte [esp + 0xc9], cl
mov byte [esp + 0xcb], al
lea eax, [esp + 0x50]
lea ecx, [esp + 0x10]
mov byte [esp + 0xca], dl
call fcn.0040bff0
lea eax, [esp + 0x10]
call fcn.0040bad0
lea eax, [esp + 0x90]
lea ecx, [esp + 0x10]
call fcn.0040bff0
lea eax, [esp + 0x10]
call fcn.0040bad0
mov eax, dword [0x483b60]
mov byte [esi], al
shr eax, 8
mov byte [esi + 1], al
mov ax, word [0x483b62]
mov byte [esi + 2], al
mov byte [esi + 3], ah
mov eax, dword [0x483b64]
mov byte [esi + 4], al
mov ecx, dword [esp + 0xd0]
shr eax, 8
mov byte [esi + 5], al
mov ax, word [0x483b66]
mov byte [esi + 6], al
mov byte [esi + 7], ah
mov eax, dword [0x483b68]
mov byte [esi + 8], al
shr eax, 8
mov byte [esi + 9], al
mov ax, word [0x483b6a]
mov byte [esi + 0xa], al
mov byte [esi + 0xb], ah
mov eax, dword [0x483b6c]
mov byte [esi + 0xc], al
shr eax, 8
pop edi
mov byte [esi + 0xd], al
mov ax, word [0x483b6e]
pop ebp
mov dword [0x483b6c], ebx
mov dword [0x483b68], ebx
mov dword [0x483b64], ebx
mov dword [0x483b60], ebx
pop ebx
xor ecx, esp
mov byte [esi + 0xe], al
mov byte [esi + 0xf], ah
call fcn.00448f05
add esp, 0xc8
ret
Function at 0x414920
Capabilities:
Copy file
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x464300
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x47f534]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
push str.UpdateTemp
lea esi, [edi + 0xc3c]
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.004024c0
add esp, 0xc
mov dword [esp + 0x40], 0
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00403830
lea ecx, [esp + 0x1c]
call fcn.00438e8b
mov dword [esp + 0x40], 1
push str.UpdateTemp_
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.004024c0
mov byte [esp + 0x4c], 2
lea ebx, [edi + 0xc38]
push ebx
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0040ade0
add esp, 0x18
mov byte [esp + 0x40], 4
lea ecx, [esp + 0x18]
call fcn.00403830
cmp dword [edi + 0xb24], 0
jle 0x4149e8
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x24]
call fcn.00438f17
test eax, eax
jne 0x414a8e
push ebx
lea edx, [esp + 0x1c]
push esi
push edx
call fcn.0040ade0
add esp, 0xc
mov byte [esp + 0x40], 5
mov eax, dword [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.00438f17
test eax, eax
jne 0x414a6a
mov byte [esp + 0x40], 4
lea ecx, [esp + 0x18]
call fcn.00403830
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x14]
call fcn.00403830
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00438eaf
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x414a28
mov byte [esp + 0x40], 4
lea ecx, [esp + 0x18]
call fcn.00403830
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00403630
mov byte [esp + 0x44], 6
add edi, 0xb34
mov byte [esp + 0x44], 4
mov ecx, edi
call fcn.004107e0
push edi
call fcn.0040d470
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x14]
call fcn.00403830
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00438eaf
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a980
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x460658
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f534]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x28]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41aa28
push 5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41aa28
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x28]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetPropA]
test eax, eax
je 0x41aa0e
push 0
push 0
push ebp
push esi
call ebx
mov edi, 1
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41a9f1
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00403830
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x41c310
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x460fd0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x47f534]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.00403630
mov byte [esp + 0x1c], 1
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x41c360
or eax, 0xffffffff
jmp 0x41c37b
push 0x46d7d4
push ecx
call fcn.004491ab
add esp, 8
test eax, eax
jne 0x41c377
or eax, 0xffffffff
jmp 0x41c37b
sub eax, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea esi, [eax + 2]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx - 0xc]
lea eax, [esi + 1]
test eax, eax
jl 0x41c3f6
cmp eax, edx
jge 0x41c3f6
add eax, ecx
push 0x5c
push eax
call fcn.0044965f
add esp, 8
test eax, eax
je 0x41c3f6
sub eax, dword [esp + 0xc]
mov esi, eax
cmp esi, 0xffffffff
je 0x41c3f6
push esi
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004067a0
mov byte [esp + 0x1c], 2
mov edx, dword [esp + 0x10]
push 0
push edx
call edi
mov byte [esp + 0x1c], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c384
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41c384
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0xc]
call fcn.00403830
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00403830
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x41cef0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xa04
mov eax, dword [0x47f534]
xor eax, esp
mov dword [esp + 0xa00], eax
mov eax, dword [esp + 0xa08]
mov eax, dword [eax + 4]
lea edx, [esp]
push edx
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0xc]
push edx
push 0
push ecx
push eax
mov dword [esp + 0x18], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41cf74
lea eax, [esp + 8]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41cf40
sub eax, edx
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00403540
mov eax, 1
mov ecx, dword [esp + 0xa00]
xor ecx, esp
call fcn.00448f05
add esp, 0xa04
ret 4
mov ecx, dword [esp + 0xa00]
xor ecx, esp
xor eax, eax
call fcn.00448f05
add esp, 0xa04
ret 4
Function at 0x41cf90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4640bb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x47f534]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.0042aeaa
mov dword [esp + 0x1c], 0
lea ebx, [esi + 0x10]
mov eax, ebx
mov dword [esi], vtable.CMemDC2.0
mov dword [esp + 0xc], eax
mov dword [eax], vtable.CGdiObject.0
mov dword [eax + 4], 0
mov byte [esp + 0x1c], 1
mov dword [eax], vtable.CBitmap.0
mov byte [esp + 0x1c], 2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], eax
xor ecx, ecx
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], 0
mov eax, dword [edi + 0xc]
test eax, eax
sete cl
mov eax, ecx
test eax, eax
mov dword [esi + 0x34], eax
je 0x41d0a6
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0042b33c
mov eax, dword [esi + 0x30]
sub eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
sub ecx, dword [esi + 0x24]
mov edx, dword [edi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.0042b603
test ebx, ebx
je 0x41d066
mov ebx, dword [ebx + 4]
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.0042b688
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 8]
push 6
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.0042b5f5
push eax
mov ecx, esi
call fcn.0042b6db
mov edx, dword [esi + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x24]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0042afbe
jmp 0x41d0b8
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 0x14

Function at 0x41f4d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
mov eax, dword [0x47f534]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x110]
push esi
mov esi, dword [eax]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
mov dword [esp + 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00448f05
add esp, 0x10c
ret
Function at 0x4205e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x460f21
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x47f534]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], 2
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00403630
mov byte [esp + 0x24], 3
mov ecx, dword [esp + 0x34]
push ecx
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00403630
mov byte [esp + 0x2c], 4
push ecx
lea eax, [edi + 8]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00403630
mov byte [esp + 0x30], 5
push edi
mov byte [esp + 0x34], 2
call fcn.004206b0
mov eax, 1
mov dword [esp + 0xc], eax
mov byte [esp + 0x20], al
lea ecx, [esp + 0x2c]
call fcn.00403830
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x34]
call fcn.00403830
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 0x10
Function at 0x4206b0
Capabilities:
Check os version
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x460eaa
mov eax, dword fs:[0]
push eax
sub esp, 0x8ac
mov eax, dword [0x47f534]
xor eax, esp
mov dword [esp + 0x8a4], eax
push ebx
push ebp
push edi
mov eax, dword [0x47f534]
xor eax, esp
push eax
lea eax, [esp + 0x8bc]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x8c4], eax
mov ebp, dword [esp + 0x8cc]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x8c4], 3
lea edi, [esp + 0x8d0]
call fcn.00406570
mov ebx, edi
call fcn.004064f0
lea edi, [esp + 0x8d4]
call fcn.00406570
mov ebx, edi
call fcn.004064f0
push 0x800
lea eax, [esp + 0xb8]
push 0
push eax
call fcn.0044c470
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4207a5
cmp eax, 0xa
je 0x4207a5
cmp eax, 0x5a
je 0x4207a5
cmp eax, 0x33
je 0x4207a5
mov ebp, dword [ebp + 4]
mov eax, dword [esp + 0x8dc]
mov ecx, dword [esp + 0x8d4]
push ebp
push 0x7ff
lea edx, [esp + 0xbc]
push edx
mov edx, dword [esp + 0x8dc]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x4207ce
mov ebp, dword [ebp + 4]
mov ecx, dword [esp + 0x8dc]
mov edx, dword [esp + 0x8d4]
push ebp
lea eax, [esp + 0xb8]
push eax
mov eax, dword [esp + 0x8d8]
push ecx
push edx
push eax
call fcn.004208b0
lea ecx, [esp + 0xb4]
push ecx
mov ecx, esi
call fcn.004031a0
mov edi, esi
mov dword [esp + 0x14], 1
call fcn.00406570
mov ebx, esi
call fcn.004064f0
cmp dword [esp + 0x8d8], 0
je 0x42083d
push 0x46cbc4
push 0x46cbc8
push esi
call fcn.0040f350
push 0x46cbcc
push 0x46cbd0
push esi
call fcn.0040f350
push 0x46cbd4
push 0x46cbd8
push esi
call fcn.0040f350
push 0x46c7c0
push str.nbsp_
push esi
call fcn.0040f350
mov byte [esp + 0x8c4], 2
lea ecx, [esp + 0x8d0]
call fcn.00403830
mov byte [esp + 0x8c4], 1
lea ecx, [esp + 0x8d4]
call fcn.00403830
mov byte [esp + 0x8c4], 0
lea ecx, [esp + 0x8dc]
call fcn.00403830
mov eax, esi
mov ecx, dword [esp + 0x8bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8a4]
xor ecx, esp
call fcn.00448f05
add esp, 0x8b8
ret 0x14
Function at 0x420fe0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4600a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x47f534]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.004211e0
mov eax, dword [ebp + 8]
push eax
lea ebx, [ebp - 0x14]
call fcn.00420ef0
mov byte [ebp - 4], 1
cmp dword [eax], 0
je 0x421034
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x421036
xor eax, eax
push esi
push 0x46b6e0
push 0xffffff
push 0
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromI8]
mov ebx, eax
mov byte [ebp - 4], 0
lea edi, [ebp - 0x14]
call fcn.00420f80
test ebx, ebx
jl 0x421067
cmp dword [esi], 0
jne 0x42110e
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4211c0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], 0
push 0
lea edx, [ebp - 0x18]
push edx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 8], 0
lea ecx, [ebp + 8]
push ecx
push 1
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push esi
push 0x46b6e0
push 0
push ebx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
cmp dword [esi], 0
je 0x4211c0
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x58
push edi
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call ebx
mov dword [ebp + 8], eax
push 0x5a
push edi
call ebx
mov dword [ebp - 0x18], eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi]
lea edi, [esi + 4]
mov ecx, dword [eax]
push edi
push eax
mov edx, dword [ecx + 0x18]
call edx
mov eax, dword [esi]
lea ebx, [esi + 8]
mov ecx, dword [eax]
push ebx
push eax
mov edx, dword [ecx + 0x1c]
call edx
mov ecx, dword [edi]
imul ecx, dword [ebp + 8]
add ecx, 0x4f6
mov eax, 0x6734d007
imul ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0xc], eax
mov ecx, dword [ebx]
imul ecx, dword [ebp - 0x18]
add ecx, 0x4f6
mov eax, 0x6734d007
imul ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esi + 0x10], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x423f90
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4240ac
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [esp + 0x14]
push ecx
push edi
push eax
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x34]
push edx
push 1
push ebx
mov dword [esp + 0x40], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [esp + 0x34]
lea esi, [ebp + 8]
push esi
push 0x46b6e0
push 0
push edi
push eax
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov edi, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test edi, edi
jl 0x4240ac
mov esi, dword [esi]
test esi, esi
je 0x4240ac
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x14]
push ecx
push esi
call edx
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.0042b656
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0042b603
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
push ecx
push eax
push 0
mov dword [edx], eax
push 0
lea eax, [ebp + 0x14]
push eax
mov dword [edx + 4], ecx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, 1
mov dword [ebp + 4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0xc