joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bbe70
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4cb588
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x509354]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x34]
sub esp, 0x1c
mov ecx, esp
mov ebx, 7
xor eax, eax
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], 0
mov word [ecx + 4], ax
mov eax, edi
mov dword [esp + 0x30], esp
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4bbec1
sub eax, esi
sar eax, 1
push eax
push edi
call fcn.00401cd6
mov esi, dword [esp + 0x4c]
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x18], ebx
xor edx, edx
mov eax, esi
mov dword [ecx + 0x14], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x6c], esp
mov word [ecx + 4], dx
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4bbf01
sub eax, ebx
sar eax, 1
push eax
push esi
call fcn.00401cd6
mov ebx, dword [esp + 0x48]
mov ecx, ebx
mov dword [esp + 0x58], 0xffffffff
call fcn.004bba30
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
push eax
push edi
push esi
push ecx
mov ecx, ebx
call fcn.004b7930
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x14

Function at 0x4bfd30
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4cb7c0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x509354]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x34]
push ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x40]
xor eax, eax
mov word [esp + 0x18], ax
mov eax, edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4bfd90
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00401cd6
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esi + 0x18]
mov byte [esp + 0x40], 1
call fcn.004bfb60
cmp dword [esp + 0x2c], 8
mov edi, dword [eax]
jb 0x4bfdd7
mov eax, dword [esp + 0x18]
push eax
call fcn.0048e006
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], cx
cmp edi, dword [esi + 0x1c]
jne 0x4bfe11
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4
cmp dword [edi + 0x40], 8
jb 0x4bfe1c
mov edi, dword [edi + 0x2c]
jmp 0x4bfe1f
add edi, 0x2c
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4
Function at 0x4c06f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4cb850
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x509354]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x34]
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00401b3f
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0xc]
mov byte [esp + 0x4c], 1
call fcn.004c0630
mov eax, dword [eax]
mov ecx, 0x10
add eax, ecx
cmp dword [eax + 0x18], ecx
jb 0x4c077f
mov edi, dword [eax + 4]
jmp 0x4c0782
lea edi, [eax + 4]
cmp dword [esp + 0x38], ecx
jb 0x4c0795
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0048e006
add esp, 4
push esi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret 8

Function at 0x4c07d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4cb888
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x509354]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x34]
push edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x80]
xor eax, eax
mov word [esp + 0x20], ax
mov eax, edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c0831
sub eax, ebx
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00401cd6
mov ecx, dword [esp + 0x84]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 1
call fcn.004bfc40
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x18]
mov byte [esp + 0x80], 2
call fcn.004bb320
mov eax, dword [eax]
add eax, 0x28
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x4c0893
mov esi, dword [eax + 4]
jmp 0x4c0896
lea esi, [eax + 4]
lea ecx, [esp + 0x38]
call fcn.004b8660
cmp dword [esp + 0x34], ebx
jb 0x4c08b2
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0048e006
add esp, 4
xor edx, edx
push edi
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], dx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x6c
ret 8
Function at 0x4c0c10
Capabilities:
Access peb ldr_data
Get process heap flags
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4cb8ce
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x509354]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
call fcn.00407a07
mov dword [esi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x2c], ebx
call fcn.004bf610
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x18]
mov ecx, edi
mov byte [esp + 0x2c], 1
call fcn.004b80d0
mov dword [edi + 4], eax
mov byte [eax + 0x45], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x24]
mov ecx, edi
mov byte [esp + 0x2c], 2
call fcn.004628a0
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
lea eax, [esi + 0x34]
mov dword [edi + 8], ebx
push eax
mov byte [esi + 0x30], bl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
push str.SoftwarePoliciesAdobeAcrobat_Reader10.0FeatureLockDown
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c0d61
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push str.bDisableCryptBroker
mov edi, 4
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c0d56
cmp dword [esp + 0x14], edi
jne 0x4c0d56
cmp dword [esp + 0x18], edi
jne 0x4c0d56
cmp dword [esp + 0x1c], ebx
setne al
mov byte [esi + 0x30], al
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x4c4f10
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4cb9f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x509354]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.acrobat_broker::WininetCallbackReceiver.0
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], ebx
call fcn.004628a0
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x401230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401249
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40125d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40127e
cmp esi, eax
jae 0x401257
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401270
cmp esi, eax
jae 0x401257
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4664f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.0045a24d
push eax
lea ecx, [esp + 0x30]
call fcn.004603cb
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.0045a24d
mov ecx, eax
call fcn.00460154
mov eax, dword [esi + 0x148]
test eax, eax
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x401922
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x144]
call fcn.00460334
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x154]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00460631
test edi, edi
je 0x4018d8
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x148]
push edi
push eax
call fcn.004606ba
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x15c], eax
mov eax, dword [esp + 0x24]
sub eax, ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [esi + 0x148]
sub ecx, edi
push ecx
push 0
push 0
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x144]
sub ecx, edi
test edx, edx
je 0x401943
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00460426
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x402900
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push eax
push 0
push 1
xor bl, bl
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40292e
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret

Function at 0x402940
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1004
call fcn.00446b30
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
xor ebx, ebx
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x4029b9
xor eax, eax
mov dword [esp + 0x10], ebx
mov ecx, 0x3ff
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push 0x1000
lea edx, [esp + 0x18]
push edx
push esi
mov dword [esp + 0x1c], ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4029b2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
jbe 0x4029b2
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411b40
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x467a10
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push esi
push edi
mov edi, dword [esp + 0x74]
push edi
lea eax, [esp + 0x78]
push eax
mov esi, ecx
call fcn.0040b2b0
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jne 0x411c41
push ebx
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040f5a0
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
xor ebx, ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x40], eax
call fcn.00410890
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov byte [esp + 0x78], 1
call fcn.004117e0
mov esi, dword [eax]
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x411bd1
push eax
call fcn.0045ce75
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call fcn.0040e660
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0045ce75
mov eax, dword [esp + 0x2c]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x48], ebx
je 0x411c08
push eax
call fcn.0045ce75
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0040e660
mov edx, dword [esp + 0x1c]
push edx
call fcn.0045ce75
add esp, 4
pop ebx
pop edi
lea eax, [esi + 0xc]
pop esi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 4
lea eax, [ecx + 0xc]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x68
ret 4
Function at 0x419fa0
Capabilities:
Enumerate process modules

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x468398
push eax
mov eax, 0x2004
mov dword fs:[0], esp
call fcn.00446b30
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x400
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push 0x1000
lea ecx, [esp + 0x1018]
xor esi, esi
push ecx
mov dword [esp + 0x2024], esi
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
mov ebx, dword [esp + 0x2020]
je 0x41a035
mov eax, dword [esp + 0xc]
push 0x400
lea edx, [esp + 0x14]
push edx
shr eax, 2
push ebx
push eax
lea eax, [esp + 0x1020]
push eax
call fcn.004029d0
mov edi, eax
add esp, 0x14
cmp edi, esi
jle 0x41a035
mov ecx, dword [esp + esi*4 + 0x10]
push ecx
call fcn.00402900
add esp, 4
inc esi
cmp esi, edi
jl 0x41a023
lea eax, [ebx - 0x10]
mov dword [esp + 0x2018], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
pop esi
pop ebx
jg 0x41a05d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x2004]
mov dword fs:[0], ecx
add esp, 0x2010
ret 4
Function at 0x41c490
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4686eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
mov eax, dword [0x487cdc]
push ebx
push esi
push edi
mov dword [esp + 0x32c], eax
mov ebx, ecx
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0xc2
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x30c
lea eax, [esp + 0x1c]
xor esi, esi
push eax
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.004049d0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x33c], esi
mov esi, dword [eax - 0xc]
test esi, esi
jg 0x41c52e
add eax, 0xfffffff0
mov dword [esp + 0x33c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41c613
lea eax, [esp + 0x14]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x41c560
push 0x470ccc
push str._s_r_n
push 0
call fcn.00430ba0
add esp, 0xc
jmp 0x41c5f4
mov eax, dword [ebx + 0x284]
test eax, eax
je 0x41c5a9
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push esi
push eax
push 1
push 0
push str.GMWeb_AutoRun
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x41c5e9
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x470cac
push str._s_r_n
push 0
call fcn.00430ba0
add esp, 0xc
jmp 0x41c5f4
mov eax, dword [esp + 0x14]
push str.GMWeb_AutoRun
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x41c5e9
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x33c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41c613
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x33c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c61d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x334]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x32c]
call fcn.00446654
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e3e0
Capabilities:
Get common file path
Set current directory

Disassembly:
push esi
push 1
mov esi, ecx
call fcn.00459a9e
test eax, eax
je 0x41e421
mov eax, dword [esi + 0x1bdc]
test eax, eax
jle 0x41e421
call fcn.00407640
mov ecx, dword [esi + 0x1bdc]
mov dword [eax + 0xcc], ecx
mov ecx, eax
call fcn.00405270
push 1
mov ecx, esi
call fcn.0041ca90
mov ecx, esi
pop esi
jmp fcn.0041ac60
pop esi
ret
Function at 0x420c40
Capabilities:
Enumerate process modules

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x468e64
push eax
mov eax, 0x1010
mov dword fs:[0], esp
call fcn.00446b30
push esi
mov esi, ecx
mov eax, dword [esi + 0x274]
test eax, eax
je 0x420e6f
cmp dword [eax + 8], 2
sete al
movzx eax, al
test eax, eax
je 0x420e6f
mov edx, dword [esi + 0x23bc]
push ebp
lea ebp, [esi + 0x23bc]
mov ecx, ebp
call dword [edx + 0x2c]
test al, al
jne 0x420dd5
lea eax, [esp + 0x10]
push eax
push 0x1000
lea ecx, [esp + 0x20]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x420dd5
push edi
mov edi, dword [esp + 0x14]
shr edi, 2
call fcn.0045ced0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x1024], 0
call fcn.0045ced0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x28c]
mov byte [esp + 0x1028], 1
call fcn.0045acd0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 0x41c]
call fcn.0045acd0
mov edx, dword [esp + 0x10]
push edx
push str._APMXE_
lea ecx, [esp + 0x14]
call fcn.00403450
mov eax, dword [esp + 0xc]
push 0
push 0
push eax
lea ecx, [esp + 0x28]
push edi
push ecx
call fcn.004029d0
add esp, 0x14
test eax, eax
pop edi
lea ecx, [esi + 0xcdc]
jne 0x420d6b
push 1
call fcn.0045c3ad
push 0
lea ecx, [esi + 0x109c]
call fcn.0045c3ad
mov ecx, esi
call fcn.0041f510
jmp 0x420d86
push 0
call fcn.0045c3ad
push 1
lea ecx, [esi + 0x109c]
call fcn.0045c3ad
mov ecx, esi
call fcn.0041e430
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x1020], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420dac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x1020], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420dd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x2c]
test al, al
pop ebp
je 0x420e6f
mov ecx, esi
call fcn.0041e0f0
mov eax, dword [esi + 0x2cfc]
test eax, eax
jne 0x420e6f
push 0x38c
call fcn.0045ce45
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x101c], 2
je 0x420e21
push esi
mov ecx, eax
call fcn.00411a30
jmp 0x420e23
xor eax, eax
mov ecx, eax
mov dword [esp + 0x101c], 0xffffffff
mov dword [esi + 0x2cfc], eax
call fcn.00410dd0
test eax, eax
je 0x420e6f
push 0x6e1
push str..GMWebDlg.cpp
push 2
push eax
call fcn.004310d0
mov ecx, dword [esi + 0x2cfc]
add esp, 0x10
test ecx, ecx
je 0x420e65
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0x2cfc], 0
mov ecx, dword [esp + 0x1014]
pop esi
mov dword fs:[0], ecx
add esp, 0x101c
ret