joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a6e0
Capabilities:
Access the windows event log

Disassembly:
push 0xffffffffffffffff
push 0x492e00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push 0x49e768
lea ecx, [esp + 4]
call fcn.0043a640
cmp word [0x4b6258], 0
mov dword [esp + 0x1c], 0
jne 0x43a731
push str.PowerDVD
push 0x40
push 0x4b6258
push str.ProductName
call fcn.0043afe0
add esp, 0x10
push esi
push edi
push 0x4b6258
lea ecx, [esp + 0x18]
call fcn.00408010
mov esi, eax
cmp word [0x4b62d8], 0
mov byte [esp + 0x24], 1
jne 0x43a76b
push str.Cyberlink
push 0x40
push 0x4b62d8
push str.CompanyName
call fcn.0043afe0
add esp, 0x10
push 0x4b62d8
lea ecx, [esp + 0x14]
call fcn.00408010
lea ecx, [esp + 8]
push ecx
push eax
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x30], 2
call fcn.0043a590
push esi
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x3c], 3
call fcn.0043a590
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0x24], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a7c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a7e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a80b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a831
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x18]
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
jne 0x43a874
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a85e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
mov eax, 0x80004005
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push 0
push eax
mov eax, dword [esp + 0x44]
push 0
push ecx
push 0
push edx
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a8b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x43b860
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x497f10
push esi
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
push 1
push 0x23
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43b8b8
push edi
call fcn.00437780
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
push esi
call edi
push esi
call fcn.00438950
add esp, 4
call fcn.00437750
push eax
push esi
call edi
push esi
call fcn.00438950
add esp, 4
pop edi
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x43cd70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492ebb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
push 1
lea edx, [esp + 0x40]
mov dword [esp + 0x20], eax
movzx ecx, bl
push edx
mov dword [esp + 0x28], eax
push 0x49ea9c
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], 0x440d
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0x849
mov dword [esp + 0x48], 1
call fcn.0043add0
mov eax, dword [esp + 0x48]
add esp, 0xc
cmp eax, 1
jne 0x43ce05
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x40]
push 0x1c
lea ecx, [esp + 0x18]
push ecx
push 0x1c
mov edx, ecx
push edx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x43ce57
mov ecx, dword [0x4b6188]
test ecx, ecx
jne 0x43ce51
push 0x1764
call fcn.0048c300
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x30], 0
je 0x43ce3b
push 1
push 0
push 0
mov ecx, eax
call fcn.0048cac0
jmp 0x43ce3d
xor eax, eax
test eax, eax
mov ecx, eax
mov dword [esp + 0x30], 0xffffffff
mov dword [0x4b6188], ecx
je 0x43ce77
push ebx
call fcn.0048d030
test eax, eax
je 0x43ce77
test byte [esp + 0x24], 1
jne 0x43ce77
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov ecx, dword [esp + 0x28]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x43dc70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x493030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
lea ecx, [esp + 8]
call fcn.0043d5b0
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 0x3c], 0
je 0x43dda5
push str.Write
lea ecx, [esp + 8]
call fcn.00408010
mov esi, dword [esp + 0x44]
test esi, esi
mov byte [esp + 0x3c], 1
jne 0x43dcc5
xor eax, eax
jmp 0x43dccf
push esi
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
push eax
push esi
lea ecx, [esp + 0xc]
call fcn.00407840
mov eax, dword [esp + 0x48]
mov word [esp + 0x24], 0x13
mov dword [esp + 0x2c], eax
mov word [esp + 0x14], 3
mov dword [esp + 0x1c], 0x80004005
mov eax, dword [esp + 4]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.0043d300
test eax, eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
jl 0x43dd74
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
call esi
lea edx, [esp + 0x28]
push edx
call esi
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x40], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43dd50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.0043d530
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
lea eax, [esp + 0x14]
push eax
call esi
lea ecx, [esp + 0x24]
push ecx
call esi
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43dda5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 8]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0043d530
mov ecx, dword [esp + 0x34]
mov eax, 0x80004005
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x43f5e0
Capabilities:
Clear file content
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x4b5320]
push ebx
push esi
push edi
xor esi, esi
push esi
push 0x80
push 4
push esi
push 2
mov ebx, ecx
push 0x40000000
push ebx
mov dword [esp + 0x448], eax
call dword [0x4b53fc]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x43f63c
push esi
push esi
call fcn.00438e70
add esp, 8
mov ecx, dword [esp + 0x42c]
call fcn.0048c3c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov word [esp + 0x18], si
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [0x4b5554]
mov dword [esp + 0x14], esi
lea ebx, [ebx]
mov ecx, dword [ebx + 0x414]
test ecx, ecx
jne 0x43f66e
xor eax, eax
jmp 0x43f679
mov eax, dword [ebx + 0x418]
sub eax, ecx
sar eax, 2
cmp esi, eax
jge 0x43f6d4
mov eax, dword [ebx + 0x414]
lea eax, [eax + esi*4]
mov eax, dword [eax]
mov edx, dword [eax + 0x418]
xor ecx, ecx
cmp edx, 1
setne cl
lea edx, [esp + 0x18]
dec ecx
and ecx, eax
push ecx
push str._s_r_n
push edx
call edi
add esp, 0xc
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
shl eax, 1
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc esi
jmp 0x43f660
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x42c]
call fcn.0048c3c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4432c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49321e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8f4
mov eax, dword [0x4b5320]
push ebp
mov ebp, dword [esp + 0x908]
push esi
push edi
push 0xc
mov dword [esp + 0x900], eax
mov edi, ecx
call fcn.0048c300
add esp, 4
mov dword [esp + 0x34], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x908], esi
je 0x443319
push edi
push ebp
mov ecx, eax
call fcn.00442de0
mov esi, eax
lea eax, [esp + 0x2ec]
push eax
push 0
push 0
push 0
push edi
call dword [sym.imp.MSVCR71.dll__wsplitpath]
add esp, 0x14
push 0x4410
push 0x2b4
lea ecx, [esp + 0x40]
push ecx
push 0x80
lea edx, [esp + 0x2fc]
push edx
call dword [0x4b5490]
mov ecx, dword [esp + 0x3c]
xor eax, eax
mov edi, dword [0x4b5538]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea edx, [esp + 0xc]
push edx
push eax
push 0x104d
push ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], 7
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], esi
call edi
mov ecx, dword [esp + 0x914]
mov esi, eax
mov eax, dword [esp + 0x918]
test eax, eax
jl 0x4433ed
jg 0x4433cf
cmp ecx, 0x400
jb 0x4433ed
push 0
push 0x400
push eax
push ecx
call fcn.0048c660
push eax
push str._d_KB
lea eax, [esp + 0x4f4]
push eax
jmp 0x4433fb
push ecx
push 0x49ee24
lea ecx, [esp + 0x4f4]
push ecx
call dword [0x4b5554]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0
push 0x104c
mov ebp, 1
lea edx, [esp + 0x4f8]
push ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], edx
call edi
lea edx, [esp + 0xc]
push edx
push 0
push 0x104c
lea ecx, [esp + 0x258]
push ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 2
mov dword [esp + 0x30], ecx
call edi
mov ecx, dword [esp + 0x900]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x8f4]
pop ebp
call fcn.0048c3c7
add esp, 0x900
ret
Function at 0x446985
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [0x4b67a8]
test ecx, ecx
mov ecx, dword [eax + 8]
push edi
jne 0x446aa7
add ecx, 0x9b
cmp ecx, 0x98
ja case.0x446ac0.154
movzx ecx, byte [ecx + 0x446b90]
jmp dword [ecx*4 + 0x446b7c]
mov eax, dword [0x4b6814]
test eax, eax
jl case.0x446ac0.154
cmp eax, 2
jg case.0x446ac0.154
push esi
call fcn.00446440
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov ecx, dword [0x4b6814]
test ecx, ecx
jl case.0x446ac0.154
cmp ecx, 1
jg case.0x446ac0.154
mov esi, dword [eax + 0x28]
test esi, esi
je case.0x446ac0.154
mov eax, dword [0x4b67f4]
test eax, eax
je 0x446a16
mov ecx, dword [esi + 8]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [esi + 4]
mov edx, dword [eax]
push eax
call dword [edx + 8]
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp word [eax + 0xc], 0x41
jne case.0x446ac0.154
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x446ac0.154
push 0x494
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov ebx, eax
push 0x1004
push ebx
call dword [0x4b5538]
mov ebp, eax
xor esi, esi
test ebp, ebp
jle case.0x446ac0.154
mov edi, 3
jmp 0x446a80
lea eax, [esp + 0x10]
push eax
push esi
push 0x102b
push ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
call dword [0x4b5538]
inc esi
cmp esi, ebp
jl 0x446a80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
add ecx, 0x9b
cmp ecx, 0x98
ja case.0x446ac0.154
movzx ecx, byte [ecx + 0x446c40]
jmp dword [ecx*4 + 0x446c2c]
mov ecx, dword [0x4b6814]
test ecx, ecx
jl case.0x446ac0.154
cmp ecx, 1
jg case.0x446ac0.154
mov esi, dword [eax + 0x28]
test esi, esi
je case.0x446ac0.154
mov ecx, esi
call fcn.00442e70
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp word [eax + 0xc], 0x41
jne case.0x446ac0.154
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x446ac0.154
push 0x494
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov ebx, eax
push 0x1004
push ebx
call dword [0x4b5538]
mov ebp, eax
xor esi, esi
test ebp, ebp
jle case.0x446ac0.154
mov edi, 3
lea edx, [esp + 0x10]
push edx
push esi
push 0x102b
push ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
call dword [0x4b5538]
inc esi
cmp esi, ebp
jl 0x446b40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push eax
push esi
call fcn.004426f0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x44e6c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x49376b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x88]
cmp eax, dword [ebp + 0x8c]
mov ebx, 0x80004005
mov dword [esp + 8], eax
je 0x44e89d
push esi
push edi
jmp 0x44e700
mov eax, dword [esp + 0x10]
nop
mov esi, dword [eax]
mov ecx, esi
call fcn.00467ea0
mov edi, eax
cmp edi, 0xffffffff
je 0x44e7fd
cmp edi, 0x4e53
jne 0x44e7de
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x44e7de
mov ecx, esi
call fcn.00467d90
mov eax, dword [eax]
mov esi, dword [eax + 8]
lea ecx, [esp + 0x30]
xor edi, edi
push ecx
mov word [esp + 0x34], di
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push esi
mov word [esp + 0x34], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, edi
mov dword [esp + 0x38], eax
jne 0x44e773
cmp esi, edi
je 0x44e773
mov word [esp + 0x30], 0xa
mov dword [esp + 0x38], 0x8007000e
mov eax, dword [ebx]
mov esi, 3
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 4]
mov word [esp + 0x40], si
mov word [esp + 0x50], si
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0xb0]
lea edx, [esp + 0x30]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x20]
push edx
push 0x4e53
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov ecx, dword [eax]
push eax
mov dword [esp + 0x74], edi
call dword [ecx + 0x20]
push 0x403ba0
push esi
mov ebx, eax
push 0x10
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x78], 0xffffffff
call fcn.0048c494
jmp 0x44e869
mov ecx, dword [ebp + 0xb0]
mov ebx, dword [ecx]
mov ecx, esi
call fcn.00467d90
mov edx, dword [ebp + 0xb0]
push eax
push edi
push edx
call dword [ebx + 0x20]
mov ebx, eax
jmp 0x44e869
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0044a3c0
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
test eax, eax
mov dword [esp + 0x68], 1
je 0x44e847
mov ecx, dword [edi - 8]
mov ebx, dword [ebp + 0xb0]
mov eax, dword [ebx]
mov dword [esp + 0x18], ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00467d90
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push edx
push edi
push ebx
call dword [eax + 0x24]
mov ebx, eax
add edi, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44e869
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
test ebx, ebx
jl 0x44e886
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x8c]
add eax, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jne 0x44e6fb
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 4
mov ecx, dword [esp + 0x58]
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 4
Function at 0x456be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x493b80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x4b7204]
push esi
mov esi, ecx
mov ecx, 0x4b7204
mov dword [esp + 4], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edx, dword [esp + 0x28]
push 8
push 0
push edx
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x30], 1
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x456c47
push eax
call fcn.004010e0
mov eax, dword [esp + 0x10]
test eax, eax
push edi
mov edi, eax
je 0x456c5c
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
push eax
push edi
mov ecx, esi
call fcn.004072a0
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x4637d0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14c]
test eax, eax
je 0x4637ee
mov eax, dword [esi]
push 1
mov dword [esi + 0x14c], 0
call dword [eax + 0x50]
mov eax, dword [esi + 0x124]
test eax, eax
je 0x463818
push 0x1388
push eax
mov dword [esi + 0x128], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0x124], 0
mov eax, dword [esi + 0x120]
test eax, eax
je 0x463828
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x50]
push esi
push 0
push 0x462c40
mov dword [esi + 0x128], 1
call dword [sym.imp.MSVCR71.dll__beginthread]
add esp, 0xc
mov dword [esi + 0x124], eax
xor eax, eax
pop esi
ret
Function at 0x465860
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x494578
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x18
push ebp
xor ebp, ebp
cmp eax, ebp
push edi
mov edi, ecx
jne 0x46589e
pop edi
mov eax, 0x80004003
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
push ebx
push esi
mov dword [edi + 0x120], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi + 0x120]
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov esi, eax
lea ebx, [edi + 0x150]
mov ecx, ebx
mov dword [esp + 0x10], esi
call fcn.004644e0
cmp esi, ebp
mov dword [esp + 0x38], ebp
jbe 0x465997
jmp 0x4658e0
mov eax, dword [0x4b7204]
mov ecx, 0x4b7204
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x410
or eax, ecx
mov dword [esp + 0x30], ebp
jge 0x465920
push 0x410
lea ecx, [esp + 0x18]
call fcn.004048a0
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov eax, dword [edi + 0x120]
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x20]
cmp esi, ebp
jne 0x46593a
xor eax, eax
jmp 0x465948
push esi
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
cmp eax, ebp
jl 0x4659c2
cmp eax, dword [esi - 8]
jg 0x4659c2
mov dword [esi - 0xc], eax
mov word [esi + eax*2], bp
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call fcn.004657b0
lea eax, [esi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465982
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jb 0x4658e0
mov ecx, edi
mov dword [edi + 0x138], ebp
mov dword [edi + 0x13c], ebp
call fcn.004629f0
mov eax, dword [edi + 0x58]
mov edx, dword [edi + 0x50]
mov ecx, dword [edi + 0x148]
sub eax, edx
cmp ecx, eax
mov ecx, edi
jle 0x4659cc
push 1
jmp 0x4659cd
push 0x80070057
call fcn.004010e0
push ebp
call fcn.00463940
mov ecx, dword [edi + 0x148]
push ecx
mov ecx, edi
call fcn.00463a90
mov edx, dword [edi + 0x14c]
push edx
mov ecx, edi
call fcn.00463bf0
mov eax, dword [edi + 0xb0]
mov ecx, dword [eax]
push ebp
push 1
push eax
call dword [ecx + 0x48]
push edi
push ebp
push 0x462c40
mov dword [edi + 0x128], 1
call dword [sym.imp.MSVCR71.dll__beginthread]
add esp, 0xc
push 0x64
mov dword [edi + 0x124], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
call fcn.00462740
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x469960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x494872
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
xor ebp, ebp
mov dword [esi], 0x4a2de0
mov dword [esi + 4], 0x4a2da0
mov dword [esi + 8], 0x4a2d84
mov dword [esp + 0x10], esi
mov dword [edi], ebp
lea ebx, [esi + 0x14]
mov dword [esp + 0x1c], ebp
mov dword [ebx], ebp
mov eax, dword [0x4b7204]
mov ecx, 0x4b7204
mov byte [esp + 0x1c], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov edx, dword [0x4b7204]
mov ecx, 0x4b7204
mov byte [esp + 0x1c], 2
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [0x4b7204]
mov ecx, 0x4b7204
mov byte [esp + 0x1c], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov edx, dword [0x4b7204]
mov ecx, 0x4b7204
mov byte [esp + 0x1c], 4
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
cmp edi, ebp
mov byte [esp + 0x1c], 5
mov dword [esi + 0xc], ebp
je 0x469a20
mov eax, dword [edi]
cmp eax, ebp
je 0x469a1e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebp
cmp ebx, ebp
je 0x469a32
mov eax, dword [ebx]
cmp eax, ebp
je 0x469a30
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [ebx], ebp
mov edi, dword [esp + 0x24]
cmp edi, ebp
jne 0x469a3e
xor eax, eax
jmp 0x469a48
push edi
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
push eax
push edi
lea ecx, [esi + 0x1c]
call fcn.004072a0
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x46a8e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
sub esp, 8
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
push eax
push ecx
push edi
mov esi, 0x80004005
call dword [0x4b5414]
mov ebp, eax
test ebp, ebp
je 0x46a9be
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46a9be
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [esp + 0xc], eax
je 0x46a9be
push ebx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x46a9bd
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [esp + 0x14], eax
je 0x46a9b6
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [esp + 0x28]
push edi
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, eax
test esi, esi
jl 0x46a9b6
cmp dword [edi], 0
je 0x46a9bd
mov eax, dword [esp + 0x1c]
push ebp
push eax
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [edi]
mov edx, dword [ecx]
push ebx
push eax
push ecx
call dword [edx + 0x18]
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 8
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 8
ret