joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ced4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x465f84], ebx
push esi
push edi
jne 0x42cf54
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x42cf8f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x465f84], eax
je 0x42cf8f
push 0x452744
push edi
call esi
push 0x452730
push edi
mov dword [0x465f88], eax
call esi
cmp dword [0x465a5c], 2
mov dword [0x465f8c], eax
jne 0x42cf54
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x465f94], eax
je 0x42cf54
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x465f90], eax
mov eax, dword [0x465f90]
test eax, eax
je 0x42cf99
call eax
test eax, eax
je 0x42cf80
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x465f94]
test eax, eax
je 0x42cf80
test byte [ebp - 8], 1
jne 0x42cf99
cmp dword [0x465a68], 4
jb 0x42cf93
or byte [ebp + 0x12], 0x20
jmp 0x42cfb8
xor eax, eax
jmp 0x42cfc8
or byte [ebp + 0x12], 4
jmp 0x42cfb8
mov eax, dword [0x465f88]
test eax, eax
je 0x42cfb8
call eax
mov ebx, eax
test ebx, ebx
je 0x42cfb8
mov eax, dword [0x465f8c]
test eax, eax
je 0x42cfb8
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x465f84]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431065
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x43107e
or eax, 0xffffffff
jmp 0x4310df
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x4310db
push 0x3d
push esi
call fcn.00431266
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x4310db
cmp esi, eax
je 0x4310db
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x465a7c]
sete cl
cmp eax, dword [0x465a80]
mov dword [ebp - 4], ecx
jne 0x4310c1
mov edi, eax
call fcn.00431004
mov dword [0x465a7c], eax
cmp eax, ebx
jne 0x43111a
cmp dword [ebp + 0xc], ebx
je 0x4310e3
cmp dword [0x465a84], ebx
je 0x4310e3
call fcn.0043085c
test eax, eax
je 0x43111a
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
je 0x4310ec
xor eax, eax
jmp 0x4310de
push 4
call fcn.00423344
cmp eax, ebx
pop ecx
mov dword [0x465a7c], eax
je 0x4310db
mov dword [eax], ebx
cmp dword [0x465a84], ebx
jne 0x43111a
push 4
call fcn.00423344
cmp eax, ebx
pop ecx
mov dword [0x465a84], eax
je 0x4310db
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x465a7c]
sub edi, esi
push esi
call fcn.00430fb7
mov edi, eax
test edi, edi
pop ecx
jl 0x431181
cmp dword [ebx], 0
je 0x431181
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.00423356
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x431161
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x4311c2
mov ecx, dword [esi + 4]
inc edi
mov dword [esi], ecx
lea esi, [ebx + edi*4]
cmp dword [esi], eax
jne 0x431158
mov eax, edi
shl eax, 2
push eax
push dword [0x465a7c]
call fcn.004235ff
test eax, eax
mov esi, dword [ebp - 8]
pop ecx
pop ecx
je 0x4311c2
jmp 0x4311bd
cmp dword [ebp - 4], 0
jne 0x431229
test edi, edi
jge 0x431191
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x465a7c]
call fcn.004235ff
test eax, eax
pop ecx
pop ecx
je 0x4310db
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
and dword [ecx], 0
mov dword [0x465a7c], eax
cmp dword [ebp + 0xc], 0
je 0x431214
push esi
call fcn.004234a0
inc eax
inc eax
push eax
call fcn.00423344
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x431214
push esi
push edi
call fcn.0042aa50
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov byte [eax], 0
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x43120d
or dword [ebp - 0x10], 0xffffffff
push edi
call fcn.00423356
pop ecx
cmp dword [ebp - 4], 0
je 0x431221
push esi
call fcn.00423356
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x4310de
push esi
call fcn.00423356
mov eax, dword [ebp + 8]
and dword [eax], 0
pop ecx
jmp 0x4310e8
Function at 0x4352ac
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x4352e5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00415563
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00415352
pop esi
ret 4
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x4365f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x436636
call fcn.00443ad7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x436636
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x436651
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00435767
test ebx, ebx
mov esi, eax
je 0x43664f
test edi, edi
je 0x43664f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4370d2
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4480cc
call fcn.00422edc
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x4370ec
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x437138
call fcn.0043934a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401fa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x438575
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov dword [ebp - 4], eax
je 0x4385ac
call fcn.00443ad7
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4385bd
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x4385f6
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x4385db
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x4385e3
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x4385f4
test ax, ax
jne 0x4385f4
test si, si
je 0x4385f6
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x438605
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x438857
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x448360
call fcn.00422edc
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.00443ad7
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x4388a5
call fcn.00443ad7
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4388b6
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4388c2
or eax, 0xffffffff
jmp 0x4389c5
mov ecx, esi
call fcn.00438399
mov dword [ebp - 0x14], eax
call fcn.00434635
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x438905
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x438905
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x438905
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
push esi
call fcn.00435c86
push dword [ebp - 0x14]
call fcn.0043458d
push edi
push eax
push ebx
mov ecx, esi
call fcn.0043864a
xor ebx, ebx
cmp eax, ebx
je 0x438979
test byte [esi + 0x38], 0x10
je 0x438947
push 4
pop edi
mov ecx, esi
call fcn.00436974
test ah, 1
je 0x43893f
push 5
pop edi
push edi
mov ecx, esi
call fcn.00434031
cmp dword [esi + 0x1c], ebx
je 0x438979
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.00436c27
jmp 0x438979
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x43898d
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x4389a6
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4389a6
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.004383d3
cmp dword [esi + 0x54], ebx
je 0x4389c2
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4389ff
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00443ad7
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x438a36
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0043864a
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x43989c
Capabilities:
Get disk information

Disassembly:
mov eax, 0x448531
call fcn.00422edc
sub esp, 0x264
mov eax, dword [0x45eb40]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor eax, ebp
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x268]
push eax
push edi
mov esi, 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x4398e3
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x4398e7
cmp eax, esi
jb 0x4398ee
xor eax, eax
jmp 0x4399d6
call fcn.0043934a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x264]
push eax
push edi
call fcn.0043985a
push dword [ebp - 0x264]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x4399c3
push eax
push eax
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x270]
push ecx
push eax
push eax
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x43994f
xor esi, esi
jmp 0x4399c6
test byte [ebp - 0x26c], 2
jne 0x43995f
push edi
call dword [sym.imp.USER32.dll_CharUpperW]
test byte [ebp - 0x26c], 4
jne 0x4399c3
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4399c3
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x268], 0
je 0x43994b
cmp dword [ebp - 0x268], edi
jbe 0x43994b
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x268]
sub ecx, edi
sar ecx, 1
add ecx, eax
cmp ecx, esi
jge 0x43994b
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.00401fa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.00422ecb
leave
ret 8
Function at 0x43adba
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jne 0x43aded
push dword [ebp + 8]
call edi
push eax
call fcn.00439f89
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x20]
cmp eax, dword [ebp - 4]
je 0x43ae18
test byte [ebp - 4], 1
je 0x43ae18
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x43ae18
push dword [ebp + 8]
call edi
push eax
call fcn.00439f89
lea eax, [esi + 8]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x43aec8
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0043ad01
pop ecx
lea eax, [esi + 0x10]
pop ecx
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x43ae4e
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0043ad01
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [esi]
or eax, dword [esi + 4]
je 0x43ae67
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.0043ad01
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43ae92
push dword [ebp + 8]
call edi
push eax
call fcn.00439f89
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x43aeb2
push dword [ebp + 8]
call edi
push eax
call fcn.00439f89
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x43aec8
push dword [ebp + 8]
call edi
push eax
call fcn.00439f89
movzx eax, byte [esi + 0x20]
cmp eax, dword [ebp - 4]
je 0x43aef0
test byte [ebp - 4], 1
jne 0x43aef0
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x43aef0
push dword [ebp + 8]
call edi
push eax
call fcn.00439f89
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x43aef7
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x22c
xor ebx, ebx
push ebx
push esi
mov edi, ecx
call fcn.00422f00
add esp, 0xc
push 0x104
push dword [edi + 0xc]
lea eax, [esi + 0x22]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [edi + 4]
cmp eax, dword [0x44f5c8]
je 0x43b045
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x43af67
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
jne 0x43af6e
cmp ebx, ebx
jne 0x43af6e
xor eax, eax
jmp 0x43b048
mov edi, dword [edi + 0xc]
cmp dword [edi - 0xc], ebx
jne 0x43af7b
mov byte [esi + 0x20], bl
jmp 0x43af8f
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
sete cl
dec cl
and ecx, eax
mov byte [esi + 0x20], cl
lea eax, [ebp - 8]
push eax
call fcn.0041fc53
test eax, eax
je 0x43afb6
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.004176a8
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
jmp 0x43afbb
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0041fc53
test eax, eax
je 0x43afe3
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.004176a8
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
jmp 0x43afed
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
lea eax, [ebp - 0x18]
push eax
call fcn.0041fc53
test eax, eax
je 0x43b015
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.004176a8
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0xc], eax
jmp 0x43b01f
xor eax, eax
xor ecx, ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x43b031
mov eax, dword [esi + 8]
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x43b045
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43e26e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x45eb40]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, ebp
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov eax, 0x100
cmp ebx, eax
ja 0x43e2c1
push eax
lea eax, [ebp - 0x204]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, ebx
jne 0x43e2c1
push edi
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x43e2c9
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422ecb
leave
ret 8

Function at 0x43eb7d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45eb40]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor eax, ebp
mov esi, ecx
cmp dword [esi + 0x50], 0
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
je 0x43ebce
push edi
call fcn.004452a6
mov esi, eax
test esi, esi
je 0x43ebf2
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
jmp 0x43ebf2
push dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push 0x44f26c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422ecb
leave
ret 0xc
Function at 0x441de6
Capabilities:
Parse url

Disassembly:
push ebp
mov eax, 0x106c
lea ebp, [esp - 0xfec]
call fcn.00421510
mov eax, dword [0x45eb40]
mov ecx, dword [ebp + 0xff8]
xor eax, ebp
mov dword [ebp + 0xfe8], eax
mov eax, dword [ebp + 0xffc]
push ebx
mov ebx, dword [ebp + 0xff4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1000]
xor edx, edx
cmp ecx, edx
push esi
push edi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x7c], eax
je 0x441f11
cmp ebx, edx
je 0x441f11
mov eax, dword [ebp + 0x1004]
mov esi, eax
mov edi, eax
and esi, 0x2e000000
and edi, 0x40000000
test eax, 0x90000000
mov dword [ebp - 0x6c], 0x824
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x74], edx
je 0x441e83
cmp dword [ecx + 0x30], edx
je 0x441e83
test eax, 0x2000000
je 0x441e7d
mov dword [ebp - 0x74], 1
jmp 0x441e83
or edi, 0x80000000
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
call ebx
test eax, eax
jne 0x441ed2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x441f11
mov eax, dword [ebp - 0x6c]
add eax, eax
push eax
call fcn.00436862
test eax, eax
pop ecx
mov dword [ebp - 0x78], eax
je 0x441f11
push esi
lea ecx, [ebp - 0x6c]
push ecx
push eax
push dword [ebp - 0x80]
mov dword [ebp - 0x68], 1
call ebx
test eax, eax
jne 0x441ed7
push dword [ebp - 0x78]
jmp 0x441f0b
lea ebx, [ebp - 0x60]
jmp 0x441eda
mov ebx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x70]
push esi
push edi
xor edi, edi
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
cmp dword [ebp - 0x74], edi
mov dword [ebp - 0x70], eax
je 0x441f39
push 0x2100000
push edi
push edi
push dword [esi + 0x2c]
call dword [sym.imp.SHLWAPI.dll_UrlUnescapeW]
test eax, eax
jge 0x441f2d
cmp dword [ebp - 0x68], edi
je 0x441f11
push ebx
call fcn.00436892
pop ecx
xor eax, eax
mov ecx, dword [ebp + 0xfe8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422ecb
add ebp, 0xfec
leave
ret 0x14
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esi + 0x30], eax
cmp dword [ebp - 0x68], edi
je 0x441f45
push ebx
call fcn.00436892
pop ecx
mov eax, dword [ebp - 0x70]
cmp eax, edi
jne 0x441f57
mov ecx, dword [ebp - 0x64]
mov dword [ecx], 0x1000
jmp 0x441f13
mov cx, word [esi + 0x18]
mov edx, dword [ebp - 0x7c]
mov word [edx], cx
mov esi, dword [esi + 0xc]
dec esi
mov ecx, dword [ebp - 0x64]
je 0x441fb8
dec esi
je 0x441fad
dec esi
je 0x441fa2
dec esi
je 0x441f97
dec esi
je 0x441f8c
dec esi
je 0x441f84
dec esi
jne 0x441f4f
mov dword [ecx], 0x1002
jmp 0x441f13
mov dword [ecx], 0x1006
jmp 0x441f13
mov dword [ecx], 0x1001
jmp 0x441f13
mov dword [ecx], 0x100b
jmp 0x441f13
mov dword [ecx], 3
jmp 0x441f13
mov dword [ecx], 2
jmp 0x441f13
mov dword [ecx], 1
jmp 0x441f13