joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416a4b
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 0x416a92
call fcn.0040a238
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x416a92
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x416aae
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041654b
mov esi, eax
test edi, edi
je 0x416aac
test ebx, ebx
je 0x416aac
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x416f8d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x50ef41
call fcn.004f9758
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x416fb2
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x417004
call fcn.00408e92
push eax
lea ecx, [ebp - 0x10]
call fcn.004016f0
mov ecx, dword [esi + 0x6c]
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.004f9862
push eax
call fcn.00401050
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401250
mov eax, esi
call fcn.004f9830
ret 8

Function at 0x441b6b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0040a238
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x441ba4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004417a8
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x441c02
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 + 0x78], ebx
test ebx, 0xffff0000
jne 0x441c26
cmp dword [edi + 0x74], 0
jne 0x441c26
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0040a238
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
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.00441bc3
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 0x443971
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00443615
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4439bb
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00408d93
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00408046
jmp 0x4439c6
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0040be95
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4439cc
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00416c57
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x443a09
call fcn.00443615
mov dword [esi + 0xc], 1
jmp 0x443a0e
call fcn.00443615
cmp dword [esi], 0
je 0x443a57
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x443a2f
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00408d93
jmp 0x443a41
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401ba0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00408046
jmp 0x443a7b
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x443a7b
push dword [esi]
push dword [ebp + 8]
call fcn.0040be95
pop esi
pop ebp
ret 0xc

Function at 0x47304e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x473068
call fcn.0040a238
mov esi, dword [eax + 0xc]
push dword [0x568740]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x473086
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x47307e
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4730b3
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x473080
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00472f7c
mov esi, eax
jmp 0x4730a5

Function at 0x4bdf7c
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004f2614
call fcn.00409c69
cmp dword [eax + 0x14], 0
jne 0x4bdf99
mov ecx, esi
pop esi
jmp fcn.004bda81
pop esi
ret
Function at 0x4c1153
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004ade43
call fcn.00409c69
cmp dword [eax + 0x14], 0
jne 0x4c1170
mov ecx, esi
pop esi
jmp fcn.004c0b25
pop esi
ret

Function at 0x4d3812
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4d382a
mov edi, dword [esi + 0xc]
jmp 0x4d386a
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4d3843
call fcn.0040ab50
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4d3858
call fcn.0040ab50
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4d386a
call fcn.0040ab50
call fcn.0040a238
cmp dword [eax + 0x3c], 0
je 0x4d387f
push edi
mov ecx, ebx
call fcn.004d2644
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004d372c
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4d389d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d38a9
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4f8094
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
push ebx
sub esi, esi
add esi, 0x30
mov edi, dword fs:[esi]
push ecx
Function at 0x4f80a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov esi, edi
add esi, 8
mov ecx, dword [esi]
mov ebx, dword [edi + 0xc]
mov edi, dword [ebx + 0xc]
push eax
mov esi, dword [edi + 0x18]
test esi, esi
je 0x4f80d5
mov ebx, dword [edi + 0x30]
mov eax, dword [ebx]
and eax, 0xdf00df
mov ebx, dword [ebx + 0xc]
shl ebx, 8
add ebx, eax
shr ebx, 2
sub ebx, 0xc914cd2
test ebx, ebx
je 0x4f80de
mov ebx, dword [edi]
mov edi, ebx
jmp 0x4f80ae
mov edi, dword [esi + 0x3c]
add edi, esi
mov ebx, dword [edi + 0x78]
add ebx, esi
push edx
mov eax, dword [ebx + 0x20]
add eax, esi
mov edx, dword [eax]
add edx, esi
mov edi, dword [edx + 0xb]
add edi, 0xff8b9c9b
cmp edi, 0
jne 0x4f8102
jmp 0x4f810d
add eax, 4
jmp 0x4f80ee
mov edi, dword [ebx + 0x20]
sub eax, edi
sub eax, esi
shr eax, 1
mov edi, dword [ebx + 0x24]
add edi, esi
add edi, eax
mov eax, dword [edi]
mov edi, dword [ebx + 0x1c]
shl eax, 0x10
shr eax, 0xe
add edi, esi
add edi, eax
mov eax, dword [edi]
lea edi, [0x27000]
push esi
add eax, esi
mov edx, 0x40
lea ebx, [0x1d2000]
push ecx
add ebx, ecx
push edx
push esp
push edx
push edi
push ebx
call eax
pop edi
pop ecx
push eax
mov ebx, 0x11e00
mov esi, 0x7ca3
mov edi, 0x1d2000
mov eax, 0x34
add edi, ecx
imul esi, eax
add esi, 0x18f4
add esi, ecx
call fcn.004f8194
mov esi, 0x1a8810
mov edi, 0x1e6000
add esi, ecx
lea ebx, [0x2854]
add edi, ecx
call fcn.004f8194
jmp 0x4f81b9
lea edi, [0x1d2000]
mov ebx, 0x114
mov esi, 0x10000000
add edi, ecx
mov eax, 0xe
imul ebx, eax
add ebx, 0xe8
sub edi, ebx
mov ebx, edi
sub ebx, esi
mov esi, 0x1ab610
mov eax, 0x1acf88
add esi, ecx
add eax, ecx
cmp esi, eax
jge 0x4f8289
mov edx, dword [esi + 4]
xor edx, 0xe6ea0d64
cmp edx, 0
je 0x4f8289
lea edx, [esi]
push ecx
lea ecx, [edx]
sub ecx, esi
test ecx, 3
jne 0x4f8218
jmp 0x4f8229
mov ecx, dword [edx + 6]
xor ecx, 0xe6ea0d64
shr ecx, 0x10
jmp 0x4f8232
mov ecx, dword [edx + 8]
xor ecx, 0xe6ea0d64
cmp cx, 0
je 0x4f8275
cmp esi, edx
je 0x4f8244
test ecx, 0xfff
je 0x4f8275
push ecx
and ecx, 0xf000
shr ecx, 0xc
cmp ecx, 3
pop ecx
jne 0x4f826d
shl ecx, 0x14
shr ecx, 0x14
push eax
mov eax, dword [esi]
xor eax, 0xe6ea0d64
add ecx, eax
add ecx, edi
mov eax, dword [ecx]
add eax, ebx
mov dword [ecx], eax
pop eax
add edx, 2
jmp 0x4f820a
pop ecx
mov edx, dword [esi + 4]
xor edx, 0xe6ea0d64
add esi, edx
add edx, 8
jmp 0x4f81ed
lea edi, [0x5290]
mov esi, 0x6806
add esi, edi
add esi, ecx
add esi, 0x1c9c75
push esi
mov esi, edi
sub edi, edi
ret

Function at 0x4f931e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5635b8]
jne 0x4f9328
repz ret
jmp fcn.0050257c
Function at 0x5094a8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5635b8]
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.004fe9db
and dword [ebp - 0x14], 0
cmp dword [0x56afc4], 0
mov dword [ebp - 0x18], eax
jne 0x50955b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x509603
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x544b28
push ebx
call edi
test eax, eax
je 0x509603
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x544b18
push ebx
mov dword [0x56afc4], eax
call edi
push eax
call esi
push 0x544b04
push ebx
mov dword [0x56afc8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x56afcc], eax
call edi
push eax
call esi
mov dword [0x56afd4], eax
test eax, eax
je 0x50955b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x56afd0], eax
mov eax, dword [0x56afd0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5095b4
cmp dword [0x56afd4], ecx
je 0x5095b4
push eax
call esi
push dword [0x56afd4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5095b4
test ebx, ebx
je 0x5095b4
call edi
test eax, eax
je 0x5095ab
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5095ab
test byte [ebp - 8], 1
jne 0x5095b4
or dword [ebp + 0x10], 0x200000
jmp 0x5095e7
mov eax, dword [0x56afc8]
cmp eax, dword [ebp - 0x18]
je 0x5095e7
push eax
call esi
test eax, eax
je 0x5095e7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5095e7
mov eax, dword [0x56afcc]
cmp eax, dword [ebp - 0x18]
je 0x5095e7
push eax
call esi
test eax, eax
je 0x5095e7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x56afc4]
call esi
test eax, eax
je 0x509603
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x509605
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f931e
leave
ret
Function at 0x53b1d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xde000]
push edi
or ebp, 0xffffffff
jmp 0x53b1f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x53b1f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53b1e8
mov eax, 1
add ebx, ebx
jne 0x53b20b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x53b21c
jne 0x53b23b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53b23b
dec eax
add ebx, ebx
jne 0x53b228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x53b200
add ebx, ebx
jne 0x53b237
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x53b28d
xor ecx, ecx
sub eax, 3
jb 0x53b253
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53b2c2
sar eax, 1
mov ebp, eax
jmp 0x53b25e
add ebx, ebx
jne 0x53b25e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53b22c
inc ecx
add ebx, ebx
jne 0x53b26c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53b22c
add ebx, ebx
jne 0x53b279
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x53b26e
jne 0x53b28a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x53b26e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x53b2ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x53b29e
jmp 0x53b1ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x53b2ac
add edi, ecx
jmp 0x53b1ee
pop esi
mov edi, esi
mov ecx, 0x645f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x53b2ca
cmp byte [edi], 0x1c
jne 0x53b2ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x53b2cf
lea edi, [esi + 0x137000]
mov eax, dword [edi]
or eax, eax
je 0x53b33e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x140448]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x140574]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x53b2fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14057c]
or eax, eax
je 0x53b338
mov dword [ebx], eax
add ebx, 4
jmp 0x53b319
call dword [esi + 0x140578]
mov ebp, dword [esi + 0x140580]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x53b372
sub esp, 0xffffff80
jmp 0x4c632c
Function at 0x407d80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x407da4
xor eax, eax
jmp 0x407e24
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x407dbb
xor eax, eax
jmp 0x407e24
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x407e07
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x407e07
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x407dde
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x407e13
xor eax, eax
jmp 0x407e24
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x407e21
xor eax, eax
jmp 0x407e24
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40d4b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 4]
call fcn.0040ea60
test eax, eax
jne 0x40d4e6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
xor eax, eax
jmp 0x40d576
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x1ac], 0
je 0x40d4fa
mov ecx, dword [ebp - 4]
call fcn.0040d580
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 4]
mov dword [edx + 0x198], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], 0
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x40db50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1ac], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x1ac], 0
jne 0x40d552
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
xor eax, eax
jmp 0x40d576
push 2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1ac]
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40d580
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x1ac], 0
jne 0x40d5b7
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x10]
call edx
mov eax, 1
jmp 0x40d69d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1a8], 0
jne 0x40d5d7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
xor eax, eax
jmp 0x40d69d
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2c], 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1a8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x40d609
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
xor eax, eax
jmp 0x40d69d
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x1ac], 0
je 0x40d68b
push 0x1388
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40d66e
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1ac]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1ac]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1ac], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
xor eax, eax
jmp 0x40d69d
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1ac]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 0x1ac], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40df60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x2c], 0
je 0x40df87
mov ecx, dword [ebp - 4]
call fcn.0040e020
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x40dfb5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
xor eax, eax
jmp 0x40e019
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], 0
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x40e340
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x2c], 0
jne 0x40dff8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
xor eax, eax
jmp 0x40e019
push 2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4100d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
xor edi, edi
test ebx, ebx
je 0x4100e1
mov edi, dword [ebx]
cmp dword [ebp + 8], 0
je 0x41022c
cmp dword [ebp + 0xc], 0
je 0x41022c
mov eax, dword [ecx + 8]
push esi
test eax, eax
je 0x41013c
mov esi, dword [ebp + 0x14]
mov dword [ebp + 0x10], eax
test esi, esi
je 0x410175
lea ecx, [ebp + 0x10]
push ecx
push 0x20019
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x410175
test byte [0x5a828c], 4
je 0x41013c
push esi
push str.Couldnt_open_subkey:__s_n
push 3
push str.CRegistryEx::GetDWORD
call fcn.00410a80
add esp, 0x10
test ebx, ebx
je 0x410221
test byte [0x5a828c], 4
je 0x410162
push edi
push str.Returning_default_value:_0x_08X_n
push 3
push str.CRegistryEx::GetDWORD
call fcn.00410a80
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test byte [0x5a828c], 4
je 0x410193
push esi
push str.Opened_subkey:__s_n
push 3
push str.CRegistryEx::GetDWORD
call fcn.00410a80
add esp, 0x10
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 8], eax
test esi, esi
je 0x4101c6
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
test eax, eax
je 0x4101e2
test byte [0x5a828c], 4
je 0x41013c
push eax
push str.Error_querying_value:__d_n
jmp 0x41012d
test byte [0x5a828c], 4
je 0x410206
push dword [ebp + 0x14]
lea eax, [ebp + 0xc]
push eax
push str.Read_0x_08X_successfully._Type_d._n
push 3
push str.CRegistryEx::GetDWORD
call fcn.00410a80
add esp, 0x14
mov eax, dword [ebp + 0x14]
cmp eax, 4
je 0x410167
cmp eax, 3
jne 0x410221
cmp dword [ebp - 4], 4
je 0x410167
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10