joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434f80
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46b628
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x434fb9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4350cc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x434fcd
mov eax, 0xffffffc7
jmp 0x4350ce
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x434fde
cmp dword [esi + 8], eax
jne 0x434fcd
cmp dword [esi + 8], eax
jne 0x434ff7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x434ff7
mov eax, 0xffffffc7
jmp 0x4350ce
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43500b
push eax
mov ecx, ebx
call fcn.004347b0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00405f30
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43503c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00405f50
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00433f20
test eax, eax
mov dword [esp + 0x38], eax
je 0x43506f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x58cd50
call fcn.00406130
mov eax, dword [esp + 0x38]
jmp 0x4350ce
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00434de0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4350b3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00434e00
mov esi, eax
test esi, esi
jne 0x4350e3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00434de0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x435085
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x58cd50
call fcn.00406130
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x58cd50
call fcn.00406130
mov eax, esi
jmp 0x4350ce

Function at 0x438200
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x438260
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x438260
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x438260
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x438260
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4382a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43e3d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46bc58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00464a8b
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043dd70
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004649b9
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046127d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046127d
push 1
push 0
push 0
mov ecx, esi
call fcn.00461225
push 1
push 0
push 1
mov ecx, esi
call fcn.00461225
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00464afd
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43e550
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46bc78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00464a8b
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043dd70
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004649b9
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43e614
cmp dword [esp + 0x40], 1
jne 0x43e612
cmp ecx, eax
jge 0x43e614
mov eax, ecx
cmp eax, 0xc8
jge 0x43e620
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043e3d0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00464afd
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43ed90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46bce3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045f69b
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00464d33
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00466292
test eax, eax
je 0x43eeac
mov ecx, dword [esp + 0x3c]
call fcn.00464d60
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43ee70
push edi
mov ecx, esi
call fcn.004623c4
mov ecx, esi
call fcn.0043f010
cmp dword [esp + 0x38], 1
jne 0x43eea5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004624ff
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4418d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x441903
push esi
call fcn.004449d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4418fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x441989
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441972
mov eax, dword [esi + 8]
test eax, eax
je 0x441927
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44196e
cmp eax, 2
je 0x441972
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44191a
cmp eax, 3
je 0x44194d
cmp eax, 1
jne 0x44191a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44191a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44191a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004419b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441998
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004419b0
add esp, 4
pop esi
ret

Function at 0x460490
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4604c8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045e547
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045e51f
jmp 0x4604d4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x461b81
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x461bc3
call fcn.00467682
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x461bc3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x461bba
xor eax, eax
jmp 0x461bcb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00461bd1
pop edi
pop esi
pop ebx
ret 4

Function at 0x467bb2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x467be0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x467bfe
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00467b18
jmp 0x467bfe
mov eax, dword [esi + 0x14]
test eax, eax
je 0x467bfe
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00467b18
test edi, edi
mov eax, edi
jne 0x467be8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fced8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x28]
lea eax, [esp + 0xc]
push edi
push eax
mov ecx, esi
call fcn.00401a00
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.005d4fd4
mov edi, dword [esp + 0x28]
mov eax, dword [esi + 0xc]
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], eax
call fcn.004f5af0
mov bl, byte [esp + 0x30]
test bl, bl
je 0x401988
mov eax, dword [edi + 0x14]
push 4
not eax
test al, 1
je 0x40197c
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.005e1975
jmp 0x401988
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.005e1866
test byte [edi + 0x14], 1
je 0x4019d2
test bl, bl
je 0x4019b6
mov edx, dword [esp + 0x2c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov ebx, dword [esp + 0xc]
not ecx
dec ecx
add ecx, edx
push ecx
push edx
mov ecx, esi
call fcn.00401aa0
mov dword [esi + 0xc], ebx
jmp 0x4019d2
push 0
lea ecx, [esp + 0x30]
sub esp, 8
mov eax, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0041be70
mov ecx, esi
call fcn.004fa9c0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
call fcn.005dd1b0
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret
Function at 0x402060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fd07c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push esi
push edi
mov esi, ecx
push 1
call fcn.005dc0ed
mov eax, dword [0x6c396c]
lea ecx, [esp + 0x10]
lea edi, [eax + 8]
call fcn.0041a0a0
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0xa8], ebx
call fcn.004023b0
lea ecx, [esp + 0x30]
mov byte [esp + 0xa8], 1
call fcn.0041a0a0
lea ecx, [esp + 0x40]
mov byte [esp + 0xa8], 2
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00402420
lea ecx, [esp + 0x74]
mov byte [esp + 0xa8], 3
call fcn.0041a0a0
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 4
call fcn.0048f6e0
lea ecx, [esp + 0x80]
mov dword [esp + 0xa8], 5
call fcn.00402280
mov word [esp + 0x90], bx
push edi
lea ecx, [esp + 0x14]
mov byte [esp + 0xac], 6
call fcn.004025c0
lea ecx, [esi + 0x110]
mov dword [esp + 0xa8], 7
push ecx
lea ecx, [esp + 0x24]
call fcn.005dd29d
lea edx, [esi + 0x114]
lea ecx, [esp + 0x24]
push edx
call fcn.005dd29d
mov ecx, dword [esi + 0x10c]
mov eax, dword [esi + 0x108]
push ebx
lea edx, [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x6c396c]
push 1
push edx
mov dword [esp + 0x38], eax
call fcn.004957c0
push ebx
mov ecx, esi
call fcn.005dc0ed
lea eax, [esp + 0x80]
mov dword [esp + 0xa8], 8
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
sub eax, ecx
mov byte [esp + 0xa8], 9
push eax
push ecx
lea ecx, [esp + 0x90]
push ebx
push ecx
call fcn.004ef010
add esp, 8
mov ecx, eax
call fcn.00402b70
lea ecx, [esp + 0x74]
mov dword [esp + 0xa8], 0xd
call fcn.005dd1b0
lea edx, [esp + 0x40]
mov dword [esp + 0xc], edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 0xe
call fcn.005dd1b0
lea ecx, [esp + 0x50]
mov byte [esp + 0xa8], 0xf
call fcn.00402d60
lea ecx, [esp + 0x40]
mov byte [esp + 0xa8], 0xc
call fcn.005dd1b0
lea ecx, [esp + 0x30]
mov byte [esp + 0xa8], 0xb
call fcn.005dd1b0
lea eax, [esp + 0x20]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa8], 0x10
call fcn.005dd1b0
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 0xa
call fcn.005dd1b0
lea ecx, [esp + 0x10]
mov dword [esp + 0xa8], 0xffffffff
call fcn.005dd1b0
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret
Function at 0x4026c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5fd1a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x64]
mov dword [esp + 0x20], 3
call fcn.005dd1b0
lea ebx, [esi + 0x30]
mov dword [esp + 0x10], ebx
lea ecx, [ebx + 0x2c]
mov byte [esp + 0x20], 4
call fcn.005dd1b0
lea edi, [ebx + 0x10]
mov dword [esp + 0x14], edi
mov dword [edi], method.CGopherLocator.virtual_0
mov eax, dword [edi + 4]
mov byte [esp + 0x20], 6
test eax, eax
je 0x402734
mov ecx, dword [edi + 8]
push ecx
push eax
call fcn.00402fe0
mov edi, dword [edi + 4]
push edi
call fcn.005dd7a4
add esp, 4
mov ecx, ebx
mov byte [esp + 0x20], 2
call fcn.005dd1b0
lea ecx, [esi + 0x20]
mov byte [esp + 0x20], 1
call fcn.005dd1b0
lea edi, [esi + 0x10]
mov dword [esp + 0x14], edi
lea ecx, [edi + 4]
mov byte [esp + 0x20], 7
call fcn.005dd1b0
mov ecx, edi
mov byte [esp + 0x20], 0
call fcn.005dd1b0
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.005dd1b0
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x402800
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5fd234
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x70]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], ecx
mov eax, dword [ecx]
mov ecx, dword [ecx + 8]
sub ecx, eax
mov byte [esp + 0x18], 1
test eax, eax
je 0x402849
push ecx
push eax
call fcn.00401ce0
add esp, 8
lea ecx, [esi + 0x64]
mov dword [esp + 0x18], 5
call fcn.005dd1b0
lea edi, [esi + 0x30]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x2c]
mov byte [esp + 0x18], 6
call fcn.005dd1b0
lea ecx, [edi + 0x10]
mov byte [esp + 0x18], 7
call fcn.00402d60
mov ecx, edi
mov byte [esp + 0x18], 4
call fcn.005dd1b0
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 3
call fcn.005dd1b0
lea edi, [esi + 0x10]
mov dword [esp + 0xc], edi
lea ecx, [edi + 4]
mov byte [esp + 0x18], 8
call fcn.005dd1b0
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.005dd1b0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.005dd1b0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x404080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fd52c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6abf00]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], eax
mov ecx, dword [0x6abf00]
xor eax, eax
mov dword [esi + 0x10], ecx
mov edx, dword [0x6abf00]
mov dword [esp + 0x1c], eax
mov dword [esi + 0x14], edx
mov ecx, dword [0x6abf00]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov edx, dword [0x6abf00]
lea edi, [esi + 0x30]
mov dword [esp + 0x10], edi
mov dword [edi], edx
lea ebx, [edi + 0x10]
mov byte [esp + 0x1c], 3
mov ecx, ebx
call fcn.004049e0
mov dword [ebx], method.CGopherLocator.virtual_0
mov eax, dword [0x6abf00]
mov dword [edi + 0x2c], eax
mov ecx, dword [0x6abf00]
mov dword [esi + 0x64], ecx
mov ecx, esi
mov byte [esp + 0x1c], 5
call fcn.0048f6e0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x404f10
Capabilities:
Set registry value

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push esi
xor esi, esi
mov eax, 0x6bb468
test ecx, ecx
mov dword [esp + 4], esi
je 0x404f59
lea edx, [esp + 4]
mov eax, dword [0x6bb468]
push edx
lea edx, [esp + 0x10]
push edx
push esi
push 0xf003f
push esi
push esi
push esi
push ecx
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x404f8c
mov esi, dword [esp + 0xc]
lea eax, [esp + 4]
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xc]
push 4
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [eax]
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x404f85
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
pop ecx
ret 0xc
xor al, al
pop esi
pop ecx
ret 0xc

Function at 0x404fa0
Capabilities:
Set registry value

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebx
push esi
xor esi, esi
test ecx, ecx
mov dword [esp + 8], esi
mov ebx, 0x6bb468
je 0x404fea
lea edx, [esp + 8]
mov eax, dword [0x6bb468]
push edx
lea edx, [esp + 0x14]
push edx
push esi
push 0xf003f
push esi
push esi
push esi
push ecx
push eax
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40501f
mov esi, dword [esp + 0x10]
lea ebx, [esp + 8]
mov dword [esp + 8], esi
push edi
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebx]
inc eax
push eax
mov eax, dword [esp + 0x1c]
push edi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
pop edi
je 0x405017
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, 1
pop ebx
pop ecx
ret 0x10
pop esi
xor al, al
pop ebx
pop ecx
ret 0x10
Function at 0x405030
Capabilities:
Set registry value

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push esi
xor esi, esi
mov eax, 0x6bb468
test ecx, ecx
mov dword [esp + 4], esi
je 0x405079
lea edx, [esp + 4]
mov eax, dword [0x6bb468]
push edx
lea edx, [esp + 0x10]
push edx
push esi
push 0xf003f
push esi
push esi
push esi
push ecx
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4050a7
mov esi, dword [esp + 0xc]
lea eax, [esp + 4]
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [eax]
push 3
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x4050a0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
pop ecx
ret 0x10
xor al, al
pop esi
pop ecx
ret 0x10

Function at 0x405180
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x10]
push esi
xor esi, esi
mov eax, 0x6bb468
test ecx, ecx
mov dword [esp + 4], esi
je 0x4051cb
lea edx, [esp + 8]
mov eax, dword [0x6bb468]
push edx
lea edx, [esp + 0x18]
push edx
push esi
push 0xf003f
push esi
push esi
push esi
push ecx
push eax
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x405209
mov esi, dword [esp + 0x14]
lea eax, [esp + 4]
mov dword [esp + 4], esi
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x20]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x405214
test esi, esi
je 0x405209
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
pop esi
add esp, 0xc
ret 0xc
push edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x405224
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret 0xc