joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f660
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], esi
mov esi, 1
mov dword [ebp - 0x10], 0
push 1
push 0x4ea270
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x41f6ec
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 5
mov eax, esi
sar ecx, 0x1f
sub edx, ecx
imul edi, edx, 0x64
sub eax, edi
jne 0x41f6ec
cmp esi, 0x15f90
jl 0x41f6e3
cmp esi, 0x1d4c0
jge 0x41f6c0
mov eax, 0x32
jmp 0x41f6e5
cmp esi, 0x2bf20
jge 0x41f6cf
mov eax, 0x64
jmp 0x41f6e5
mov eax, 0x1482
cmp esi, 0x57d78
jl 0x41f6e5
mov eax, 0xfa
jmp 0x41f6e5
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
test eax, eax
je 0x41f700
inc esi
cmp esi, 0x57e40
jl 0x41f678
mov eax, dword [ebp - 4]
test eax, eax
je 0x41f71a
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.004351c0
add esp, 4
mov eax, dword [0x4ea274]
test eax, eax
jne 0x41f748
cmp dword [0x4e7920], 1
je 0x41f788
xor edi, edi
xor esi, esi
call fcn.0041f820
mov dword [0x4ea274], 1
cmp dword [0x4e7920], 1
je 0x41f773
mov dword [0x4ea270], 0
push dword [0x4ea26c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41f7a3
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push 2
call fcn.0046ee10
push edi
push 0x16
call fcn.0046ee10
add esp, 0x10
jmp 0x41f748
push 1
push 2
call fcn.0046ee10
mov esi, eax
push 1
push 0x16
call fcn.0046ee10
add esp, 0x10
mov edi, eax
jmp 0x41f730
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x70
call fcn.0040fc60
add esp, 0xc
test eax, eax
je 0x41f7cd
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, 0x70
mov ecx, dword [edx + 0x4e787c]
mov dword [eax + edx - 4], ecx
mov esi, dword [edx + 0x4e7878]
mov dword [eax + edx - 8], esi
mov edi, dword [edx + 0x4e7874]
mov dword [eax + edx - 0xc], edi
mov ecx, dword [edx + 0x4e7870]
mov dword [eax + edx - 0x10], ecx
sub edx, 0x10
jne 0x41f7d5
push dword [ebp - 0x10]
push dword [0x4ea26c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 0x10]
jmp 0x41f762

Function at 0x41f820
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4ea260], 0
je 0x41f830
mov esp, ebp
pop ebp
ret
mov dword [0x4ea260], 1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x4ea26c], eax
cmp eax, 0xffffffff
jne 0x41f856
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esp, ebp
pop ebp
ret
push 0x41f640
call fcn.0046f830
push 0x41f600
call fcn.0046f830
add esp, 8
jmp 0x41f82c
Function at 0x41f870
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], esi
mov esi, 1
mov dword [ebp - 0x10], 0
push 1
push 0x4ea270
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x41f8fc
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 5
mov eax, esi
sar ecx, 0x1f
sub edx, ecx
imul edi, edx, 0x64
sub eax, edi
jne 0x41f8fc
cmp esi, 0x15f90
jl 0x41f8f3
cmp esi, 0x1d4c0
jge 0x41f8d0
mov eax, 0x32
jmp 0x41f8f5
cmp esi, 0x2bf20
jge 0x41f8df
mov eax, 0x64
jmp 0x41f8f5
mov eax, 0x1482
cmp esi, 0x57d78
jl 0x41f8f5
mov eax, 0xfa
jmp 0x41f8f5
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
test eax, eax
je 0x41f910
inc esi
cmp esi, 0x57e40
jl 0x41f888
mov eax, dword [ebp - 4]
test eax, eax
je 0x41f92a
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.004351c0
add esp, 4
mov eax, dword [0x4ea274]
test eax, eax
jne 0x41f958
cmp dword [0x4e7920], 1
je 0x41f9a6
xor edi, edi
xor esi, esi
call fcn.0041f820
mov dword [0x4ea274], 1
cmp dword [0x4e7920], 1
je 0x41f991
mov dword [0x4ea270], 0
push dword [0x4ea26c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x41f9e1
mov eax, dword [ebp + 8]
mov dword [eax], esi
cmp dword [0x4e7920], 1
je 0x41f9c4
xor eax, eax
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push esi
push 2
call fcn.0046ee10
push edi
push 0x16
call fcn.0046ee10
add esp, 0x10
jmp 0x41f958
push 1
push 2
call fcn.0046ee10
mov esi, eax
push 1
push 0x16
call fcn.0046ee10
add esp, 0x10
mov edi, eax
jmp 0x41f940
push 1
push 2
call fcn.0046ee10
push 1
push 0x16
mov dword [esi + 0x64], eax
call fcn.0046ee10
add esp, 0x10
mov dword [esi + 0x68], eax
jmp 0x41f985
lea eax, [ebp - 0x10]
push eax
push 0
push 0x70
call fcn.0040fc60
add esp, 0xc
test eax, eax
je 0x41fa08
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, 0x70
mov ecx, dword [edx + 0x4e787c]
mov dword [eax + edx - 4], ecx
mov esi, dword [edx + 0x4e7878]
mov dword [eax + edx - 8], esi
mov edi, dword [edx + 0x4e7874]
mov dword [eax + edx - 0xc], edi
mov ecx, dword [edx + 0x4e7870]
mov dword [eax + edx - 0x10], ecx
sub edx, 0x10
jne 0x41fa10
push dword [ebp - 0x10]
push dword [0x4ea26c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, dword [ebp - 0x10]
jmp 0x41f977
Function at 0x4208a0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x4216d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp eax, 0xfffffffa
mov dword [ebp - 0x10], ebx
mov ebx, ecx
lea ecx, [eax + 5]
jg 0x4216e5
mov ecx, eax
mov dword [ebp - 4], eax
mov eax, 0xfb93e673
mov dword [ebp - 8], esi
mov esi, edx
mul ecx
shr edx, 9
mov dword [ebp - 0xc], edi
imul edi, edx, 0x209
sub ecx, edi
mov edi, dword [0x4e7920]
cmp edi, 2
lea eax, [ecx + 0x69]
mov dword [esi], eax
jge 0x421741
lea ecx, [ecx*4 + 0x1a4]
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [edx + 0x4ea2a4]
test ecx, ecx
jne 0x4217ca
mov dword [edx + 0x4ea2a4], 1
mov eax, dword [esi]
jmp 0x4217ca
lea eax, [ecx*4 + 0x1a4]
lea edx, [eax*8]
sub edx, eax
lea ecx, [edx + 0x4ea2a4]
push ecx
call fcn.0041fab0
add esp, 4
test eax, eax
jne 0x4217c2
mov edx, dword [esi]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
cmp dword [edx + 0x4ea2a0], 0
je 0x42183a
mov dword [edx + 0x4ea2a4], 0
mov edx, dword [esi]
push 0xffffffffffffffff
lea eax, [edx*4]
shl edx, 5
sub edx, eax
push dword [edx + 0x4ea2a0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
lea ecx, [edx + 0x4ea2a4]
push ecx
call fcn.0041fab0
add esp, 4
mov edi, dword [0x4e7920]
mov eax, dword [esi]
cmp edi, 1
je 0x42181b
mov edx, dword [ebp + 0x14]
lea ecx, [eax*4]
shl eax, 5
sub eax, ecx
mov ecx, dword [eax + 0x4ea2b8]
xor eax, eax
mov dword [ebx], ecx
test ecx, ecx
je 0x421813
mov esi, dword [ebp - 4]
cmp esi, dword [ecx + 0x100]
jbe 0x421802
mov eax, ecx
mov ecx, dword [ecx + 0x28]
test ecx, ecx
mov dword [ebx], ecx
jne 0x4217ef
mov dword [edx], eax
xor eax, eax
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov dword [edx], 0
jmp 0x421804
lea edx, [eax*4]
shl eax, 5
sub eax, edx
lea eax, [eax + 0x4ea2b0]
push eax
call fcn.0041fa60
add esp, 4
mov eax, dword [esi]
jmp 0x4217cf
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [esi]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x4ea2a0], eax
mov dword [ecx + 0x4ea2a4], 0
jmp 0x421789
Function at 0x423a20
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x4351c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call fcn.00428190
mov ebx, dword [ebp + 8]
cmp dword [0x4f4560], 0
jne 0x4351e7
test ebx, ebx
je 0x4351dc
mov eax, dword [ebx]
jmp 0x4351de
xor eax, eax
push eax
call fcn.0046d940
add esp, 4
test ebx, ebx
je 0x4351ef
mov eax, dword [ebx]
jmp 0x4351f1
xor eax, eax
push eax
call fcn.004b8010
add esp, 4
jmp 0x4351d4
Function at 0x435780
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov esi, dword [eax + 0x7c]
test esi, esi
mov dword [ebp - 0xc], edi
je 0x43593c
mov edx, dword [0x4e7920]
mov edi, dword [esi + 0x14]
lea eax, [edi*4]
shl edi, 5
sub edi, eax
cmp edx, 2
lea ebx, [edi + 0x4eec08]
jge 0x4357cf
mov eax, dword [ebx]
test eax, eax
jne 0x435810
mov dword [edi + 0x4eec08], 1
jmp 0x435810
push ebx
call fcn.0041fab0
add esp, 4
test eax, eax
jne 0x43580a
cmp dword [edi + 0x4eec04], 0
je 0x43591c
mov dword [edi + 0x4eec08], 0
push 0xffffffffffffffff
push dword [edi + 0x4eec04]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call fcn.0041fab0
add esp, 4
mov edx, dword [0x4e7920]
cmp edx, 1
je 0x435908
mov eax, dword [esi + 0x18]
dec eax
mov dword [esi + 0x18], eax
test eax, eax
jle 0x43587f
mov eax, dword [0x4e7920]
cmp eax, 1
je 0x435864
cmp eax, 2
jge 0x43583f
mov dword [edi + 0x4eec08], 0
jmp 0x435855
mov dword [edi + 0x4eec08], 0
push dword [edi + 0x4eec04]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push dword [edi + 0x4eec18]
push dword [edi + 0x4eec14]
call fcn.0041fa90
add esp, 8
mov eax, dword [0x4e7920]
jmp 0x43582e
mov edx, dword [esi]
test edx, edx
je 0x43588b
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x435896
mov dword [eax], edx
jmp 0x43589c
mov dword [edi + 0x4eec00], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x7c], 0
mov eax, dword [0x4e7920]
cmp eax, 1
je 0x4358ed
cmp eax, 2
jge 0x4358c1
mov dword [edi + 0x4eec08], 0
jmp 0x4358d7
mov dword [edi + 0x4eec08], 0
push dword [edi + 0x4eec04]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esi + 8]
call fcn.0040fd20
push esi
call fcn.0040fd20
add esp, 8
jmp 0x435855
push dword [edi + 0x4eec18]
push dword [edi + 0x4eec14]
call fcn.0041fa90
add esp, 8
mov eax, dword [0x4e7920]
jmp 0x4358b0
lea eax, [edi + 0x4eec14]
push eax
call fcn.0041fa60
add esp, 4
jmp 0x435819
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x4eec04], eax
mov dword [edi + 0x4eec08], 0
jmp 0x4357f3
xor eax, eax
mov esi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x44d570
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]

Function at 0x44d57c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], esi
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ebx
mov ebx, edx
mov dword [ebp - 4], edi
mov edx, eax
mov dword [ecx], 0
cmp dword [0x4f4560], 0
je 0x44d651
cmp dword [ebp + 0x20], 2
je 0x44d5b3
cmp dword [ebp + 0x20], 1
jne 0x44d5c2
mov eax, 0xffffffff
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x18], 0
je 0x44d5d2
cmp dword [ebp + 0x20], 0xfffffffa
je 0x44d716
cmp dword [ebp + 0x20], 0
je 0x44d722
xor ecx, ecx
cmp dword [ebp + 0x18], 0
je 0x44d605
cmp dword [ebp + 0x1c], 0
je 0x44d605
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], edx
call fcn.004b7dc0
push edi
call fcn.004b7f30
mov edx, dword [ebp - 0x10]
add esp, 8
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x44d651
push edi
push esi
push ebx
call fcn.004b7e60
add esp, 0xc
mov esi, eax
mov eax, dword [ebp + 0x14]
cmp esi, 0xffffffff
mov dword [eax], esi
je 0x44d746
push 0
push edi
push 2
push 0x4d288c
call fcn.004b7e20
add esp, 0x10
mov edx, dword [ebp + 0x14]
mov eax, 1
mov byte [esi + ebx], 0xa
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
inc dword [edx]
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10], edx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x24]
test ecx, ecx
mov edx, dword [ebp - 0x10]
mov dword [edi], 0
je 0x44d679
mov edi, dword [ecx + 0x140]
test edi, edi
jne 0x44d67e
mov edi, 0x20000
cmp esi, edi
jbe 0x44d6f2
cmp dword [ebp + 0x20], 0
je 0x44d6f2
test ecx, ecx
je 0x44d696
mov edi, dword [ecx + 0x140]
test edi, edi
jne 0x44d69b
mov edi, 0x20000
mov dword [ebp - 0x10], edx
push 0
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44d6e0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
add ebx, edx
sub esi, edx
add dword [ecx], edx
cmp dword [ebp + 0x24], 0
je 0x44d6d5
mov edx, dword [ebp + 0x24]
mov edx, dword [edx + 0x140]
test edx, edx
jne 0x44d6da
mov edx, 0x20000
cmp esi, edx
ja 0x44d6e0
mov edi, esi
test esi, esi
je 0x44d709
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x18]
jne 0x44d709
test eax, eax
jne 0x44d69e
jmp 0x44d709
push 0
lea ecx, [ebp - 0x18]
push ecx
push esi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edi, edx
mov ecx, 1
jmp 0x44d5e4
mov dword [ebp - 0x10], edx
call fcn.004b8050
mov edx, dword [ebp - 0x10]
mov edi, eax
cmp dword [0x4f4560], 0
je 0x44d609
mov ecx, 1
jmp 0x44d5de
xor eax, eax
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x47a9c0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e7e08]
jne 0x47a9ca
repz ret
jmp fcn.00491600
Function at 0x4b7fd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 0xc], 0
mov dword [ebp + 8], 0x28f
mov esp, ebp
pop ebp
jmp fcn.00412330
Function at 0xe6d370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xe6d38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xe96074
push ecx
mov edi, eax
call fcn.00e81198
mov esi, eax
add esp, 8
test esi, esi
jne 0xe6d3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00e8102e
push esi
call fcn.00e80fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xe70850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xe708ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xe9b720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xe708ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00e811e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xe708ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xe9b720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xe7092a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00e82082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xe70957
mov word [eax], si
add eax, 2
push eax
call fcn.00e82030
add esp, 4
jmp 0xe70959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xe708ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xe708b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xe70ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xe71080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xe710c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xe96458
push ecx
call fcn.00e811e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00e811e1
add esp, 0x10
jmp 0xe710d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00e8120b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00e80dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00e71050
mov eax, dword [0xe9b728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xe7113b
push esi
call fcn.00e70fb0
add esp, 4
mov dword [0xe9b728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xe7114c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00e70ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xe74440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xe744b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xe7448e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xe74471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xe7447e
add edx, ecx
cmp ebx, edx
jb 0xe7448a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xe74467
xor ecx, ecx
jmp 0xe744a2
test eax, eax
jne 0xe74492
xor ecx, ecx
jmp 0xe744a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00e743c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xe748f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xe74921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xe74946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xe7496e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xe74993
push ecx
push esi
call fcn.00e744c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0xe75c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0xe75c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xe75c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xe75c38
add edx, eax
cmp ebx, edx
jb 0xe75c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xe75c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xe75c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0xe75c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xe75cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xe75c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xe75ca8
add edx, ecx
cmp ebx, edx
jb 0xe75cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xe75c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xe75f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00e82145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xe75ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0xe75fdd
lea eax, [esp + 0x18]
push eax
jmp 0xe75fe2
push 0xe9b720
call fcn.00e81fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xe75fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xe75f40
push 4
push ecx
push eax
call fcn.00e8243f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0xe76310
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00e82145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xe763ab
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0xe7638d
lea eax, [esp + 0x18]
push eax
jmp 0xe76392
push 0xe9b720
call fcn.00e81fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xe76360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xe75f40
push 4
push ecx
push eax
call fcn.00e8243f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret