joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45bb90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x59e9e9
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45bbcf
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x10], 0
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45bbff
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x10], 1
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45bc2d
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 8], eax
mov byte [esp + 0x10], 2
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45bc5b
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [esp + 0x10], 3
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45bc89
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 4
call fcn.0055d752
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 5
call fcn.0055d17f
lea ecx, [esi + 0x44]
mov byte [esp + 0x10], 6
call fcn.0055d17f
lea ecx, [esi + 0x58]
mov byte [esp + 0x10], 7
call fcn.0055d17f
lea ecx, [esi + 0x6c]
mov byte [esp + 0x10], 8
call fcn.0055d752
lea ecx, [esi + 0x80]
mov byte [esp + 0x10], 9
call fcn.0055d17f
lea ecx, [esi + 0x94]
mov byte [esp + 0x10], 0xa
call fcn.0055d17f
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x45bd20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x59e9e9
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
lea ecx, [esi + 0x94]
mov dword [esp + 0x10], 0xa
call fcn.0055d21d
lea ecx, [esi + 0x80]
mov byte [esp + 0x10], 9
call fcn.0055d21d
lea ecx, [esi + 0x6c]
mov byte [esp + 0x10], 8
call fcn.0055d769
lea ecx, [esi + 0x58]
mov byte [esp + 0x10], 7
call fcn.0055d21d
lea ecx, [esi + 0x44]
mov byte [esp + 0x10], 6
call fcn.0055d21d
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 5
call fcn.0055d21d
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 4
call fcn.0055d769
mov byte [esp + 0x10], 3
mov eax, dword [esi + 0x10]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bdcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10], 2
mov eax, dword [esi + 0xc]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bdf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10], 1
mov eax, dword [esi + 8]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45be15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10], 0
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45be39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x10], 0xffffffff
mov esi, dword [esi]
sub esi, 0x10
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45be5f
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x46a0a0
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x6e00], 0
jne 0x46a0e3
push str.TGSearch
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 0x6e08], eax
je 0x46a0e3
lea eax, [esi + 0x6e04]
push eax
push 0
push esi
push 0x46a170
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x6e00], eax
ret

Function at 0x46bd00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5a3ee7
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x6336a0]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x240]
xor edi, edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x46bec2
push esi
lea ecx, [esp + 0x14]
call fcn.004023b0
lea ebx, [esp + 0x10]
mov dword [esp + 0x238], edi
call fcn.0044a580
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call fcn.004023b0
push 0x5d616c
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x244], 1
call fcn.00401ba0
mov ecx, ebx
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x250], 2
call fcn.00401ae0
push str..url
push eax
lea eax, [esp + 0x40]
mov bl, 3
push eax
mov byte [esp + 0x25c], bl
call fcn.00401ba0
add esp, 0x24
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 4
call fcn.00402330
mov byte [esp + 0x238], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46be04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x238], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46be2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x238], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46be54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x238], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46be7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ebp
push ecx
call fcn.0049ab40
add esp, 8
test eax, eax
je 0x46be93
mov edi, 1
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46bebe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x46bed0
push 0
push 0
push 0x5edac8
call fcn.0055e834
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00577139
add esp, 0x22c
ret 4
Function at 0x476cf0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x59e890
mov eax, dword fs:[0]
push eax
push ebp
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.00563280
xor ebp, ebp
lea ecx, [edi + 8]
mov dword [esp + 0x18], ebp
call fcn.00563280
lea ecx, [edi + 0x10]
mov byte [esp + 0x18], 1
call fcn.00563280
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 2
call fcn.00563280
lea ecx, [edi + 0x20]
mov byte [esp + 0x18], 3
call fcn.00563280
lea ecx, [edi + 0x28]
mov byte [esp + 0x18], 4
call fcn.00563280
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 5
call fcn.00563280
lea ecx, [edi + 0x38]
mov byte [esp + 0x18], 6
call fcn.00563280
lea ecx, [edi + 0x40]
mov byte [esp + 0x18], 7
call fcn.00563280
lea ecx, [edi + 0x48]
mov byte [esp + 0x18], 8
call fcn.00563280
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 9
call fcn.00563280
mov eax, vtable.CBitmap.0
mov dword [edi + 0x60], ebp
mov dword [edi + 0x5c], eax
mov dword [edi + 0x68], ebp
mov dword [edi + 0x64], eax
mov dword [edi + 0x70], ebp
mov dword [edi + 0x6c], eax
lea esi, [edi + 0x8c]
mov byte [esp + 0x18], 0xd
call fcn.0049d180
lea esi, [edi + 0x128]
mov byte [esp + 0x18], 0xe
call fcn.0049d180
lea esi, [edi + 0x1c4]
mov byte [esp + 0x18], 0xf
call fcn.0049d180
lea esi, [edi + 0x260]
mov byte [esp + 0x18], 0x10
call fcn.0049d180
lea esi, [edi + 0x2fc]
mov byte [esp + 0x18], 0x11
call fcn.0049d180
lea esi, [edi + 0x398]
mov byte [esp + 0x18], 0x12
call fcn.0049d180
lea esi, [edi + 0x434]
mov byte [esp + 0x18], 0x13
call fcn.0049d180
lea esi, [edi + 0x4d0]
mov byte [esp + 0x18], 0x14
call fcn.0049d180
lea esi, [edi + 0x56c]
mov byte [esp + 0x18], 0x15
call fcn.0049d180
lea esi, [edi + 0x608]
mov byte [esp + 0x18], 0x16
call fcn.0049d180
lea esi, [edi + 0x6a4]
mov byte [esp + 0x18], 0x17
call fcn.0049d180
lea esi, [edi + 0x740]
mov byte [esp + 0x18], 0x18
call fcn.0049d180
lea esi, [edi + 0x7dc]
mov byte [esp + 0x18], 0x19
call fcn.0049d180
lea esi, [edi + 0x878]
mov byte [esp + 0x18], 0x1a
call fcn.0049d180
lea esi, [edi + 0x914]
mov byte [esp + 0x18], 0x1b
call fcn.0049d180
lea esi, [edi + 0x9b0]
mov byte [esp + 0x18], 0x1c
call fcn.0049d180
lea esi, [edi + 0xa4c]
mov byte [esp + 0x18], 0x1d
call fcn.0049d180
lea esi, [edi + 0xae8]
mov byte [esp + 0x18], 0x1e
call fcn.0049d180
lea esi, [edi + 0xb84]
mov byte [esp + 0x18], 0x1f
call fcn.0049d180
lea esi, [edi + 0xc20]
mov byte [esp + 0x18], 0x20
call fcn.0049d180
lea esi, [edi + 0xcbc]
mov byte [esp + 0x18], 0x21
call fcn.0049d180
lea esi, [edi + 0xd58]
mov byte [esp + 0x18], 0x22
call fcn.0049d180
lea esi, [edi + 0xdf4]
mov byte [esp + 0x18], 0x23
call fcn.0049d180
lea esi, [edi + 0xe90]
mov byte [esp + 0x18], 0x24
call fcn.0049d180
mov dword [edi + 0xf2c], 0x5f0338
mov dword [edi + 0xf30], ebp
mov dword [edi + 0xf3c], ebp
mov dword [edi + 0xf38], ebp
mov dword [edi + 0xf34], ebp
mov dword [edi + 0x58], 2
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 4
Function at 0x47a300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59e2c8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], vtable.CBitmap.0
lea esi, [ebp + 8]
mov edi, 1
mov dword [esp + 0x34], ebx
call fcn.00541660
xor eax, eax
cmp dword [ebp + 0x10], ebx
jle 0x47a372
cmp eax, ebx
jl 0x47a438
cmp eax, dword [esi + 8]
jge 0x47a438
mov ecx, dword [esi + 4]
lea ecx, [ecx + eax*4]
add eax, 1
mov dword [ecx], ebx
cmp eax, dword [ebp + 0x10]
jl 0x47a351
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, str.BtnSearchLane.bmp
mov ecx, 0x63c9f8
call fcn.004fe420
test eax, eax
je 0x47a3f9
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push 0
cdq
push 0
sub eax, edx
push 0x19
mov ebx, eax
push ecx
sar ebx, 1
push ebx
mov ecx, ebp
call fcn.005637ca
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 4]
push 0xff00ff
push edx
push eax
call fcn.005644f1
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.00439e90
mov ecx, dword [esp + 0x24]
lea edi, [ebp + 0x1c]
mov dword [edi + 0x40], ecx
lea ecx, [ebp + 0x20]
mov dword [edi + 0x24], 0
mov dword [edi], ebp
mov dword [edi + 0x3c], ebx
mov eax, dword [ecx + 8]
push 0
push eax
call fcn.0055d779
cmp dword [esi + 8], 0
jle 0x47a438
mov esi, dword [esi + 4]
mov dword [esi], edi
mov ebp, dword [ebp + 0x10]
xor eax, eax
test ebp, ebp
jle 0x47a409
add eax, 1
cmp eax, ebp
jl 0x47a402
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], vtable.CGdiObject.0
call fcn.0055b880
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
call fcn.00555520
int3
Function at 0x47b500
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x59e8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
cmp dword [esp + 0x34], 2
mov ebx, dword [edi]
jne 0x47b534
mov ebx, dword [edi + 8]
sub ebx, 6
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], vtable.CPen.0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 4]
push eax
push 1
push ecx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call fcn.0055b82d
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0055b905
mov edx, dword [edi + 4]
push edx
mov dword [esp + 0x34], eax
lea ebp, [ebx + 2]
push ebp
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0055b26f
mov ecx, dword [edi + 0xc]
push ecx
push ebp
mov ecx, esi
call fcn.0055af51
mov edx, dword [edi + 4]
push edx
lea ebp, [ebx + 3]
push ebp
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0055b26f
mov ecx, dword [edi + 0xc]
push ecx
push ebp
mov ecx, esi
call fcn.0055af51
mov edx, dword [edi + 4]
add edx, 1
push edx
lea ebp, [ebx + 1]
push ebp
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0055b26f
mov ecx, dword [edi + 4]
add ecx, 1
push ecx
lea eax, [ebx + 5]
push eax
mov ecx, esi
call fcn.0055af51
mov edx, dword [edi + 4]
push edx
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0055b26f
mov ecx, dword [edi + 4]
lea eax, [ebx + 6]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.0055af51
mov edx, dword [edi + 0xc]
sub edx, 1
push edx
push ebp
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0055b26f
mov ecx, dword [edi + 0xc]
sub ecx, 1
push ecx
lea eax, [ebx + 5]
push eax
mov ecx, esi
call fcn.0055af51
mov edx, dword [edi + 0xc]
push edx
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0055b26f
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x34]
push ecx
push edx
mov ecx, esi
call fcn.0055af51
mov eax, dword [esp + 0x30]
push eax
mov ecx, esi
call fcn.0055b905
lea ecx, [esp + 0x10]
call fcn.0055b880
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.CGdiObject.0
call fcn.0055b880
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x48ad10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5affe8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x401
push edi
lea edx, [esp + 0x24]
xor ebx, ebx
push edx
lea esi, [edi + 0x54]
push 0x50010020
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.00562d30
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.CBitmap.0
push 0xff00ff
push 7
push 0x12
push 0xe5
lea ecx, [edi + 0x160]
mov dword [esp + 0x58], ebx
call fcn.005637f1
call fcn.005644f1
mov eax, dword [eax + 0xc]
push 0xe5
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
lea ecx, [esp + 0x18]
call fcn.0055b82d
mov eax, dword [esp + 0x18]
mov edi, dword [edi + 0x164]
push 0xffffff
push eax
push edi
call fcn.005644f1
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.00439e90
lea ecx, [esp + 0x14]
call fcn.0055b880
call fcn.004868c0
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CGdiObject.0
call fcn.0055b880
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48d920
Capabilities:
Create thread

Disassembly:
mov eax, dword [esi]
xor ecx, ecx
cmp eax, ecx
push ebp
mov ebp, dword [esp + 8]
je 0x48d947
cmp dword [esi + 0xc], ecx
je 0x48d9cc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
pop ebp
ret 0x18
push edi
push 0xffffffffffffffff
mov dword [esi + 0xc], ecx
mov dword [esi + 8], ecx
lea edi, [esi + 0x24]
push ecx
mov ecx, edi
call fcn.0055d23e
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x48d96a
mov ecx, dword [edi + 8]
push ebx
push ecx
jmp 0x48d990
mov edx, dword [ebp]
cmp dword [edx - 0xc], 0
je 0x48d97f
mov eax, dword [edi + 8]
push ebp
push eax
mov ecx, edi
call fcn.0055d4af
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x48d997
mov edx, dword [edi + 8]
push eax
push edx
mov ecx, edi
call fcn.0055d4af
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x18], ecx
lea ecx, [esi + 4]
push ecx
push 0
push esi
push 0x48d8e0
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x30]
push 0
push 0
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop edi
pop ebp
ret 0x18
Function at 0x491050
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x59e00a
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
lea ecx, [esi + 0x80]
mov dword [esp + 0x10], 6
call fcn.0055d21d
lea ecx, [esi + 0x6c]
mov byte [esp + 0x10], 5
call fcn.0055d769
lea ecx, [esi + 0x58]
mov byte [esp + 0x10], 4
call fcn.0055d21d
lea ecx, [esi + 0x44]
mov byte [esp + 0x10], 3
call fcn.0055d21d
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 2
call fcn.0055d21d
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 1
call fcn.0055d21d
lea ecx, [esi + 8]
mov byte [esp + 0x10], 0
call fcn.0055d21d
mov dword [esp + 0x10], 0xffffffff
mov esi, dword [esi]
sub esi, 0x10
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4910fc
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x4916e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59df9a
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x491720
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
lea edi, [esi + 8]
mov ecx, edi
mov dword [esp + 0x14], 0
call fcn.0055d17f
mov dword [edi], vtable.CStringArrayEx.0
lea edi, [esi + 0x1c]
mov ecx, edi
mov byte [esp + 0x14], 1
call fcn.0055d17f
mov dword [edi], vtable.CStringArrayEx.0
lea edi, [esi + 0x30]
mov ecx, edi
mov byte [esp + 0x14], 2
call fcn.0055d17f
mov dword [edi], vtable.CStringArrayEx.0
lea edi, [esi + 0x44]
mov ecx, edi
mov byte [esp + 0x14], 3
call fcn.0055d17f
mov dword [edi], vtable.CStringArrayEx.0
lea edi, [esi + 0x58]
mov ecx, edi
mov byte [esp + 0x14], 4
call fcn.0055d17f
mov dword [edi], vtable.CStringArrayEx.0
lea edi, [esi + 0x6c]
mov ecx, edi
mov byte [esp + 0x14], 5
call fcn.0055d752
mov dword [edi], vtable.CUIntArrayEx.0
lea edi, [esi + 0x80]
mov ecx, edi
mov byte [esp + 0x14], 6
call fcn.0055d17f
mov dword [edi], vtable.CStringArrayEx.0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4925f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x28], ebx
push ebp
jle 0x4927de
lea ecx, [ecx]
test edi, edi
jl 0x4927f7
cmp edi, dword [esi + 0x14]
jge 0x4927f7
mov eax, dword [esi + 0x10]
mov eax, dword [eax + edi*4]
mov edx, dword [esp + 0xc]
add eax, 0x6c
test edx, edx
jl 0x4927f7
cmp edx, dword [eax + 8]
jge 0x4927f7
test ebx, ebx
jl 0x4927f7
cmp ebx, dword [esi + 0x78]
jge 0x4927f7
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x74]
mov ecx, dword [ecx + edx*4]
cmp ecx, dword [eax + ebx*4]
lea ebp, [edx*4]
jne 0x4927d2
cmp ebx, dword [esi + 0x64]
jge 0x4927f7
cmp edi, dword [esi + 0x14]
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + ebx*4]
jge 0x4927f7
mov eax, dword [esi + 0x10]
mov eax, dword [eax + edi*4]
add eax, 0x58
cmp edx, dword [eax + 8]
jge 0x4927f7
test ecx, ecx
je 0x4927e6
mov edx, dword [eax + 4]
mov eax, dword [edx + ebp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4926b7
test dx, dx
je 0x4926b3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4926b7
add eax, 4
add ecx, 4
test dx, dx
jne 0x492691
xor eax, eax
jmp 0x4926bc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4927d2
cmp ebx, dword [esi + 0x28]
jge 0x4927f7
cmp edi, dword [esi + 0x14]
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + ebx*4]
jge 0x4927f7
mov edx, dword [esi + 0x10]
mov eax, dword [edx + edi*4]
mov edx, dword [esp + 0xc]
add eax, 8
cmp edx, dword [eax + 8]
jge 0x4927f7
test ecx, ecx
je 0x4927e6
mov eax, dword [eax + 4]
mov eax, dword [eax + ebp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x492726
test dx, dx
je 0x492722
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x492726
add eax, 4
add ecx, 4
test dx, dx
jne 0x492700
xor eax, eax
jmp 0x49272b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4927d2
cmp ebx, dword [esi + 0x3c]
jge 0x4927f7
cmp edi, dword [esi + 0x14]
mov ecx, dword [esi + 0x38]
mov ecx, dword [ecx + ebx*4]
jge 0x4927f7
mov edx, dword [esi + 0x10]
mov eax, dword [edx + edi*4]
mov edx, dword [esp + 0xc]
add eax, 0x1c
cmp edx, dword [eax + 8]
jge 0x4927f7
test ecx, ecx
je 0x4927e6
mov eax, dword [eax + 4]
mov eax, dword [eax + ebp]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x492796
test dx, dx
je 0x492792
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x492796
add eax, 4
add ecx, 4
test dx, dx
jne 0x492770
xor eax, eax
jmp 0x49279b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4927d2
cmp ebx, dword [esi + 0x50]
jge 0x4927f7
cmp edi, dword [esi + 0x14]
mov ecx, dword [esi + 0x4c]
mov ecx, dword [ecx + ebx*4]
jge 0x4927f7
mov edx, dword [esi + 0x10]
mov eax, dword [edx + edi*4]
mov edx, dword [esp + 0xc]
add eax, 0x30
cmp edx, dword [eax + 8]
jge 0x4927f7
mov eax, dword [eax + 4]
add eax, ebp
push ecx
mov ecx, eax
call fcn.004043e0
test eax, eax
je 0x4927f0
add ebx, 1
cmp ebx, dword [esi + 0x28]
jl 0x492600
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
push 0x80004005
call fcn.00401f90
pop ebp
mov eax, ebx
pop ebx
ret 4
call fcn.00555520
int3
Function at 0x4972a0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0x5d2b58
push 0
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4972da
xor eax, eax
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0xc]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
add esp, 8
ret

Function at 0x497310
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
push 0
lea eax, [esp + 0xc]
push eax
push 0
push edi
push ebx
mov dword [esi], 0
mov dword [esp + 0x1c], 0
call ebp
test eax, eax
jne 0x497365
mov ecx, dword [esi]
add ecx, 2
push ecx
call fcn.00555176
mov edx, dword [esp + 0x10]
add esp, 4
push esi
push eax
mov dword [edx], eax
lea eax, [esp + 0xc]
push eax
push 0
push edi
push ebx
call ebp
test eax, eax
jne 0x497365
mov eax, 1
pop ebp
pop ecx
ret
xor eax, eax
pop ebp
pop ecx
ret