joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41da20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
mov eax, dword [ebx + 8]
test eax, eax
jne 0x41da35
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
push edi
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41dad0
mov eax, dword [ebx + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x41dad0
mov ecx, dword [ebx + 8]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x41dad0
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41dac9
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
test eax, eax
je 0x41dac9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41dac0
mov edx, dword [ebp - 4]
push edi
push edx
push eax
call fcn.0048e9c0
mov eax, dword [ebx]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42e3b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c9144]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
cmp byte [esi + 0xb5], al
push edi
sete al
cmp byte [esi + 0xbc], 0
lea edi, [eax + 0x230202]
je 0x42e3e7
or edi, 0x100
mov eax, dword [esi + 0xc0]
cmp eax, 1
je 0x42e467
cmp eax, 2
jne 0x42e40e
or edi, 0x20
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487efe
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0xe9], 0
jne 0x42e460
push 0x114
lea ecx, [ebp - 0x118]
push 0
push ecx
call fcn.0048bb40
add esp, 0xc
lea edx, [ebp - 0x118]
push edx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x42e46a
cmp dword [ebp - 0x114], 6
jb 0x42e46a
call dword [sym.imp.UxTheme.dll_IsThemeActive]
test eax, eax
je 0x42e46a
mov byte [esi + 0xe8], 1
or edi, 0x10
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00487efe
mov esp, ebp
pop ebp
ret 4
Function at 0x431200
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4c9144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
lea ebx, [eax + 0x70]
push esi
mov dword [ebp - 0x11c], eax
call fcn.0041f760
mov al, byte [esi + 0x44]
mov byte [ebx + 0x44], al
mov cl, byte [esi + 0x45]
mov byte [ebx + 0x45], cl
mov dl, byte [esi + 0x46]
mov byte [ebx + 0x46], dl
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x48], eax
lea eax, [esi + 0x4c]
lea edi, [ebx + 0x4c]
call fcn.00417620
mov ecx, dword [esi + 0x50]
mov esi, dword [ebp - 0x11c]
mov dword [ebx + 0x50], ecx
cmp dword [esi + 0xa0], 0xffffffff
jne 0x4312f6
cmp byte [esi + 0xad], 0
je 0x431280
mov edx, dword [esi + 0x98]
add edx, 0x15
mov dword [esi + 0xa0], edx
jmp 0x43128f
mov eax, dword [esi + 0x98]
add eax, 0xe
mov dword [esi + 0xa0], eax
push 0x114
lea ecx, [ebp - 0x118]
push 0
push ecx
call fcn.0048bb40
add esp, 0xc
lea edx, [ebp - 0x118]
push edx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x4312f6
cmp dword [ebp - 0x114], 6
jb 0x4312f6
call dword [sym.imp.UxTheme.dll_IsThemeActive]
test eax, eax
je 0x4312f6
mov eax, 1
add dword [esi + 0xa0], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487efe
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00487efe
mov esp, ebp
pop ebp
ret 4
Function at 0x431cf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov dword [edi], 0
cmp eax, 0x20
je 0x431d1b
cmp eax, 8
je 0x431d1b
cmp eax, 0x7b
jne 0x431d90
mov dword [edi], 1
xor eax, eax
pop ebp
ret 8
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor ebx, ebx
call esi
mov ecx, 0x8000
test cx, ax
je 0x431d38
mov ebx, 2
push 0x10
call esi
mov edx, 0x8000
test dx, ax
je 0x431d49
or ebx, 1
push 0x12
call esi
mov ecx, 0x8000
test cx, ax
je 0x431d5a
or ebx, 4
test ebx, ebx
jne 0x431d63
mov ebx, 4
movzx ecx, byte [ebp + 0xc]
movzx edx, bl
shl dx, 8
movzx eax, dx
mov edx, dword [ebp + 8]
push 0
or eax, ecx
push eax
mov eax, dword [edx + 4]
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ebx
mov dword [edi], 1
xor eax, eax
pop ebp
ret 8
Function at 0x43eda0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a11b6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x4c9144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esi + 4]
push eax
mov dword [esi], vtable.CInterfaceElement::CElementInfo.0
call fcn.0041b8b0
lea ecx, [esi + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
push ecx
mov byte [esi + 8], 1
call fcn.0041b8b0
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov eax, 1
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov word [esi + 0x28], bx
mov byte [esi + 0x2a], bl
push 0x38
mov dword [esi + 0x30], ebx
call fcn.004881ae
add esp, 4
cmp eax, ebx
je 0x43ee41
mov dword [esi + 0x2c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.004894ce
push 0x4bc120
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0048ba70
int3

Function at 0x4405b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a02f3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4c9144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov word [esi + 4], bx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
or eax, 0xffffffff
mov dword [esi], vtable.CInterfaceImageElmt.0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
lea edi, [esi + 0x40]
push edi
mov word [esi + 0x3c], bx
mov byte [esi + 0x3e], bl
call fcn.0043eda0
mov dword [edi], vtable.CInterfaceImageElmt::CImageInfo.0
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], 0x101
mov byte [edi + 0x48], bl
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], 0xff
mov dword [edi + 0x54], ebx
mov eax, esi
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 0x4438b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a10b9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c9144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push esi
mov edi, eax
call fcn.0041b8b0
inc edi
mov ecx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], ecx
jns 0x44390e
push 0x80070057
call fcn.00417580
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or eax, ecx
jge 0x443925
mov eax, edi
mov ecx, esi
call fcn.00417470
mov eax, dword [esi]
mov ecx, dword [ebx + 4]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x44394a
push ecx
push eax
call fcn.00489835
add esp, 8
test eax, eax
js 0x443904
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x443904
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x443980
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1078
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x4c9144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 4]
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x38c]
cmp eax, ebx
je 0x4439f0
mov eax, dword [eax]
cmp eax, ebx
je 0x4439f0
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x28]
push ecx
push ebx
push 0x407
push eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x44], ebx
je 0x443aa8
cmp byte [esi + 0x48], bl
je 0x443aa8
mov eax, dword [esi + 0x24]
call fcn.00472420
push eax
call fcn.00464aa0
cmp eax, dword [esi + 0x44]
jne 0x443aa5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x54]
cmp eax, 0x1f4
jbe 0x443aa5
cmp dword [esi + 0x40], edi
je 0x443aa5
lea edx, [ebp + 0x10]
push edx
call fcn.0041b8b0
mov dword [ebp - 4], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x14]
lea edi, [ebp + 0x10]
push edi
push eax
call edx
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x443a68
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
jne 0x443a75
cmp ecx, ebx
je 0x443a9a
lea edx, [ebp + 0x10]
push edx
call fcn.0041cf60
test eax, eax
je 0x443a9a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x24]
call fcn.00472420
mov eax, dword [eax]
cmp eax, ebx
je 0x443a9a
push ebx
push ebx
push 0x41c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp + 0x10]
call fcn.0041b950
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x40], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x444380
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1fe0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4c9144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ebx, [esi + 0x30]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 1
call fcn.0042c990
mov ebx, dword [ebx]
push ebx
call fcn.00487ef3
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
sub eax, 0x10
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4443ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x461a30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3f61
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c9144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call fcn.0041b8b0
lea eax, [esi + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, 1
push eax
mov dword [esi + 4], edi
call fcn.0041b8b0
lea ecx, [esi + 0xc]
push ecx
mov byte [ebp - 4], 1
call fcn.0041b8b0
mov byte [ebp - 4], 2
lea edx, [esi + 0x30]
push edx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 7
mov dword [esi + 0x24], ebx
mov byte [esi + 0x28], 1
mov dword [esi + 0x2c], ebx
call fcn.0041b8b0
lea eax, [esi + 0x34]
push eax
mov byte [ebp - 4], 3
call fcn.0041b8b0
mov byte [ebp - 4], 4
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x1010101
mov word [esi + 0x44], di
mov byte [esi + 0x46], 1
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
lea ecx, [esi + 0x6c]
mov dword [esi + 0x58], edi
mov word [esi + 0x5c], bx
mov dword [esi + 0x60], ebx
push ecx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
call fcn.00461930
mov byte [ebp - 4], 5
push 0x38
mov dword [esi + 0x94], ebx
call fcn.004881ae
add esp, 4
cmp eax, ebx
je 0x461b40
mov dword [esi + 0x90], eax
mov dword [eax], eax
mov eax, dword [esi + 0x90]
mov dword [eax + 4], eax
mov dword [esi + 0x4c], 0xef1e1e1e
mov eax, esi
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
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.004894ce
push 0x4bc120
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0048ba70
int3
Function at 0x468780
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f688
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4c9144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [edi]
sub eax, 0x10
call fcn.004175b0
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov cl, byte [edi + 0x20]
mov byte [esi + 0x20], cl
mov dl, byte [edi + 0x21]
mov byte [esi + 0x21], dl
movzx eax, byte [edi + 0x22]
mov byte [esi + 0x22], al
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x24], ecx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x2c]
add edi, 0x30
push edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], eax
call fcn.004738e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x469e80
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp dword [esi + 0x3a0], 0
mov dword [esi + 0x20], eax
je 0x469edf
test eax, eax
je 0x469edf
push edi
push 0
push 0
push esi
push 0x472b00
push 0
push 0
call fcn.0048ae22
mov edi, eax
add esp, 0x18
test edi, edi
je 0x469edb
mov eax, dword [esi + 0x20]
push 0x7530
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x469ed4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
ret
xor eax, eax
ret
Function at 0x46d750
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fbb1
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4c9144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.CInterfaceControl::CControlInfo.0
mov eax, dword [edi + 4]
sub eax, 0x10
call fcn.004175b0
add eax, 0x10
mov dword [esi + 4], eax
mov dword [ebp - 4], 0
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
movzx ecx, byte [edi + 0xc]
mov byte [esi + 0xc], cl
movzx edx, byte [edi + 0xd]
mov byte [esi + 0xd], dl
mov eax, dword [edi + 0x10]
sub eax, 0x10
call fcn.004175b0
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x14]
sub eax, 0x10
call fcn.004175b0
add eax, 0x10
mov dword [esi + 0x14], eax
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
push ecx
mov byte [ebp - 4], 2
call fcn.004739a0
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
movzx edx, byte [edi + 0x3c]
mov byte [esi + 0x3c], dl
movzx eax, byte [edi + 0x3d]
mov byte [esi + 0x3d], al
movzx ecx, byte [edi + 0x3e]
mov byte [esi + 0x3e], cl
movzx edx, byte [edi + 0x3f]
mov byte [esi + 0x3f], dl
movzx eax, byte [edi + 0x40]
mov byte [esi + 0x40], al
movzx ecx, byte [edi + 0x41]
mov byte [esi + 0x41], cl
movzx edx, byte [edi + 0x42]
mov byte [esi + 0x42], dl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x471500
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
push esi
mov esi, ecx
je 0x47151b
mov eax, dword [ebp + 8]
push eax
push esi
call fcn.00471560
pop esi
pop ebp
ret 8
cmp byte [esi + 0x144], 0
jne 0x471555
cmp byte [esi + 0x151], 0
mov byte [esi + 0x144], 1
jne 0x471540
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 8]
mov eax, dword [esi + 4]
push 0
push edx
push 0x81d9
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
ret 8

Function at 0x473700
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0c88
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4c9144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x18], 0xffffffff
call fcn.0041b8b0
mov dword [ebp - 4], 0
mov ecx, dword [0x4d2920]
push ecx
push str.SoftwareMicrosoftMSNMessengerPerPassportSettings_u
lea edi, [ebp - 0x10]
call fcn.00417250
mov eax, dword [ebp - 0x10]
add esp, 8
lea edx, [ebp - 0x14]
push edx
push 0x20019
xor edi, edi
push edi
push eax
push SysReAllocString
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47379b
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
push 0
push str.MainWndLastColor
push edi
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x4737d0
cmp eax, 0xfffffffe
je 0x4737d0
cmp eax, 0xfffffffd
je 0x4737d0
movzx esi, al
mov ecx, eax
or esi, 0xffffff00
shr ecx, 8
shl esi, 8
movzx edx, cl
shr eax, 0x10
or esi, edx
movzx eax, al
shl esi, 8
or esi, eax
jmp 0x4737d5
mov esi, 0xff83c0d9
test edi, edi
je 0x4737e0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473806
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x478930
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 4]
push 0x3e8
push eax
call esi
push 0x64
push 0
push 0x406
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [0x4d2918]
push str.LblDownload
push str.Setup
lea ecx, [ebp - 4]
push ecx
call fcn.0041b1b0
mov edx, dword [edi + 4]
mov ebx, dword [eax]
push 0x3e9
push edx
call esi
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4789b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [0x4d2918]
push str.BtnCancel
push str.Setup
lea ecx, [ebp - 8]
push ecx
call fcn.0041b1b0
mov edx, dword [edi + 4]
mov ebx, dword [eax]
push 2
push edx
call esi
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478a01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 8]
call fcn.0041b420
mov ecx, dword [eax]
mov edx, dword [edi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478a35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [edi + 4]
mov edx, eax
call fcn.00419a40
push 0
push 0
push edi
push 0x478850
push 0
push 0
call fcn.0048ae22
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x478a6d
mov ecx, dword [edi + 4]
push 2
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x478b70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0bd0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x4c9144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 1
cmp dword [ebp + 8], ebx
jne 0x478bab
mov eax, dword [edi + 4]
push ebx
push eax
jmp 0x478caf
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [edi + 0x28]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x478c2c
lea esi, [ebp - 0x10]
call fcn.0041b420
mov esi, eax
push str.DownloadCancelled
push str.Setup
lea edx, [ebp + 8]
mov dword [ebp - 4], 0
mov ebx, dword [0x4d2918]
push edx
call fcn.0041b1b0
mov esi, dword [esi]
mov eax, dword [eax]
push 0x40
push esi
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478c20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
jmp 0x478c8d
lea esi, [ebp - 0x18]
call fcn.0041b420
mov esi, eax
push str.DownloadFailed
push str.Setup
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
mov ebx, dword [0x4d2918]
push ecx
call fcn.0041b1b0
mov esi, dword [esi]
mov eax, dword [eax]
mov edx, dword [edi + 4]
push 0x40
push esi
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478c83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478ca9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 4]
push 2
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4