joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427bf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46e429
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x491c04]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x68]
mov dword [esi + 0xd8], eax
call fcn.00429080
lea ecx, [esp + 0x20]
push 6
xor edi, edi
push ecx
mov dword [esp + 0x84], edi
call fcn.004284a0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 1
call fcn.00429080
mov ecx, dword [esi + 0xd8]
mov byte [esp + 0x7c], 2
call fcn.0042d2c0
test eax, eax
jle 0x427e37
mov ecx, dword [esi + 0xd8]
push edi
call fcn.0042d2b0
mov ecx, eax
call fcn.0042b330
cmp eax, 0xa
jne 0x427e23
mov ecx, dword [esi + 0xd8]
push edi
xor ebp, ebp
call fcn.0042d2b0
mov ecx, eax
call fcn.0042b650
test eax, eax
jle 0x427e23
mov ecx, dword [esi + 0xd8]
lea edx, [esp + 0x44]
push edx
push ebp
push edi
call fcn.0042d2b0
mov ecx, eax
call fcn.0042b640
mov ecx, eax
call fcn.00430820
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 3
call fcn.00429100
lea ecx, [esp + 0x44]
mov byte [esp + 0x7c], 2
call fcn.004290f0
mov ecx, dword [esi + 0xd8]
push ebp
push edi
call fcn.0042d2b0
mov ecx, eax
call fcn.0042b640
mov ecx, eax
call fcn.004307d0
cmp eax, 9
je 0x427da0
cmp eax, 0xc
jne 0x427e07
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x18]
call fcn.00429260
push 0x4777a8
mov ecx, eax
mov byte [esp + 0x80], 4
call fcn.00429180
lea ecx, [esp + 0x50]
mov bl, al
mov byte [esp + 0x7c], 2
call fcn.004290f0
test bl, bl
je 0x427d76
push str.YingInstall_SoftReadme.MHT
lea ecx, [esp + 0x30]
call fcn.00428f20
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 5
call fcn.00429240
lea ecx, [esp + 0x2c]
jmp 0x427dfd
push str.YingInstall_SoftReadme.HTM
lea ecx, [esp + 0x3c]
call fcn.00428f20
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 6
call fcn.00429240
lea ecx, [esp + 0x38]
jmp 0x427dfd
push 0x477719
lea ecx, [esp + 0x18]
call fcn.004291e0
test al, al
je 0x427e07
push 0
push 0
push 0
push 0
sub esp, 0xc
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0xa0], esp
push eax
call fcn.00428f90
lea ecx, [esp + 0x78]
push ecx
call fcn.004061d0
add esp, 0x10
lea ecx, [eax + 4]
mov byte [esp + 0x8c], 7
call fcn.00402be0
push eax
lea ecx, [esi + 0xe0]
call fcn.004235c0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x7c], 2
call fcn.004290f0
mov ecx, dword [esi + 0xd8]
push edi
inc ebp
call fcn.0042d2b0
mov ecx, eax
call fcn.0042b650
cmp ebp, eax
jl 0x427ca6
mov ecx, dword [esi + 0xd8]
inc edi
call fcn.0042d2c0
cmp edi, eax
jl 0x427c6d
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 1
call fcn.004290f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 0
call fcn.004290f0
lea ecx, [esp + 0x68]
mov dword [esp + 0x7c], 0xffffffff
call fcn.004290f0
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 4
Function at 0x427e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e454
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x491c04]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push 0x1d
lea eax, [esp + 0xc]
push eax
mov ecx, 0x4948b4
call fcn.0041f820
push eax
lea ecx, [esi + 0xc0]
mov dword [esp + 0x2c], 0
call fcn.00429100
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.004290f0
push 0x1e
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x4948b4
call fcn.0041f820
push eax
lea ecx, [esi + 0xcc]
mov dword [esp + 0x2c], 1
call fcn.00429100
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.004290f0
mov edx, dword [esp + 0x30]
push edx
push 0x87
mov ecx, esi
mov byte [esi + 0xdc], 0
call fcn.004029f0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 4
Function at 0x429b00
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e89f
mov eax, dword fs:[0]
push eax
mov eax, 0xa030
call fcn.00450db0
mov eax, dword [0x491c04]
xor eax, esp
mov dword [esp + 0xa02c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x491c04]
xor eax, esp
push eax
lea eax, [esp + 0xa044]
mov dword fs:[0], eax
mov ebp, ecx
xor ebx, ebx
push 0x477b7d
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa050], ebx
call fcn.00428f20
push 0x477be8
lea ecx, [esp + 0xa05c]
mov byte [esp + 0xa050], 1
call fcn.00402be0
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00450d57
add esp, 0xc
test eax, eax
jne 0x429ca8
mov ecx, dword [esp + 0x14]
push 2
push ebx
push ecx
call fcn.00452277
mov edx, dword [esp + 0x20]
push edx
call fcn.0045217f
add esp, 0x10
cmp eax, ebx
jne 0x429bb7
mov eax, dword [esp + 0x14]
push eax
call fcn.00450a5c
add esp, 4
jmp 0x429ca8
cdq
mov ecx, 0xa000
idiv ecx
mov edi, edx
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call fcn.00451f1c
add esp, 4
cmp esi, ebx
jle 0x429c2e
mov eax, dword [esp + 0x14]
push eax
push 1
lea ecx, [esp + 0x3c]
push 0xa000
push ecx
call fcn.00451eff
add esp, 0x10
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0xa038], bl
call fcn.00429010
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa050], 2
call fcn.00429240
lea ecx, [esp + 0x24]
mov byte [esp + 0xa04c], 1
call fcn.004290f0
sub esi, 1
jne 0x429bd4
mov ecx, dword [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0x3c]
push edi
push edx
call fcn.00451eff
add esp, 0x10
mov byte [esp + edi + 0x34], bl
cmp edi, ebx
je 0x429c80
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
call fcn.00429010
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa050], 3
call fcn.00429240
lea ecx, [esp + 0x24]
mov byte [esp + 0xa04c], 1
call fcn.004290f0
mov edx, dword [esp + 0x14]
push edx
call fcn.00450a5c
add esp, 4
push ebx
sub esp, 0xc
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.00428f90
mov ecx, ebp
call fcn.00429890
lea ecx, [esp + 0x18]
mov byte [esp + 0xa04c], bl
call fcn.004290f0
lea ecx, [esp + 0xa054]
mov dword [esp + 0xa04c], 0xffffffff
call fcn.004290f0
mov ecx, dword [esp + 0xa044]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa02c]
xor ecx, esp
call fcn.0044f51e
add esp, 0xa03c
ret 0xc
Function at 0x430bf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46f820
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x491c04]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x34]
push 0x14
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x4948b4
mov dword [esi + 0x108], eax
call fcn.0041f820
push eax
lea ecx, [esi + 0xd8]
mov dword [esp + 0x30], 0
call fcn.00429100
or edi, 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], edi
call fcn.004290f0
push 0x15
lea edx, [esp + 0x10]
push edx
mov ecx, 0x4948b4
call fcn.0041f820
push eax
lea ecx, [esi + 0xe4]
mov dword [esp + 0x30], 1
call fcn.00429100
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], edi
call fcn.004290f0
push 0x16
lea eax, [esp + 0x10]
push eax
mov ecx, 0x4948b4
call fcn.0041f820
push eax
lea ecx, [esi + 0xf0]
mov dword [esp + 0x30], 2
call fcn.00429100
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], edi
call fcn.004290f0
push 0x17
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x4948b4
call fcn.0041f820
push eax
lea ecx, [esi + 0xfc]
mov dword [esp + 0x30], 3
call fcn.00429100
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], edi
call fcn.004290f0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 4

Function at 0x431fc7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x431feb
cmp dword [edi + 0x54], 0
jne 0x431feb
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0043e332
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00431f88
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4386f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x438740
call fcn.0043e332
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x438740
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x43875c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00438273
mov esi, eax
test edi, edi
je 0x43875a
test ebx, ebx
je 0x43875a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43962e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46fc95
call fcn.00452a29
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x439653
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x439699
lea ecx, [ebp - 0x10]
call fcn.00402ac0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00438e19
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402dc0
mov eax, esi
call fcn.00452b01
ret 8

Function at 0x43ae94
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x491c04]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x43af32
push 0x479b34
push 4
push eax
call fcn.0044fb64
push eax
call fcn.00416c40
add esp, 0x10
push ebx
push edi
call fcn.00452f2d
mov edi, dword [eax]
call fcn.00452f2d
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00450af6
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.00452f2d
cmp dword [eax], ebx
je 0x43af49
call fcn.00452f2d
push dword [eax]
call fcn.0043313b
pop ecx
jmp 0x43af50
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x43aeda
jmp 0x43afd7
call fcn.00452f2d
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x43afd3
cmp dword [ebp - 0x11c], esi
jae 0x43afd3
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.00450600
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x43afc2
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x43afc2
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x43afc2
push ebx
push ebx
push esi
jmp 0x43afcb
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x43afd5
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044f51e
leave
ret
Function at 0x43d03b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x43d083
call fcn.0043e332
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43d083
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x43d0c6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x43d0af
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x43d0af
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x43d0c3
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x44f51e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x491c04]
jne 0x44f528
repz ret
jmp fcn.00456665
Function at 0x46483a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00457758
and dword [ebp - 4], 0
cmp dword [0x4973a0], 0
mov ebx, eax
jne 0x4648eb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46499c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x480924
push edi
call esi
test eax, eax
je 0x46499c
push eax
call fcn.004576e6
mov dword [esp], 0x480914
push edi
mov dword [0x4973a0], eax
call esi
push eax
call fcn.004576e6
mov dword [esp], 0x480900
push edi
mov dword [0x4973a4], eax
call esi
push eax
call fcn.004576e6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4973a8], eax
call esi
push eax
call fcn.004576e6
pop ecx
mov dword [0x4973b0], eax
test eax, eax
je 0x4648eb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004576e6
pop ecx
mov dword [0x4973ac], eax
mov eax, dword [0x4973ac]
cmp eax, ebx
je 0x464943
cmp dword [0x4973b0], ebx
je 0x464943
push eax
call fcn.00457761
push dword [0x4973b0]
mov esi, eax
call fcn.00457761
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x464943
test edi, edi
je 0x464943
call esi
test eax, eax
je 0x46493a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46493a
test byte [ebp - 0xc], 1
jne 0x464943
or dword [ebp + 0x10], 0x200000
jmp 0x46497c
mov eax, dword [0x4973a4]
cmp eax, ebx
je 0x46497c
push eax
call fcn.00457761
pop ecx
test eax, eax
je 0x46497c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46497c
mov eax, dword [0x4973a8]
cmp eax, ebx
je 0x46497c
push eax
call fcn.00457761
pop ecx
test eax, eax
je 0x46497c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4973a0]
call fcn.00457761
pop ecx
test eax, eax
je 0x46499c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46499e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1006230
Capabilities:
Terminate thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov eax, dword [section..data]
cmp eax, section..data
je 0x1006264
test byte [eax + 0x1c], 2
je 0x1006264
push 0x10015bc
push 0x71
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100620a
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x60], ebx
je 0x10062b2
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x100629f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1006290
and eax, 0xffff
or eax, 0x80070000
push ebx
push dword [esi + 0x60]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x10062aa
push 0xffffffffffffffff
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x60]
call edi
mov dword [esi + 0x60], ebx
mov eax, dword [esi + 0x58]
cmp eax, ebx
je 0x10062bf
push eax
call edi
mov dword [esi + 0x58], ebx
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0x10062cc
push eax
call edi
mov dword [esi + 0x5c], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1006840
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ebx, ecx
test esi, esi
jne 0x100685b
push 0x80004005
call fcn.010063f6
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x100685d
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10076b8
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x101f104]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, ecx
mov ecx, dword [ebp + 8]
push 0x2001f
push ecx
push dword [eax]
xor esi, esi
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.0100679e
mov edi, eax
cmp edi, esi
je 0x100772a
lea ecx, [ebp - 0x214]
call fcn.0100672b
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01011e21
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1007748
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.010076b8
cmp eax, esi
jne 0x1007793
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call edi
test eax, eax
je 0x1007732
lea ecx, [ebp - 0x214]
call fcn.0100672b
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
call fcn.010066a5
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.0100672b
mov eax, esi
jmp 0x100771a
Function at 0x100af54
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x101be82
call fcn.01011ee4
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x100afad
call fcn.010065ba
mov esi, eax
jmp 0x100b0b6
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x100afc6
call fcn.010065ba
jmp 0x100b0a8
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
cmp eax, esi
je 0x100afbc
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x420], edi
cmp eax, edi
jae 0x100b02c
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100b012
lea ecx, [ebp - 0x418]
call fcn.01006f24
mov esi, 0x8007000e
lea ecx, [ebp - 0x424]
call fcn.01006db7
mov eax, esi
call fcn.01011f4f
ret 0x10
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.01008a26
mov dword [ebp - 4], 1
jmp 0x100b05a
cmp dword [ebp - 0x418], esi
jne 0x100b069
mov esi, 0x8007000e
jmp 0x100b0aa
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x100afbc
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.0100aa17
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100b017
lea ecx, [ebp - 0x418]
call fcn.01006f24
jmp 0x100b017
Function at 0x100db06
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
mov eax, dword [section..data]
cmp eax, section..data
je 0x100db38
test byte [eax + 0x1c], 2
je 0x100db38
push 0x10015bc
push 0x6d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100620a
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor esi, esi
push esi
push esi
push esi
push esi
call edi
mov dword [ebx + 0x5c], eax
cmp eax, esi
jne 0x100db96
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x100db61
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, esi
jge 0x100db93
mov eax, dword [section..data]
cmp eax, section..data
je 0x100dc40
test byte [eax + 0x1c], 4
je 0x100dc40
push ebx
push 0x100269c
push 0x10015bc
push 0x6e
jmp 0x100dc31
mov ebx, dword [ebp - 4]
push esi
push esi
push esi
push esi
call edi
mov dword [ebx + 0x58], eax
cmp eax, esi
jne 0x100dbe1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x100dbb7
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, esi
jge 0x100dbde
mov eax, dword [section..data]
cmp eax, section..data
je 0x100dc40
test byte [eax + 0x1c], 4
je 0x100dc40
push ebx
push 0x100269c
push 0x10015bc
push 0x6f
jmp 0x100dc31
mov ebx, dword [ebp - 4]
push esi
push esi
push ebx
push 0x100c201
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x60], eax
cmp eax, esi
jne 0x100dc3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x100dc0c
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, esi
jge 0x100dc3e
mov eax, dword [section..data]
cmp eax, section..data
je 0x100dc40
test byte [eax + 0x1c], 4
je 0x100dc40
push ebx
push 0x100266c
push 0x10015bc
push 0x70
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01005dcd
jmp 0x100dc40
xor ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x100e895
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
cmp eax, esi
jne 0x100e8b6
xor eax, eax
jmp 0x100e8dc
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x100e596
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x100e8d9
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x100fc1b
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101f104]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x100fc54
test byte [eax + 0x1c], 2
je 0x100fc54
push 0x10029d4
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100620a
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov edi, 0xffff
mov esi, 0x80070000
test eax, eax
jne 0x100fcb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100fc85
and eax, edi
or eax, esi
mov ebx, eax
test ebx, ebx
jge 0x100fcb7
mov eax, dword [section..data]
cmp eax, section..data
je 0x100fce1
test byte [eax + 0x1c], 4
je 0x100fce1
push ebx
push 0x1002aa8
push 0x10029d4
push 0x3f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01005dcd
jmp 0x100fce1
push 5
lea eax, [ebp - 0x20c]
push eax
push 0x1002a48
push 0x1002a30
push 0x1002a24
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test eax, eax
jle 0x100fcdf
and eax, edi
or eax, esi
mov ebx, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01011e21
leave
ret