joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1048250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x105c808
push 0x104c288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1048329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1048329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0104b1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x1048329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x1048329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x104832c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.01048351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1048d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1048d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x1048d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1048d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1048d94
push eax
push esi
call fcn.0104b20b
add esp, 8
pop esi
ret 0x10

Function at 0x1048da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1048e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x1048e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x1061320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0104adff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x1048dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x1048e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1048ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x1048eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x1061320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0104adff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x1048eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x1048e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x1049000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x1049131
push esi
call fcn.0104c145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.0103b080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x1049131
push 0
push ebp
call fcn.0103b3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0103b260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x104908b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.0103b2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1049121
push 0x1061918
push edi
call fcn.0104a3f0
push eax
push ebx
push esi
call fcn.01048f60
push 0x10618f8
push edi
call fcn.0104a3f0
push eax
push ebx
push esi
call fcn.01048f60
push 0x10618d8
push edi
call fcn.0104a3f0
push eax
push ebx
push esi
call fcn.01048f60
push 0x10618c0
push edi
call fcn.0104a3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.01048f60
push 0x10618a0
push edi
call fcn.0104a3f0
push eax
push ebx
push esi
call fcn.01048f60
push 0x1061888
push edi
call fcn.0104a3f0
push eax
push ebx
push esi
call fcn.01048f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x104a1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0104a140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0104a140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0104a140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0104a140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x104abfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x104ac50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x105c87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x104ac43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x104ac52
xor eax, eax
pop esi
leave
ret 4
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100027d8
Capabilities:
Packed with generic packer

Disassembly:
mov dword [esp + 0x214], eax
mov dword [esp + 0x1cc], 0x3f
mov dword [esp + 0x1e0], 0x137
mov dword [esp + 0x1f4], 0x13f
mov dword [esp + 0x208], 0xff
mov dword [esp + 0x20c], ecx
mov dword [esp + 0x210], edx
mov dword [esp + 0x218], eax
lea esi, [esp + 0xe0]
mov edi, 0x1001c10e
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi - 4]
jne 0x100027c6
push 0x10
push esi
int3
jmp loc.1002ef0d
cmp eax, 0xffffffff
je 0x10002798
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1000285d
xor eax, eax
pop esi
add esp, 0xc
ret
je 0x100028d6
jmp loc.1002d67e
mov dword [esp + 0x18], eax
jmp dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x100028a0
call eax
jmp 0x1000290e
push 0x18
mov esi, ecx
push 0
push esi
call fcn.1000d4f2
add esp, 0xc
mov eax, esi
pop esi
lea edx, [esp + 8]
push edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
call dword [ecx + 0x24]
mov ecx, dword [esi + 0x14]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x14]
xor eax, eax
pop ebx
add esp, 0x1c
ret

Function at 0x1000303c
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1001c48e
mov al, byte [0x10009bd0]
push ebx
push esi
xor ebx, ebx
test al, 2
mov esi, ecx
push edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
jmp loc.1002cfd7
Function at 0x10003cc0
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
add esp, 0xffffffc8
push eax
push ecx
push ebx
push edi
add ecx, dword [ebp - 0x2c]
add esp, 4
push edi
push edi
mov dword [ebp - 0x1c], 0x100003cc
add esp, 4
push ebp
or dword [ebp - 0x30], eax
pop edi
add edi, 1
push dword [ebp - 0x24]
cmp ecx, eax
jbe 0x10003cf2
dec ecx
mov byte [ebp - 0x2c], 0x20
add ecx, dword [ebp - 0x24]
xor ebx, edx
jne 0x10003cfc
mov ebx, dword [ebp - 0x10]
add esp, 4
add edi, 3
add eax, dword [ebp - 0x2c]
xor ebx, edx
sub dword [ebp - 0x10], edi
push dword [ebp - 0x28]
add esp, 4
push dword [edi]
dec eax
mov byte [ebp - 0x20], 0xa0
cmp ecx, 0x3f0
je 0x10003d20
dec ebx
pop edi
shl eax, 6
cmp ecx, 0x30
jne 0x10003d33
lea eax, [edx]
or ecx, esi
shr eax, 6
mov dword [ebp - 0x10], 0x1000032c
push esi
sub ebx, edi
xor ebx, esi
jne 0x10003d44
inc ebx
or ecx, edi
push dword [ebp - 0x10]
push esi
add ecx, dword [ebp - 0x14]
add esp, 8
mov esi, ebp
cmp eax, edi
jbe 0x10003d59
jmp 0x1003039d
push dword [ebp - 0x20]
mov dword [ebp - 0xc], 0x1000034c
add esp, 4
mov dword [esi - 0x38], edi
push ebp
push dword [ebp - 0x18]
mov dword [ebp - 0x20], 0x10000198
add esp, 4
pop edi
add edi, 5
cmp ebx, 0x248
jb 0x10003d8d
sub eax, edi
or eax, esi
add ebx, 0x6a6
add edi, 3
mov ebx, dword [ebp - 0x28]
and dword [ebp - 0xc], ebx
push dword [edi]
push ecx
xor eax, ebx
jae 0x10003d9f
or ecx, edx
add esp, 4
pop edi
push dword [ebp - 0x10]
add esp, 4
push 0xd235afa
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], 0x10000310
or eax, esi
jb 0x10003dc2
shl eax, 7
push dword [ebp - 0x30]
add esp, 8
add dword [esp], 0x2dca506
add eax, dword [ebp - 0x24]
push dword [ebp - 8]
mov dword [ebp - 0x20], 0x10000154
add esp, 4
sub edi, dword [esp]
cmp ecx, 0x74
jae 0x10003ded
sub ecx, ebx
sub dword [ebp - 0x1c], esi
add ecx, dword [ebp - 0x20]
push ebx
add ecx, esi
or ebx, ecx
je 0x10003df9
add eax, edi
xor dword [ebp - 0xc], ecx
add esp, 4
add eax, edx
add esp, 4
push eax
or ebx, eax
mov byte [ebp - 0x14], 0xd4
cmp eax, eax
jb 0x10003e15
shr eax, 6
xor ebx, edi
inc ecx
add esp, 4
add edi, dword [ebp - 0x38]
cmp eax, 0x114
jb 0x10003e2b
add ebx, 0xf35e
inc eax
inc eax
push edx
push dword [ebp - 0x28]
add esp, 8
pop esi
push edi
xor eax, edi
jb 0x10003e41
add eax, ecx
mov dword [ebp - 0x1c], 0x10000240
add esp, 4
push edi
and eax, edi
push dword [ebp - 8]
add ecx, dword [ebp - 0x24]
push dword [ebp - 0x20]
shr eax, 9
add esp, 8
mov edi, ebp
push esi
mov byte [ebp - 0x18], 0x9c
xor ecx, esi
jbe 0x10003e63
xor ebx, edi
add esp, 4
add edi, 4
push dword [ebp - 0x24]
add eax, dword [ebp - 0x18]
cmp ecx, edi
je 0x10003e79
shr eax, 5
shl ebx, 2
push dword [ebp - 0x28]
add esp, 8
pop dword [edi]
mov dword [ebp - 0xc], 0x100001a4
pop edi
pop ebx
pop ecx
pop eax
leave
ret 0x14
Function at 0x1000427c
Capabilities:
Packed with generic packer

Disassembly:
mov edx, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 4]
push ecx
push 0x1001cf2f
push edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.GDI32.dll_SetTextColor]
test eax, eax
push ebx
push 0x10005ee0
call 0x100042d0
pop edi
xor eax, eax
test ebp, ebp
pop esi
setge al
pop ebp
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
test eax, eax
push edi
mov edi, 0x1001d0a3
lea esp, [esp + 8]
mov ebx, dword [esp + 8]
push 0xffffffffffffffbe
jmp loc.1002d3f3

Function at 0x100042d0
Capabilities:
Packed with generic packer

Disassembly:
mov edx, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 4]
push ecx
push 0x1001cf2f
push edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.GDI32.dll_SetTextColor]
test eax, eax
push ebx
push 0x10005ee0
call 0x100042d0
pop edi
xor eax, eax
test ebp, ebp
pop esi
setge al
pop ebp
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
test eax, eax
push edi
mov edi, 0x1001d0a3
lea esp, [esp + 8]
mov ebx, dword [esp + 8]
push 0xffffffffffffffbe
jmp loc.1002d3f3

Function at 0x1000437b
Capabilities:
Packed with generic packer

Disassembly:
push eax
pop ebx
leave
push esp
push 0x35
push dword [esp + 8]
push 0x100003ca
push 0x100081e9
call fcn.10003abc
mov ecx, esi
call fcn.1000a026
lea eax, [esp + 0xc10]
push eax
push 0x1001ce1b
lea ecx, [esp + 0x1c20]
push ecx
mov ecx, esi
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, edx
pop edi
mov ecx, dword [0x1001ce93]
push 1
call fcn.1000f2f8
push ebx
push 0x100052b8
push 0xffffffffffffffb1
push dword [esp - 0x55]
call fcn.100043bd
pop ecx
cmp edx, 0x20
jne 0x10004344
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
lea edx, [esp]
Function at 0x100043bd
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
lea edx, [esp]
push edx
push 0x64
push 9
push eax
call dword [ecx + 0x60]
mov eax, dword [esp]
pop ecx
ret 4
je 0x10002ce6
mov dword [esp], eax
lea edx, [esp]
push edx
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0xffff
mov dword [esp + 8], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
test eax, eax
jge 0x10002c98
push 0
push 0xffffffffffffffff
push 0x1001c8dd
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
add esp, 0xc
add esp, 8
ret
push edx
push 0x64
push 0xd
push eax
jmp 0x1002f8ee
lea esp, [esp + 0x10]
mov ebx, dword [esp + 8]
push eax
push dword [esp - 0x42]
push dword [esp + 0x25]
push 0xffffffffffffff96
call 0x100043f8
je 0x100043b1
mov eax, dword [esi + 4]
cmp eax, dword [0x1001ce27]
je 0x100043d8
dec dword [esi]
jne 0x100043ed
push esi
call dword [eax + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [esp + 0x1c]
lea esp, [esp + 0x14]
add dword [esp + 4], ebx
push dword [esp - 0x21]
call 0x1000442d
cmp eax, 0xffffffff
je 0x10002cc6
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [0x1001cd18]
cmp eax, ecx
mov ebx, dword [0x1001c0dd]
je 0x1000442a
push ecx
push eax
call ebx
lea esp, [esp + 8]
pop ebx
ret 0xc

Function at 0x1000456f
Capabilities:
Packed with generic packer

Disassembly:
push 0
push 0x1001cb5d
push 0x1001c40c
push esi
call fcn.100065d6
xor edx, edx
test edi, edi
setge dl
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
mov esi, edx

Function at 0x100045b1
Capabilities:
Packed with generic packer

Disassembly:
mov dword [esp + 0x28], esi
mov ecx, 0x1001c037
lea edi, [esp + 0x2c]
push esi
push 0x70
call 0x100045b1
push ecx
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x1000455d
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x100045ed
lea edx, [esp]
push edx
lea esp, [esp + 8]
mov esi, dword [esp + 8]
push 0x10005940
call fcn.100045f3
jmp loc.1002fd44
jmp dword [sym.imp.KERNEL32.dll_EnterCriticalSection]

Function at 0x10004684
Capabilities:
Packed with generic packer

Disassembly:
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
lea eax, [esp]
push eax
push 0x1001cc3b
push ecx

Function at 0x100046da
Capabilities:
Packed with generic packer

Disassembly:
call dword [sym.imp.GDI32.dll_Escape]
test eax, eax
je 0x10004711
mov eax, dword [0x1001d2cd]
mov ecx, dword [esp]
lea edx, [esp + 4]
push edi
push dword [esp - 0x42]
push edx
push 0x10003e00
call 0x100046da
push 0x1001cc8a
push ecx
call dword [sym.imp.USER32.dll_GetSubMenu]
test eax, eax
jne 0x1000469b
pop ecx
mov edx, dword [esp]
mov eax, dword [0x1001c04a]
lea esp, [esp + 0x10]
mov edi, dword [esp + 8]
push 0xf
push 0xffffffffffffff9c
push 0x10002c90
jmp 0x1002b7c7
mov dword [esp], eax
lea eax, [esp]
push eax
pushfd
pushal
push ebp
mov ebp, esp
dec eax
push ebx
push edx
dec ecx
dec ecx
push ebx
dec ecx
mov edx, 0x1000002
xor al, 0
add esp, 0xc
leave
popal
popfd
jl 0x1000469b
jmp 0x1000b994
Function at 0x10004718
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0x10]
add dword [esp + 4], edi
push 0x100014d0
push 0xffffffffffffffa5
push esp
push 0x7a
push esp
call fcn.10004740
push esi
push dword [ebp + 8]
jmp 0x1002b80f

Function at 0x100048f6
Capabilities:
Packed with generic packer

Disassembly:
push ecx
mov ecx, dword [ecx + 0x14]
xor eax, eax
test ecx, ecx
mov dword [esp], eax
je fcn.10004942
mov eax, dword [ecx]
lea edx, [esp]
push edx

Function at 0x1000490e
Capabilities:
Packed with generic packer

Disassembly:
pop esi
sub esp, 0x10
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 8]
push edx
push esi
push dword [esp + 0x3a]
push 0xffffffffffffffff
push 0xffffffffffffffcc
call fcn.10004951
jmp loc.10030409

Function at 0x10004951
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0x10]
mov esi, dword [esp + 8]
push 0x15
push 0x10004918
push dword [esp - 0x89]
push 0x10005ac8
call 0x1000498e
add byte [eax], al
sub esp, 0xc
mov eax, dword [0x1001c887]
push esi
mov dword [esp + 0xc], eax
xor esi, esi
call dword [sym.imp.USER32.dll_GetWindow]
push 7
lea ecx, [esp + 8]
lea esp, [esp + 0x14]
add dword [esp + 4], esi
push dword [esp - 0x55]
call 0x100049c7
cmp eax, 0xffffffff
jne 0x1000493c
xor eax, eax
mov ecx, dword [esp + 4]
call fcn.1000a45f
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
sub esp, 0xc
mov edx, dword [esp + 0x14]
xor eax, eax
push esi
mov dword [esp + 0xc], eax
lea esp, [esp + 8]
pop esi
ret 8

Function at 0x1000498e
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0x10]
mov esi, dword [esp + 8]
push 0x15
push 0x10004918
push dword [esp - 0x89]
push 0x10005ac8
call 0x1000498e
add byte [eax], al
sub esp, 0xc
mov eax, dword [0x1001c887]
push esi
mov dword [esp + 0xc], eax
xor esi, esi
call dword [sym.imp.USER32.dll_GetWindow]
push 7
lea ecx, [esp + 8]
lea esp, [esp + 0x14]
add dword [esp + 4], esi
push dword [esp - 0x55]
call 0x100049c7
cmp eax, 0xffffffff
jne 0x1000493c
xor eax, eax
mov ecx, dword [esp + 4]
call fcn.1000a45f
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
sub esp, 0xc
mov edx, dword [esp + 0x14]
xor eax, eax
push esi
mov dword [esp + 0xc], eax
lea esp, [esp + 8]
pop esi
ret 8
Function at 0x10004bd8
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push ebp
push dword [esp + 0x46]
push 0x10002c30
push dword [esp + 0x73]
push dword [esp - 0x26]
call 0x10004b9f
call fcn.10007909
mov ecx, dword [esp + 0x14]
push ecx
push 0x1001c7ef
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov ebp, eax
cmp ebp, esi
lea esp, [esp + 0x18]
mov ebx, dword [esp + 8]
push dword [esp + 0x35]
push 0x10003f28
push dword [esp - 0x2f]
call 0x10004bde
mov ecx, dword [esp + 0xc]
push eax
call fcn.100105dc
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
sub esp, 8
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
lea eax, [esp]
push eax
lea esp, [esp + 0x10]
add dword [esp + 4], ebx
push 0x10001c08
push dword [esp - 0x3d]
push 0xffffffffffffffda
call 0x10004c11
test eax, eax
je 0x10004c62
mov eax, dword [0x1001cc12]
mov ecx, dword [esp]
lea edx, [esp + 4]
push 1
push edx
call fcn.1000699a
cmp eax, 0xffffffff
lea esp, [esp + 0x10]
pop ebx
ret 4

Function at 0x10004bde
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push ebp
push dword [esp + 0x46]
push 0x10002c30
push dword [esp + 0x73]
push dword [esp - 0x26]
call 0x10004b9f
call fcn.10007909
mov ecx, dword [esp + 0x14]
push ecx
push 0x1001c7ef
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov ebp, eax
cmp ebp, esi
lea esp, [esp + 0x18]
mov ebx, dword [esp + 8]
push dword [esp + 0x35]
push 0x10003f28
push dword [esp - 0x2f]
call 0x10004bde
mov ecx, dword [esp + 0xc]
push eax
call fcn.100105dc
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
sub esp, 8
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
lea eax, [esp]
push eax
lea esp, [esp + 0x10]
add dword [esp + 4], ebx
push 0x10001c08
push dword [esp - 0x3d]
push 0xffffffffffffffda
call 0x10004c11
test eax, eax
je 0x10004c62
mov eax, dword [0x1001cc12]
mov ecx, dword [esp]
lea edx, [esp + 4]
push 1
push edx
call fcn.1000699a
cmp eax, 0xffffffff
lea esp, [esp + 0x10]
pop ebx
ret 4

Function at 0x10004c4b
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword [0x1001c02f]
mov ecx, dword [eax]
push 0x1001c986
push ecx