joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451103
Capabilities:
Get geographical location

Disassembly:
push 0x44
mov eax, 0x5b077d
call fcn.00580bb4
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esi
call fcn.004084d7
mov dword [ebp - 4], esi
xor edi, edi
inc edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 0x38
mov dword [ebp - 0x3c], 0x39
mov dword [ebp - 0x38], 0x3a
mov dword [ebp - 0x34], 0x3b
mov dword [ebp - 0x30], 0x3c
mov dword [ebp - 0x2c], 0x3d
mov dword [ebp - 0x28], 0x3e
mov dword [ebp - 0x24], 0x3f
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 0x1c], 0x41
mov dword [ebp - 0x18], 0x42
mov dword [ebp - 0x14], 0x43
cmp ebx, 0xd
jae 0x45121c
mov ebx, dword [ebp + ebx*4 - 0x44]
push esi
push esi
push ebx
mov dword [ebp - 0x50], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, esi
jle 0x45121c
push eax
lea esi, [ebp - 0x2c]
call fcn.00425d9d
mov dword [ebp - 4], edi
push dword [ebp - 0x18]
xor edi, edi
mov eax, esi
call fcn.00425dbf
push eax
push dword [ebp - 0x50]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4511dc
lea eax, [ebp - 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4511df
sub eax, edx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.00425ddf
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x451203
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x48]
call fcn.004085d2
mov byte [ebp - 4], 0
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00409bbf
mov eax, dword [ebp - 0x48]
call fcn.00580c37
ret
Function at 0x45156c
Capabilities:
Terminate process

Disassembly:
push 0x47c
mov eax, 0x5b3d71
call fcn.00580bb4
lea eax, [ebp - 0x478]
push eax
call fcn.004321b3
and dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x478]
call fcn.0043224c
cmp byte [ebp - 0x14], 0
je 0x4516b8
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0041a005
mov byte [ebp - 4], 1
push dword [esi + 0x6d6be4]
push eax
call fcn.0040860e
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x480]
call fcn.0040856e
test bl, bl
jne 0x4515fa
add esi, 4
cmp esi, 0x14
jb 0x4515af
jmp 0x45169c
cmp dword [0x6bc38c], 1
jl 0x45165e
push ecx
mov eax, esp
mov dword [ebp - 0x484], esp
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0041a005
mov byte [ebp - 4], 2
lea eax, [ebp - 0x47c]
push eax
mov byte [ebp - 4], 0
call fcn.004040c2
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov esi, eax
call fcn.004084c0
push eax
push str.CLEAN:_Removing_process__s
push str.USBUnhider::killProcessByNames
push 1
call fcn.00532652
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.0040842d
push dword [ebp - 0x238]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x488], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x451691
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x451691
mov byte [ebp - 4], 0
jmp 0x451699
mov byte [ebp - 4], 0
test esi, esi
je 0x45169c
push esi
call edi
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x478]
call fcn.0043224c
cmp byte [ebp - 0x14], 0
jne 0x4515ad
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x478]
push eax
call fcn.00432220
call fcn.00580c37
ret
Function at 0x456002
Capabilities:
Create thread

Disassembly:
push ebx
xor eax, eax
xor ebx, ebx
cmp byte [esp + 8], bl
setne al
push eax
push 0x6c03fc
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push ebx
push dword [0x6d6624]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x456045
push ebx
push ebx
push ebx
push method.COMApiHandler.1.virtual_440
push ebx
push ebx
call fcn.005752ab
add esp, 0x18
mov dword [0x6d6624], eax
mov al, 1
pop ebx
ret 4
Function at 0x456648
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b3afb
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.004084d7
and dword [esp + 0x30], 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x20]
push eax
movzx eax, word [esp + 0x22]
push eax
movzx eax, word [esp + 0x24]
push eax
push 0x6750b4
lea eax, [esp + 0x18]
call fcn.004175e6
lea eax, [esp + 0x20]
push 0x6751d8
push eax
lea ecx, [esp + 0x20]
call fcn.0040fc0a
mov byte [esp + 0x48], 1
push dword [ebp + 8]
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.0040fc0a
add esp, 0x20
mov byte [esp + 0x30], 2
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x34
call fcn.004138ba
mov byte [esp + 0x30], 1
lea ecx, [esp + 0xc]
call fcn.0040856e
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x10]
call fcn.0040856e
push dword [ebp + 0x10]
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x6d6410]
push dword [ebp + 8]
add eax, 0xc0
push eax
call fcn.0046d5a3
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 8]
call fcn.0040856e
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x456bd5
Capabilities:
Get file version info

Disassembly:
push 0x34
mov eax, 0x5ad610
call fcn.00580b4b
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov esi, dword [ebp + 8]
push esi
call fcn.004084d7
xor edi, edi
inc edi
mov dword [ebp - 4], edi
add esi, 4
push esi
call fcn.004084d7
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x456cfc
mov edi, eax
lea ebx, [ebp - 0x20]
call fcn.00426662
mov dword [ebp - 4], 3
mov edi, dword [ebp - 0x20]
push dword [edi]
xor ebx, ebx
push dword [ebp - 0x1c]
push ebx
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x456cf1
push dword [edi]
lea eax, [ebp - 0x40]
push eax
call fcn.004221b9
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
sub ecx, eax
sar ecx, 2
test ecx, ecx
jbe 0x456ce4
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._04x_04x
mov eax, esi
call fcn.004175e6
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.004084d7
mov byte [ebp - 4], 5
push dword [esi]
lea eax, [ebp - 0x1c]
push str.StringFileInfo_sFileVersion
call fcn.004175e6
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov edi, dword [edi]
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x456cd8
cmp dword [ebp - 0x18], ebx
je 0x456cd8
cmp dword [ebp - 0x14], ebx
jbe 0x456cd8
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.0040cde8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.0040856e
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
call fcn.0043c1cc
mov byte [ebp - 4], bl
lea ebx, [ebp - 0x20]
call fcn.004266a7
mov eax, dword [ebp + 8]
call fcn.00580c23
ret
Function at 0x45a76c
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
xor ebx, ebx
push edi
sar eax, 2
xor edi, edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
test eax, eax
jbe 0x45a7d5
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.004138a1
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x45a7c7
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
sbb ecx, dword [ebp - 0x14]
add dword [ebp - 8], eax
adc dword [ebp - 4], ecx
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc edi
sar eax, 2
cmp edi, eax
jb 0x45a78e
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45d925
Capabilities:
Create thread

Disassembly:
push esi
push 8
call fcn.00573487
mov esi, eax
pop ecx
test esi, esi
je 0x45d93e
push edi
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
jmp 0x45d940
xor esi, esi
mov al, byte [esp + 8]
push 0
mov dword [esi], ebx
mov byte [esi + 4], al
push dword [ebx + 0x144]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x45d978
xor eax, eax
push eax
push eax
push esi
push 0x4646c8
push eax
push eax
call fcn.005752ab
add esp, 0x18
mov dword [ebx + 0x144], eax
pop esi
ret 4
Function at 0x4612d3
Capabilities:
Set registry value

Disassembly:
push 0x34
mov eax, 0x5b8874
call fcn.00580bea
xor eax, eax
xor ebx, ebx
cmp byte [ebp + 8], bl
setne al
mov dword [ebp - 0x40], eax
push 4
lea eax, [ebp - 0x40]
push eax
push 4
push str.WriteProtect
push str.SYSTEMCurrentControlSetControlStorageDevicePolicies
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp byte [ebp + 8], bl
mov eax, 0x677470
jne 0x461318
mov eax, 0x677480
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
push ecx
call fcn.0040852d
mov dword [ebp - 4], ebx
push ecx
mov eax, esp
mov dword [ebp - 0x3c], esp
push 0x677494
push eax
call fcn.0040852d
mov byte [ebp - 4], 1
or dword [ebp - 4], 0xffffffff
call fcn.0043bfac
mov dword [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
call fcn.0040f7de
mov byte [ebp - 4], 3
push ebx
lea ecx, [ebp - 0x34]
call fcn.004100b3
test al, al
je 0x4613a9
cmp byte [ebp + 8], bl
mov eax, 0x6774c0
jne 0x461376
mov eax, 0x6774d0
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
push ecx
call fcn.0040852d
mov byte [ebp - 4], 4
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push str.USB_Write_Protection
push eax
call fcn.0040f884
mov byte [ebp - 4], 5
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 3
call fcn.00410dcb
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
call fcn.0040f80a
or dword [ebp - 4], 0xffffffff
call fcn.00580c46
ret 4

Function at 0x4613cc
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push 0x38
mov eax, 0x5b8825
call fcn.00580bea
xor eax, eax
xor ebx, ebx
cmp byte [ebp + 8], bl
setne al
add eax, 3
mov dword [ebp - 0x3c], eax
push 4
lea eax, [ebp - 0x3c]
push eax
push 4
push str.Start
push str.SYSTEMCurrentControlSet_servicesUSBSTOR
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
call fcn.00573487
pop ecx
mov ecx, eax
cmp ecx, ebx
je 0x46141a
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
jmp 0x46141c
xor ecx, ecx
movzx eax, byte [ebp + 8]
mov dword [ecx], eax
push ecx
push 7
call fcn.00418be4
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0040f7de
mov byte [ebp - 4], 1
push ebx
lea ecx, [ebp - 0x38]
call fcn.004100b3
test al, al
je 0x461489
cmp byte [ebp + 8], bl
mov eax, str.Protection_Enabled
jne 0x461456
mov eax, 0x6775e4
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
push ecx
call fcn.0040852d
mov byte [ebp - 4], 2
push ecx
mov eax, esp
mov dword [ebp - 0x44], esp
push str.Device
push eax
call fcn.0040852d
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 1
call fcn.00410dcb
mov byte [ebp - 4], bl
lea eax, [ebp - 0x38]
push eax
call fcn.0040f80a
or dword [ebp - 4], 0xffffffff
call fcn.00580c46
ret 4
Function at 0x461ca6
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x5ba94d
call fcn.00580b4b
xor ebx, ebx
push ebx
push dword [0x6d6614]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x461d29
push 0xc
call fcn.00573487
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x461cf7
push esi
call fcn.004084d7
mov byte [ebp - 4], 1
lea eax, [esi + 8]
push eax
mov dword [esi + 4], ebx
call fcn.004084d7
mov byte [ebp - 4], bl
jmp 0x461cf9
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
mov edi, esi
call fcn.00408591
mov eax, dword [ebp + 8]
lea edi, [esi + 8]
call fcn.00408591
push ebx
push ebx
push esi
push 0x45287f
push ebx
push ebx
call fcn.005752ab
add esp, 0x18
mov dword [0x6d6614], eax
call fcn.00580c23
ret

Function at 0x461d2f
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x5bbc46
call fcn.00580b4b
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x19c
call fcn.00573487
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x461d5d
call fcn.0041b94a
jmp 0x461d5f
xor eax, eax
mov byte [ebp - 4], bl
cmp dword [ebp + 0x20], 8
mov esi, dword [ebp + 0xc]
jae 0x461d6e
lea esi, [ebp + 0xc]
lea edx, [eax + 4]
movzx ecx, word [esi]
inc esi
mov word [edx], cx
inc esi
inc edx
inc edx
cmp cx, bx
jne 0x461d71
mov ecx, dword [ebp + 0x24]
push ebx
push ebx
push eax
push 0x4618bb
push ebx
push ebx
mov dword [eax], ecx
call fcn.005752ab
add esp, 0x18
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea esi, [ebp + 8]
call fcn.00409bbf
call fcn.00580c23
ret

Function at 0x461dac
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x5ba915
call fcn.00580b4b
mov dword [ebp - 4], 1
push 0xc
call fcn.00573487
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
xor ebx, ebx
cmp esi, ebx
je 0x461df6
push esi
call fcn.004084d7
mov byte [ebp - 4], 3
lea eax, [esi + 4]
push eax
call fcn.004084d7
mov byte [ebp - 4], 4
mov dword [esi + 8], ebx
mov byte [ebp - 4], 2
jmp 0x461df8
xor esi, esi
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
mov edi, esi
call fcn.00408591
lea edi, [esi + 4]
lea eax, [ebp + 0xc]
call fcn.00408591
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push esi
push 0x4618fe
push ebx
push ebx
mov dword [esi + 8], eax
call fcn.005752ab
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.0040856e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0040856e
call fcn.00580c23
ret
Function at 0x461e46
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x5a9429
call fcn.00580b4b
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
push esi
push dword [0x6d6638]
call edi
cmp eax, 0x102
je 0x461ea5
push 0x19c
call fcn.00573487
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x461e86
call fcn.0041b94a
jmp 0x461e88
xor eax, eax
or dword [ebp - 4], 0xffffffff
push esi
push esi
push eax
push 0x461c55
push esi
push esi
mov dword [eax], ebx
call fcn.005752ab
add esp, 0x18
mov dword [0x6d6638], eax
push 0x493e0
push dword [0x6d6638]
call edi
lea eax, [ebp - 0x10]
push eax
push dword [0x6d6638]
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
call fcn.00455f7a
cmp eax, esi
je 0x461ee3
cmp dword [ebp - 0x10], 1
sete cl
movzx ecx, cl
push ecx
push ebx
mov ecx, eax
call fcn.00461eeb
mov esi, eax
mov eax, esi
call fcn.00580c23
ret
Function at 0x465cb1
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push dword [esp + 0xc]
call fcn.00465b86
mov esi, eax
xor eax, eax
push eax
push eax
push esi
push 0x45ad2f
push eax
push eax
call fcn.005752ab
add esp, 0x18
mov dword [esi + 0xc], eax
pop esi
pop ecx
ret 4
Function at 0x46ca40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a61ca
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor eax, eax
mov ebx, ecx
add ebx, 0x34
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
mov byte [esp + 0x17], 0
sar eax, 2
test eax, eax
jbe 0x46cb45
mov edi, dword [esp + 0x1c]
mov esi, ebx
call fcn.004138a1
mov eax, dword [eax]
and dword [esp + 0x18], 0
mov dword [esp + 0x50], 1
lea edi, [esp + 0x18]
mov esi, eax
call fcn.0046c1c2
test eax, eax
jl 0x46cb1f
cmp dword [esp + 0x18], 0
je 0x46cb1f
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push 0
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x30]
push edx
push 1
push 0x400
push 0x66430c
push 0xa
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x46cb0f
mov byte [esp + 0x17], 1
mov byte [esp + 0x50], 1
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
or dword [esp + 0x50], 0xffffffff
lea eax, [esp + 0x18]
push eax
call fcn.004201c8
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
inc dword [esp + 0x1c]
sar eax, 2
cmp dword [esp + 0x1c], eax
jb 0x46ca9d
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46cb5c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a7b14
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
push 0x41b8c9
push 0x46c1f3
xor edi, edi
inc edi
push edi
push 0x10
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x27], 0
call fcn.00575f76
xor esi, esi
mov dword [esp + 0x80], esi
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x24]
push eax
call ebx
mov byte [esp + 0x80], 1
lea eax, [esp + 0x24]
push eax
call ebx
lea eax, [esp + 0x44]
push eax
call ebx
mov byte [esp + 0x80], 2
mov eax, 0x400c
mov word [esp + 0x44], ax
lea eax, [esp + 0x24]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, esi
jge 0x46cc07
push eax
call fcn.004b0c10
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], esi
mov esi, dword [ebp + 8]
add esi, 0x34
lea eax, [esp + 0x54]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov dword [esp + 0x3c], edi
sar eax, 2
mov dword [esp + 0x1c], esi
test eax, eax
jbe 0x46cd03
jmp 0x46cc3e
mov esi, eax
mov edi, dword [esp + 0x18]
call fcn.004138a1
mov eax, dword [eax]
and dword [esp + 0x14], 0
mov byte [esp + 0x80], 4
lea edi, [esp + 0x14]
mov esi, eax
call fcn.0046c1c2
test eax, eax
jl 0x46ccd6
cmp dword [esp + 0x14], 0
je 0x46ccd6
lea eax, [esp + 0x64]
push eax
call ebx
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push 0
lea edx, [esp + 0x6c]
push edx
lea edx, [esp + 0x40]
push edx
push 1
push 0x400
push 0x66430c
push 0xb
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x46ccc3
cmp word [esp + 0x24], 0xb
jne 0x46ccbe
cmp word [esp + 0x2c], 0xffff
jne 0x46ccbe
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
mov byte [esp + 0x13], 1
mov byte [esp + 0x80], 4
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x80], 2
lea eax, [esp + 0x14]
push eax
call fcn.004201c8
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
inc dword [esp + 0x18]
sar ecx, 2
cmp dword [esp + 0x18], ecx
jb 0x46cc3c
mov byte [esp + 0x80], 1
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x44]
push eax
call esi
mov byte [esp + 0x80], 0
lea eax, [esp + 0x24]
push eax
call esi
or dword [esp + 0x80], 0xffffffff
push 0x41b8c9
push 1
push 0x10
lea eax, [esp + 0x60]
push eax
call fcn.00574651
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46cd5b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a61ca
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor eax, eax
mov ebx, ecx
add ebx, 0x34
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
mov byte [esp + 0x17], 0
sar eax, 2
test eax, eax
jbe 0x46ce60
mov edi, dword [esp + 0x1c]
mov esi, ebx
call fcn.004138a1
mov eax, dword [eax]
and dword [esp + 0x18], 0
mov dword [esp + 0x50], 1
lea edi, [esp + 0x18]
mov esi, eax
call fcn.0046c1c2
test eax, eax
jl 0x46ce3a
cmp dword [esp + 0x18], 0
je 0x46ce3a
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push 0
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x30]
push edx
push 1
push 0x400
push 0x66430c
push 7
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x46ce2a
mov byte [esp + 0x17], 1
mov byte [esp + 0x50], 1
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
or dword [esp + 0x50], 0xffffffff
lea eax, [esp + 0x18]
push eax
call fcn.004201c8
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
inc dword [esp + 0x1c]
sar eax, 2
cmp dword [esp + 0x1c], eax
jb 0x46cdb8
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46cfd3
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a610c
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
push 0x41b8c9
push 0x46c1f3
xor esi, esi
inc esi
push esi
push 0x10
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x2b], 0
call fcn.00575f76
xor eax, eax
mov dword [esp + 0x60], eax
mov ebx, dword [ebp + 8]
push 3
pop ecx
mov word [esp + 0x34], cx
xor ecx, ecx
cmp byte [ebp + 0xc], al
mov dword [esp + 0x30], eax
sete cl
add ebx, 0x34
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], ecx
sar eax, 2
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], ecx
test eax, eax
jbe 0x46d10c
mov edi, dword [esp + 0x1c]
mov esi, ebx
call fcn.004138a1
mov eax, dword [eax]
and dword [esp + 0x18], 0
mov byte [esp + 0x60], 2
lea edi, [esp + 0x18]
mov esi, eax
call fcn.0046c1c2
test eax, eax
jl 0x46d0e6
cmp dword [esp + 0x18], 0
je 0x46d0e6
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x60], 3
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push 0
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x30]
push edx
push 1
push 0x400
push 0x66430c
push 6
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x46d0d6
mov byte [esp + 0x17], 1
mov byte [esp + 0x60], 2
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x60], 0
lea eax, [esp + 0x18]
push eax
call fcn.004201c8
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
inc dword [esp + 0x1c]
sar eax, 2
cmp dword [esp + 0x1c], eax
jb 0x46d067
or dword [esp + 0x60], 0xffffffff
push 0x41b8c9
push 1
push 0x10
lea eax, [esp + 0x40]
push eax
call fcn.00574651
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8