joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433f6c
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0x467308
call fcn.00452564
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push eax
mov eax, esi
call fcn.00433f40
pop ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.00433f40
pop ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.00433f40
mov eax, esi
mov dword [esp], 0x409
call fcn.00433f40
pop ecx
mov eax, esi
call fcn.0045263c
ret

Function at 0x435343
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4976a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x6c], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
mov esi, ecx
call fcn.0042c52c
pop ecx
push edi
lea eax, [ebp - 0x20]
call fcn.0042c5e0
xor ebx, ebx
pop ecx
cmp dword [ebp - 0x2c], ebx
je 0x435421
mov ecx, dword [esi + 8]
mov eax, dword [esi]
push ebx
or ecx, 0x20019
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00434e38
add esp, 0x14
cmp dword [ebp - 0x78], ebx
je 0x4353d2
cmp byte [ebp - 0x7c], bl
je 0x4353b7
push dword [ebp - 0x80]
mov byte [ebp - 0x7c], bl
call fcn.0043b22a
pop ecx
lea esi, [ebp - 0x3c]
call fcn.00435464
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0044a628
leave
ret 8
push dword [ebp - 0x6c]
lea eax, [ebp - 0x20]
push eax
push ecx
push ecx
mov ecx, dword [ebp - 0x80]
mov eax, esp
mov dword [eax], ecx
mov cl, byte [ebp - 0x7c]
mov byte [eax + 4], cl
mov dword [ebp - 0x6c], esp
push esi
lea ecx, [ebp - 0x3c]
lea edi, [ebp - 0x64]
mov byte [ebp - 0x7c], bl
call fcn.00434fac
mov ecx, eax
call fcn.00435343
mov esi, edi
mov byte [ebp - 0x65], al
call fcn.004350b3
cmp byte [ebp - 0x7c], bl
je 0x43541c
push dword [ebp - 0x80]
mov byte [ebp - 0x7c], bl
call fcn.0043b22a
pop ecx
mov bl, byte [ebp - 0x65]
jmp 0x4353b7
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x70], ebx
jb 0x435432
mov edi, dword [edi]
mov esi, dword [esi]
lea eax, [ebp - 0x84]
push eax
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4353b7
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
je 0x43545d
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
mov bl, 1
jmp 0x4353b7
Function at 0x435c61
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e02e
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x4976a0]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x4976a0]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esp + 0x108]
mov ebx, ecx
push eax
mov edi, esi
mov dword [esp + 0x18], ebx
call fcn.0042c52c
pop ecx
xor edi, edi
push esi
lea eax, [esp + 0x128]
mov dword [esp + 0x1a4], edi
call fcn.0042c5e0
pop ecx
xor eax, eax
inc eax
mov dword [esp + 0x1a0], eax
cmp dword [esp + 0x118], edi
je 0x435d27
push eax
lea eax, [esp + 0x10c]
push eax
lea edi, [esp + 0x148]
call fcn.0043502f
mov byte [esp + 0x1a0], 2
push dword [ebp + 0xc]
lea ecx, [esp + 0x128]
push ecx
mov ecx, eax
call fcn.00435c61
mov esi, edi
mov byte [esp + 0x1a0], 1
call fcn.004350b3
jmp 0x435e95
cmp dword [esi + 0x14], 0x10
jb 0x435d31
mov ecx, dword [esi]
jmp 0x435d33
mov ecx, esi
mov eax, dword [ebx]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push edi
push ecx
push eax
call ebx
mov dword [esp + 0x18], eax
cmp eax, edi
je 0x435e21
push str.set_dword_value
lea ecx, [esp + 0xf0]
call fcn.0040246d
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], edi
mov byte [esp + 0xd0], 0
push esi
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x148]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1b0], 4
call fcn.004366ae
mov edi, eax
lea esi, [esp + 0x34]
mov byte [esp + 0x1a0], 5
call fcn.00426618
push str.System_error
push dword [esp + 0x1c]
mov eax, esi
push eax
mov ecx, ebx
lea edi, [esp + 0x34]
mov byte [esp + 0x1ac], 6
call fcn.004374b8
lea ecx, [esp + 0x168]
mov byte [esp + 0x1a0], 7
push ecx
lea esi, [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x20], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_Registry.cpp
mov dword [esp + 0x24], str.Registry::setDword
mov dword [esp + 0x28], 0x181
call fcn.0041b5e6
lea eax, [esp + 0x16c]
mov dword [esp], 0x4878f8
push eax
call fcn.00452134
cmp dword [0x49c100], edi
jg 0x435e95
mov eax, dword [esp + 0x14]
mov ecx, esi
lea esi, [esp + 0xd0]
call fcn.004352eb
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [esp + 0xf4]
push eax
mov byte [esp + 0x1ac], 8
call fcn.004367e3
add esp, 0xc
push str.Registry::setDword
push 0x184
push str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_Registry.cpp
push edi
mov edx, eax
mov ecx, 0x49c100
mov byte [esp + 0x1b0], 9
call fcn.00421538
push edi
push 1
lea ecx, [esp + 0xf4]
call fcn.0040321f
push edi
push 1
mov ecx, esi
call fcn.0040321f
lea esi, [esp + 0x108]
call fcn.00435464
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.0044a628
mov esp, ebp
pop ebp
ret 8
Function at 0x43650c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x4976a0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [esp + 0xc4]
push eax
mov edi, esi
mov ebx, ecx
call fcn.0042c52c
pop ecx
push esi
lea eax, [esp + 0xe4]
call fcn.0042c5e0
xor edi, edi
pop ecx
cmp dword [esp + 0xd4], edi
je 0x436618
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
push edi
or ecx, 0x2001f
push ecx
lea ecx, [esp + 0xcc]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00434e38
add esp, 0x14
cmp dword [esp + 0x18], edi
je 0x4365c3
mov edi, dword [esp + 0x18]
cmp byte [esp + 0x14], 0
je 0x43659e
push dword [esp + 0x10]
mov byte [esp + 0x18], 0
call fcn.0043b22a
pop ecx
lea esi, [esp + 0xc4]
call fcn.00435464
mov ecx, dword [esp + 0x124]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044a628
mov esp, ebp
pop ebp
ret 8
push 0x49ad62
lea eax, [esp + 0xe4]
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x20]
mov eax, esp
mov dword [eax], ecx
mov cl, byte [esp + 0x24]
mov byte [eax + 4], cl
mov dword [esp + 0x30], esp
push ebx
lea ecx, [esp + 0xd8]
lea edi, [esp + 0x110]
mov byte [esp + 0x28], 0
call fcn.00434fac
mov ecx, eax
call fcn.0043650c
lea esi, [esp + 0xfc]
mov edi, eax
call fcn.004350b3
jmp 0x436588
cmp dword [esi + 0x14], 0x10
jb 0x436622
mov ecx, dword [esi]
jmp 0x436624
mov ecx, esi
mov eax, dword [ebx]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [esp + 0x20], eax
cmp eax, edi
jne 0x4366a5
cmp dword [0x49c100], edi
jg 0x4366a5
lea eax, [esp + 0x28]
push eax
call fcn.00402794
lea eax, [esp + 0x28]
push str.Deleted__
push eax
call fcn.00405526
sub esp, 0x14
mov ecx, esi
mov esi, esp
mov eax, ebx
mov dword [esp + 0x40], esp
call fcn.004352eb
lea esi, [esp + 0x44]
call fcn.004042cb
mov esi, eax
push str.__value
push esi
call fcn.00405526
pop ecx
pop ecx
push esi
push 0x1d2
push edi
mov ebx, str.Registry::deleteValue
mov edi, str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_Registry.cpp
mov esi, 0x49c100
call fcn.004016c6
lea eax, [esp + 0x28]
call fcn.004015e8
mov edi, dword [esp + 0x20]
jmp 0x43659e
Function at 0x437623
Capabilities:
Create thread

Disassembly:
push 0x78
mov eax, 0x46e9ac
call fcn.004525cd
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x5c], eax
cmp esi, ebx
jne 0x437645
or dword [eax], 0xffffffff
jmp 0x43772b
mov dword [ebp - 0x60], ebx
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], ebx
call fcn.004371f4
mov byte [ebp - 4], 1
or dword [ebp - 0x40], 0xffffffff
lea eax, [ebp - 0x58]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x40]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push 0x437608
push ebx
push ebx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ebx
call fcn.00450793
mov edi, eax
add esp, 0x18
cmp edi, ebx
jne 0x4376c5
lea esi, [ebp - 0x78]
call fcn.00436f01
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
push ecx
lea esi, [ebp - 0x6c]
mov ecx, eax
mov dword [ebp - 0x6c], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_ipc_windows_ThreadImpl.cpp
mov dword [ebp - 0x68], str.ipc::Thread::start
mov dword [ebp - 0x64], 0x70
call fcn.004372c1
lea eax, [ebp - 0x3c]
mov dword [esp], 0x487db8
push eax
call fcn.00452134
lea eax, [ebp - 0x58]
lea esi, [ebp - 0x84]
call fcn.00436ce2
lea eax, [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 3
push 1
push dword [ebp - 0x50]
mov dword [ebp - 0x44], edi
call fcn.00437089
jmp 0x4376fe
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 8]
call fcn.00436f21
cmp dword [ebp - 0x44], ebx
jne 0x4376ec
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.00436d2c
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x5c]
mov dword [esi], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x60], ebx
mov byte [ebp - 4], bl
call fcn.00437268
mov eax, esi
call fcn.00452650
ret
Function at 0x43946a
Capabilities:
Check mutex on windows

Disassembly:
push 0xa8
mov eax, 0x46ce6e
call fcn.00452564
push str.Global_MSIExecute
xor esi, esi
push esi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
mov dword [ebp - 4], esi
cmp eax, esi
je 0x43953c
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], esi
je 0x43951c
cmp dword [0x49c100], 1
jg 0x43951c
lea eax, [ebp - 0xb4]
push eax
call fcn.00402794
lea eax, [ebp - 0xb4]
push str.finish_waiting_for_mutex:
push eax
mov byte [ebp - 4], 1
call fcn.00405526
pop ecx
pop ecx
push dword [ebp - 0x14]
lea eax, [ebp - 0xb4]
push eax
call fcn.0040ad34
lea eax, [ebp - 0xb4]
push eax
push 0x1c8
push 1
mov ebx, str.msi::waitForInstallationCompletion
mov edi, str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_MsiUtils.cpp
mov esi, 0x49c100
call fcn.004016c6
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0
call fcn.004015e8
cmp dword [ebp - 0x14], 0x102
jne 0x43953c
xor bl, bl
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x1c]
call fcn.0043b077
pop ecx
mov al, bl
call fcn.0045263c
ret
mov bl, 1
jmp 0x439527
Function at 0x44051c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46ba6e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4976a0]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x4976a0]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
cmp byte [ecx + 0x38], bl
je 0x44057c
push esi
mov ebx, ecx
call fcn.00440221
mov eax, esi
jmp 0x440765
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x14]
mov dword [esp + 0xc0], ebx
call fcn.00440358
test al, al
jne 0x440649
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea ebx, [esp + 0x58]
mov byte [esp + 0xc0], 1
call fcn.004433e9
push 0xc8
lea edx, [esp + 0x28]
mov ecx, eax
mov byte [esp + 0xc4], 2
call fcn.00440358
movzx eax, al
push eax
call fcn.00440a37
pop ecx
pop ecx
push 0
push 1
mov ecx, ebx
mov byte [esp + 0xc8], 1
call fcn.0040321f
push dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
push esi
push ebx
push dword [esp + 0x34]
lea ecx, [esp + 0x34]
call fcn.00413140
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], esi
lea esi, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0xc0], 0
call fcn.00412b11
xor ebx, ebx
mov edi, dword [esp + 0x14]
mov esi, edi
cmp edi, dword [esp + 0x18]
je 0x4406af
push 0x47f330
call fcn.0041305f
pop ecx
test al, al
jne 0x44066d
add esi, 0x1c
cmp esi, dword [esp + 0x18]
jne 0x440655
cmp dword [esp + 0x18], esi
je 0x4406ab
cmp edi, esi
je 0x440690
lea eax, [esi + 0x1c]
push eax
add esi, 0xffffffe4
push esi
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004129a0
jmp 0x440649
push 0x137
lea esi, [esp + 0x28]
call fcn.00411486
push 0x487864
mov eax, esi
push eax
call fcn.00452134
cmp edi, dword [esp + 0x18]
sete al
movzx eax, al
push eax
call fcn.00440a0f
pop ecx
push dword [esp + 0x14]
lea esi, [esp + 0x40]
add edi, 0x1c
call fcn.0040244c
mov byte [esp + 0xc0], 4
jmp 0x440714
lea eax, [esp + 0x58]
push 0x47c310
push eax
call fcn.00408976
pop ecx
pop ecx
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x44]
mov byte [esp + 0xc8], 5
call fcn.00405491
push ebx
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xc8], 4
call fcn.0040321f
add edi, 0x1c
cmp edi, dword [esp + 0x18]
jne 0x4406d6
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004401d8
push dword [esp + 0x38]
mov byte [esp + 0xc4], 6
lea ebx, [esp + 0x78]
mov byte [esp + 0xb0], 1
call fcn.00440221
call fcn.0043cdb1
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.0040321f
lea esi, [esp + 0x14]
call fcn.00412b11
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0044a628
mov esp, ebp
pop ebp
ret
Function at 0x440c53
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46860d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4976a0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4976a0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push ecx
lea esi, [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
call fcn.0040244c
mov byte [esp + 0x3c], bl
mov dword [esp + 0x70], ebx
jmp 0x440d00
lea edx, [esp + 0x20]
add edi, 0xfffffffc
mov ecx, dword [edi]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x20], edi
call dword [eax + 4]
mov esi, eax
lea edi, [esp + 0x20]
mov byte [esp + 0x70], 1
call fcn.00403068
mov al, byte [esi + 0x1c]
push ebx
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x44], al
mov byte [esp + 0x78], bl
call fcn.0040321f
cmp byte [esp + 0x3c], bl
jne 0x440d06
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x14]
jne 0x440cb7
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
call fcn.0040244c
push ebx
push 1
lea ecx, [esp + 0x28]
call fcn.0040321f
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0044a628
mov esp, ebp
pop ebp
ret 8
Function at 0x443f5d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46a314
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4976a0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.004407e3
mov cl, byte [eax + 4]
mov edi, dword [eax]
mov byte [esp + 0x10], cl
mov dword [esp + 0x1c], edi
mov byte [eax + 4], bl
mov dword [esp + 0x2c], edi
mov byte [esp + 0x30], cl
mov dword [esp + 0x50], ebx
cmp byte [esp + 0x18], bl
je 0x443fc8
push dword [esp + 0x14]
mov byte [esp + 0x1c], bl
call fcn.00449397
pop ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov esi, 0x100001
lea eax, [esp + 0x34]
mov byte [esp + 0x50], 1
call fcn.0042a4d0
push edi
mov edi, dword [esp + 0x38]
dec esi
push esi
push 1
push edi
call fcn.00451946
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, esi
jbe 0x44401c
push 0xc8
lea esi, [esp + 0x20]
call fcn.00411486
push 0x487864
mov eax, esi
push eax
call fcn.00452134
push dword [esp + 0x1c]
call fcn.004516d4
pop ecx
test eax, eax
je 0x444041
push 0x133
lea esi, [esp + 0x20]
call fcn.00411486
push 0x487864
mov eax, esi
jmp 0x444016
push dword [esp + 0x1c]
call fcn.004516ac
pop ecx
test eax, eax
jne 0x444066
push 0x13b
lea esi, [esp + 0x20]
call fcn.00411486
push 0x487864
mov eax, esi
jmp 0x444016
mov esi, dword [esp + 0x14]
mov ecx, esi
mov eax, edi
call fcn.00443f29
lea eax, [edi + esi]
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp edi, eax
je 0x444094
sub eax, edi
push eax
push edi
mov ecx, esi
call fcn.004036d6
cmp edi, ebx
je 0x44409f
push edi
call fcn.0044a61d
pop ecx
cmp byte [esp + 0x10], bl
je 0x4440af
push dword [esp + 0x1c]
call fcn.00449397
pop ecx
mov eax, esi
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 0x4455e9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, eax
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
jl 0x445669
jg 0x445615
cmp esi, ecx
jbe 0x445669
cmp dword [ebp + 0x14], ecx
jg 0x445615
jl 0x445611
cmp esi, 0x7fffffff
jae 0x445615
mov eax, esi
jmp 0x44561a
mov eax, SysReAllocString
cmp dword [ebp + 8], 0xffffffff
mov dword [ebp - 4], ecx
je 0x44565a
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x445644
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x445664
jmp 0x44565a
mov eax, dword [ebp - 4]
test eax, eax
jle 0x445655
add ebx, eax
cdq
sub esi, eax
sbb dword [ebp + 0x14], edx
jmp 0x4455f5
cmp eax, 0xffffffff
jne 0x445664
call fcn.00450875
cmp dword [eax], 4
je 0x4455f5
or eax, 0xffffffff
jmp 0x44566b
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x44a628
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4976a0]
jne 0x44a632
repz ret
jmp fcn.00454985

Function at 0x45d481
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4976a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00456118
and dword [ebp - 0x14], 0
cmp dword [0x49bd54], 0
mov dword [ebp - 0x18], eax
jne 0x45d534
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x45d5dc
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x45d5dc
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x49bd54], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x49bd58], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49bd5c], eax
call edi
push eax
call esi
mov dword [0x49bd64], eax
test eax, eax
je 0x45d534
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x49bd60], eax
mov eax, dword [0x49bd60]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x45d58d
cmp dword [0x49bd64], ecx
je 0x45d58d
push eax
call esi
push dword [0x49bd64]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x45d58d
test ebx, ebx
je 0x45d58d
call edi
test eax, eax
je 0x45d584
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45d584
test byte [ebp - 8], 1
jne 0x45d58d
or dword [ebp + 0x10], 0x200000
jmp 0x45d5c0
mov eax, dword [0x49bd58]
cmp eax, dword [ebp - 0x18]
je 0x45d5c0
push eax
call esi
test eax, eax
je 0x45d5c0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45d5c0
mov eax, dword [0x49bd5c]
cmp eax, dword [ebp - 0x18]
je 0x45d5c0
push eax
call esi
test eax, eax
je 0x45d5c0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49bd54]
call esi
test eax, eax
je 0x45d5dc
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x45d5de
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a628
leave
ret
Function at 0x402db3
Capabilities:
Bypass uac via icmluautil

Disassembly:
cmp dword [ebp - 4], 0
jne 0x403d32
mov dword [ebp - 8], 0x80004005
jmp 0x40c22a
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x20]
push eax
push 4
push str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
call fcn.00409727
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402b22
jmp 0x40c22a
cmp dword [ebp - 8], 0
jl 0x408dc5
mov dword [ebp - 0xc], 1
jmp 0x403318
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], 0
jne 0x4044dd
jmp 0x40c22a
cmp dword [ebp + 8], 0
jne 0x4086f1
jmp 0x40c22a
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 8], 0x80004005
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
jmp 0x4044dd
lea eax, [ebp - 0x30]
push eax
push 0x413200
call dword [0x41307c]
test eax, eax
je 0x408f56
jmp 0x40c22a
mov dword [ebp - 0xc], 0
jmp 0x403318
lea ecx, [ebp - 0x20]
push ecx
push str.6EDD6D74_C007_4E75_B76A_E5740995E24C
call dword [0x413088]
test eax, eax
je 0x402dab
jmp 0x40c22a
cmp dword [ebp - 4], 0
je 0x403230
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
jmp 0x403230

Function at 0x403d7b
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40865c
sub al, 0x20
jmp 0x40865c
push esi
push edi
push ebx
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
jmp 0x40825a
mov esi, dword [edx + 0x28]
mov ecx, 0x18
xor edi, edi
jmp 0x401c46
ror edi, 0xd
add edi, eax
dec ecx
jne 0x401c46
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x40825a
mov eax, ebx
pop ebx
pop edi
pop esi
ret