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

Disassembly:
push ebx
push edi
mov byte [esi + 0x2c8], al
cmp al, 1
jne 0x445160
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, eax
and ecx, 0xefffffff
cmp eax, ecx
je 0x445125
push ecx
mov ecx, dword [esi + 0x20]
push 0xfffffffffffffff0
push ecx
call ebx
mov edx, dword [esi + 0x48]
push 0xfffffffffffffff0
push edx
call edi
mov ecx, eax
or ecx, 0x10000000
cmp eax, ecx
je 0x445142
mov eax, dword [esi + 0x48]
push ecx
push 0xfffffffffffffff0
push eax
call ebx
mov ecx, dword [esi + 0x274]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call edi
mov edx, dword [esi + 0xd0]
push 0
push edx
call edi
jmp 0x4451c2
mov eax, dword [esi + 0xd0]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov ecx, dword [esi + 0x274]
push 5
push ecx
call edi
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push edx
call edi
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, eax
or ecx, 0x10000000
cmp eax, ecx
je 0x4451a5
mov eax, dword [esi + 0x20]
push ecx
push 0xfffffffffffffff0
push eax
call ebx
mov ecx, dword [esi + 0x48]
push 0xfffffffffffffff0
push ecx
call edi
mov ecx, eax
and ecx, 0xefffffff
cmp eax, ecx
je 0x4451c2
mov edx, dword [esi + 0x48]
push ecx
push 0xfffffffffffffff0
push edx
call ebx
mov eax, dword [esi + 0x268]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push pe_nt_image_headers32
push eax
call edi
test eax, eax
je 0x4451eb
cmp byte [esi + 0x2c8], 0
je 0x4451eb
mov bl, 1
jmp 0x4451ed
xor bl, bl
mov ecx, dword [esi + 0x26c]
push 0
push 0
push pe_nt_image_headers32
push ecx
call edi
test eax, eax
je 0x445210
cmp byte [esi + 0x2c8], 0
je 0x445210
mov al, 1
jmp 0x445212
xor al, al
xor edx, edx
test al, al
mov eax, dword [esi + 0x26c]
setne dl
push 0
push edx
push 0xf1
push eax
call edi
mov edx, dword [esi + 0x268]
xor ecx, ecx
test bl, bl
setne cl
push 0
push ecx
push 0xf1
push edx
call edi
mov eax, dword [esi + 0x260]
movzx edi, bl
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push edi
push eax
call ebx
mov ecx, dword [esi + 0x264]
push edi
push ecx
call ebx
mov edx, dword [esi + 0x26c]
push edi
push edx
call ebx
pop edi
pop ebx
ret
Function at 0x4476b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc768
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, dword [ebp + 8]
push str.____________________Entrance____________________
lea ecx, [ebp - 0x1c]
lea eax, [edi + 0x8c]
push ecx
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], str.OnTimer
call fcn.00471a00
add esp, 0xc
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
cmp esi, 0x6f
jne 0x447718
push edi
call fcn.00447b60
cmp esi, 0xde
jne 0x4477ce
mov edx, dword [edi + 0x3f4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x447803
mov eax, dword [edi + 0x3f4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x447803
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x3f4]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
push eax
push ecx
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4477ce
lea esi, [ebp - 0x34]
call fcn.0044c6d0
mov edx, dword [edi + 0x714]
mov eax, dword [edi + 0x710]
push edx
push eax
lea eax, [ebp - 0x2c]
mov ecx, esi
call fcn.0044c6b0
mov edx, dword [ebp - 0x28]
mov ecx, dword [edi + 0x724]
xor eax, eax
cmp edx, eax
jl 0x4477ce
jg 0x4477b7
mov eax, dword [ebp - 0x2c]
cmp eax, ecx
jb 0x4477ce
mov ecx, dword [edi + 0x3f4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call fcn.0044bb80
push str.______________________Exit______________________
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.00471a00
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.______________________Exit______________________
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
push edx
push eax
jmp 0x4477e2
Function at 0x448080
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc6c8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
lea eax, [edi + 0x8c]
push str.____________________Entrance____________________
lea ecx, [ebp - 0x20]
push ecx
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], str.ActError
call fcn.00471a00
add esp, 0xc
xor esi, esi
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
mov edx, dword [edi + 4]
push 0x6f
push edx
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [edi + 0x784]
push 0x4e7868
xor ebx, ebx
mov dword [edi + 0x71c], esi
mov dword [edi + 0x7a0], esi
mov dword [edi + 0x798], esi
mov dword [edi + 0x794], esi
call fcn.00405e30
fldz
push ecx
fstp dword [esp]
push edi
call fcn.0044aa10
xor bl, bl
mov esi, edi
call fcn.00448400
push edi
mov byte [edi + 0x7ad], 1
call fcn.0044b280
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [edi + 0x7ac], bl
je 0x448166
lea esi, [edi + 0xcc]
mov byte [edi + 0x7ac], bl
call fcn.004a1880
push edi
call fcn.00448670
lea esi, [edi + 0xcc]
call fcn.004a1a80
mov edx, dword [ebp - 0x18]
push str.Did_every_thing_to_recover_from_error.
lea ecx, [ebp - 0x20]
push ecx
push edx
mov dword [0x5195bc], 0
call fcn.00471980
add esp, 0xc
push str.______________________Exit______________________
lea edx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
push edx
push eax
call fcn.00471a00
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44bf70
Capabilities:
Get graphical window text

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
test eax, eax
je 0x44bf86
lea esi, [eax - 0x20]
mov dword [esp + 0x10], esi
jmp 0x44bf92
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x14], 1
je 0x44c04e
mov eax, dword [esi + 4]
push 0x44a
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, esi
or ebp, 0xffffffff
or ecx, edx
jge 0x44bfe1
mov ecx, esi
mov eax, edi
call fcn.00405d80
mov eax, dword [edi]
test esi, esi
jl 0x44c044
cmp esi, dword [eax - 8]
jg 0x44c044
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + esi*2], dx
test eax, eax
je 0x44c032
lea ecx, [esi + 1]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebp, eax
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x44c020
push ecx
push eax
call fcn.004a5cf7
add esp, 8
test eax, eax
jl 0x44c044
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x44c044
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp ebp, esi
jge 0x44c094
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], 0
jmp 0x44c068
push 0x80070057
call fcn.00405ef0
mov edi, dword [edi]
mov edx, dword [esi + 4]
push edi
push 0x44a
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x44c094
push 0xffffffffffffffff
add esi, 0x20
call dword [sym.imp.USER32.dll_MessageBeep]
test esi, esi
je 0x44c07c
lea eax, [esi - 0x20]
jmp 0x44c07e
xor eax, eax
mov eax, dword [eax + 4]
push 0x44a
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x44c960
Capabilities:
Log keystrokes via application hook

Disassembly:
push 0xffffffffffffffff
push 0x4d8aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
push 1
push eax
mov eax, dword [esi + 4]
push ecx
xor edi, edi
push edi
lea ebx, [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push ebx
call fcn.0042e7f0
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx]
push edx
push eax
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [0x51858c]
mov eax, dword [ebx]
mov edx, dword [esp + 0x24]
push edi
push ecx
mov ecx, dword [esp + 0x20]
push edi
push eax
mov eax, dword [esp + 0x2c]
sub edx, eax
push edx
mov edx, dword [esp + 0x34]
sub edx, ecx
push edx
push eax
push ecx
push 0x50000000
push 0x4e7868
push str.AtlAxWin90
push edi
lea ebp, [esi + 0x28]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], edi
lea edi, [esp + 0x14]
mov ecx, ebp
call fcn.0044d5a0
mov ebp, dword [esi + 0x24]
mov eax, dword [esp + 0x14]
lea edi, [esi + 0x24]
cmp ebp, eax
je 0x44ca59
mov dword [edi], 0
test eax, eax
je 0x44ca4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push edi
push 0x4ea354
push eax
call edx
test ebp, ebp
je 0x44ca59
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
mov eax, dword [edi]
mov edx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [edx + 0xf0]
call eax
mov ecx, dword [edi]
lea eax, [esi + 0x20]
push eax
lea edx, [esi + 0x38]
call fcn.0040e870
mov ecx, dword [esi + 0x2c]
cmp dword [ecx - 0xc], 0
je 0x44ca91
mov edx, dword [ebx]
push 0
push 0
push 0x401
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov edi, dword [edi]
mov dword [0x51950c], eax
mov eax, dword [0x519600]
cmp eax, edi
je 0x44cac6
test edi, edi
je 0x44cab4
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [0x519600]
test eax, eax
je 0x44cac0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [0x519600], edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x44d050
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x519508], eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x44cafb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x44ea60
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d6258
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x51856c
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], vtable.DRegistry.0
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push ebx
push reloc.gdiplus.dll_Ordinal_1
mov eax, str.SoftwareDAF8B7E5_449D_4180_8281_10E536E597F2_
lea edi, [esp + 0x24]
mov dword [esp + 0x40], ebx
call fcn.0046a3b0
mov esi, dword [esp + 0x28]
test eax, eax
je 0x44eb09
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push str.FirstCommErr
mov edi, 4
push esi
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x44eb05
cmp dword [esp + 0x18], edi
je 0x44eb09
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
cmp esi, ebx
je 0x44eb20
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44eb40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x44eb60
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d6258
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x51856c
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], vtable.DRegistry.0
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push ebx
push reloc.gdiplus.dll_Ordinal_1
mov eax, str.SoftwareDAF8B7E5_449D_4180_8281_10E536E597F2_
lea edi, [esp + 0x24]
mov dword [esp + 0x40], ebx
call fcn.0046a3b0
mov esi, dword [esp + 0x28]
test eax, eax
je 0x44ec09
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push 0x4f0508
mov edi, 4
push esi
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x44ec05
cmp dword [esp + 0x18], edi
je 0x44ec09
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
cmp esi, ebx
je 0x44ec20
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ec40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x44ec60
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d6258
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x51856c
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], vtable.DRegistry.0
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push ebx
push reloc.gdiplus.dll_Ordinal_1
mov eax, str.SoftwareDAF8B7E5_449D_4180_8281_10E536E597F2_
lea edi, [esp + 0x24]
mov dword [esp + 0x40], ebx
call fcn.0046a3b0
mov esi, dword [esp + 0x28]
test eax, eax
je 0x44ed09
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push str.CheckInterval
mov edi, 4
push esi
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x44ed05
cmp dword [esp + 0x18], edi
je 0x44ed09
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
cmp esi, ebx
je 0x44ed20
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ed40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x44f170
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d9680
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
call edx
lea edx, [eax + 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], ebx
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x400
or eax, ecx
jge 0x44f1db
mov ecx, 0x400
lea eax, [esp + 0xc]
call fcn.00405d80
mov edx, dword [esp + 0xc]
push ebx
push 5
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004a5cf7
add esp, 8
cmp eax, ebx
jl 0x44f2dc
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx - 8]
jg 0x44f2dc
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0xc]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp esi, ebx
je 0x44f228
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], ebx
jne 0x44f23d
push 0x4f05c4
mov ebx, 3
lea eax, [esp + 0x10]
call fcn.00405e30
xor ebx, ebx
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x28]
push str.DownloadDirectory
lea edx, [esp + 0x18]
push edx
call fcn.0044ff70
mov byte [esp + 0x1c], 1
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
lea eax, [esp + 0xc]
je 0x44f26b
lea eax, [esp + 0x10]
mov eax, dword [eax]
sub eax, 0x10
call fcn.00408230
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f29e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f2c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 4
push 0x80070057
call fcn.00405ef0
int3
Function at 0x44f300
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d9680
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
call edx
lea edx, [eax + 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], ebx
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x400
or eax, ecx
jge 0x44f36b
mov ecx, 0x400
lea eax, [esp + 0xc]
call fcn.00405d80
mov edx, dword [esp + 0xc]
push ebx
push 5
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004a5cf7
add esp, 8
cmp eax, ebx
jl 0x44f46c
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx - 8]
jg 0x44f46c
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0xc]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp esi, ebx
je 0x44f3b8
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], ebx
jne 0x44f3cd
push 0x4f05c4
mov ebx, 3
lea eax, [esp + 0x10]
call fcn.00405e30
xor ebx, ebx
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x28]
push str.ConvertDirectory
lea edx, [esp + 0x18]
push edx
call fcn.0044ff70
mov byte [esp + 0x1c], 1
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
lea eax, [esp + 0xc]
je 0x44f3fb
lea eax, [esp + 0x10]
mov eax, dword [eax]
sub eax, 0x10
call fcn.00408230
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f42e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f456
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 4
push 0x80070057
call fcn.00405ef0
int3
Function at 0x44f650
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d6168
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
mov dword [esp + 0x14], vtable.DRegistry.0
call edx
xor esi, esi
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
push 1
push reloc.gdiplus.dll_Ordinal_1
mov eax, str.SoftwareDAF8B7E5_449D_4180_8281_10E536E597F2_
lea edi, [esp + 0x1c]
mov dword [esp + 0x38], esi
call fcn.0046a3b0
test eax, eax
je 0x44f702
mov ecx, dword [esp + 0x20]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push esi
push str.FirstCommErr
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call fcn.0046a360
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
push str.SoftwareDAF8B7E5_449D_4180_8281_10E536E597F2_
mov eax, reloc.gdiplus.dll_Ordinal_1
lea edi, [esp + 0x18]
call fcn.0046aa00
cmp eax, esi
je 0x44f744
push 1
push reloc.gdiplus.dll_Ordinal_1
mov eax, str.SoftwareDAF8B7E5_449D_4180_8281_10E536E597F2_
call fcn.0046a3b0
test eax, eax
je 0x44f744
mov eax, dword [esp + 0x20]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push esi
push str.FirstCommErr
push eax
jmp 0x44f6d5
lea ecx, [esp + 0x14]
call fcn.0046a360
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x44f770
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d6168
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
mov dword [esp + 0x14], vtable.DRegistry.0
call edx
xor esi, esi
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
push 1
push reloc.gdiplus.dll_Ordinal_1
mov eax, str.SoftwareDAF8B7E5_449D_4180_8281_10E536E597F2_
lea edi, [esp + 0x1c]
mov dword [esp + 0x38], esi
call fcn.0046a3b0
test eax, eax
je 0x44f822
mov ecx, dword [esp + 0x20]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push esi
push 0x4f0508
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call fcn.0046a360
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
push str.SoftwareDAF8B7E5_449D_4180_8281_10E536E597F2_
mov eax, reloc.gdiplus.dll_Ordinal_1
lea edi, [esp + 0x18]
call fcn.0046aa00
cmp eax, esi
je 0x44f864
push 1
push reloc.gdiplus.dll_Ordinal_1
mov eax, str.SoftwareDAF8B7E5_449D_4180_8281_10E536E597F2_
call fcn.0046a3b0
test eax, eax
je 0x44f864
mov eax, dword [esp + 0x20]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push esi
push 0x4f0508
push eax
jmp 0x44f7f5
lea ecx, [esp + 0x14]
call fcn.0046a360
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret