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

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0x14
push esi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
xor esi, esi
lea ecx, [esp + 0xc]
push ecx
push esi
push 0x20019
push esi
push esi
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40ca31
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
push ecx
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40ca26
cmp dword [esp + 0xc], 4
jne 0x40ca26
cmp dword [esp + 4], 4
jne 0x40ca26
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov esi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x14
ret

Function at 0x40ca40
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
sub esp, 8
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40caa8
push esi
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 4]
push ecx
push esi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x40ca9a
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x40cab0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
sub esp, 8
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40cb0d
mov edx, dword [esp + 0x14]
push esi
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x40caff
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x40cf00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4c73b0
push 0x483470
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4d6720]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
xor ebx, ebx
cmp dword [edi + 0x1c], ebx
je 0x40d048
mov eax, dword [edi + 0x20]
cmp dword [eax - 0xc], ebx
je 0x40d048
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 4], ebx
call fcn.0040c8c0
test eax, eax
je 0x40d01a
mov eax, dword [edi + 0x20]
push ebx
push 0x20
push 4
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40d01a
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], ebx
push 2
lea ecx, [ebp - 0x20]
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0xffffffff
jne 0x40cfae
cmp eax, ebx
jne 0x40d009
cmp edi, ebx
jne 0x40cfd4
cmp dword [ebp - 0x20], ebx
jne 0x40cfd4
push ebx
lea edx, [ebp - 0x28]
push edx
push 2
push 0x4d42e0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40d009
cmp dword [ebp - 0x28], 2
jne 0x40d009
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x40cfec
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
add edi, edi
jmp 0x40cfef
lea edi, [eax + eax]
push ebx
lea ecx, [ebp + 0xc]
push ecx
push edi
mov edx, dword [ebp + 8]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40d009
cmp edi, dword [ebp + 0xc]
je 0x40d010
mov dword [ebp - 0x1c], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 4], 0xfffffffe
call fcn.0040d040
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40dc60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d310
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4d6720]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 0x20]
push ecx
push esi
push 0x20019
push esi
push esi
push esi
push edx
xor edi, edi
push eax
mov dword [ebp - 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40dd7c
mov edi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x11]
push edx
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
push ecx
mov dword [ebp - 0x18], esi
call ebx
cmp eax, 0xea
jne 0x40dd5d
cmp dword [ebp - 0x1c], 1
jne 0x40dd5d
mov edx, dword [ebp - 0x18]
push edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], esi
call fcn.0046083a
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x24]
push ecx
push esi
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
push 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
push edi
push eax
call ebx
test eax, eax
jne 0x40dd37
mov edi, 1
cmp dword [ebp - 0x1c], edi
jne 0x40dd37
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x18]
jne 0x40dd37
mov ecx, dword [ebp + 0x14]
push esi
call fcn.00401d90
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0xffffffff
jmp 0x40dd50
test esi, esi
je 0x40dd5d
push esi
call fcn.0046082f
add esp, 4
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
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 0x40e030
Capabilities:
Copy file

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
xor esi, esi
push 1
mov ebp, ecx
mov dword [esp + 0x14], esi
call fcn.0040d570
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x40e0e1
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp dword [edi], eax
setne al
push eax
push ecx
push ebx
push SysReAllocString
call fcn.0040cab0
add esp, 0x10
neg eax
sbb eax, eax
inc eax
cmp dword [edi], esi
je 0x40e0c2
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x28]
push edx
push eax
push ebx
push SysReAllocString
call fcn.0040ca40
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x3c]
push ecx
push edx
push ebx
push SysReAllocString
call fcn.0040cab0
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x50]
push eax
push ecx
push ebx
push SysReAllocString
call fcn.0040cab0
add esp, 0x30
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x40e0cf
mov esi, 1
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x10], 0
jne 0x40e152
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp dword [edi], eax
setne al
push eax
push ecx
push ebx
push SysReAllocString
call fcn.0040cab0
add esp, 0x10
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [edi], 0
je 0x40e18d
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x28]
push edx
push eax
push ebx
push SysReAllocString
call fcn.0040ca40
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x3c]
push ecx
push edx
push ebx
push SysReAllocString
call fcn.0040cab0
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x50]
push eax
push ecx
push ebx
push SysReAllocString
call fcn.0040cab0
add esp, 0x30
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [edi], 0
je 0x40e18d
mov eax, dword [ebp + 0x20]
cmp dword [eax - 0xc], 0
je 0x40e18d
mov edx, dword [edi + 4]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, dword [edi + 4]
mov eax, dword [ebp + 0x20]
push edi
push eax
call fcn.00484060
add esp, 8
test eax, eax
je 0x40e18d
mov eax, dword [ebp + 0x20]
push eax
call fcn.0041b370
add esp, 4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
push ebx
mov ecx, ebp
call fcn.0040df80
test eax, eax
jne 0x40e1af
xor esi, esi
push 0
push 0
mov ecx, ebp
call fcn.0040d0b0
cmp eax, 0xffffffff
jne 0x40e1cb
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x18
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x18
Function at 0x40f630
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x49d538
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4d6720]
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x41c]
mov esi, ecx
mov ecx, dword [esi + 0x68]
xor edi, edi
mov dword [ebp - 0x1c], eax
cmp dword [ecx - 0xc], edi
je 0x40f83b
lea edx, [ebp]
push edx
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40f83b
call fcn.00468b49
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f6b6
push 0x80004005
call fcn.00401210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
push 1
lea ecx, [ebp]
push ecx
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 4], edi
call fcn.00443f20
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x18]
push str._sWakeupOnStandBy_Popup.htm
push eax
mov byte [ebp - 4], 1
call fcn.00404580
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f712
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x38]
call fcn.0046145f
mov ecx, dword [ebp - 0x18]
push 0x1042
push ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0046f81e
mov eax, dword [esi + 0x68]
sub eax, 0x10
mov bl, 4
push eax
mov byte [ebp - 4], bl
call fcn.00401640
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 0xd
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004038f0
push 0x4a8dcc
push 0x4a80b8
lea ecx, [ebp - 0x14]
call fcn.004066b0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.00424a20
xor ecx, ecx
add esp, 8
test eax, eax
setne cl
mov edi, ecx
lea ecx, [ebp - 0x30]
call fcn.0046f145
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f7ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0046f2c4
mov dword [ebp - 4], 2
jmp 0x40f7f2
mov byte [ebp - 4], 0
call fcn.00461477
test edi, edi
je 0x40f815
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push edx
push eax
call fcn.0040f500
add esp, 8
test eax, eax
jne 0x40f815
xor edi, edi
mov eax, dword [ebp - 0x18]
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 0x40f83b
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 + 0x410]
xor ecx, ebp
call fcn.00482b5f
add ebp, 0x414
mov esp, ebp
pop ebp
ret 4
Function at 0x410600
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], vtable.CMD5Checksum.0
call fcn.00482db0
add esp, 0xc
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
pop esi
ret

Function at 0x412ea0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push eax
push 1
push 0
push str.Control_PanelDesktop
push SysReAllocString
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x412f0c
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push eax
push eax
push eax
push str.SCRNSAVE.EXE
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [esp + 4]
neg esi
sbb esi, esi
push eax
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 4], 0
cmp esi, 1
je 0x412f37
test esi, esi
je 0x412f37
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x10
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x412f2f
xor eax, eax
cmp dword [esp + 0xc], eax
pop esi
setne al
add esp, 0xc
ret
or eax, 0xffffffff
pop esi
add esp, 0xc
ret
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x41b370
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebp, ebp
push edi
test esi, esi
je 0x41b3ed
cmp word [esi], bp
je 0x41b3ed
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41b3af
cmp ebx, 0x80
je 0x41b3af
cmp ebx, 0x20
je 0x41b3af
test bl, 0x10
jne 0x41b3af
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test edi, edi
jne 0x41b3f2
cmp ebx, 0xffffffff
je 0x41b3e3
cmp ebx, 0x80
je 0x41b3e3
cmp ebx, 0x20
je 0x41b3e3
test bl, 0x10
jne 0x41b3e3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp ebp, 2
je 0x41b3ed
cmp ebp, 3
jne 0x41b3f2
mov edi, 1
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x41b500
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x4d6720]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
mov ebp, dword [esp + 0x220]
push esi
mov esi, dword [esp + 0x228]
push edi
mov edi, dword [esp + 0x230]
lea eax, [esp + 0x10]
push eax
push 0x4c2094
push 1
xor ebx, ebx
push ebx
push 0x4c21c4
mov dword [esp + 0x24], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41b60d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
mov esi, eax
neg esi
sbb esi, esi
inc esi
test edi, edi
je 0x41b58a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x41b58a
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push edi
push eax
call edx
neg eax
sbb eax, eax
inc eax
and esi, eax
mov edi, dword [esp + 0x234]
cmp edi, 0xffffffff
je 0x41b5be
push 0x104
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x41b5be
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push 0x4c2184
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x41b5fd
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push ebp
push eax
call edx
neg eax
sbb eax, eax
inc eax
and esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
jmp 0x41b60f
mov eax, ebx
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00482b5f
add esp, 0x214
ret
Function at 0x41b6b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x94
mov eax, dword [0x4d6720]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xa0]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push edi
mov edi, dword [esp + 0xa4]
push edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov dword [esp + 0x18], ebx
cmp ebx, 0x76
jbe 0x41b714
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00482b5f
add esp, 0x94
ret
push esi
xor esi, esi
call fcn.0048475d
mov byte [esp + esi + 0x20], al
inc esi
cmp esi, 0x80
jb 0x41b717
xor edx, edx
mov byte [esp + 0x22], bl
mov esi, 0x19e7
test ebx, ebx
jle 0x41b78d
lea ebp, [esp + 0x98]
jmp 0x41b745
mov edi, dword [esp + 0x14]
movzx ecx, word [edi + edx*2]
mov eax, ecx
xor eax, esi
imul eax, eax, 0xb
movzx esi, ax
xor eax, eax
movzx edi, cx
jmp 0x41b760
movsx ebx, byte [eax + 0x4aaf20]
cmp ebx, edi
je 0x41b773
inc eax
cmp eax, 0x3e
jb 0x41b760
jmp 0x41b77e
movsx cx, byte [eax + str.qud2U3bKh6X8V9arceTfGgijZklm7nBopRstv0wyz5ACWFHI1JLxMNO4PQDYSE]
movzx ecx, cx
mov byte [ebp], cl
inc edx
dec ebp
cmp edx, dword [esp + 0x1c]
jl 0x41b741
mov ebp, dword [esp + 0x10]
movzx edx, word [esp + 0x20]
mov dword [esp + 0x10], edx
mov word [esp + 0x99], si
fild dword [esp + 0x10]
fmul qword [0x4aafe8]
call fcn.004833f6
xor eax, 0x291af12
xor edx, 0x719283b1
mov esi, 2
lea ecx, [ecx]
xor byte [esp + esi + 0x20], al
push 0
push 0xd
push edx
push eax
call fcn.00483f40
inc esi
cmp esi, 0x80
jb 0x41b7c0
test ebp, ebp
je 0x41b80e
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x41b80e
push 0x80
call fcn.0046083a
mov edi, eax
mov ecx, 0x20
lea esi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp], eax
add esp, 4
mov dword [ebx], 0x80
mov eax, 1
jmp 0x41b810
xor eax, eax
mov ecx, dword [esp + 0xa0]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00482b5f
add esp, 0x94
ret
Function at 0x41bda0
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
cmp ebp, edi
je 0x41bdde
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.Wow64DisableWow64FsRedirection
push esi
call edi
push 0x4aaff0
push esi
mov ebx, eax
call edi
mov edi, eax
jmp 0x41bde0
xor ebx, ebx
mov dword [esp + 0x14], 0
test ebp, ebp
je 0x41bdfb
test ebx, ebx
je 0x41bdfb
test edi, edi
je 0x41bdfb
lea eax, [esp + 0x14]
push eax
call ebx
mov esi, dword [esp + 0x1c]
push esi
xor ebp, ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41be28
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x41be1e
mov ebp, 1
jmp 0x41be32
mov dword [esp + 0x10], 0xb
jmp 0x41be32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x20], 0
je 0x41be48
test ebx, ebx
je 0x41be48
test edi, edi
je 0x41be48
mov ecx, dword [esp + 0x14]
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret

Function at 0x41be60
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
cmp ebp, edi
je 0x41be9e
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.Wow64DisableWow64FsRedirection
push esi
call edi
push 0x4aaff0
push esi
mov ebx, eax
call edi
mov edi, eax
jmp 0x41bea0
xor ebx, ebx
mov dword [esp + 0x14], 0
test ebp, ebp
je 0x41bebb
test ebx, ebx
je 0x41bebb
test edi, edi
je 0x41bebb
lea eax, [esp + 0x14]
push eax
call ebx
mov esi, dword [esp + 0x1c]
push esi
xor ebp, ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bee6
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x41bedc
lea ebp, [eax + 1]
jmp 0x41bef0
mov dword [esp + 0x10], 0xb
jmp 0x41bef0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x20], 0
je 0x41bf06
test ebx, ebx
je 0x41bf06
test edi, edi
je 0x41bf06
mov ecx, dword [esp + 0x14]
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret
Function at 0x41c1f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x41c2f5
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41c213
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push ebp
movzx ebp, word [esp + 0x10]
push esi
push eax
push ebp
push 9
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov esi, eax
test esi, esi
jne 0x41c23f
push 9
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41c2ee
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41c2ee
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test ebp, ebp
je 0x41c2ee
test eax, eax
je 0x41c2ee
test byte [ebp], 0x80
mov eax, ebp
mov esi, 1
jne 0x41c289
lea ecx, [ecx]
add eax, 8
inc esi
test byte [eax], 0x80
je 0x41c280
xor ecx, ecx
mov eax, esi
mov edx, 6
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046083a
add esp, 4
mov ebx, eax
test esi, esi
jle 0x41c2d4
lea ecx, [ebx + 4]
lea eax, [ebp + 4]
mov edi, esi
mov dl, byte [eax - 4]
and dl, 0x7f
mov byte [ecx - 4], dl
movzx edx, word [eax - 2]
mov word [ecx - 2], dx
movzx edx, word [eax]
mov word [ecx], dx
add eax, 8
add ecx, 6
sub edi, 1
jne 0x41c2b2
push esi
push ebx
call dword [sym.imp.USER32.dll_CreateAcceleratorTableW]
push ebx
mov esi, eax
call fcn.0046082f
add esp, 4
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
ret
pop esi
pop ebp
pop edi
mov eax, ebx
pop ebx
ret
pop edi
mov eax, ebx
pop ebx
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d8898]
mov dword [esp], 0xffffffff
test eax, eax
je 0x41ca37
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41c99a
mov dword [esp], eax
jmp 0x41ca1b
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp dword [esp + 0x18], 0
mov esi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebx, eax
je 0x41c9cf
mov eax, dword [0x4d88a0]
push eax
call ebp
mov ecx, dword [0x4d8898]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x4d889c]
push edx
call ebp
call edi
sub eax, ebx
cmp eax, esi
jae 0x41c9e4
sub esi, eax
jmp 0x41c9e9
mov esi, 1
mov eax, dword [0x4d8898]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x41ca07
mov dword [esp], 1
jmp 0x41ca1b
mov ecx, dword [0x4d8898]
push 0xdeaddead
push ecx
call fcn.0041c050
add esp, 8
mov edx, dword [0x4d8898]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp]
mov dword [0x4d8898], 0
pop ecx
ret
xor eax, eax
pop ecx
ret