joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480ec3
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push edi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
cmp dword [0x4e0f50], 0
jne 0x4810f0
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push str.TerminalServerFlexlmMutex
push 0x4d56c4
lea eax, [ebp - 0x104]
push eax
call fcn.004b486f
add esp, 0x10
lea ecx, [ebp - 0x104]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x480f75
xor eax, eax
jmp 0x4810fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x480f91
push 0xffffffffffffffff
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x4e0f50], 0
jne 0x4810d6
call fcn.00480dd0
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
sub ecx, 4
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 4
ja case.default.0x480fd7
mov edx, dword [ebp - 0x124]
jmp dword [edx*4 + 0x481101]
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4e0f60], eax
cmp dword [0x4e0f60], 0
je 0x48108f
push str.WTSEnumerateSessionsA
mov eax, dword [0x4e0f60]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4e0f58], eax
cmp dword [0x4e0f58], 0
je 0x48108f
push str.WTSFreeMemory
mov ecx, dword [0x4e0f60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4e0f5c], eax
cmp dword [0x4e0f5c], 0
je 0x48108f
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x114]
push eax
push 1
push 0
push 0
call dword [0x4e0f58]
cmp dword [ebp - 0x114], 0
je 0x481069
mov ecx, dword [ebp - 0x114]
cmp dword [ecx + 8], 0
jne 0x481078
mov edx, dword [ebp - 0x114]
push edx
call dword [0x4e0f5c]
jmp 0x48108f
mov eax, dword [ebp - 0x114]
push eax
call dword [0x4e0f5c]
mov dword [0x4e0f54], 1
mov ecx, dword [0x4e0f60]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4e0f60], 0
jmp case.default.0x480fd7
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je case.default.0x480fd7
mov dword [0x4e0f54], 1
mov dword [0x4e0f50], 1
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [0x4e0f54], 0
setne al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x482a64
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0xffffff9d
jne 0x482ab9
mov dword [0x4d5788], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x482a8c
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jae 0x482ab4
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ecx + 0x4d5750], 0
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [edx + 0x4d5754], 0
jmp 0x482a83
jmp 0x482c67
cmp dword [ebp + 0x10], 4
jb 0x482ad5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x482c67
cmp dword [ebp + 0x10], 0
jl 0x482ae1
cmp dword [ebp + 0x10], 4
jb 0x482ae6
jmp 0x482c67
cmp dword [0x4d5788], 0
jge 0x482af8
cmp dword [0x4d5788], 4
jae 0x482b0f
push 0
mov eax, dword [0x4d5788]
shl eax, 4
mov ecx, dword [eax + 0x4d5750]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 0x10]
mov dword [0x4d5788], edx
mov eax, dword [0x4d5788]
shl eax, 4
cmp dword [eax + 0x4d5754], 0
jne 0x482b58
mov ecx, dword [0x4d5788]
shl ecx, 4
mov edx, dword [ecx + 0x4d5750]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00482c6b
add esp, 8
mov ecx, dword [0x4d5788]
shl ecx, 4
mov dword [ecx + 0x4d5754], 1
push 0
push 0
push 0xaec
mov edx, dword [0x4d5788]
shl edx, 4
mov eax, dword [edx + 0x4d5750]
push eax
mov ecx, dword [0x4d5788]
shl ecx, 4
call dword [ecx + 0x4d5748]
push 5
mov edx, dword [0x4d5788]
shl edx, 4
mov eax, dword [edx + 0x4d5750]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 8], 0
jmp 0x482baa
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 3
jae 0x482c67
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4d5790]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x482c62
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4d5794]
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax + 0x138]
and edx, 1
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*8 + 0x4d5794]
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + edx + 0x138]
and ecx, 2
test ecx, ecx
je 0x482c62
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4d5794]
imul eax, eax, 0x32
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 0x13b]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*8 + 0x4d5794]
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + edx + 0x138]
and cl, 0xfd
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4d5794]
mov edx, dword [ebp + 0xc]
mov byte [edx + eax + 0x138], cl
jmp 0x482ba1
mov esp, ebp
pop ebp
ret
Function at 0x483a20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x4d58f8
lea eax, [ebp - 0x14]
push eax
call fcn.004b4b70
add esp, 8
mov dword [ebp - 0x24], 0
jmp 0x483a49
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 3
jge 0x483a6a
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x483a60
jmp 0x483a6a
mov al, byte [ebp - 0x14]
add al, 1
mov byte [ebp - 0x14], al
jmp 0x483a40
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret

Function at 0x484509
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0x4e7b04
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0048dc70
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0048de79
add esp, 8
push 0x40
push 0x1000
mov edx, dword [ebp - 8]
add edx, 0xa
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x48455d
xor eax, eax
jmp 0x484592
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004b43a0
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004b4340
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
call fcn.004176ae
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x485088
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov byte [ebp - 0x3c], 0x71
mov byte [ebp - 0x3b], 0xd5
mov byte [ebp - 0x3a], 0xac
mov byte [ebp - 0x39], 0xe3
mov byte [ebp - 0x38], 0xb3
mov byte [ebp - 0x37], 0x2b
mov byte [ebp - 0x36], 0x77
mov byte [ebp - 0x35], 0x6f
mov byte [ebp - 0x34], 0xcc
mov byte [ebp - 0x33], 0x37
mov byte [ebp - 0x32], 0x9f
mov byte [ebp - 0x31], 0x94
mov byte [ebp - 0x30], 0x8f
mov byte [ebp - 0x2f], 0x7f
mov byte [ebp - 0x2e], 0xa9
mov byte [ebp - 0x2d], 0xd6
mov byte [ebp - 0x2c], 0xec
mov byte [ebp - 0x2b], 0x9a
mov byte [ebp - 0x2a], 0x82
mov byte [ebp - 0x29], 0xcc
mov byte [ebp - 0x28], 0xa6
mov byte [ebp - 0x27], 0xef
mov byte [ebp - 0x26], 0x6e
mov byte [ebp - 0x25], 0x61
mov byte [ebp - 0x24], 0x77
mov byte [ebp - 0x23], 0xb8
mov byte [ebp - 0x22], 0x41
mov byte [ebp - 0x21], 0x25
mov byte [ebp - 0x20], 0x94
mov byte [ebp - 0x1f], 0xd7
mov byte [ebp - 0x1e], 0xe2
mov byte [ebp - 0x1d], 0xca
mov byte [ebp - 0x1c], 0x48
mov byte [ebp - 0x1b], 0x2a
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x35
mov byte [ebp - 0x18], 0x33
mov byte [ebp - 0x17], 0x1e
mov byte [ebp - 0x16], 0x6a
mov byte [ebp - 0x15], 0xb8
mov byte [ebp - 0x14], 0x2d
mov byte [ebp - 0x13], 0x67
mov byte [ebp - 0x12], 0xb5
mov byte [ebp - 0x11], 0x8f
mov byte [ebp - 0x10], 0xce
mov byte [ebp - 0xf], 0x43
mov byte [ebp - 0xe], 0xff
mov byte [ebp - 0xd], 0x2b
mov byte [ebp - 0xc], 0xf9
mov byte [ebp - 0xb], 0x97
mov byte [ebp - 0xa], 6
mov byte [ebp - 9], 0xfe
mov byte [ebp - 8], 0xd2
mov byte [ebp - 7], 0x11
mov byte [ebp - 6], 0xec
mov byte [ebp - 5], 0x47
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x4851c0
cmp dword [ebp + 0xc], 0
je 0x4851c0
cmp dword [ebp + 0x10], 0
je 0x4851c0
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x38
jbe 0x485198
mov dword [ebp - 0x40], 0x38
jmp 0x4851a0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004b43a0
add esp, 0xc
jmp 0x4851d6
cmp dword [ebp + 0x10], 0
je 0x4851cf
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ebp - 4], 0xffffffd6
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x48577f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x485839
mov eax, dword [ebp + 8]
cmp dword [eax + 0x198], 0
je 0x485839
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
cmp dword [edx + 0x1d04], 0
je 0x485839
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1d04]
cmp dword [edx + 4], 0
je 0x485839
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1d04]
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x7d0
mov dword [ebp - 4], eax
push 0
mov ax, word [ebp + 0x10]
push eax
mov cx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
call dword [edx + 4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x485820
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x485828
cmp dword [ebp - 0xc], 0
jge 0x485828
jmp 0x485839
cmp dword [ebp - 0xc], 0
jne 0x485839
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 4]
jb 0x4857fb
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x48cf60
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x48d0c9
mov dword [ebp - 0x120], 0x104
mov dword [ebp - 0x10], 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x48d0ba
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x48d0a1
mov dword [ebp - 0x120], 0
lea ecx, [ebp - 0x120]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
push 0x4d6e40
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x120]
add ecx, 1
push ecx
call fcn.004b48c1
add esp, 4
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push str.ServiceName
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 0
je 0x48d095
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b4b70
add esp, 8
mov edx, dword [ebp - 0x14]
push edx
call fcn.004b5eb2
add esp, 4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x120], 0x104
jmp 0x48cfac
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48d0d0
mov eax, 0xffffff01
jmp 0x48d0d2
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x48d465
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
cmp dword [0x4e2ab0], 0
jne 0x48d593
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push str.IPHelperMutex
push str._s__d
lea eax, [ebp - 0x104]
push eax
call fcn.004b486f
add esp, 0x10
lea ecx, [ebp - 0x104]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x48d4ef
xor eax, eax
jmp 0x48d599
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x48d50b
push 0xffffffffffffffff
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x4e2ab0], 0
jne 0x48d579
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4e2ab4], eax
cmp dword [0x4e2ab4], 0
jne 0x48d539
mov dword [ebp - 0x108], 0xfffffffe
jmp 0x48d56f
push str.GetNetworkParams
mov eax, dword [0x4e2ab4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4e2aa8], eax
cmp dword [0x4e2aa8], 0
je 0x48d56f
push str.GetAdaptersInfo
mov ecx, dword [0x4e2ab4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4e2aac], eax
mov dword [0x4e2ab0], 1
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x108]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x48ea40
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, dword [esp + 0x50]
mov bx, word [esp + 0x4c]
cmp bx, 4
mov word [esi], 0
jbe 0x48ea63
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.0048e6a0
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.0048e700
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.0048e7c0
lea eax, [esp + 0x18]
push eax
call fcn.0048e0a0
add bl, 0x31
and eax, 0xffff
mov byte [esp + eax + 0x18], bl
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xc]
push 0x10
push eax
lea eax, [esp + 0x24]
push 0x48ea30
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x48eb14
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.0048ea10
or ax, ax
je 0x48eadc
and eax, 0xffff
mov byte [esp + eax + 8], 0
cmp byte [esp + 8], 0x30
jne 0x48eb00
mov al, byte [esp + 9]
and al, 0xdf
cmp al, 0x58
jne 0x48eb00
lea eax, [esp + 0xa]
push esi
push eax
call fcn.0048e1b0
or al, al
jne 0x48eb14
jmp 0x48eb0f
lea eax, [esp + 8]
push esi
push eax
call fcn.0048e100
or al, al
jne 0x48eb14
mov word [esi], 0
mov ax, word [esi]
or ax, ax
je 0x48eb2c
cmp ax, 0xffff
je 0x48eb2c
mov al, 1
pop esi
pop ebx
add esp, 0x40
ret 8
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x48eb50
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, dword [esp + 0x50]
mov bx, word [esp + 0x4c]
cmp bx, 4
mov word [esi], 0
jbe 0x48eb73
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.0048e6a0
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.0048e700
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.0048e7c0
lea eax, [esp + 0x18]
push eax
call fcn.0048e0a0
add bl, 0x31
and eax, 0xffff
mov byte [esp + eax + 0x18], bl
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xc]
push 0x10
push eax
lea eax, [esp + 0x24]
push 0x48eb40
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x48ec24
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.0048ea10
or ax, ax
je 0x48ec24
and eax, 0xffff
mov cl, byte [esp + eax + 9]
and cl, 0xdf
cmp cl, 0x54
jne 0x48ec24
cmp byte [esp + eax + 0xa], 0x3a
jne 0x48ec24
push esi
lea eax, [esp + eax + 0xf]
push eax
call fcn.0048e100
or al, al
jne 0x48ec10
jmp 0x48ec1f
mov ax, word [esi]
cmp ax, 1
jl 0x48ec1f
cmp ax, 6
jle 0x48ec24
mov word [esi], 0
cmp word [esi], 1
sbb al, al
inc al
pop esi
pop ebx
add esp, 0x40
ret 8
Function at 0x48ec50
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
push esi
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.0048e6a0
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.0048e700
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.0048e8b0
lea eax, [esp + 4]
push 0x10
push eax
call fcn.0048e860
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push 0x10
push eax
lea eax, [esp + 0x40]
push 0x48ec40
push eax
lea eax, [esp + 0x38]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov esi, eax
or esi, esi
je 0x48ecbf
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.0048df30
mov ecx, dword [esp + 0x5c]
mov byte [ecx], al
cmp esi, 1
sbb al, al
inc al
pop esi
add esp, 0x50
ret 8

Function at 0x48ecd0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp + 0x20]
push 0x10
push eax
call fcn.0048e6a0
lea eax, [esp]
push 0x10
push eax
call fcn.0048e700
lea eax, [esp + 0x10]
push 0x10
push eax
call fcn.0048e810
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push 0
push eax
lea eax, [esp + 0xc]
push eax
call sub.KERNEL32.dll_GetPrivateProfileIntA
mov ecx, dword [esp + 0x34]
cmp eax, 1
mov word [ecx], ax
sbb cl, cl
inc cl
mov al, cl
add esp, 0x30
ret 4

Function at 0x48ed40
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x70
push esi
mov esi, dword [esp + 0x78]
push 0x10
mov word [esi], 0
lea eax, [esp + 8]
push 0
push eax
call fcn.0048e0c0
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.0048e6a0
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.0048e700
lea eax, [esp + 0x54]
push 0x10
push eax
call fcn.0048e760
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.0048e910
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.0048e9c0
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.0048e970
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 8]
push 0x10
push eax
lea eax, [esp + 0x60]
push 0x48ed30
push eax
lea eax, [esp + 0x58]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x48ee13
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 8]
push eax
call fcn.0048df30
or al, al
je 0x48ede1
mov word [esi], 2
jmp 0x48ee13
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 8]
push eax
call fcn.0048df30
or al, al
je 0x48edfb
mov word [esi], 3
jmp 0x48ee13
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.0048df30
or al, al
je 0x48ee13
mov word [esi], 1
cmp word [esi], 1
sbb al, al
inc al
pop esi
add esp, 0x70
ret 4
Function at 0x48f000
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 4
push ebx
push esi
push edi
push ebp
mov esi, dword [esp + 0x18]
mov byte [esp + 0x13], 0
lea eax, [esi + 4]
mov edi, dword [esp + 0x1c]
mov dword [esi], eax
mov ax, word [edi + 4]
mov word [esi + 4], ax
mov ax, word [edi + 0xa]
mov word [esi + 6], ax
mov ax, word [edi + 0x14]
mov word [esi + 0x16], ax
mov ax, word [edi + 8]
mov word [esi + 8], ax
mov ax, word [edi + 6]
mov word [esi + 0xa], ax
lea eax, [esi + 0x24]
mov dword [esi + 0x10], eax
lea eax, [esi + 4]
push eax
call fcn.0048ef00
or al, al
jne 0x48f18a
test byte [edi + 0x1c], 4
je 0x48f063
mov byte [esp + 0x13], 1
sub cx, cx
sub dx, dx
lea esp, [esp]
mov ebp, ecx
and ebp, 0xffff
lea eax, [ebp*8]
sub eax, ebp
shl eax, 2
lea eax, [eax + eax*4]
lea ebx, [esi + eax]
lea eax, [ebp*4]
mov word [ebx + 0x36], cx
lea eax, [eax + eax*8]
lea ebp, [edi + eax]
mov ax, word [ebp + 0xe]
mov word [ebx + 0x9c], ax
mov ax, word [ebp + 0x12]
mov word [ebx + 0x8e], ax
mov ax, word [ebp + 0x16]
mov word [ebx + 0x34], ax
mov ax, word [ebp + 0x18]
mov word [ebx + 0x32], ax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x2c], eax
cmp cx, 3
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x28], eax
lea eax, [esi + 4]
mov dword [ebx + 0xa4], eax
jne 0x48f0f0
mov dword [ebx + 0xa8], 0
jmp 0x48f0fc
lea eax, [ebx + 0xb0]
mov dword [ebx + 0xa8], eax
or cx, cx
jne 0x48f110
mov dword [ebx + 0xac], 0
jmp 0x48f119
lea eax, [ebx - 0x68]
mov dword [ebx + 0xac], eax
cmp byte [esp + 0x13], 0
je 0x48f130
cmp word [ebp + 0xe], 0xffff
jne 0x48f130
or dword [ebx + 0x2c], 8
jmp 0x48f136
mov word [ebx + 0x36], dx
inc dx
inc cx
cmp cx, 4
jb 0x48f070
push esi
call fcn.0048ef70
push esi
call fcn.0048eeb0
push esi
call fcn.0048ee70
mov eax, dword [esi + 0x10]
push eax
call fcn.00490330
mov word [esi + 0xc], ax
or ax, ax
je 0x48f180
lea eax, [esi + 4]
push eax
call fcn.00490180
sub ax, ax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8
push esi
call fcn.0048ee40
mov ax, 9
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8

Function at 0x491280
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push esi
push edi
lea eax, [esp + 0xa]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push eax
push esi
call fcn.0048f1a0
mov eax, dword [esp + 0xc]
push 0xd
mov ax, word [eax + 4]
push eax
call fcn.00490db0
or al, al
jne 0x49130a
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.00491ba0
or al, al
jne 0x49130a
mov eax, dword [esp + 0xc]
mov ax, word [eax + 0xa]
push eax
mov eax, dword [esp + 0x10]
mov al, byte [eax + 8]
push eax
mov eax, dword [esp + 0x14]
mov ax, word [eax + 6]
push eax
mov eax, dword [esp + 0x18]
mov ax, word [eax + 4]
push eax
mov eax, dword [esp + 0x20]
push eax
push esi
call fcn.00491a60
mov di, ax
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.00491bf0
or di, di
je 0x49130a
mov ax, di
pop edi
pop esi
add esp, 0xc
ret 8