joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c6d6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0xffffff9d
jne 0x41c72b
mov dword [0x4727d0], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x41c6fe
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jae 0x41c726
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ecx + 0x472798], 0
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [edx + 0x47279c], 0
jmp 0x41c6f5
jmp 0x41c8d9
cmp dword [ebp + 0x10], 4
jb 0x41c747
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x41c8d9
cmp dword [ebp + 0x10], 0
jl 0x41c753
cmp dword [ebp + 0x10], 4
jb 0x41c758
jmp 0x41c8d9
cmp dword [0x4727d0], 0
jge 0x41c76a
cmp dword [0x4727d0], 4
jae 0x41c781
push 0
mov eax, dword [0x4727d0]
shl eax, 4
mov ecx, dword [eax + 0x472798]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 0x10]
mov dword [0x4727d0], edx
mov eax, dword [0x4727d0]
shl eax, 4
cmp dword [eax + 0x47279c], 0
jne 0x41c7ca
mov ecx, dword [0x4727d0]
shl ecx, 4
mov edx, dword [ecx + 0x472798]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c8dd
add esp, 8
mov ecx, dword [0x4727d0]
shl ecx, 4
mov dword [ecx + 0x47279c], 1
push 0
push 0
push 0xaec
mov edx, dword [0x4727d0]
shl edx, 4
mov eax, dword [edx + 0x472798]
push eax
mov ecx, dword [0x4727d0]
shl ecx, 4
call dword [ecx + 0x472790]
push 5
mov edx, dword [0x4727d0]
shl edx, 4
mov eax, dword [edx + 0x472798]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 8], 0
jmp 0x41c81c
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 3
jae 0x41c8d9
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4727d8]
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 0x41c8d4
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4727dc]
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax + 0x13c]
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 + 0x4727dc]
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + edx + 0x13c]
and ecx, 2
test ecx, ecx
je 0x41c8d4
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4727dc]
imul eax, eax, 0x32
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 0x13f]
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 + 0x4727dc]
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + edx + 0x13c]
and cl, 0xfd
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4727dc]
mov edx, dword [ebp + 0xc]
mov byte [edx + eax + 0x13c], cl
jmp 0x41c813
mov esp, ebp
pop ebp
ret
Function at 0x421066
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push esi
push edi
mov byte [ebp - 0x404], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x403]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x80c], 0
mov dword [ebp - 0x808], 0
mov byte [ebp - 0x804], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x803]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0x400
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x50]
push ecx
push 0x472c6c
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x80c]
push eax
push 0x20007
push 0
push 0x472c78
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x421158
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x421119
xor edx, edx
test edx, edx
je 0x421119
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x810], ecx
jmp 0x421123
mov dword [ebp - 0x810], 0xffffff86
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x810]
mov dword [edx + 0x14], eax
push 0
push 0xff
push 0
push 0
push 0x267
push 0xffffffffffffff86
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404a80
add esp, 0x1c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
jmp 0x42127b
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x804]
push ecx
mov edx, dword [ebp - 0x808]
mov dword [ebp - 0x814], edx
mov eax, dword [ebp - 0x814]
push eax
mov ecx, dword [ebp - 0x80c]
push ecx
mov edx, dword [ebp - 0x808]
add edx, 1
mov dword [ebp - 0x808], edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x42126c
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x804], 0
lea ecx, [ebp - 0x404]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x421260
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
mov edx, dword [ebp + 0xc]
add edx, 4
push edx
lea eax, [ebp - 0x804]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
sub esi, eax
lea edx, [ebp + esi - 0x804]
push edx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x421260
lea eax, [ebp - 0x804]
push eax
mov ecx, dword [ebp - 0x80c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.LM_BORROW
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00421281
add esp, 8
mov dword [ebp - 4], 0x400
jmp 0x421158
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x427180
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
mov edx, dword [ecx + 0xf54]
and edx, 0x40
test edx, edx
jne 0x4271aa
xor eax, eax
jmp 0x427383
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3fc]
and ecx, 0x80
test ecx, ecx
jne 0x42721b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3fc]
or al, 0x80
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3fc], eax
push str.BUG_B
push 0x45
push 0x44
push str.FLEXLM__c_c_sADDATE
lea edx, [ebp - 0x2cc]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0x2cc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00417b05
add esp, 8
test eax, eax
je 0x42721b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3fc]
or ah, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3fc], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3fc]
and eax, 0x100
test eax, eax
je 0x427288
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x42724a
xor edx, edx
test edx, edx
je 0x42724a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x2d0], ecx
jmp 0x427254
mov dword [ebp - 0x2d0], 0xffffffa8
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2d0]
mov dword [edx + 0x14], eax
push 0
push 0xff
push 0
push 0
push 0x138
push 0xffffffffffffffa8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404a80
add esp, 0x1c
mov eax, 0xffffffa8
jmp 0x427383
mov byte [ebp - 0x204], 0x5c
mov byte [ebp - 0x203], 0
push 0
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00427387
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4272bc
mov eax, dword [ebp - 4]
jmp 0x427383
push 0x200
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00427387
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4272f4
mov eax, dword [ebp - 4]
jmp 0x427383
mov byte [ebp - 0x204], 0x2f
mov byte [ebp - 0x202], 0x61
mov byte [ebp - 0x201], 0x72
mov byte [ebp - 0x203], 0x76
mov byte [ebp - 0x200], 0
push 0
lea ecx, [ebp - 0x204]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00427387
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42733a
mov eax, dword [ebp - 4]
jmp 0x427383
mov byte [ebp - 0x204], 0x2f
mov byte [ebp - 0x200], 0
mov byte [ebp - 0x202], 0x6d
mov byte [ebp - 0x203], 0x74
mov byte [ebp - 0x201], 0x70
push 0
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00427387
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x427380
mov eax, dword [ebp - 4]
jmp 0x427383
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x430c04
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x430c32
cmp dword [ebp + 0x10], 0
jne 0x430c34
jmp 0x430c95
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004458b3
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x430c95
cmp dword [ebp - 4], 0
je 0x430c95
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004458b3
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x430c95
cmp dword [ebp - 4], 0
je 0x430c95
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], 0
je 0x430cae
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041ac76
add esp, 4
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0xc], 0
je 0x430cc7
mov eax, dword [ebp - 0xc]
push eax
call fcn.0041ac76
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x430cce
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x430cfc
cmp dword [ebp + 0x10], 0
jne 0x430cfe
jmp 0x430d5f
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00445a8f
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x430d5f
cmp dword [ebp - 4], 0
je 0x430d5f
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00445a8f
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x430d5f
cmp dword [ebp - 4], 0
je 0x430d5f
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll__wrename]
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], 0
je 0x430d78
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041ac76
add esp, 4
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0xc], 0
je 0x430d91
mov eax, dword [ebp - 0xc]
push eax
call fcn.0041ac76
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x430f1c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0xffffffff
cmp dword [ebp + 0xc], 0
jne 0x430f3f
jmp 0x430f72
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004458b3
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x430f72
cmp dword [ebp - 4], 0
je 0x430f72
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
je 0x430f8b
mov ecx, dword [ebp - 8]
push ecx
call fcn.0041ac76
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x430f92
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0xffffffff
cmp dword [ebp + 0xc], 0
jne 0x430fb5
jmp 0x430fe8
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00445a8f
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x430fe8
cmp dword [ebp - 4], 0
je 0x430fe8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCRT.dll__wremove]
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
je 0x431001
mov ecx, dword [ebp - 8]
push ecx
call fcn.0041ac76
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x43d2e0
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 0x43d303
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.0043cf40
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.0043cfa0
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.0043d060
lea eax, [esp + 0x18]
push eax
call fcn.0043c940
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 0x43d2d0
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x43d3b4
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.0043d2b0
or ax, ax
je 0x43d37c
and eax, 0xffff
mov byte [esp + eax + 8], 0
cmp byte [esp + 8], 0x30
jne 0x43d3a0
mov al, byte [esp + 9]
and al, 0xdf
cmp al, 0x58
jne 0x43d3a0
lea eax, [esp + 0xa]
push esi
push eax
call fcn.0043ca50
or al, al
jne 0x43d3b4
jmp 0x43d3af
lea eax, [esp + 8]
push esi
push eax
call fcn.0043c9a0
or al, al
jne 0x43d3b4
mov word [esi], 0
mov ax, word [esi]
or ax, ax
je 0x43d3cc
cmp ax, 0xffff
je 0x43d3cc
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 0x43d3f0
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 0x43d413
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.0043cf40
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.0043cfa0
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.0043d060
lea eax, [esp + 0x18]
push eax
call fcn.0043c940
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 0x43d3e0
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x43d4c4
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.0043d2b0
or ax, ax
je 0x43d4c4
and eax, 0xffff
mov cl, byte [esp + eax + 9]
and cl, 0xdf
cmp cl, 0x54
jne 0x43d4c4
cmp byte [esp + eax + 0xa], 0x3a
jne 0x43d4c4
push esi
lea eax, [esp + eax + 0xf]
push eax
call fcn.0043c9a0
or al, al
jne 0x43d4b0
jmp 0x43d4bf
mov ax, word [esi]
cmp ax, 1
jl 0x43d4bf
cmp ax, 6
jle 0x43d4c4
mov word [esi], 0
cmp word [esi], 1
sbb al, al
inc al
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x43d4f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
push esi
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.0043cf40
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.0043cfa0
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.0043d150
lea eax, [esp + 4]
push 0x10
push eax
call fcn.0043d100
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push 0x10
push eax
lea eax, [esp + 0x40]
push 0x43d4e0
push eax
lea eax, [esp + 0x38]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov esi, eax
or esi, esi
je 0x43d55f
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.0043c7d0
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 0x43d570
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp + 0x20]
push 0x10
push eax
call fcn.0043cf40
lea eax, [esp]
push 0x10
push eax
call fcn.0043cfa0
lea eax, [esp + 0x10]
push 0x10
push eax
call fcn.0043d0b0
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 0x43d5e0
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.0043c960
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.0043cf40
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.0043cfa0
lea eax, [esp + 0x54]
push 0x10
push eax
call fcn.0043d000
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.0043d1b0
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.0043d260
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.0043d210
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 8]
push 0x10
push eax
lea eax, [esp + 0x60]
push 0x43d5d0
push eax
lea eax, [esp + 0x58]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x43d6b3
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 8]
push eax
call fcn.0043c7d0
or al, al
je 0x43d681
mov word [esi], 2
jmp 0x43d6b3
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 8]
push eax
call fcn.0043c7d0
or al, al
je 0x43d69b
mov word [esi], 3
jmp 0x43d6b3
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.0043c7d0
or al, al
je 0x43d6b3
mov word [esi], 1
cmp word [esi], 1
sbb al, al
inc al
pop esi
add esp, 0x70
ret 4
Function at 0x43d8a0
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.0043d7a0
or al, al
jne 0x43da2a
test byte [edi + 0x1c], 4
je 0x43d903
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 0x43d990
mov dword [ebx + 0xa8], 0
jmp 0x43d99c
lea eax, [ebx + 0xb0]
mov dword [ebx + 0xa8], eax
or cx, cx
jne 0x43d9b0
mov dword [ebx + 0xac], 0
jmp 0x43d9b9
lea eax, [ebx - 0x68]
mov dword [ebx + 0xac], eax
cmp byte [esp + 0x13], 0
je 0x43d9d0
cmp word [ebp + 0xe], 0xffff
jne 0x43d9d0
or dword [ebx + 0x2c], 8
jmp 0x43d9d6
mov word [ebx + 0x36], dx
inc dx
inc cx
cmp cx, 4
jb 0x43d910
push esi
call fcn.0043d810
push esi
call fcn.0043d750
push esi
call fcn.0043d710
mov eax, dword [esi + 0x10]
push eax
call fcn.0043ebd0
mov word [esi + 0xc], ax
or ax, ax
je 0x43da20
lea eax, [esi + 4]
push eax
call fcn.0043ea20
sub ax, ax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8
push esi
call fcn.0043d6e0
mov ax, 9
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8

Function at 0x43fb20
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.0043da40
mov eax, dword [esp + 0xc]
push 0xd
mov ax, word [eax + 4]
push eax
call fcn.0043f650
or al, al
jne 0x43fbaa
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.00440440
or al, al
jne 0x43fbaa
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.00440300
mov di, ax
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.00440490
or di, di
je 0x43fbaa
mov ax, di
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x43fc50
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0xe]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
mov edi, dword [esp + 0x28]
push eax
mov esi, dword [esp + 0x28]
push edi
push esi
call fcn.0043da40
lea eax, [esp + 0xe]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
call fcn.0043da40
mov eax, dword [esp + 0x10]
push 0xe
mov ax, word [eax + 4]
push eax
call fcn.0043f650
or al, al
jne 0x43fd33
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.00440440
mov bx, ax
or bl, bl
jne 0x43fd02
mov eax, dword [esp + 0x10]
mov ax, word [eax + 0xe]
push eax
mov eax, dword [esp + 0x14]
mov ax, word [eax + 0xc]
push eax
mov eax, dword [esp + 0x18]
mov ax, word [eax + 0xa]
push eax
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 8]
push eax
mov eax, dword [esp + 0x20]
mov ax, word [eax + 6]
push eax
mov eax, dword [esp + 0x24]
mov ax, word [eax + 4]
push eax
mov eax, dword [esp + 0x2c]
push eax
push esi
call fcn.00440350
mov bx, ax
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.00440490
push esi
call fcn.0043db50
cmp ax, 0xd
jne 0x43fd12
mov bx, 0xd
cmp bl, 0xd
je 0x43fd1d
cmp bx, 3
jne 0x43fd30
mov ax, word [esp + 0xe]
dec word [esp + 0xe]
or ax, ax
jne 0x43fca2
mov ax, bx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8

Function at 0x441ae0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xc
push esi
mov byte [esp + 4], 0x52
mov byte [esp + 5], 0x4e
mov byte [esp + 6], 0x42
mov byte [esp + 7], 0x4f
mov byte [esp + 8], 0x44
mov byte [esp + 9], 0x52
mov byte [esp + 0xa], 0x56
mov ax, word [esp + 0x18]
add al, 0x30
mov byte [esp + 0xb], al
mov esi, dword [esp + 0x14]
mov byte [esp + 0xc], 0
mov dword [esi], 0
push 0
push 0x80
push 3
push 0
push 3
lea eax, [esp + 0x18]
push 0xc0000000
push eax
call sub.KERNEL32.dll_CreateFileA
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x441b76
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
jb 0x441b53
cmp eax, 3
jbe 0x441b6b
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x441b60
push eax
call sub.KERNEL32.dll_CloseHandle
mov ax, 0x80b
pop esi
add esp, 0xc
ret 8
mov ax, 0x80c
pop esi
add esp, 0xc
ret 8
mov ax, 0x800
pop esi
add esp, 0xc
ret 8

Function at 0x441b90
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 4
push ebx
push esi
push edi
mov esi, dword [esp + 0x18]
push esi
mov word [esi + 6], 0xffff
call fcn.00441a80
lea eax, [esp + 0xc]
push 0
push eax
xor eax, eax
mov ax, word [esi + 2]
push eax
mov edi, dword [esp + 0x20]
push esi
mov eax, dword [edi]
push eax
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
or ebx, ebx
je 0x441be0
lea eax, [esp + 0xc]
push 0
push eax
xor eax, eax
mov ax, word [esi + 2]
push eax
push esi
mov eax, dword [edi]
push eax
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
push esi
call fcn.00441a40
or ebx, ebx
je 0x441bf2
cmp word [esi + 6], 0xffff
jne 0x441bf8
mov word [esi + 6], 0x83b
mov ax, word [esi + 6]
pop edi
pop esi
pop ebx
add esp, 4
ret 8