joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485cc0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x114], eax
cmp byte [esi + 0x24], 0
push ebp
mov ebp, dword [esp + 0x120]
je 0x485cfc
mov al, 1
pop ebp
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.005c397a
add esp, 0x118
ret 0xc
cmp ebp, 2
jne 0x485d0a
mov dword [esi + 0xc], 0
jmp 0x485d5d
push edi
xor edi, edi
cmp byte [esp + 0x12c], 0
je 0x485d1c
mov edi, 1
push 0x114
lea eax, [esp + 0xc]
push 0
push eax
call fcn.005c8fb0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x485d56
cmp dword [esp + 0xc], 6
jb 0x485d56
or edi, 0x104
jmp 0x485d59
or edi, 4
mov dword [esi + 0xc], edi
pop edi
mov edx, dword [esp + 0x124]
mov dword [esi + 8], ebp
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], edx
cmp ebp, 4
je 0x485d8b
cmp ebp, 1
je 0x485d8b
mov eax, dword [0x716e38]
inc eax
mov dword [0x716e38], eax
mov dword [esi + 0x18], eax
jmp 0x485d92
mov dword [esi + 0x18], 0
mov ecx, dword [esi + 0x20]
lea eax, [esi + 4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov ecx, dword [esp + 0x118]
test eax, eax
setne al
pop ebp
xor ecx, esp
call fcn.005c397a
add esp, 0x118
ret 0xc

Function at 0x485dc0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7fe0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
push 0xf003f
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, edi
je 0x485e94
cmp dword [ebx + 0x44], 8
jb 0x485e15
mov ecx, dword [ebx + 0x30]
jmp 0x485e18
lea ecx, [ebx + 0x30]
push 0xf01ff
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, edi
je 0x485e94
lea edi, [ebx + 4]
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x485e85
cmp dword [ebx + 8], 1
je 0x485e7e
push edi
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x485e85
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x485e85
cmp dword [ebx + 8], 3
jne 0x485e72
push 0x1f4
jmp 0x485e53
cmp dword [ebx + 8], 1
jne 0x485e85
or dword [ebp - 0x14], 2
jmp 0x485e85
mov dword [ebp - 0x14], 2
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x485e94
or dword [ebp - 0x14], 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4861e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5ff1e1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0xc], ebx
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x44]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
call fcn.0040d740
mov dword [esp + 0x34], 1
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x486240
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [esp + 0x14]
call fcn.0040d660
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0xffffffffffffffff
mov word [esi + 4], cx
push ebx
mov ecx, esi
call fcn.0040d740
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
jb 0x486295
mov edx, dword [esp + 0x14]
push edx
call fcn.005c396f
add esp, 4
xor eax, eax
mov word [esp + 0x14], ax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x487370
Capabilities:
Create thread

Disassembly:
push esi
mov ecx, 0x72b2a0
call fcn.00486f50
call fcn.004414d0
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0x72b2a0
push 0x4873c0
push 0
push 0
call esi
push 0
push 0
push 0x72b2a0
push 0x48c6a0
push 0
push 0
mov dword [0x72b304], eax
call esi
pop esi
ret
Function at 0x4909e0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x6025a1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov edi, edx
push edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
call fcn.0040b8d0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x37
mov dword [esp + 0x20], 0x31
mov dword [esp + 0x24], 0x32
mov dword [esp + 0x28], 0x33
mov dword [esp + 0x2c], 0x34
mov dword [esp + 0x30], 0x35
mov dword [esp + 0x34], 0x36
cmp esi, 7
jae 0x490b6e
mov edi, dword [esp + esi*4 + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push ebx
push ebx
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, ebx
jle 0x490b8f
mov dword [esp + 0x30], ebx
xor ecx, ecx
push ebx
mov ebx, eax
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov word [esp + 0x24], cx
call fcn.00430320
mov dword [esp + 0x44], 1
mov eax, dword [esp + 0x20]
mov esi, 8
cmp dword [esp + 0x34], esi
jae 0x490acf
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
push edx
push eax
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x490aed
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x490af0
mov ecx, dword [esp + 0x30]
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, ecx
ja 0x490b1c
or eax, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.0040b490
mov esi, 8
jmp 0x490b2b
mov eax, ebx
push 0
sub eax, ecx
lea ebx, [esp + 0x20]
call fcn.004455d0
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x490b39
lea edx, [esp + 0x20]
mov edi, dword [esp + 0x14]
call fcn.0040bab0
xor ebx, ebx
mov byte [esp + 0x44], bl
cmp dword [esp + 0x34], esi
jb 0x490b5b
mov eax, dword [esp + 0x20]
push eax
call fcn.005c396f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005c397a
add esp, 0x34
ret
mov eax, dword [esp + 0x14]
jmp 0x490b70
Function at 0x490ba0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x602551
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov edi, edx
push edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
call fcn.0040b8d0
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x24], 0x45
mov dword [esp + 0x28], 0x46
mov dword [esp + 0x2c], 0x47
mov dword [esp + 0x30], 0x48
mov dword [esp + 0x34], 0x49
mov dword [esp + 0x38], 0x4a
mov dword [esp + 0x3c], 0x4b
mov dword [esp + 0x40], 0x4c
mov dword [esp + 0x44], 0x4d
mov dword [esp + 0x48], 0x4e
mov dword [esp + 0x4c], 0x4f
cmp esi, 0xd
jae 0x490d5e
mov edi, dword [esp + esi*4 + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push ebx
push ebx
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, ebx
jle 0x490d7f
mov dword [esp + 0x30], ebx
xor ecx, ecx
push ebx
mov ebx, eax
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov word [esp + 0x24], cx
call fcn.00430320
mov dword [esp + 0x5c], 1
mov eax, dword [esp + 0x20]
mov esi, 8
cmp dword [esp + 0x34], esi
jae 0x490cbb
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
push edx
push eax
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x490cd9
lea eax, [esp + 0x20]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x490ce0
mov ecx, dword [esp + 0x30]
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, ecx
ja 0x490d0c
or eax, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.0040b490
mov esi, 8
jmp 0x490d1b
mov eax, ebx
push 0
sub eax, ecx
lea ebx, [esp + 0x20]
call fcn.004455d0
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x490d29
lea edx, [esp + 0x20]
mov edi, dword [esp + 0x14]
call fcn.0040bab0
xor ebx, ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x34], esi
jb 0x490d4b
mov eax, dword [esp + 0x20]
push eax
call fcn.005c396f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov eax, edi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.005c397a
add esp, 0x4c
ret
mov eax, dword [esp + 0x14]
jmp 0x490d60
Function at 0x490d90
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x602551
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov edi, edx
push edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
call fcn.0040b8d0
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x38
mov dword [esp + 0x24], 0x39
mov dword [esp + 0x28], 0x3a
mov dword [esp + 0x2c], 0x3b
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], 0x3d
mov dword [esp + 0x38], 0x3e
mov dword [esp + 0x3c], 0x3f
mov dword [esp + 0x40], 0x40
mov dword [esp + 0x44], 0x41
mov dword [esp + 0x48], 0x42
mov dword [esp + 0x4c], 0x43
cmp esi, 0xd
jae 0x490f4e
mov edi, dword [esp + esi*4 + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push ebx
push ebx
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, ebx
jle 0x490f6f
mov dword [esp + 0x30], ebx
xor ecx, ecx
push ebx
mov ebx, eax
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov word [esp + 0x24], cx
call fcn.00430320
mov dword [esp + 0x5c], 1
mov eax, dword [esp + 0x20]
mov esi, 8
cmp dword [esp + 0x34], esi
jae 0x490eab
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
push edx
push eax
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x490ec9
lea eax, [esp + 0x20]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x490ed0
mov ecx, dword [esp + 0x30]
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, ecx
ja 0x490efc
or eax, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.0040b490
mov esi, 8
jmp 0x490f0b
mov eax, ebx
push 0
sub eax, ecx
lea ebx, [esp + 0x20]
call fcn.004455d0
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x490f19
lea edx, [esp + 0x20]
mov edi, dword [esp + 0x14]
call fcn.0040bab0
xor ebx, ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x34], esi
jb 0x490f3b
mov eax, dword [esp + 0x20]
push eax
call fcn.005c396f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov eax, edi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.005c397a
add esp, 0x4c
ret
mov eax, dword [esp + 0x14]
jmp 0x490f50
Function at 0x4915d0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x60759f
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x474], eax
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
call fcn.004683c0
mov dword [esp + 0x490], 0
nop
mov eax, dword [esp + 0x250]
mov byte [esp + 0x24c], 0
cmp eax, 0xffffffff
je 0x491664
cmp byte [esp + 0x1c], 0
jne 0x49164d
lea ecx, [esp + 0x20]
push ecx
push eax
mov byte [esp + 0x24], 1
call sub.KERNEL32.dll_Process32FirstW
jmp 0x491658
lea edx, [esp + 0x20]
push edx
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x491664
mov byte [esp + 0x24c], 1
cmp byte [esp + 0x24c], 0
mov ecx, 0x8c
lea esi, [esp + 0x20]
lea edi, [esp + 0x254]
rep movsd dword es:[edi], dword [esi]
je 0x4917c5
xor esi, esi
jmp 0x491690
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x258]
call fcn.00434000
mov byte [esp + 0x490], 1
mov ecx, dword [esi + 0x72ad1c]
xor edx, edx
test ecx, ecx
setne dl
test edx, edx
je 0x4917bb
mov eax, dword [eax]
push ecx
push eax
call fcn.005c3c4f
add esp, 8
test eax, eax
sete bl
mov byte [esp + 0x490], 0
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 0x4916f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x491708
add esi, 4
cmp esi, 0x14
jb 0x491690
jmp 0x491620
mov edi, 1
cmp dword [0x71038c], edi
jl 0x4917a6
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
lea ecx, [esp + 0x25c]
call fcn.00434000
mov byte [esp + 0x494], 3
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x498], 0
call fcn.00405b60
add esp, 8
mov esi, eax
mov byte [esp + 0x490], 4
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], edi
jle 0x491768
mov eax, dword [eax + 4]
push eax
push esi
call fcn.0040dd10
mov esi, dword [esi]
push esi
push str.CLEAN:_Removing_process__s
push str.USBUnhider::killProcessByNames
push edi
call fcn.00579a92
add esp, 0x10
mov byte [esp + 0x490], 0
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 0x4917a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x25c]
push ecx
call fcn.0043a3e0
add esp, 4
jmp 0x491620
push 0x80004005
call fcn.00403d10
mov dword [esp + 0x490], 0xffffffff
mov eax, dword [esp + 0x250]
test eax, eax
je 0x4917e2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.005c397a
add esp, 0x484
ret
Function at 0x492020
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x60733a
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
xor ebx, ebx
lea ecx, [esi + 0x20]
push ecx
mov ecx, str.Quick
mov dword [esi], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], eax
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], ebx
mov byte [esi + 0x1c], bl
call fcn.0040b990
mov dword [esp + 0x18], ebx
lea edx, [esi + 0x84]
push edx
mov dword [esi + 0x34], 0xffffffff
call fcn.004aef60
mov byte [esp + 0x18], 1
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0xa4]
push eax
call edi
mov byte [esp + 0x18], 2
push ebx
call fcn.005c4ba6
mov dword [esi + 0xbc], eax
add esp, 4
lea eax, [esi + 0xc0]
push eax
call edi
mov byte [esp + 0x18], 3
lea eax, [esi + 0xd8]
push eax
call edi
mov byte [esp + 0x18], 4
lea eax, [esi + 0xf4]
push eax
call fcn.004dceb0
mov byte [esp + 0x18], 5
lea eax, [esi + 0x110]
push eax
call edi
mov byte [esp + 0x18], 6
lea ecx, [esi + 0x128]
push ecx
call fcn.00425110
mov byte [esp + 0x18], 7
lea edx, [esi + 0x148]
push edx
call fcn.0040b700
mov byte [esp + 0x18], 8
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call edi
push ebx
push 1
push 1
push ebx
mov dword [esi + 4], eax
call edi
mov dword [esi + 8], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0xf0], ebx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x497ef0
Capabilities:
Create thread

Disassembly:
xor eax, eax
cmp byte [esp + 4], al
setne al
push eax
push 0x713dfc
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [0x72a520]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x497f37
push 0
push 0
push 0
push 0x494d20
push 0
push 0
call fcn.005c4af6
add esp, 0x18
mov dword [0x72a520], eax
mov al, 1
ret 4
Function at 0x498760
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x606ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x38], 1
lea eax, [esp + 0x10]
push eax
call fcn.0040b8d0
mov byte [esp + 0x38], 2
test edi, edi
je 0x4987af
mov eax, edi
lea edi, [esp + 0x10]
call fcn.0040ddb0
jmp 0x4987dd
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x2c]
movzx eax, word [esp + 0x2a]
movzx ecx, word [esp + 0x28]
push edx
push eax
push ecx
push str._0.2i:_0.2i:_0.2i
lea edi, [esp + 0x20]
call fcn.0042a2d0
add esp, 0x10
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x6cfcd8
call fcn.0040b990
mov byte [esp + 0x38], 3
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, eax
call fcn.004247e0
mov byte [esp + 0x40], 4
push eax
lea eax, [esp + 0x20]
push eax
mov ebx, 0x6cfcd0
call fcn.0041e2b0
mov byte [esp + 0x48], 5
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, eax
call fcn.004247e0
add esp, 0x18
mov byte [esp + 0x38], 7
lea ecx, [esp + 0x14]
call fcn.0040ba40
mov byte [esp + 0x38], 8
lea ecx, [esp + 0x18]
call fcn.0040ba40
mov byte [esp + 0x38], 9
lea ecx, [esp + 0x1c]
call fcn.0040ba40
cmp byte [esp + 0x4c], 0
jne 0x49886d
cmp byte [esi + 0x58], 0
jne 0x498899
mov byte [esi + 0x58], 1
jmp 0x498899
lea eax, [esp + 0x44]
push eax
call fcn.0043b470
add esp, 4
test al, al
je 0x49888a
push str.Deleted__
lea ecx, [esp + 0x10]
push ecx
jmp 0x498894
push str.Cleaned__
lea edx, [esp + 0x10]
push edx
call fcn.004300f0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, 0x6cb38c
call fcn.0041e2b0
mov byte [esp + 0x40], 0xa
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
push ecx
mov ebx, eax
call fcn.004247e0
add esp, 0x10
mov byte [esp + 0x38], 0xb
lea edi, [esi + 0x34]
mov ebx, eax
call fcn.00424a30
mov byte [esp + 0x38], 0xa
lea ecx, [esp + 0x1c]
call fcn.0040ba40
mov byte [esp + 0x38], 9
lea ecx, [esp + 0x18]
call fcn.0040ba40
mov edx, dword [esp + 0x4c]
mov edi, dword [0x72a300]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x54]
push edx
mov edx, dword [ecx]
lea eax, [esp + 0x54]
push eax
push edx
add edi, 0xc0
call fcn.004bc500
mov byte [esp + 0x38], 2
lea ecx, [esp + 0xc]
call fcn.0040ba40
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x10]
call fcn.0040ba40
mov byte [esp + 0x38], 0
lea ecx, [esp + 0x44]
call fcn.0040ba40
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.0040ba40
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x30
ret
Function at 0x498f30
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x606df4
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
xor esi, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x58]
push ebx
call fcn.004af7e0
mov dword [esp + 0x50], esi
lea eax, [esp + 0x2c]
push eax
push ebp
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, esi
je 0x4990ba
lea ebx, [esp + 0x24]
call fcn.004438c0
mov dword [esp + 0x50], 1
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
push eax
push edi
xor ebx, ebx
push ebx
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x499082
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0043db40
add esp, 8
mov byte [esp + 0x50], 2
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x58]
sub edx, eax
sar edx, 2
test edx, edx
jbe 0x499071
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea edi, [ebp + 4]
push str._04x_04x
call fcn.0042a2d0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call fcn.0040b8d0
mov byte [esp + 0x50], 3
mov ecx, dword [edi]
push ecx
push str.StringFileInfo_sFileVersion
lea edi, [esp + 0x20]
call fcn.0042a2d0
add esp, 8
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esi]
push edx
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x499063
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x499063
mov eax, dword [esp + 0x20]
cmp eax, ebx
jbe 0x499063
push eax
push ecx
push ebp
call fcn.004122f0
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x18]
call fcn.0040ba40
mov byte [esp + 0x50], 1
lea eax, [esp + 0x30]
push eax
call fcn.00484970
jmp 0x499086
mov ebp, dword [esp + 0x58]
mov byte [esp + 0x50], bl
add dword [esi + 8], 0xffffffff
jne 0x4990a4
xor edi, edi
call fcn.004c24f0
push esi
call fcn.005c396f
add esp, 4
mov dword [esp + 0x24], ebx
mov eax, ebp
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret