joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483b60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x5b3518
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x5b3510]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x483bb5
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x483bae
test esi, esi
je 0x483bae
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x483b90
mov dword [esp], 0x5b3518
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4848c0
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4848f4
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [0x5b3534], eax
call fcn.00491c80
test eax, eax
sete al
movzx eax, al
mov dword [0x4976c8], eax
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4848e3

Function at 0x484a10
Capabilities:
Set thread local storage value

Disassembly:
push ebp
push edi
mov ebp, eax
push esi
push ebx
mov ebx, edx
sub esp, 0x3c
mov eax, dword [eax + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [edx]
jmp 0x484a3c
mov dword [0x5b3538], edx
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [ebx], eax
test eax, eax
je 0x484af4
mov esi, dword [eax + 0x18]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebp
mov eax, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [esp + 4], 0xa
mov dword [esp], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x28]
call eax
test eax, eax
jne 0x484b50
test esi, esi
je 0x484ab7
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebp
mov eax, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [esp + 4], 0xa
mov dword [esp], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call esi
cmp eax, 7
je 0x484b2c
cmp eax, 8
jne 0x484b50
mov eax, dword [ebx]
mov edx, dword [eax]
mov eax, dword [0x4976c8]
test eax, eax
js 0x484b34
test eax, eax
je 0x484a30
mov eax, dword [0x5b3534]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x484a36
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x484a36
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebp
mov eax, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [esp + 4], 0x1a
mov dword [esp], 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], edx
call eax
test eax, eax
jne 0x484b50
mov eax, 5
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x2c], edx
call fcn.00484900
mov eax, dword [0x4976c8]
mov edx, dword [esp + 0x2c]
jmp 0x484ac4
add esp, 0x3c
mov eax, 2
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x484b60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x4976c8]
mov ebx, dword [esp + 0x30]
test eax, eax
js 0x484be0
test eax, eax
jne 0x484b90
mov eax, dword [0x5b3538]
mov dword [0x5b3538], ebx
mov dword [ebx], eax
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [0x5b3534]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebp, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0x5b3534]
sub esp, 4
mov dword [ebx], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x484b85
add esp, 0x1c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
jmp eax
call fcn.00484900
mov eax, dword [0x4976c8]
jmp 0x484b74

Function at 0x484bf0
Capabilities:
Set thread local storage value

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [esp + 0x20]
mov ebx, dword [eax]
mov eax, dword [0x4976c8]
test eax, eax
js 0x484c35
test eax, eax
jne 0x484c12
mov dword [0x5b3538], ebx
add esp, 0x18
pop ebx
ret
mov eax, dword [0x5b3534]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x484c0d
add esp, 0x18
pop ebx
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.00484900
mov eax, dword [0x4976c8]
jmp 0x484c03

Function at 0x484d50
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov eax, dword [0x4976c8]
mov edi, dword [esp + 0x40]
test eax, eax
js 0x484e3c
test eax, eax
mov esi, dword [0x5b3538]
jne 0x484dd1
test esi, esi
mov dword [esp + 0x2c], esi
je 0x484dc5
lea ebx, [esp + 0x2c]
mov eax, esi
nop
mov eax, dword [eax + 0x18]
test eax, eax
je 0x484db7
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 4], 1
mov dword [esp], 1
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call eax
cmp eax, 6
je 0x484e00
cmp eax, 8
jne 0x484e30
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x484d80
mov eax, 5
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov esi, dword [0x5b3534]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
jmp 0x484d71
mov eax, dword [esp + 0x2c]
mov dword [edi + 0xc], 0
mov edx, ebx
mov dword [esp + 0x2c], esi
mov dword [edi + 0x10], eax
mov eax, edi
call fcn.00484820
cmp eax, 7
jne 0x484dca
mov eax, ebx
call fcn.004849a0
mov esi, esi
lea edi, [edi]
add esp, 0x30
mov eax, 3
pop ebx
pop esi
pop edi
ret
call fcn.00484900
mov eax, dword [0x4976c8]
jmp 0x484d67
Function at 0x484ef0
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov edx, dword [0x4976c8]
mov ebx, dword [esp + 0x30]
test edx, edx
js 0x484f65
test edx, edx
mov eax, dword [0x5b3538]
jne 0x484f3d
mov ecx, dword [ebx + 0xc]
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, ebx
mov edx, esi
test ecx, ecx
jne 0x484f2f
call fcn.00484820
cmp eax, 7
je 0x484f36
call sub.msvcrt.dll_abort
call fcn.00484a10
jmp 0x484f25
mov eax, esi
call fcn.004849a0
mov esi, dword [0x5b3534]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov esi, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
push edi
jmp 0x484f0d
call fcn.00484900
mov edx, dword [0x4976c8]
jmp 0x484f04

Function at 0x484f80
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x484fc0
mov edx, dword [0x4976c8]
test edx, edx
js 0x485010
test edx, edx
mov eax, dword [0x5b3538]
jne 0x484fe0
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, ebx
call fcn.00484a10
cmp eax, 7
je 0x484fd0
call sub.msvcrt.dll_abort
lea esi, [esi]
mov dword [esp], ebx
call fcn.00484d50
add esp, 0x20
pop ebx
pop esi
pop edi
ret
lea eax, [esp + 0x1c]
call fcn.004849a0
lea esi, [esi]
mov esi, dword [0x5b3534]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
sub esp, 4
jmp 0x484fa4
call fcn.00484900
mov edx, dword [0x4976c8]
jmp 0x484f9b

Function at 0x485040
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov edx, dword [0x4976c8]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
test edx, edx
js 0x4850e0
test edx, edx
mov eax, dword [0x5b3538]
jne 0x4850b2
mov dword [esp + 0x1c], eax
lea ebx, [esp + 0x1c]
jmp 0x485087
mov dword [esp + 4], edi
mov dword [esp], ebx
call esi
test eax, eax
jne 0x4850a5
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x485070
mov dword [esp + 4], edi
mov dword [esp], ebx
call esi
test eax, eax
jne 0x4850a5
add esp, 0x2c
mov eax, 5
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x2c
mov eax, 3
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [0x5b3534]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x485066
call fcn.00484900
mov edx, dword [0x4976c8]
jmp 0x48505d
Function at 0x4851d0
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0x1c
mov dword [0x5b3544], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xffff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
sub esp, 0x10
mov dword [0x5b3548], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x485232
mov dword [esp + 4], 0x4850f0
mov dword [esp], eax
mov dword [0x5b3540], eax
call fcn.00491c80
test eax, eax
jne 0x48523a
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x48522a
call sub.msvcrt.dll_abort
nop
Function at 0x4854f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x13c
mov ebx, dword [esp + 0x150]
call sub.msvcrt.dll__errno
mov dword [eax], 0
test ebx, ebx
je 0x48567c
cmp byte [ebx], 0
je 0x485640
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
cmp eax, 0xffffffff
je 0x485660
test al, 0x10
je 0x485640
lea edi, [esp + 0x2c]
mov dword [esp + 8], 0x104
mov dword [esp + 4], ebx
mov dword [esp], edi
mov esi, edi
call sub.msvcrt.dll__fullpath
mov edx, dword [esi]
add esi, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x485554
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea edx, [esi + 2]
mov ecx, eax
cmove esi, edx
add cl, al
sbb esi, 3
sub esi, edi
lea eax, [esi + 0x233]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
je 0x48566f
lea edx, [esi + 1]
lea ebp, [eax + 0x22c]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp], ebp
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
cmp byte [ebx + 0x22c], 0
je 0x4855e4
movzx eax, byte [ebx + esi + 0x22b]
cmp al, 0x2f
je 0x4855e4
cmp al, 0x5c
je 0x4855e4
mov edx, dword [esp + 0x1c]
mov edi, 0x5c
mov word [ebp + esi], di
mov esi, edx
mov eax, 0x2a
xor edx, edx
xor ecx, ecx
mov word [ebp + esi], ax
mov word [ebx + 0x11c], dx
lea edx, [ebx + 0x120]
mov word [ebx + 0x11e], cx
xor eax, eax
mov ecx, 0x41
mov edi, edx
mov dword [ebx + 0x224], 0xffffffff
mov dword [ebx + 0x228], 0
mov dword [ebx + 0x118], 0
rep stosd dword es:[edi], eax
add esp, 0x13c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msvcrt.dll__errno
xor ebx, ebx
mov dword [eax], 0x14
add esp, 0x13c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msvcrt.dll__errno
xor ebx, ebx
mov dword [eax], 2
jmp 0x48562f
call sub.msvcrt.dll__errno
mov dword [eax], 0xc
jmp 0x48562f
call sub.msvcrt.dll__errno
mov dword [eax], 0xe
jmp 0x48562f
Function at 0x48a5b0
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
mov edi, edx
push esi
push ebx
lea ebx, [ecx - 1]
mov ecx, 0x66666667
sub esp, 0x2c
mov dword [esp + 0x1c], eax
mov eax, ebx
mov dword [esp + 0x10], ebx
sar eax, 0x1f
mov esi, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, ebx
sar ebx, 0x1f
imul ecx
mov ecx, edx
sar ecx, 2
sub ecx, ebx
mov ebx, 1
je 0x48a603
mov ebp, 0x66666667
mov eax, ecx
sar ecx, 0x1f
add ebx, 1
imul ebp
sar edx, 2
sub edx, ecx
mov ecx, edx
jne 0x48a5f0
mov edx, dword [esi + 0x28]
cmp edx, 0xffffffff
je 0x48a680
mov ecx, dword [esi + 8]
cmp ebx, edx
cmovl ebx, edx
lea edx, [ebx + 2]
mov eax, ecx
sub eax, edx
cmp ecx, edx
mov edx, 0xffffffff
cmovle eax, edx
mov ecx, 1
mov edx, edi
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1c]
add ebx, 1
mov dword [esp], esi
call fcn.00489e70
mov eax, dword [esi + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
mov edx, eax
and eax, 0x20
or edx, 0x1c0
or eax, 0x45
mov dword [esi + 4], edx
mov edx, esi
call fcn.00489a20
add dword [esi + 8], ebx
mov eax, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + 0x14]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0048a2b0
mov eax, dword [0x497708]
cmp eax, 0xffffffff
je 0x48a6ab
test eax, eax
je 0x48a69b
mov edx, 2
mov dword [esi + 0x28], edx
jmp 0x48a60b
call fcn.00491ad0
test al, 1
mov edx, 3
jne 0x48a68e
jmp 0x48a693
mov dword [esp], str.PRINTF_EXPONENT_DIGITS
call sub.msvcrt.dll_getenv
test eax, eax
je 0x48a6d1
movsx eax, byte [eax]
sub eax, 0x30
cmp eax, 2
setbe al
movzx eax, al
mov dword [0x497708], eax
jmp 0x48a68a
xor eax, eax
jmp 0x48a6c7
Function at 0x4010ee
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp byte [0x416222], 0
je 0x401107
cmp byte [ebp + 8], 0
je 0x4011f7
push esi
lea eax, [ebp - 0xc]
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWAREAdobeAdobe_AcrobatDCInstaller_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4011ef
cmp dword [ebp - 0xc], esi
je 0x4011ef
push edi
push 4
pop edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], edi
cmp byte [0x416222], al
jne 0x401178
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push str.bIsSingleClientApp
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401178
cmp dword [ebp - 8], edi
jne 0x401178
cmp dword [ebp - 4], esi
setne byte [0x416221]
cmp byte [0x416221], 0
je 0x4011e5
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push str.bIsSCAcroAppInstalled
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4011b2
cmp dword [ebp - 8], edi
jne 0x4011b2
cmp dword [ebp - 4], esi
setne byte [0x416220]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push str.SCAPackageLevel
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4011e5
mov eax, dword [0x415004]
cmp dword [ebp - 8], edi
cmove eax, dword [ebp - 4]
mov dword [0x415004], eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov byte [0x416222], 1
pop esi
leave
ret
Function at 0x406371
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x238
mov eax, 0x40e86a
call fcn.0040d30f
mov dword [ebp - 0x21c], ecx
movzx eax, word [ebp + 8]
xor edi, edi
mov esi, dword [0x4166e8]
inc edi
push 0xf0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4064e2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4064e2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4064e2
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4064e2
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x220], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x40645b
push 3
lea eax, [ebp - 0x110]
push esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call fcn.00407b49
push dword [ebp - 0x114]
mov eax, dword [ebp - 0x21c]
and dword [ebp - 4], 0
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x110]
cmove edi, ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x114], eax
je 0x4064d4
push dword [ebp - 0x114]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x4064d4
mov ecx, 0x1234
cmp cx, ax
jne 0x4064d4
or dword [ebp - 0x240], 0xffffffff
lea eax, [ebp - 0x214]
push 3
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x218], eax
call fcn.00407b49
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x23c], eax
cmp eax, ecx
je 0x4064ae
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x21c]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
add esi, dword [ebp - 0x220]
test edi, edi
jne 0x4063c9
mov eax, edi
call fcn.0040d2ca
ret 4

Function at 0x4072d4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, esi
mov dword [ebp - 4], ecx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040d057
add esi, esi
mov ebx, eax
push esi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 4]
add esp, 0xc
add eax, 0x25c
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push str.labels
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebx
call fcn.0040d060
mov eax, dword [ebp + 0xc]
pop ecx
pop esi
pop ebx
leave
ret 0xc
Function at 0x408671
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
mov eax, dword [0x415190]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x18
mov ebx, ecx
lea edi, [ebp - 0x68]
pop ecx
mov esi, str.HTML_Files__.HTML_
lea eax, [ebp - 0x270]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, 0x208
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x270]
mov esi, str.License.html
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
xor edi, edi
lea eax, [ebp - 0x478]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x478]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x58
pop esi
push esi
lea eax, [ebp - 0x4d0]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 4]
add esp, 0xc
mov dword [ebp - 0x4cc], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x4c4], eax
mov eax, 0x104
mov dword [ebp - 0x4b0], eax
mov dword [ebp - 0x4a8], eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x4b4], eax
lea eax, [ebp - 0x478]
mov dword [ebp - 0x4ac], eax
lea eax, [ebp - 0x4d0]
push eax
mov dword [ebp - 0x4d0], esi
mov dword [ebp - 0x494], str.html
mov dword [ebp - 0x49c], 0x802
call fcn.0040c4b4
test eax, eax
je 0x408771
push edi
lea eax, [ebp - 0x270]
push eax
lea eax, [ebx + 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040caf0
leave
ret 0x10
Function at 0x408c18
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x415190]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
push 0xce
mov edi, ecx
call fcn.00406371
push 0x410
lea eax, [ebp - 0x414]
mov dword [esi], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
mov ebx, 0x208
push ebx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
push ebx
push eax
push str.DeclTitle
call fcn.004072d4
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
lea eax, [ebp - 0x414]
mov esi, 0xcf
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
push ebx
push eax
push str.DeclText1
call fcn.004072d4
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
lea eax, [ebp - 0x414]
inc esi
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
push ebx
push eax
push str.DeclText2
call fcn.004072d4
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
lea eax, [ebp - 0x414]
push eax
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
push ebx
push eax
push 0x410600
call fcn.004072d4
push eax
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
lea eax, [ebp - 0x414]
push eax
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push ebx
lea ecx, [ebp - 0x414]
push ecx
mov ecx, dword [edi + 0x28]
push 0x41060c
call fcn.004072d4
push eax
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0040caf0
leave
ret 0x10
Function at 0x408d74
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x415190]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, 0xcf
push edi
push ebx
mov edi, ecx
call fcn.00406371
push 0x410
lea eax, [ebp - 0x414]
mov dword [esi], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
mov esi, 0x208
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
push esi
push eax
push str.DeclTitle
call fcn.004072d4
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
lea eax, [ebp - 0x414]
push eax
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
push esi
push eax
push str.DeclText1
call fcn.004072d4
push eax
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push esi
lea eax, [ebp - 0x414]
push eax
lea esi, [ebx + 1]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
mov ebx, 0x208
push ebx
push eax
push str.DeclText2
call fcn.004072d4
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
lea eax, [ebp - 0x414]
push eax
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
push ebx
push eax
push 0x410600
call fcn.004072d4
push eax
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
lea eax, [ebp - 0x414]
push eax
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push ebx
lea ecx, [ebp - 0x414]
push ecx
mov ecx, dword [edi + 0x28]
push 0x41060c
call fcn.004072d4
push eax
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0040caf0
leave
ret 0x10