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

Disassembly:
push 0x44
mov eax, 0x5b74ed
call fcn.005870c4
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.004084c2
mov dword [ebp - 4], esi
xor edi, edi
inc edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 0x44
mov dword [ebp - 0x3c], 0x45
mov dword [ebp - 0x38], 0x46
mov dword [ebp - 0x34], 0x47
mov dword [ebp - 0x30], 0x48
mov dword [ebp - 0x2c], 0x49
mov dword [ebp - 0x28], 0x4a
mov dword [ebp - 0x24], 0x4b
mov dword [ebp - 0x20], 0x4c
mov dword [ebp - 0x1c], 0x4d
mov dword [ebp - 0x18], 0x4e
mov dword [ebp - 0x14], 0x4f
cmp ebx, 0xd
jae 0x452067
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 0x452067
push eax
lea esi, [ebp - 0x2c]
call fcn.0042c1b4
mov dword [ebp - 4], edi
push dword [ebp - 0x18]
xor edi, edi
mov eax, esi
call fcn.00425dd6
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 0x452027
lea eax, [ebp - 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x45202a
sub eax, edx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.00425df6
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x45204e
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x48]
call fcn.004085bd
mov byte [ebp - 4], 0
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00409bf1
mov eax, dword [ebp - 0x48]
call fcn.00587147
ret
Function at 0x452070
Capabilities:
Get geographical location

Disassembly:
push 0x44
mov eax, 0x5b74ed
call fcn.005870c4
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.004084c2
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 0x452189
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 0x452189
push eax
lea esi, [ebp - 0x2c]
call fcn.0042c1b4
mov dword [ebp - 4], edi
push dword [ebp - 0x18]
xor edi, edi
mov eax, esi
call fcn.00425dd6
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 0x452149
lea eax, [ebp - 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x45214c
sub eax, edx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.00425df6
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x452170
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x48]
call fcn.004085bd
mov byte [ebp - 4], 0
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00409bf1
mov eax, dword [ebp - 0x48]
call fcn.00587147
ret
Function at 0x452482
Capabilities:
Terminate process

Disassembly:
push 0x47c
mov eax, 0x5baa71
call fcn.005870c4
lea eax, [ebp - 0x478]
push eax
call fcn.00431887
and dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x478]
call fcn.00431920
cmp byte [ebp - 0x14], 0
je 0x4525ce
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.0041bf90
mov byte [ebp - 4], 1
push dword [esi + 0x6dec9c]
push eax
call fcn.004085f9
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x480]
call fcn.00408559
test bl, bl
jne 0x452510
add esi, 4
cmp esi, 0x14
jb 0x4524c5
jmp 0x4525b2
cmp dword [0x6c438c], 1
jl 0x452574
push ecx
mov eax, esp
mov dword [ebp - 0x484], esp
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0041bf90
mov byte [ebp - 4], 2
lea eax, [ebp - 0x47c]
push eax
mov byte [ebp - 4], 0
call fcn.004040c8
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov esi, eax
call fcn.004084ab
push eax
push str.CLEAN:_Removing_process__s
push str.USBUnhider::killProcessByNames
push 1
call fcn.00538922
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.00408418
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 0x4525a7
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4525a7
mov byte [ebp - 4], 0
jmp 0x4525af
mov byte [ebp - 4], 0
test esi, esi
je 0x4525b2
push esi
call edi
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x478]
call fcn.00431920
cmp byte [ebp - 0x14], 0
jne 0x4524c3
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x478]
push eax
call fcn.004318f4
call fcn.00587147
ret
Function at 0x45727a
Capabilities:
Create thread

Disassembly:
push ebx
xor eax, eax
xor ebx, ebx
cmp byte [esp + 8], bl
setne al
push eax
push 0x6c841c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push ebx
push dword [0x6de660]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4572bd
push ebx
push ebx
push ebx
push method.COMApiHandler.1.virtual_440
push ebx
push ebx
call fcn.0057b57b
add esp, 0x18
mov dword [0x6de660], eax
mov al, 1
pop ebx
ret 4
Function at 0x4578c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ba745
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.004084c2
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 0x67c734
lea eax, [esp + 0x18]
call fcn.00417a4d
lea eax, [esp + 0x20]
push 0x67c858
push eax
lea ecx, [esp + 0x20]
call fcn.0040fcd8
mov byte [esp + 0x48], 1
push dword [ebp + 8]
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.0040fcd8
add esp, 0x20
mov byte [esp + 0x30], 2
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x34
call fcn.00413ad9
mov byte [esp + 0x30], 1
lea ecx, [esp + 0xc]
call fcn.00408559
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x10]
call fcn.00408559
push dword [ebp + 0x10]
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x6de43c]
push dword [ebp + 8]
add eax, 0xc0
push eax
call fcn.00470320
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 8]
call fcn.00408559
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x457e4d
Capabilities:
Get file version info

Disassembly:
push 0x34
mov eax, 0x5b3fcf
call fcn.0058705b
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov esi, dword [ebp + 8]
push esi
call fcn.004084c2
xor edi, edi
inc edi
mov dword [ebp - 4], edi
add esi, 4
push esi
call fcn.004084c2
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 0x457f74
mov edi, eax
lea ebx, [ebp - 0x20]
call fcn.004265ee
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 0x457f69
push dword [edi]
lea eax, [ebp - 0x40]
push eax
call fcn.0042214e
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 0x457f5c
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._04x_04x
mov eax, esi
call fcn.00417a4d
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.004084c2
mov byte [ebp - 4], 5
push dword [esi]
lea eax, [ebp - 0x1c]
push str.StringFileInfo_sFileVersion
call fcn.00417a4d
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 0x457f50
cmp dword [ebp - 0x18], ebx
je 0x457f50
cmp dword [ebp - 0x14], ebx
jbe 0x457f50
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.0040cf35
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00408559
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
call fcn.0043d638
mov byte [ebp - 4], bl
lea ebx, [ebp - 0x20]
call fcn.00426633
mov eax, dword [ebp + 8]
call fcn.00587133
ret
Function at 0x45d256
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 0x45d2bf
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00413f62
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 0x45d2b1
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 0x45d278
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x460e82
Capabilities:
Create thread

Disassembly:
push esi
push 8
call fcn.00579757
mov esi, eax
pop ecx
test esi, esi
je 0x460e9b
push edi
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
jmp 0x460e9d
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 0x460ed5
xor eax, eax
push eax
push eax
push esi
push 0x467838
push eax
push eax
call fcn.0057b57b
add esp, 0x18
mov dword [ebx + 0x144], eax
pop esi
ret 4
Function at 0x46443e
Capabilities:
Set registry value

Disassembly:
push 0x34
mov eax, 0x5bf754
call fcn.005870fa
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, 0x67eb88
jne 0x464483
mov eax, 0x67eb98
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
push ecx
call fcn.00408518
mov dword [ebp - 4], ebx
push ecx
mov eax, esp
mov dword [ebp - 0x3c], esp
push 0x67ebac
push eax
call fcn.00408518
mov byte [ebp - 4], 1
or dword [ebp - 4], 0xffffffff
call fcn.0043b71a
mov dword [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
call fcn.0040f899
mov byte [ebp - 4], 3
push ebx
lea ecx, [ebp - 0x34]
call fcn.00410181
test al, al
je 0x464514
cmp byte [ebp + 8], bl
mov eax, 0x67ebd8
jne 0x4644e1
mov eax, 0x67ebe8
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
push ecx
call fcn.00408518
mov byte [ebp - 4], 4
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push str.USB_Write_Protection
push eax
call fcn.0040f93f
mov byte [ebp - 4], 5
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 3
call fcn.00410e99
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
call fcn.0040f8c5
or dword [ebp - 4], 0xffffffff
call fcn.00587156
ret 4

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

Disassembly:
push 0x38
mov eax, 0x5bf705
call fcn.005870fa
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.00579757
pop ecx
mov ecx, eax
cmp ecx, ebx
je 0x464585
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
jmp 0x464587
xor ecx, ecx
movzx eax, byte [ebp + 8]
mov dword [ecx], eax
push ecx
push 7
call fcn.00419022
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0040f899
mov byte [ebp - 4], 1
push ebx
lea ecx, [ebp - 0x38]
call fcn.00410181
test al, al
je 0x4645f4
cmp byte [ebp + 8], bl
mov eax, str.Protection_Enabled
jne 0x4645c1
mov eax, 0x67ecfc
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
push ecx
call fcn.00408518
mov byte [ebp - 4], 2
push ecx
mov eax, esp
mov dword [ebp - 0x44], esp
push str.Device
push eax
call fcn.00408518
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 1
call fcn.00410e99
mov byte [ebp - 4], bl
lea eax, [ebp - 0x38]
push eax
call fcn.0040f8c5
or dword [ebp - 4], 0xffffffff
call fcn.00587156
ret 4
Function at 0x464e11
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x5c1528
call fcn.0058705b
xor ebx, ebx
push ebx
push dword [0x6de650]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x464e9b
push 0x10
call fcn.00579757
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x464e69
push esi
call fcn.004084c2
mov byte [ebp - 4], 1
lea eax, [esi + 8]
push eax
mov dword [esi + 4], ebx
call fcn.004084c2
mov byte [ebp - 4], 2
mov dword [esi + 0xc], ebx
mov byte [ebp - 4], bl
jmp 0x464e6b
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
mov edi, esi
call fcn.0040857c
mov eax, dword [ebp + 8]
lea edi, [esi + 8]
call fcn.0040857c
push ebx
push ebx
push esi
push 0x453835
push ebx
push ebx
call fcn.0057b57b
add esp, 0x18
mov dword [0x6de650], eax
call fcn.00587133
ret

Function at 0x464ea1
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x5c2a6a
call fcn.0058705b
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x19c
call fcn.00579757
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x464ecf
call fcn.0041b827
jmp 0x464ed1
xor eax, eax
mov byte [ebp - 4], bl
cmp dword [ebp + 0x20], 8
mov esi, dword [ebp + 0xc]
jae 0x464ee0
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 0x464ee3
mov ecx, dword [ebp + 0x24]
push ebx
push ebx
push eax
push 0x464a26
push ebx
push ebx
mov dword [eax], ecx
call fcn.0057b57b
add esp, 0x18
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea esi, [ebp + 8]
call fcn.00409bf1
call fcn.00587133
ret

Function at 0x464f1e
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x5c14f0
call fcn.0058705b
mov dword [ebp - 4], 1
push 0xc
call fcn.00579757
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
xor ebx, ebx
cmp esi, ebx
je 0x464f68
push esi
call fcn.004084c2
mov byte [ebp - 4], 3
lea eax, [esi + 4]
push eax
call fcn.004084c2
mov byte [ebp - 4], 4
mov dword [esi + 8], ebx
mov byte [ebp - 4], 2
jmp 0x464f6a
xor esi, esi
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
mov edi, esi
call fcn.0040857c
lea edi, [esi + 4]
lea eax, [ebp + 0xc]
call fcn.0040857c
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push esi
push 0x464a69
push ebx
push ebx
mov dword [esi + 8], eax
call fcn.0057b57b
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.00408559
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00408559
call fcn.00587133
ret
Function at 0x464fb8
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x5afd15
call fcn.0058705b
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
push esi
push dword [0x6de674]
call edi
cmp eax, 0x102
je 0x465017
push 0x19c
call fcn.00579757
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x464ff8
call fcn.0041b827
jmp 0x464ffa
xor eax, eax
or dword [ebp - 4], 0xffffffff
push esi
push esi
push eax
push 0x464dc0
push esi
push esi
mov dword [eax], ebx
call fcn.0057b57b
add esp, 0x18
mov dword [0x6de674], eax
push 0x493e0
push dword [0x6de674]
call edi
lea eax, [ebp - 0x10]
push eax
push dword [0x6de674]
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
call fcn.004571f2
cmp eax, esi
je 0x465055
cmp dword [ebp - 0x10], 1
sete cl
movzx ecx, cl
push ecx
push ebx
mov ecx, eax
call fcn.0046505d
mov esi, eax
mov eax, esi
call fcn.00587133
ret
Function at 0x468590
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push dword [esp + 0xc]
call fcn.00468465
mov esi, eax
xor eax, eax
push eax
push eax
push esi
push 0x45e6ca
push eax
push eax
call fcn.0057b57b
add esp, 0x18
mov dword [esi + 0xc], eax
pop esi
pop ecx
ret 4
Function at 0x46f7be
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ac6da
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 0x46f8c3
mov edi, dword [esp + 0x1c]
mov esi, ebx
call fcn.00413f62
mov eax, dword [eax]
and dword [esp + 0x18], 0
mov dword [esp + 0x50], 1
lea edi, [esp + 0x18]
mov esi, eax
call fcn.0046ef21
test eax, eax
jl 0x46f89d
cmp dword [esp + 0x18], 0
je 0x46f89d
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 0x66b2cc
push 0xa
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x46f88d
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.0046f5eb
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
inc dword [esp + 0x1c]
sar eax, 2
cmp dword [esp + 0x1c], eax
jb 0x46f81b
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 0x46f8da
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ae0c4
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 0x41b6bb
push 0x46ef52
xor edi, edi
inc edi
push edi
push 0x10
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x27], 0
call fcn.0057c246
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 0x46f985
push eax
call fcn.004b6e70
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 0x46fa81
jmp 0x46f9bc
mov esi, eax
mov edi, dword [esp + 0x18]
call fcn.00413f62
mov eax, dword [eax]
and dword [esp + 0x14], 0
mov byte [esp + 0x80], 4
lea edi, [esp + 0x14]
mov esi, eax
call fcn.0046ef21
test eax, eax
jl 0x46fa54
cmp dword [esp + 0x14], 0
je 0x46fa54
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 0x66b2cc
push 0xb
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x46fa41
cmp word [esp + 0x24], 0xb
jne 0x46fa3c
cmp word [esp + 0x2c], 0xffff
jne 0x46fa3c
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.0046f5eb
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 0x46f9ba
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 0x41b6bb
push 1
push 0x10
lea eax, [esp + 0x60]
push eax
call fcn.0057a921
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 0x46fad9
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ac6da
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 0x46fbde
mov edi, dword [esp + 0x1c]
mov esi, ebx
call fcn.00413f62
mov eax, dword [eax]
and dword [esp + 0x18], 0
mov dword [esp + 0x50], 1
lea edi, [esp + 0x18]
mov esi, eax
call fcn.0046ef21
test eax, eax
jl 0x46fbb8
cmp dword [esp + 0x18], 0
je 0x46fbb8
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 0x66b2cc
push 7
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x46fba8
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.0046f5eb
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
inc dword [esp + 0x1c]
sar eax, 2
cmp dword [esp + 0x1c], eax
jb 0x46fb36
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