joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418e00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x48cd40
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ada68]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
push 0x49a277
lea ecx, [ebp - 0x14]
mov edi, edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
call fcn.00403280
push 0x207
lea eax, [ebp + 1]
push ebx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp], bl
call fcn.00456ba0
add esp, 0xc
push 5
push str.CLSID
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], 0x208
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 1
call fcn.00403170
call fcn.00436fa8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x418ea4
push 0x80004005
call fcn.00405de0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
push esi
lea ecx, [ebp - 0x1c]
push str._sInprocServer32
push ecx
mov byte [ebp - 4], 2
call fcn.0040b660
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00402c40
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x418ef7
push ebx
lea ecx, [ebp - 0x14]
call fcn.004030c0
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x418f25
push 0x4a512c
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], eax
call fcn.00456eab
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x18]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push 0x49a277
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x418f59
mov dword [ebp - 0x28], eax
push 0x4a512c
lea eax, [ebp - 0x28]
push eax
call fcn.00456eab
mov ecx, 0x41
lea esi, [ebp]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418f90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x418f90
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x418f9e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418fc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0044fdb2
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x41a9e0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x30c]
sub esp, 0x30c
push 0xffffffffffffffff
push 0x48cc78
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4ada68]
xor eax, ebp
mov dword [ebp + 0x308], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0xff
lea eax, [ebp + 0x209]
push ebx
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp + 0x208], bl
call fcn.00456ba0
push 0x207
lea ecx, [ebp + 1]
push ebx
mov dword [ebp - 4], ebx
push ecx
mov byte [ebp], bl
call fcn.00456ba0
add esp, 0x18
push 0x208
lea edx, [ebp]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x41aa64
mov ecx, dword [str.Driversetchosts]
mov edx, dword [0x49b790]
mov dword [eax], ecx
mov ecx, dword [0x49b794]
mov dword [eax + 4], edx
mov edx, dword [0x49b798]
mov dword [eax + 8], ecx
mov cx, word [0x49b79c]
mov dword [eax + 0xc], edx
mov dl, byte [0x49b79e]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], dl
lea eax, [ebp]
push 0x49b7a0
push eax
call fcn.00451ade
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
cmp esi, ebx
jne 0x41aad7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a512c
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
call fcn.00456eab
mov edi, 0xf
jmp 0x41aae3
mov esi, dword [ebp - 0x18]
push esi
call fcn.00451b48
add esp, 4
test eax, eax
jne 0x41abd2
push esi
lea edx, [ebp + 0x208]
push 0x100
push edx
call fcn.00451bb0
sub esp, 0x10
mov ecx, esp
lea eax, [ebp + 0x208]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov dword [ebp - 0x1c], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41ab20
sub eax, esi
push eax
lea eax, [ebp + 0x208]
push eax
call fcn.00416280
call fcn.0041a600
add esp, 0x1c
cmp eax, ebx
jne 0x41aae0
sub esp, 0x1c
mov ecx, esp
mov eax, str.zj96596.com
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov dword [ebp - 0x1c], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
jmp 0x41ab60
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41ab60
sub eax, esi
push eax
mov eax, str.zj96596.com
push eax
call fcn.00416280
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 1
lea eax, [ebp + 0x208]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov dword [ebp - 0x24], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41ab93
sub eax, esi
push eax
lea edx, [ebp + 0x208]
push edx
call fcn.00416280
mov byte [ebp - 4], bl
call fcn.0041a760
add esp, 0x38
cmp eax, ebx
jne 0x41abbf
mov eax, 3
jmp 0x41abe2
mov dword [ebp - 0x14], ebx
jmp 0x41aae0
cmp esi, ebx
je 0x41abdf
push esi
call fcn.00451d6f
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x308]
xor ecx, ebp
call fcn.0044fdb2
add ebp, 0x30c
mov esp, ebp
pop ebp
ret
Function at 0x41b500
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x48c281
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x28]
xor edx, edx
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x44]
mov byte [esi + 0x3f], dl
lea ecx, [esi + 0x40]
mov dword [ecx], eax
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], edx
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 1
call fcn.0041ba70
mov ecx, dword [esp + 0x30]
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x20], 2
call fcn.0047c540
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x18

Function at 0x41b900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48c1e1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x14], edi
mov edi, dword [esp + 0x30]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x18], edi
mov edi, dword [esp + 0x38]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x5c]
mov byte [esi + 0x57], cl
mov dword [esi + 0x58], eax
lea edx, [esi + 0x58]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], ecx
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1c], 1
call fcn.0041ba70
mov ecx, dword [esp + 0x3c]
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x24], 2
call fcn.0047d900
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x24
Function at 0x41c910
Capabilities:
Create directory

Disassembly:
sub esp, 0x114
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x110], eax
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call fcn.00456ba0
add esp, 0xc
lea ecx, [esp + 4]
call fcn.0041cc00
lea eax, [esp + 4]
dec eax
jmp 0x41c950
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41c950
mov ecx, dword [str.Log_]
mov dl, byte [0x49b8c4]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 4]
push eax
call fcn.00420720
add esp, 4
test eax, eax
jne 0x41c986
push eax
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test esi, esi
je 0x41c99e
lea eax, [esp + 4]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41c994
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0044fdb2
add esp, 0x114
ret

Function at 0x41c9c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x84
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x80], eax
push ebp
push 0x7f
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call fcn.00456ba0
push 0x7f
lea ecx, [esp + 0x14]
push 0x20
push ecx
call fcn.00456ba0
mov eax, esi
add esp, 0x18
lea ebp, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ca00
sub eax, ebp
push eax
lea edx, [esp + 8]
push esi
push edx
call fcn.00458df0
add esp, 0xc
lea eax, [esp + 4]
lea edx, [eax + 1]
pop ebp
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ca20
mov ecx, dword [edi]
push ecx
sub eax, edx
push eax
lea edx, [esp + 8]
push 1
push edx
call fcn.004520ba
mov eax, dword [edi]
push eax
push 1
push 1
push str._t_t_t_t_t_t
call fcn.004520ba
add esp, 0x20
test ebx, ebx
je 0x41ca6e
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ca56
mov ecx, dword [edi]
push ecx
sub eax, edx
push eax
push 1
push ebx
call fcn.004520ba
add esp, 0x10
mov edx, dword [edi]
push edx
push 1
push 2
push 0x49a2e4
call fcn.004520ba
mov eax, dword [edi]
push eax
call fcn.0045213c
push eax
call fcn.0045216e
mov ecx, dword [esp + 0x98]
add esp, 0x18
xor ecx, esp
call fcn.0044fdb2
add esp, 0x84
ret
Function at 0x41cab0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push esi
push edi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
test edi, edi
jne 0x41cbde
xor ecx, ecx
mov eax, 0x400
mov edx, 4
mul edx
seto cl
mov edi, vtable.CWindowIterator.0
mov dword [esp + 8], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
neg ecx
or ecx, eax
push ecx
call fcn.00430336
add esp, 4
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push 0x420bb0
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x10], vtable.CMainWindowIterator.0
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], 0
test eax, eax
je 0x41cb99
cmp dword [esp + 0x14], 0
jbe 0x41cb99
mov eax, dword [eax]
mov dword [esp + 0x18], 1
test eax, eax
je 0x41cb99
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 8]
push ecx
push 0x8907
push 0x8907
push eax
call esi
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x41cbcb
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x14]
jae 0x41cbcb
mov eax, dword [ecx + edx*4]
inc edx
mov dword [esp + 0x18], edx
test eax, eax
jne 0x41cb57
push ecx
mov dword [esp + 0xc], edi
call fcn.0043032b
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0043c3e5
test eax, eax
je 0x41cbad
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x41cbaf
xor eax, eax
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x20]
push ecx
push 0x8907
push 0x8907
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0xc]
push ecx
mov dword [esp + 0xc], edi
call fcn.0043032b
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push eax
push 0x8907
push 0x8907
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41cc00
Capabilities:
Get common file path

Disassembly:
sub esp, 0x404
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push 0x3ff
lea eax, [esp + 9]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x10], 0
call fcn.00456ba0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test esi, esi
je 0x41cc8b
lea eax, [esp + 4]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41cc51
dec esi
mov eax, esi
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41cc60
mov edx, dword [str.zj96596Assist_]
mov dword [eax], edx
mov ecx, dword [0x49b8d4]
mov dword [eax + 4], ecx
mov edx, dword [0x49b8d8]
mov dword [eax + 8], edx
mov ecx, dword [0x49b8dc]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x404]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0044fdb2
add esp, 0x404
ret
Function at 0x41cff0
Capabilities:
Create process on windows

Disassembly:
push ecx
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp], eax
mov eax, dword [esp + 8]
push 1
push 0
push eax
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp]
xor ecx, esp
xor eax, eax
call fcn.0044fdb2
pop ecx
ret 4
Function at 0x41ddc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48c9e1
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push esi
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x26c]
xor ebx, ebx
push 0x103
mov edi, ecx
lea ecx, [esp + 0x151]
push ebx
mov dword [esp + 0x18], ebx
push ecx
mov dword [esp + 0x30], eax
mov byte [esp + 0x158], bl
call fcn.00456ba0
add esp, 0xc
lea edx, [esp + 0x14c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x14c]
push eax
lea ecx, [esp + 0x14]
call fcn.00403280
push 1
push 0x498ac8
lea ecx, [esp + 0x18]
mov dword [esp + 0x26c], ebx
call fcn.00402c40
push 0xa
push str.update.txt
lea ecx, [esp + 0x18]
call fcn.00402c40
xor eax, eax
push 0x103
lea ecx, [esp + 0x49]
push ebx
push ecx
mov byte [esp + 0x34], bl
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov word [esp + 0x4d], ax
mov byte [esp + 0x4f], al
mov byte [esp + 0x50], bl
call fcn.00456ba0
add esp, 0xc
lea ecx, [esp + 0x44]
call fcn.0041cc00
lea eax, [esp + 0x44]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x41dec1
mov edx, dword [str._ver.txt]
mov ecx, dword [0x49b95c]
mov dword [eax], edx
mov dl, byte [0x49b960]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x18], vtable.CIni.0
call fcn.00452326
add esp, 4
mov dword [esp + 0x18], eax
push edi
mov byte [esp + 0x268], 1
push str.version
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
push ecx
mov ebx, 0x49a277
call fcn.00421530
push 0x1c
mov esi, eax
push esi
lea edx, [esp + 0x30]
push 0x1c
push edx
call fcn.0044fe3e
push esi
call fcn.0043032b
mov eax, dword [esp + 0x24]
xor esi, esi
add esp, 0x14
mov dword [esp + 0x1c], vtable.CIni.0
mov dword [esp + 0x20], esi
test eax, eax
je 0x41df5c
push eax
call fcn.00452326
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
lea eax, [esp + 0x28]
push eax
mov ecx, edi
mov edi, dword [esp + 0x28]
mov eax, str.Version
lea edx, [esp + 0x20]
mov byte [esp + 0x268], 2
call fcn.004213e0
test esi, esi
je 0x41df8a
push esi
call fcn.0044ffc5
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41df9b
push eax
call fcn.0044ffc5
add esp, 4
mov dword [esp + 0x264], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dfc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0044fdb2
add esp, 0x258
ret 4
Function at 0x41e000
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48c986
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x114], eax
push ebp
push esi
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x13c]
push 0x103
lea eax, [esp + 0x21]
push 0
mov dword [esp + 0x18], 0
push eax
mov edi, ecx
mov byte [esp + 0x28], 0
call fcn.00456ba0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
call fcn.00403280
push 1
push 0x498ac8
lea ecx, [esp + 0x18]
mov dword [esp + 0x13c], 0
call fcn.00402c40
push 0xa
push str.update.txt
lea ecx, [esp + 0x18]
call fcn.00402c40
mov eax, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x14], vtable.CIni.0
mov dword [esp + 0x18], esi
test eax, eax
je 0x41e0d2
push eax
call fcn.00452326
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
push 0x49a277
mov eax, str.File
mov ecx, ebp
lea edx, [esp + 0x18]
mov byte [esp + 0x138], 1
call fcn.004213e0
test esi, esi
je 0x41e0fc
push esi
call fcn.0044ffc5
add esp, 4
mov dword [esp + 0x134], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e127
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0044fdb2
add esp, 0x128
ret 4
Function at 0x41e470
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x48c900
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ada68]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00436fa8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41e4d0
push 0x80004005
call fcn.00405de0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
push 0x85
mov dword [ebp - 4], ebx
call fcn.00438a4d
cmp eax, ebx
je 0x41e4fe
push 0x85
push eax
lea ecx, [ebp - 0x20]
call fcn.00402e70
push str.SOFTWAREENTERSAFEINTERPASS3000_ZJRC_
lea ecx, [ebp - 0x14]
call fcn.00403280
push 0x207
lea ecx, [ebp + 1]
push ebx
push ecx
mov byte [ebp], bl
call fcn.00456ba0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0x208
mov dword [ebp - 0x2c], ebx
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
add esp, 0xc
or ecx, eax
jge 0x41e54c
push ebx
lea ecx, [ebp - 0x14]
call fcn.004030c0
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x41e57a
push 0x4a512c
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], eax
call fcn.00456eab
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x18]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push str.VERSION
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, ebx
je 0x41e5c4
push 0x4a512c
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], edi
call fcn.00456eab
mov dword [ebp - 4], 1
mov eax, 0x41e5bd
ret
cmp esi, ebx
je 0x41e5da
lea ecx, [ebp]
mov edx, esi
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x41e5d0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x41e5ef
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e614
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e63a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0044fdb2
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x41ee50
Capabilities:
Create http request
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x48c4b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebp
push esi
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x10], vtable.CRegistry.0
call fcn.00436fa8
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41ee9e
push 0x80004005
call fcn.00405de0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], reloc.OLEAUT32.dll_SysReAllocString
push 0x3b
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], esi
call fcn.00403170
lea ecx, [esp + 0x20]
push ecx
push 0xf003f
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, 4
push edi
lea edx, [esp + 0x40]
push edx
push edi
push esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
push str.CertificateRevocation
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x54], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x41ef33
push eax
call edi
mov dword [esp + 0x20], esi
push esi
push esi
push esi
push esi
push str.AutoUpdateAgent
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esp + 0x34], 0xffffffff
mov dword [ebp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], vtable.CRegistry.0
cmp eax, esi
je 0x41ef64
push eax
call edi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ef84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4