joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465471
Capabilities:
Terminate process

Disassembly:
push 0x47c
mov eax, 0x5bfeab
call fcn.0058ec94
lea eax, [ebp - 0x478]
push eax
call fcn.00440e8d
and dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x478]
call fcn.00440f26
cmp byte [ebp - 0x14], 0
je 0x4655bd
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.0041e3dd
mov byte [ebp - 4], 1
push dword [esi + 0x6de494]
push eax
call fcn.00408696
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x480]
call fcn.004085f6
test bl, bl
jne 0x4654ff
add esi, 4
cmp esi, 0x14
jb 0x4654b4
jmp 0x4655a1
cmp dword [0x6c438c], 1
jl 0x465563
push ecx
mov eax, esp
mov dword [ebp - 0x484], esp
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0041e3dd
mov byte [ebp - 4], 2
lea eax, [ebp - 0x47c]
push eax
mov byte [ebp - 4], 0
call fcn.00404062
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov esi, eax
call fcn.00408548
push eax
push str.CLEAN:_Removing_process__s
push str.USBUnhider::killProcessByNames
push 1
call fcn.00540a02
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.004084b5
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 0x465596
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x465596
mov byte [ebp - 4], 0
jmp 0x46559e
mov byte [ebp - 4], 0
test esi, esi
je 0x4655a1
push esi
call edi
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x478]
call fcn.00440f26
cmp byte [ebp - 0x14], 0
jne 0x4654b2
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x478]
push eax
call fcn.00440efa
call fcn.0058ed17
ret
Function at 0x46a222
Capabilities:
Create thread

Disassembly:
push ebx
xor eax, eax
xor ebx, ebx
cmp byte [esp + 8], bl
setne al
push eax
push 0x6c7a20
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [esp + 8], bl
je 0x46a252
push ebx
push ebx
push ebx
push 0x47b807
push ebx
push ebx
call fcn.00583186
add esp, 0x18
mov al, 1
pop ebx
ret 4
Function at 0x46a839
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bfbb9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.0040855f
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 str._0.2i:_0.2i:_0.2i
lea eax, [esp + 0x18]
call fcn.004310f7
lea eax, [esp + 0x20]
push 0x682324
push eax
lea ecx, [esp + 0x20]
call fcn.004116ea
mov byte [esp + 0x48], 1
push dword [ebp + 8]
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.004116ea
add esp, 0x20
mov byte [esp + 0x30], 2
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x34
call fcn.00416ae3
mov byte [esp + 0x30], 1
lea ecx, [esp + 0xc]
call fcn.004085f6
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x10]
call fcn.004085f6
push dword [ebp + 0x10]
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x6ddaa8]
push dword [ebp + 8]
add eax, 0xc0
push eax
call fcn.00485d9d
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 8]
call fcn.004085f6
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x46adec
Capabilities:
Get file version info

Disassembly:
push 0x34
mov eax, 0x5bfad8
call fcn.0058ec2b
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov esi, dword [ebp + 8]
push esi
call fcn.0040855f
xor edi, edi
inc edi
mov dword [ebp - 4], edi
add esi, 4
push esi
call fcn.0040855f
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 0x46af13
mov edi, eax
lea ebx, [ebp - 0x20]
call fcn.0042c18f
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 0x46af08
push dword [edi]
lea eax, [ebp - 0x40]
push eax
call fcn.00427984
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 0x46aefb
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._04x_04x
mov eax, esi
call fcn.004310f7
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.0040855f
mov byte [ebp - 4], 5
push dword [esi]
lea eax, [ebp - 0x1c]
push str.StringFileInfo_sFileVersion
call fcn.004310f7
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 0x46aeef
cmp dword [ebp - 0x18], ebx
je 0x46aeef
cmp dword [ebp - 0x14], ebx
jbe 0x46aeef
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.0040cdd5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004085f6
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
call fcn.00416d1e
mov byte [ebp - 4], bl
lea ebx, [ebp - 0x20]
call fcn.004170a7
mov eax, dword [ebp + 8]
call fcn.0058ed03
ret
Function at 0x46eaf4
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 0x46eb5d
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0041e10a
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 0x46eb4f
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 0x46eb16
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x472823
Capabilities:
Create thread

Disassembly:
push esi
push 8
call fcn.005812e3
mov esi, eax
pop ecx
test esi, esi
je 0x47283c
push edi
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
jmp 0x47283e
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 0x472876
xor eax, eax
push eax
push eax
push esi
push 0x4791cc
push eax
push eax
call fcn.00583186
add esp, 0x18
mov dword [ebx + 0x144], eax
pop esi
ret 4
Function at 0x475c15
Capabilities:
Set registry value

Disassembly:
push 0x34
mov eax, 0x5c7511
call fcn.0058ecca
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, str.Enabled
jne 0x475c5a
mov eax, str.Disabled
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
push ecx
call fcn.004085b5
mov dword [ebp - 4], ebx
push ecx
mov eax, esp
mov dword [ebp - 0x3c], esp
push 0x68fae8
push eax
call fcn.004085b5
mov byte [ebp - 4], 1
or dword [ebp - 4], 0xffffffff
call fcn.0044ce5a
mov dword [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
call fcn.00410c73
mov byte [ebp - 4], 3
push ebx
lea ecx, [ebp - 0x34]
call fcn.00411be7
test al, al
je 0x475ceb
cmp byte [ebp + 8], bl
mov eax, str.Enabled
jne 0x475cb8
mov eax, str.Disabled
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
push ecx
call fcn.004085b5
mov byte [ebp - 4], 4
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push str.USB_Write_Protection
push eax
call fcn.00410e94
mov byte [ebp - 4], 5
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 3
call fcn.0041296e
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
call fcn.00410c9f
or dword [ebp - 4], 0xffffffff
call fcn.0058ed26
ret 4

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

Disassembly:
push 0x38
mov eax, 0x5c74c2
call fcn.0058ecca
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.005812e3
pop ecx
mov ecx, eax
cmp ecx, ebx
je 0x475d5c
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
jmp 0x475d5e
xor ecx, ecx
movzx eax, byte [ebp + 8]
mov dword [ecx], eax
push ecx
push 7
call fcn.0041d7a2
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x38]
push eax
call fcn.00410c73
mov byte [ebp - 4], 1
push ebx
lea ecx, [ebp - 0x38]
call fcn.00411be7
test al, al
je 0x475dcb
cmp byte [ebp + 8], bl
mov eax, 0x68abf8
jne 0x475d98
mov eax, str.Protection_Disabled
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
push ecx
call fcn.004085b5
mov byte [ebp - 4], 2
push ecx
mov eax, esp
mov dword [ebp - 0x44], esp
push str.Device
push eax
call fcn.004085b5
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 1
call fcn.0041296e
mov byte [ebp - 4], bl
lea eax, [ebp - 0x38]
push eax
call fcn.00410c9f
or dword [ebp - 4], 0xffffffff
call fcn.0058ed26
ret 4
Function at 0x4765e8
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x5c9e6e
call fcn.0058ec2b
xor ebx, ebx
push ebx
push dword [0x6ddca8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x47666b
push 0xc
call fcn.005812e3
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x476639
push esi
call fcn.0040855f
mov byte [ebp - 4], 1
lea eax, [esi + 8]
push eax
mov dword [esi + 4], ebx
call fcn.0040855f
mov byte [ebp - 4], bl
jmp 0x47663b
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
mov edi, esi
call fcn.00408619
mov eax, dword [ebp + 8]
lea edi, [esi + 8]
call fcn.00408619
push ebx
push ebx
push esi
push 0x46689a
push ebx
push ebx
call fcn.00583186
add esp, 0x18
mov dword [0x6ddca8], eax
call fcn.0058ed03
ret

Function at 0x476671
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x5cacca
call fcn.0058ec2b
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x19c
call fcn.005812e3
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x47669f
call fcn.00420902
jmp 0x4766a1
xor eax, eax
mov byte [ebp - 4], bl
cmp dword [ebp + 0x20], 8
mov esi, dword [ebp + 0xc]
jae 0x4766b0
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 0x4766b3
mov ecx, dword [ebp + 0x24]
push ebx
push ebx
push eax
push 0x4761fd
push ebx
push ebx
mov dword [eax], ecx
call fcn.00583186
add esp, 0x18
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea esi, [ebp + 8]
call fcn.00409da6
call fcn.0058ed03
ret

Function at 0x4766ee
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x5c9e36
call fcn.0058ec2b
mov dword [ebp - 4], 1
push 0xc
call fcn.005812e3
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
xor ebx, ebx
cmp esi, ebx
je 0x476738
push esi
call fcn.0040855f
mov byte [ebp - 4], 3
lea eax, [esi + 4]
push eax
call fcn.0040855f
mov byte [ebp - 4], 4
mov dword [esi + 8], ebx
mov byte [ebp - 4], 2
jmp 0x47673a
xor esi, esi
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
mov edi, esi
call fcn.00408619
lea edi, [esi + 4]
lea eax, [ebp + 0xc]
call fcn.00408619
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push esi
push 0x476240
push ebx
push ebx
mov dword [esi + 8], eax
call fcn.00583186
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.004085f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004085f6
call fcn.0058ed03
ret
Function at 0x476788
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x5b6da1
call fcn.0058ec2b
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
push esi
push dword [0x6ddcc8]
call edi
cmp eax, 0x102
je 0x4767e7
push 0x19c
call fcn.005812e3
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x4767c8
call fcn.00420902
jmp 0x4767ca
xor eax, eax
or dword [ebp - 4], 0xffffffff
push esi
push esi
push eax
push 0x476597
push esi
push esi
mov dword [eax], ebx
call fcn.00583186
add esp, 0x18
mov dword [0x6ddcc8], eax
push 0x493e0
push dword [0x6ddcc8]
call edi
lea eax, [ebp - 0x10]
push eax
push dword [0x6ddcc8]
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
call fcn.0046a19a
cmp eax, esi
je 0x476825
cmp dword [ebp - 0x10], 1
sete cl
movzx ecx, cl
push ecx
push ebx
mov ecx, eax
call fcn.0047682d
mov esi, eax
mov eax, esi
call fcn.0058ed03
ret
Function at 0x47a950
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push dword [esp + 0xc]
call fcn.0047a825
mov esi, eax
xor eax, eax
push eax
push eax
push esi
push 0x46f94f
push eax
push eax
call fcn.00583186
add esp, 0x18
mov dword [esi + 0xc], eax
pop esi
pop ecx
ret 4
Function at 0x47ac95
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c3b5f
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x6c56f8]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x848]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
push eax
call fcn.0040fdb0
and dword [esp + 0x850], 0
lea ebx, [esp + 0x24]
call fcn.0042174d
mov eax, 0x6de5d8
call fcn.00462437
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
xor ebx, ebx
sar eax, 2
test eax, eax
jbe 0x47ae01
lea eax, [esp + 0x20]
push eax
mov edi, ebx
lea esi, [esp + 0x28]
call fcn.0041e10a
push eax
push 2
pop ecx
call fcn.0042b91b
mov dword [esp + 0x1c], eax
mov byte [esp + 0x850], 1
call fcn.0041e10a
mov edi, eax
mov eax, dword [esp + 0x1c]
call fcn.00408619
mov byte [esp + 0x850], 0
lea ecx, [esp + 0x20]
call fcn.004085f6
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x44], ax
lea eax, [esp + 0x46]
push eax
call fcn.00586790
add esp, 0xc
mov edi, ebx
call fcn.0041e10a
mov eax, dword [eax]
push 0x400
lea ecx, [esp + 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x47aded
lea eax, [esp + 0x10]
push eax
call fcn.0045cab5
mov byte [esp + 0x850], 2
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0040865a
call fcn.0041e10a
lea edi, [esp + 0x14]
call fcn.00408619
lea eax, [esp + 0x10]
call fcn.00408807
mov eax, edi
call fcn.00408807
lea eax, [esp + 0x10]
push eax
mov eax, 0x6de5d8
call fcn.004623d0
mov byte [esp + 0x850], 0
lea eax, [esp + 0x10]
push eax
call fcn.004096a9
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x47ad0f
or dword [esp + 0x850], 0xffffffff
lea eax, [esp + 0x24]
push eax
call fcn.0041e0e0
mov ecx, dword [esp + 0x848]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.00581268
mov esp, ebp
pop ebp
ret
Function at 0x485003
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b40a6
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
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 0x485108
mov edi, dword [esp + 0x1c]
mov esi, ebx
call fcn.0041e10a
mov eax, dword [eax]
and dword [esp + 0x18], 0
mov dword [esp + 0x50], 1
lea edi, [esp + 0x18]
mov esi, eax
call fcn.00484948
test eax, eax
jl 0x4850e2
cmp dword [esp + 0x18], 0
je 0x4850e2
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 0x6743b4
push 0xc
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x4850d2
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.00427092
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
inc dword [esp + 0x1c]
sar eax, 2
cmp dword [esp + 0x1c], eax
jb 0x485060
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 0x48511f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b40a6
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
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 0x485224
mov edi, dword [esp + 0x1c]
mov esi, ebx
call fcn.0041e10a
mov eax, dword [eax]
and dword [esp + 0x18], 0
mov dword [esp + 0x50], 1
lea edi, [esp + 0x18]
mov esi, eax
call fcn.00484948
test eax, eax
jl 0x4851fe
cmp dword [esp + 0x18], 0
je 0x4851fe
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 0x6743b4
push 9
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x4851ee
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.00427092
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
inc dword [esp + 0x1c]
sar eax, 2
cmp dword [esp + 0x1c], eax
jb 0x48517c
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 0x48523b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b40a6
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
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 0x485340
mov edi, dword [esp + 0x1c]
mov esi, ebx
call fcn.0041e10a
mov eax, dword [eax]
and dword [esp + 0x18], 0
mov dword [esp + 0x50], 1
lea edi, [esp + 0x18]
mov esi, eax
call fcn.00484948
test eax, eax
jl 0x48531a
cmp dword [esp + 0x18], 0
je 0x48531a
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 0x6743b4
push 0xa
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x48530a
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.00427092
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
inc dword [esp + 0x1c]
sar eax, 2
cmp dword [esp + 0x1c], eax
jb 0x485298
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 0x485357
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b59a4
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
push 0x4201a8
push 0x4447c1
xor edi, edi
inc edi
push edi
push 0x10
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x27], 0
call fcn.00584250
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 0x485402
push eax
call fcn.004befc0
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 0x4854fe
jmp 0x485439
mov esi, eax
mov edi, dword [esp + 0x18]
call fcn.0041e10a
mov eax, dword [eax]
and dword [esp + 0x14], 0
mov byte [esp + 0x80], 4
lea edi, [esp + 0x14]
mov esi, eax
call fcn.00484948
test eax, eax
jl 0x4854d1
cmp dword [esp + 0x14], 0
je 0x4854d1
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 0x6743b4
push 0xb
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x4854be
cmp word [esp + 0x24], 0xb
jne 0x4854b9
cmp word [esp + 0x2c], 0xffff
jne 0x4854b9
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.00427092
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 0x485437
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 0x4201a8
push 1
push 0x10
lea eax, [esp + 0x60]
push eax
call fcn.00582aab
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