joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403ac0
Capabilities:
Access peb ldr_data
Delete directory
Delete file
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x47b5b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4a67d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
call fcn.004332a8
push 0x4a7c08
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0
call fcn.00403a00
push 0x483c9c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
mov ebx, 1
push ecx
mov byte [esp + 0x44], bl
call fcn.004035b0
add esp, 0xc
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 2
call fcn.00433336
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403b5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x403bdc
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x403b70
lea ecx, [esp + 0x18]
call fcn.00432fa2
mov edx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x1c]
call eax
test eax, eax
jne 0x403bd8
lea ecx, [esp + 0x18]
call fcn.0043326b
test eax, eax
jne 0x403bd8
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00433535
mov edx, dword [esp + 0x14]
push edx
call edi
or edx, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x38], bl
je 0x403c06
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403bd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x403b70
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x38], 0
jne 0x403c6a
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x403c38
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.004332ce
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.004332ce
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x404600
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x4a67d0]
xor eax, esp
mov dword [esp + 0x110], eax
push esi
mov esi, dword [esp + 0x11c]
push 0x103
lea eax, [esp + 0x15]
push 0
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 4
mov dword [esp + 0x14], 0x104
mov byte [esp + 0x1c], 0
call fcn.00461680
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 1
push 0
push str.SoftwareICBCEbankToolsSettings
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x404682
xor eax, eax
pop esi
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.004611fb
add esp, 0x114
ret
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x484038
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40466a
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, byte [esp + 0x10]
mov dword [esi], ecx
mov ecx, dword [esp + 0x114]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004611fb
add esp, 0x114
ret

Function at 0x404930
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xac
mov eax, dword [0x4a67d0]
xor eax, esp
mov dword [esp + 0xa8], eax
push esi
lea eax, [esp + 8]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [esp + 0x18], 0x50
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x404993
push str.Open_RegKey_IE_SPVersion_Error__n
mov ecx, 0x4a7eec
call fcn.00411d30
xor eax, eax
pop esi
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004611fb
add esp, 0xac
ret
mov eax, dword [esp + 8]
push edi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push str.MinorVersion
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0xc]
push ecx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x4049d8
cmp dword [esp + 4], 0x50
ja 0x4049d8
movzx edx, word [esp + 0x12]
sub edx, 0x30
mov dword [esi + 0xc], edx
jmp 0x4049df
mov dword [esi + 0xc], 0
mov ecx, dword [esp + 0xac]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004611fb
add esp, 0xac
ret
Function at 0x404b10
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x4a67d0]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
push edi
push 0x11c
lea eax, [esp + 0x10]
push 0
push eax
mov edi, ecx
call fcn.00461680
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x11c
call ebx
mov esi, eax
test esi, esi
jne 0x404ba3
push str.OSVERSIONINFOEX_doesnt_work__n
mov ecx, 0x4a7eec
call fcn.00411d30
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0x114
call ebx
test eax, eax
jne 0x404ba3
push str.OSVERSIONINFO_doesnt_work__n
mov ecx, 0x4a7eec
call fcn.00411d30
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.004611fb
add esp, 0x120
ret
mov eax, dword [esp + 0x10]
cmp eax, 6
jne 0x404bc3
push 0xd
push str.Windows_Vista
mov ecx, edi
call fcn.00402ce0
mov dword [edi + 4], 0xffffffff
jmp 0x404c2f
cmp eax, 5
jne 0x404c2f
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x404bed
test esi, esi
je 0x404c2f
push str.Windows_2000
mov ecx, edi
call fcn.004038b0
movzx eax, word [esp + 0x120]
mov dword [edi + 4], eax
jmp 0x404c2f
cmp eax, 1
jne 0x404c0f
push str.Windows_XP
mov ecx, edi
call fcn.004038b0
test esi, esi
je 0x404c2f
movzx ecx, word [esp + 0x120]
mov dword [edi + 4], ecx
jmp 0x404c2f
cmp eax, 2
jne 0x404c2f
push str.Windows_2003
mov ecx, edi
call fcn.004038b0
test esi, esi
je 0x404c2f
movzx edx, word [esp + 0x120]
mov dword [edi + 4], edx
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004611fb
add esp, 0x120
ret
Function at 0x404c50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xac
mov eax, dword [0x4a67d0]
xor eax, esp
mov dword [esp + 0xa8], eax
push esi
push edi
lea eax, [esp + 8]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
mov esi, 0x50
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x404c98
push str.Open_RegKey_IE_Version_Error__n
jmp 0x404e48
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push str.Version
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404e43
cmp dword [esp + 0xc], esi
ja 0x404e43
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x4843c0
lea edx, [esp + 0x14]
push edx
call esi
test eax, eax
jle 0x404d12
push str.IE7.0
lea ecx, [edi + 8]
call fcn.004038b0
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004611fb
add esp, 0xac
ret
push 0x4843ac
lea eax, [esp + 0x14]
push eax
call esi
test eax, eax
jle 0x404d4b
push str.IE6.0
lea ecx, [edi + 8]
call fcn.004038b0
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004611fb
add esp, 0xac
ret
push str.5.50
lea ecx, [esp + 0x14]
push ecx
call esi
test eax, eax
jle 0x404d84
push str.IE5.5
lea ecx, [edi + 8]
call fcn.004038b0
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004611fb
add esp, 0xac
ret
push str.5.00.2900
lea edx, [esp + 0x14]
push edx
call esi
test eax, eax
jg 0x404e1a
push str.5.00.2516.1900
lea eax, [esp + 0x14]
push eax
call esi
test eax, eax
je 0x404e1a
push str.5.00.0000
lea ecx, [esp + 0x14]
push ecx
call esi
test eax, eax
jle 0x404de1
push str.IE5.0
lea ecx, [edi + 8]
call fcn.004038b0
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004611fb
add esp, 0xac
ret
push str.4.71
lea edx, [esp + 0x14]
push edx
call esi
test eax, eax
jle 0x404e52
push str.IE4.0
lea ecx, [edi + 8]
call fcn.004038b0
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004611fb
add esp, 0xac
ret
push str.IE5.01
lea ecx, [edi + 8]
call fcn.004038b0
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004611fb
add esp, 0xac
ret
push str.Open_version_reg_failed__n
mov ecx, 0x4a7eec
call fcn.00411d30
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.004611fb
add esp, 0xac
ret
Function at 0x40ba80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47be20
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a67d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], vtable.CFont.0
mov ecx, dword [esp + 0x48]
push 0x484da0
push 0x20
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push ecx
push eax
push eax
push eax
push 0xf
mov byte [esp + 0x5c], 1
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
lea ecx, [esp + 0x18]
call fcn.0043c3c2
mov esi, dword [esp + 0x2c]
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call edx
push 1
mov ecx, esi
mov edi, eax
call fcn.0043b888
mov ecx, dword [esp + 0x44]
mov ebp, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov ebx, dword [esp + 0x30]
mov edx, dword [eax + 0x68]
push 0x10
lea ecx, [esp + 0x38]
push ecx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call edx
push ebp
mov ecx, esi
call fcn.0043b888
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push edi
mov ecx, esi
call edx
lea ecx, [esp + 0x14]
call fcn.0043c415
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
mov dword [esp + 0x14], vtable.CFont.0
call fcn.00405430
lea eax, [ebx - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bb7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x20

Function at 0x40cdb0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push esi
xor esi, esi
push esi
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
lea eax, [esi + 1]
je 0x40cdc3
mov eax, esi
pop esi
ret
Function at 0x40d950
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c310
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4a67d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x14]
xor edi, edi
push 0x206
lea eax, [ebp - 0x216]
push edi
push eax
mov dword [ebp - 4], 1
mov word [ebp - 0x218], di
call fcn.00461680
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.004625fc
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00461150
add esp, 0x20
push edi
lea ecx, [ebp - 0x218]
push ecx
push edi
mov word [eax + 2], di
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push esi
call fcn.0047adb0
mov esi, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], edi
call dword [0x4a7bb0]
mov edi, eax
mov eax, dword [ebp + 0x10]
test eax, eax
mov ebx, eax
jne 0x40da05
xor edi, edi
jmp 0x40da37
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x40da1a
xor edi, edi
jmp 0x40da37
lea esi, [eax + eax]
mov eax, esi
call fcn.00461650
mov eax, esp
push edi
push esi
push ebx
push eax
call fcn.00401090
mov esi, dword [ebp - 0x220]
mov edi, eax
mov eax, dword [ebp + 8]
sub eax, 0
je 0x40da7d
sub eax, 1
je 0x40da71
sub eax, 1
jne 0x40dabb
push str.copy_file_from_CD._n
mov ecx, 0x4a7eec
call fcn.00411d30
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40dab1
push esi
push 0
jmp 0x40daa4
mov dword [ebp - 0x21c], 0
jmp 0x40dabb
push 0x485654
mov ecx, 0x4a7eec
call fcn.00411d30
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
mov ecx, 0x4a7ee0
call fcn.004100c0
test eax, eax
jle 0x40dab1
push esi
push eax
push edi
call fcn.0042bd60
add esp, 0xc
test eax, eax
jne 0x40dabb
mov dword [ebp - 0x21c], 1
push esi
call fcn.00431438
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dae7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40db0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x21c]
lea esp, [ebp - 0x230]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004611fb
mov esp, ebp
pop ebp
ret
Function at 0x40e250
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47c448
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4a67d0]
xor eax, esp
mov dword [esp + 0x25c], eax
push esi
mov eax, dword [0x4a67d0]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x27c], 0
call fcn.00461680
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x72]
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], 1
mov word [esp + 0x60], ax
mov dword [esp + 0x30], 0x44
mov word [esp + 0x74], ax
call fcn.00461680
mov esi, dword [esp + 0x290]
add esp, 0x18
test esi, esi
je 0x40e316
mov eax, dword [esi]
test eax, eax
je 0x40e316
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, dword [esi]
push eax
push edx
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov esi, eax
test esi, esi
jne 0x40e312
push 0x8007000e
call fcn.0047ab90
mov ecx, esi
jmp 0x40e318
xor ecx, ecx
lea edx, [esp + 0x5c]
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x40e320
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
lea edx, [esp + 0x7c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40e368
lea ecx, [esp + 0x278]
call fcn.00401380
xor eax, eax
jmp 0x40e39a
mov eax, dword [esp + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
lea ecx, [esp + 0x278]
call fcn.00401380
mov eax, 1
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.004611fb
add esp, 0x26c
ret
Function at 0x40e3c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47c488
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x4a67d0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, dword [esp + 0x58]
xor edi, edi
cmp esi, edi
mov dword [esp + 0x50], edi
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x4008340
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], str.open
je 0x40e444
mov eax, dword [esi]
cmp eax, edi
je 0x40e43c
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov esi, eax
cmp esi, edi
jne 0x40e43e
push 0x8007000e
call fcn.0047ab90
mov dword [esp + 0x1c], esi
jmp 0x40e448
xor esi, esi
mov dword [esp + 0x1c], esi
jmp 0x40e448
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40e4a0
lea ecx, [esp + 0x58]
call fcn.00401380
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x48
ret
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x40e4bc
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x58]
call fcn.00401380
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x48
ret
Function at 0x40f830
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
test eax, eax
je 0x40f8e2
push edi
mov dword [esi + 0xc0], 0
mov ecx, dword [eax + 0x74]
lea edi, [esi + 0xb4]
push edi
call fcn.00413cb0
push 0x3f9
mov ecx, esi
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
call fcn.0043a4bc
mov esi, eax
movzx eax, word [edi]
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
shl eax, 0x10
push eax
push 0
push 0x401
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x402
push edx
call edi
mov esi, dword [esp + 0xc]
push 0
push 0
push esi
push 0x40ef40
push 0
push 0
call fcn.004629ba
add esp, 0x18
test eax, eax
mov dword [0x4a7ed8], eax
pop edi
je 0x40f8e2
push 0
push 0
push esi
push 0x40d6e0
push 0
push 0
call fcn.004629ba
add esp, 0x18
mov dword [0x4a7edc], eax
pop esi
ret 4

Function at 0x411c40
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
push esi
push 0x485d04
push eax
call fcn.004633d6
mov esi, eax
add esp, 8
test esi, esi
je 0x411cce
lea ecx, [esp + 4]
push ecx
call fcn.00462ec2
mov dword [esp + 0xc], edx
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], eax
call fcn.00462e9e
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0x14]
add ecx, 1
push ecx
add edx, 0x76c
push edx
push str.__04d__02d__02d__02d:_02d:_02d__t
push esi
call fcn.0046327c
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x44]
push eax
push ecx
push esi
call fcn.00463260
push esi
push 2
push 1
push 0x485cb4
call fcn.0046314b
add esp, 0x44
push esi
call fcn.00462f70
add esp, 4
pop esi
add esp, 8
ret

Function at 0x4137b0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push 2
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or edx, 0xffffffff
cmp eax, 0x20
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
jae 0x4137f0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4137ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
pop esi
ret 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413803
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
pop esi
ret 4
Function at 0x414450
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
lea eax, [esp + 0x10]
push eax
xor ebp, ebp
push ebx
mov dword [esp + 0x14], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebp
jbe 0x4144e4
push edi
push esi
call fcn.0043143d
add esp, 4
mov edi, eax
push edi
push esi
push ebp
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4144da
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x483c64
push edi
mov dword [esp + 0x2c], 0x34
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4144da
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
mov eax, dword [esp + 0x28]
push ecx
push edx
push 0x486790
push eax
mov ebp, 1
call fcn.004033a0
add esp, 0x18
push edi
call fcn.00431438
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x41e0c0
Capabilities:
Shutdown system

Disassembly:
push ecx
push ebp
push esi
xor esi, esi
push edi
mov ebp, ecx
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
cmp edi, esi
je 0x41e125
push ebx
lea eax, [esp + 0x10]
push eax
push 0x28
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, 1
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x41e112
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41e112
push 1
push 0x487014
push eax
mov ecx, ebp
call fcn.0041e050
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call ebx
push edi
call ebx
cmp esi, 1
pop ebx
jne 0x41e125
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret