joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413390
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
mov cl, byte [ebx]
push ebp
mov ebp, dword [esp + 0x10]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x4133d1
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4133c6
mov byte [ebx + 8], 1
mov eax, dword [esp + 0x10]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
push esi
lea esi, [edx + eax]
cmp esi, ecx
push edi
jbe 0x4133e4
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x14]
mov edi, dword [esp + 0x14]
add esi, edx
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1c]
pop edi
add ecx, eax
pop esi
xor edx, edx
div ebp
pop ebp
mov dword [ebx + 0x1c], ecx
pop ebx
ret

Function at 0x414500
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x46e580]
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
mov dword [esp + 0x220], eax
push edi
je 0x414537
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x414537
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [ebp + 0xc]
mov cl, byte [ebx]
test cl, cl
je 0x414605
mov eax, ebx
mov edx, ebx
cmp cl, 0x2f
je 0x414552
cmp cl, 0x5c
jne 0x414554
mov eax, edx
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x414548
cmp eax, ebx
je 0x41459a
sub eax, ebx
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov esi, ebx
lea edi, [esp + 0x118]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov byte [esp + eax + 0x118], 0
lea eax, [esp + 0x118]
push eax
push ecx
call fcn.00414500
mov esi, dword [ebp + 8]
add esp, 8
test esi, esi
mov byte [esp + 0x10], 0
je 0x4145ba
lea edx, [esp + 0x10]
mov eax, esi
sub edx, esi
jmp 0x4145b0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4145b0
mov eax, ebx
mov edx, ebx
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4145c0
lea edi, [esp + 0x10]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4145d0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x10]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x414605
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x224]
call fcn.004336ce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415fb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
je 0x415fc4
cmp dword [edi + 0x18], ebx
jne 0x415fcf
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x7c], ebx
je 0x415fdd
push edi
call fcn.00413e00
add esp, 4
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
call fcn.00413c00
add esp, 0x10
test eax, eax
je 0x416004
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push esi
push 0x84
call fcn.004332f9
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x416045
push 0x4000
call fcn.004332f9
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
jne 0x416051
push esi
call fcn.0043330b
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp edx, ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x41609f
lea eax, [esi + 4]
push eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00413180
add esp, 4
test eax, eax
jne 0x41609f
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x4160c9
mov dl, byte [edi + 0x39]
mov byte [esi + 0x80], dl
jmp 0x4160d2
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov cl, byte [esi + 0x6c]
neg cl
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [esi + 0x70]
mov dword [ebx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
sbb ecx, ecx
and ecx, 0xc
test ebp, ebp
mov dword [esi + 0x7c], ecx
je 0x416116
nop
xor eax, eax
mov al, byte [ebp]
test al, al
je 0x416116
push eax
push ebx
call fcn.00412ea0
add esp, 8
inc ebp
jne 0x416100
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax + 0x1e]
pop ebp
mov dword [esi + 0x3c], ecx
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x416400
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
jne 0x4164cf
cmp dword [ebx + 4], 0xffffffff
jne 0x4164cf
push edi
lea edi, [ebx + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416430
sub eax, edx
mov al, byte [eax + ebx + 0x13f]
cmp al, 0x5c
je 0x416461
cmp al, 0x2f
je 0x416461
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x416450
mov ax, word [0x45b658]
mov word [edi], ax
mov edi, dword [esp + 0x14]
cmp edi, 1
push esi
mov esi, dword [esp + 0x10]
jne 0x41648c
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x41648c
pop esi
pop edi
mov eax, 0x2000000
pop ebx
ret 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
push esi
call fcn.00413240
add esp, 0x10
test eax, eax
jne 0x4164ae
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebx
ret 0xc
push eax
call fcn.00415db0
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
pop esi
mov dword [ebx], eax
pop edi
pop ebx
dec ecx
and ecx, 0x200
mov eax, ecx
ret 0xc
mov eax, 0x1000000
pop ebx
ret 0xc

Function at 0x4169d0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
push 1
push eax
push ecx
push edx
push str.open
xor esi, esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov eax, 1
ja 0x4169fc
mov eax, esi
pop esi
ret
Function at 0x416a00
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x416af1
push 0x94
mov ebx, 2
call fcn.004332f9
mov esi, eax
add esp, 4
test esi, esi
je 0x416b66
xor eax, eax
mov ecx, 0x25
mov edi, esi
rep stosd dword es:[edi], eax
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x416a64
push esi
mov ebx, 6
call fcn.0043330b
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
ret
cmp eax, 5
jne 0x416a84
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x416a84
push esi
mov ebx, 7
call fcn.0043330b
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
ret
cmp eax, 5
mov ecx, 1
jne 0x416aa7
cmp dword [esi + 8], ecx
jne 0x416aa7
push esi
mov ebx, 8
call fcn.0043330b
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
ret
cmp eax, 6
jne 0x416b5d
mov edx, dword [esi + 8]
test edx, edx
jne 0x416acb
push esi
mov ebx, 9
call fcn.0043330b
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
ret
cmp eax, 6
jne 0x416b5d
cmp dword [esi + 8], ecx
jne 0x416b5d
push esi
mov ebx, 0xa
call fcn.0043330b
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
ret
cmp al, 4
jae 0x416afe
pop edi
pop esi
mov eax, 1
pop ebx
ret
push 0x94
mov ebx, 3
call fcn.004332f9
mov esi, eax
add esp, 4
test esi, esi
je 0x416b66
xor eax, eax
mov ecx, 0x25
mov edi, esi
rep stosd dword es:[edi], eax
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x416b5d
cmp dword [esi + 8], 0xa
jne 0x416b4d
push esi
mov ebx, eax
call fcn.0043330b
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
ret
cmp eax, 4
jne 0x416b5d
cmp dword [esi + 8], 0x5a
jne 0x416b5d
mov ebx, 5
push esi
call fcn.0043330b
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x416cd0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x130
mov eax, dword [0x46e580]
push ebx
push esi
push edi
mov edi, dword [esp + 0x144]
push 0
push 2
mov dword [esp + 0x140], eax
mov esi, 1
mov dword [edi], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x416d80
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ebx, [ebx]
mov edx, dword [esp + 0x144]
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.00433bd9
add esp, 8
test eax, eax
jne 0x416d68
mov eax, dword [esp + 0x1c]
push eax
push 0
push 0x1f0fff
mov dword [edi], 1
call ebx
push 0
push eax
call ebp
mov esi, eax
test esi, esi
je 0x416d7b
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x416d30
mov ebx, dword [esp + 0x10]
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x140]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416da8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x138]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.004336ce
add esp, 0x130
ret

Function at 0x416dc0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4550e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 4], 0
call fcn.00416be0
add esp, 4
test al, al
jne 0x416e2d
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416e17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416e63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418ae0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4552d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
push ecx
mov dword [ebp - 0x14], esp
lea esi, [ebx - 0x10]
mov edi, esp
push esi
mov byte [ebp - 4], 2
call fcn.00401d90
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00416dc0
add esp, 4
test eax, eax
jne 0x418b86
mov byte [ebp - 4], al
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418b4c
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418b70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov dword [ebp - 0x18], esp
mov edi, esp
push esi
call fcn.00401d90
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x14]
add esp, 4
push eax
call fcn.004181c0
add esp, 8
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov edi, esp
push eax
mov byte [ebp - 4], 3
call fcn.00401d90
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00417a30
mov edi, dword [ebp + 0xc]
add esp, 4
push 2
push 0
push 0
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418c00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [ebp + 0x10]
test al, al
mov dword [ebp - 4], 1
je 0x418c82
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x18], esp
mov ebx, esp
push edi
call fcn.00401d90
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.00416dc0
add esp, 4
test eax, eax
jne 0x418c7f
mov byte [ebp - 4], al
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418c4b
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418c69
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418c9d
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418cbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419e50
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x455481
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
mov dword fs:[0], esp
call fcn.00433660
mov eax, dword [0x46e580]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1028], eax
mov dword [esp + 0x18], ecx
call fcn.0044ac7e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x24]
xor esi, esi
push eax
mov dword [esp + 0x1038], esi
call fcn.00417fb0
mov ecx, dword [eax]
push str.AddressOfUpdate.ini
push ecx
lea edx, [esp + 0x1c]
push str._sconfig_s
push edx
mov byte [esp + 0x1048], 1
call fcn.004025f0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x1034], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419ef1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 0x10]
push ebp
call fcn.00416be0
add esp, 4
test al, al
je 0x419fd6
push ebp
push esi
push str.ServerCount
push str.RepairServer
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
mov dword [esp + 0x1c], ebx
call fcn.0044ac7e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
cmp ebx, esi
mov byte [esp + 0x1034], 2
jle 0x419fb4
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
lea eax, [esp + 0x18]
push str.Server_d
push eax
call fcn.004025f0
mov edi, dword [esp + 0x20]
add esp, 0xc
push ebp
push 0x1000
lea ecx, [esp + 0x30]
push ecx
push 0x458d58
push edi
push str.RepairServer
call ebx
lea eax, [esp + 0x28]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419f80
sub eax, edx
mov dword [esp + 0x20], eax
je 0x419fab
push 1
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00403590
mov ecx, dword [esp + 0x20]
call fcn.00419b20
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jl 0x419f43
lea eax, [edi - 0x10]
mov byte [esp + 0x1034], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419fd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x1034], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419ffb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x102c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1028]
call fcn.004336ce
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1028
ret
Function at 0x41b2b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4555e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov byte [esp + 0x10], 3
call fcn.0044ac7e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x58], eax
mov ecx, esi
mov byte [esp + 0x10], 4
call fcn.0041a2f0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x420010
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x455f48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00419b00
xor edi, edi
push 0x458d58
lea ecx, [esi + 0x14]
mov dword [esp + 0x18], edi
call fcn.00403590
push 0x458d58
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 1
call fcn.00403590
push 0x458d58
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 2
call fcn.00403590
push 0x458d58
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 3
call fcn.00403590
push 0x458d58
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 4
call fcn.00403590
push str.NewRepair.xml
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 5
mov byte [esi + 0x28], 1
call fcn.00403590
push 0x458d58
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 6
call fcn.00403590
push 0x458d58
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 7
call fcn.00403590
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov byte [esp + 0x14], 0xc
call fcn.0044ac7e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x80], eax
lea ecx, [esi + 0x88]
mov byte [esp + 0x14], 0xd
call fcn.004271b0
lea ecx, [esi + 0x8c]
mov byte [esp + 0x14], 0xe
call fcn.0041b2b0
mov dword [esi + 0xec], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x420b30
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [esp + 4]
dec eax
push esi
mov esi, ecx
je 0x420b90
dec eax
je 0x420b6a
dec eax
jne 0x420bf5
mov eax, dword [esp + 0x10]
fld qword [0x45c0e0]
test eax, eax
jle 0x420bae
fstp st(0)
fild dword [esp + 0xc]
fmul qword [0x45c0e0]
fidiv dword [esp + 0x10]
fadd qword [0x45c0e0]
jmp 0x420bae
mov eax, dword [esp + 0x10]
fld qword [0x45c0d8]
test eax, eax
jle 0x420bae
fstp st(0)
fild dword [esp + 0xc]
fmul qword [0x45c0d0]
fidiv dword [esp + 0x10]
fadd qword [0x45c0d8]
jmp 0x420bae
mov eax, dword [esp + 0x10]
fld qword [0x458e60]
test eax, eax
jle 0x420bae
fstp st(0)
fild dword [esp + 0xc]
fmul qword [0x45c0d8]
fidiv dword [esp + 0x10]
fmul qword [0x458e40]
push ebx
push edi
call fcn.004341d4
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
cmp edi, 0x2328
jge 0x420bdd
cmp edi, 0x64
jle 0x420bdd
call ebx
sub eax, dword [esi + 0x2ec]
cmp eax, 0x64
jb 0x420bf3
call ebx
push edi
push 0xa
lea ecx, [esi + 0x104]
mov dword [esi + 0x2ec], eax
call fcn.0041c170
pop edi
pop ebx
pop esi
ret 0xc
Function at 0x420c00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x2e4], 4
jne 0x420c8b
mov eax, dword [esi + 0x2dc]
fld qword [0x458e60]
test eax, eax
mov dword [esp + 4], eax
jle 0x420c42
fstp st(0)
fild dword [esi + 0x2e0]
fidiv dword [esp + 4]
fcom qword [0x45c0f0]
fnstsw ax
test ah, 1
jne 0x420c42
fstp st(0)
fld qword [0x45c0f0]
fmul qword [0x45c0e8]
push ebx
push edi
call fcn.004341d4
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
cmp edi, 0x2328
jge 0x420c73
cmp edi, 0x64
jle 0x420c73
call ebx
sub eax, dword [esi + 0x2ec]
cmp eax, 0x1f4
jb 0x420c89
call ebx
push edi
push 0xc
lea ecx, [esi + 0x104]
mov dword [esi + 0x2ec], eax
call fcn.0041c170
pop edi
pop ebx
pop esi
pop ecx
ret

Function at 0x420c90
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x46e580]
push 0
mov dword [esp + 0x214], eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp]
push eax
push 0x462288
push 1
push 0
push 0x462298
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x420ced
mov edx, dword [esp + 0x218]
mov eax, dword [esp]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [esp]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x4622d8
push eax
call dword [ecx]
test eax, eax
jge 0x420d02
xor eax, eax
mov ecx, dword [esp + 0x210]
call fcn.004336ce
add esp, 0x214
ret
mov ecx, dword [esp + 0x21c]
push 0x104
lea eax, [esp + 0xc]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
mov edx, dword [eax]
push 2
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 4]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x210]
mov eax, 1
call fcn.004336ce
add esp, 0x214
ret

Function at 0x4213c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x456038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00402440
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00401d90
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x421452
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret