joyce8/EMBER2024-capa huggingface dataset:
Function at 0x519fd0
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x2e8]
cmp eax, 3
je 0x51a129
push ebx
push edi
mov ebx, 1
xor edi, edi
cmp eax, ebx
jne 0x51a074
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x51a000
mov eax, dword [esi + 0x114]
mov byte [esi + 0x370], bl
test eax, eax
je 0x51a018
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push eax
call edx
cmp edi, 0x1388
jle 0x51a029
cmp dword [esi + 0x358], 0
jne 0x51a03a
push 0x32
call ebp
add edi, 0x32
cmp dword [esi + 0x2e8], ebx
je 0x51a000
jmp 0x51a073
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, dword [esi + 0x358]
mov ecx, dword [eax + 0x2c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push 0
push 0
push 0
push 0x40a248
call fcn.007d9c62
mov dword [esi + 0x358], eax
mov byte [esi + 0x35c], 0
pop ebp
lea ecx, [esi + 0x2a0]
mov byte [esi + 0x370], 0
call fcn.004a8a20
push 3
push 0x403a48
push 0x50000001
push esi
mov dword [esi + 0x2e8], 3
call fcn.004ecfc0
add esp, 0x10
mov ecx, esi
call fcn.005175c0
cmp dword [esi + 0x358], 0
pop edi
pop ebx
je 0x51a101
cmp byte [esi + 0x35c], 0
je 0x51a101
push 0
push 0
lea ecx, [esp + 0xc]
call fcn.005d9e00
mov eax, dword [esi + 0x358]
mov ecx, dword [eax + 0x30]
lea edx, [esp + 4]
push edx
push 0
push 0x8002
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov edx, dword [esp + 4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 4]
call fcn.005d9e40
jmp 0x51a108
mov ecx, esi
call fcn.00519b10
call fcn.005c4150
mov ecx, dword [esi + 0x4834]
call fcn.004e6220
test al, al
je 0x51a129
mov ecx, dword [esi + 0x4834]
push 0
call fcn.007d41ba
pop esi
pop ecx
ret
Function at 0x52ab40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x869397
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x410454
call fcn.007cff5d
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x52ab8b
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esp + 0x18], edi
call fcn.007cff5d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x52abb8
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 8], eax
mov byte [esp + 0x18], 1
call fcn.007cff5d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x52abe6
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, 0xa
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, esi
mov byte [esp + 0x1c], 4
call fcn.005291c0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x52f910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
test edi, edi
jne 0x52f929
call fcn.007c9a2f
mov edi, dword [eax + 0xc]
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x410e28
push ebx
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x52f959
call fcn.007c9a2f
mov edi, dword [eax + 8]
push 0x410e28
push ebx
push edi
call ebp
mov esi, eax
test esi, esi
je 0x52f97b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x52f97b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
jne 0x52f985
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
push eax
push ebp
call fcn.0052f810
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 8

Function at 0x52f9e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.0052f910

Function at 0x5334e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push 0x3c
lea eax, [esp + 4]
push 0
push eax
call fcn.00802690
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
add esp, 0xc
lea eax, [esp]
push eax
mov dword [esp + 0x14], ecx
mov dword [esp + 4], 0x3c
mov dword [esp + 0x10], 0x4110b4
mov dword [esp + 8], 0x40
mov dword [esp + 0x20], 0xa
mov dword [esp + 0x18], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp byte [esp + 0x48], 0
je 0x533542
mov ecx, dword [esp + 0x38]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x3c
ret
Function at 0x533910
Capabilities:
Register raw input devices

Disassembly:
sub esp, 0x1e0
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x1dc], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov edi, ecx
mov eax, dword [edi + 0x20]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x10], 0x32
mov dword [esp + 0x38], 0x88ffbc
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], 0x1000c
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], 0x80000c
mov dword [esp + 0x54], ebx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0x20]
push 8
mov dword [esp + 0x50], edx
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x64], eax
call dword [sym.imp.USER32.dll_GetRawInputDeviceList]
xor esi, esi
mov dword [esp + 0x10], eax
cmp eax, ebx
jbe 0x5339fb
mov ebp, dword [sym.imp.USER32.dll_GetRawInputDeviceInfoW]
mov edi, edi
mov edx, dword [esp + esi*8 + 0x5c]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x2000000b
push edx
mov dword [esp + 0x24], 0x20
call ebp
test eax, eax
je 0x5339f4
cmp dword [esp + 0x20], 0x471
jne 0x5339f4
cmp dword [esp + 0x24], 0x617
jne 0x5339f4
mov ax, word [esp + 0x2c]
mov cx, word [esp + 0x2e]
mov word [esp + 0x38], ax
mov word [esp + 0x3a], cx
mov dword [edi + 0x1130], 0x532900
inc esi
cmp esi, dword [esp + 0x10]
jb 0x5339a0
push 0xc
push 3
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
cmp byte [edi + 0x408], bl
je 0x533a43
mov esi, dword [edi + 0x384]
cmp esi, ebx
je 0x533a43
mov ebp, dword [sym.imp.USER32.dll_RegisterHotKey]
mov edx, dword [esi + 0x24]
mov esi, dword [esi]
cmp edx, ebx
je 0x533a3f
push edx
mov ecx, edi
call fcn.00532ae0
push eax
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 0x20]
push ebx
push edx
push ecx
call ebp
cmp esi, ebx
jne 0x533a22
mov ecx, dword [esp + 0x1ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0080262b
add esp, 0x1e0
ret

Function at 0x536a40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov ecx, ebx
call fcn.004b01d0
call fcn.007c9a2f
mov ecx, dword [esp + 0x14]
movzx edx, word [esp + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x536a75
pop esi
xor al, al
pop ebx
ret
push edi
call fcn.007c9a2f
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x44]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x536aa8
call fcn.007c9a2f
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x44]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jne 0x536aae
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
mov ecx, ebx
call fcn.00536410
push eax
call fcn.008030c0
add esp, 0xc
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x538200
Capabilities:
Check if file exists
Write file on windows

Disassembly:
sub esp, 0x5c
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x58], eax
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
call fcn.00536da0
mov ecx, dword [esi + 0x58]
push ecx
call fcn.00803053
mov edx, dword [esi + 0x6c]
push edx
mov dword [esi + 0x58], 0
call fcn.00803053
mov eax, dword [esp + 0xc]
push eax
call fcn.008092be
add esp, 0xc
push eax
mov dword [esi + 0x6c], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5382bc
mov ecx, dword [esi + 0x6c]
push ebx
push eax
push 0x80
push 1
push eax
push eax
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x5382bb
push edi
mov ecx, 0x12
mov esi, 0x4114b0
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
push 0
lea edx, [esp + 0x18]
push edx
push 2
lea eax, [esp + 0x1c]
push eax
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov dword [esp + 0x24], 0xfeff
call esi
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x4a
lea edx, [esp + 0x24]
push edx
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop esi
test edx, edx
jg 0x5382dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x58]
xor ecx, esp
mov al, 1
call fcn.0080262b
add esp, 0x5c
ret
Function at 0x5382f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x86aa78
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.004a8a20
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.00536da0
mov eax, dword [eax]
push eax
mov dword [esp + 0x20], 0
call fcn.005c2230
mov bl, al
mov eax, dword [esp + 0x28]
or ebp, 0xffffffff
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x1c], ebp
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x538368
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x5383a3
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.005c2360
add esp, 8
push eax
mov ecx, esi
mov dword [esp + 0x20], 1
call fcn.004aa540
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
jmp 0x5384a7
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x5383c5
push 0x104
mov ecx, esi
call fcn.004a8a90
mov eax, dword [esi]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x5383f3
push ecx
push eax
call fcn.005bc290
add esp, 8
test eax, eax
js 0x5384bc
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x5384bc
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
test edi, edi
jns 0x538425
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x53843f
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, dword [esi]
push 0x409308
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 2
call fcn.004f58e0
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x538474
xor eax, eax
jmp 0x53848f
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x538480
sub eax, edx
sar eax, 1
push eax
push edi
mov ecx, esi
call fcn.004a8db0
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x5384b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x53840f
push 0x80070057
call fcn.004a8210
int3
Function at 0x5384d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x86aab8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov eax, 0xa
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov byte [esp + 0x60], 2
call fcn.007c9a2f
mov eax, dword [eax + 4]
lea ecx, [esp + 0x40]
push ecx
push ebx
lea ecx, [eax + 0x1f0]
call fcn.004b5cd0
call fcn.007c9a2f
mov ecx, dword [eax + 4]
lea edx, [esp + 0x28]
push edx
push 1
lea ecx, [ecx + 0x1f0]
call fcn.004b5cd0
call fcn.007c9a2f
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
push 2
lea ecx, [eax + 0x1f0]
call fcn.004b5cd0
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00536da0
mov eax, dword [eax]
push eax
call fcn.00809313
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5385d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x68], bl
je 0x5385e6
mov ecx, esi
call fcn.00538200
mov byte [esp + 0x68], al
jmp 0x538606
mov ecx, dword [esi + 0x58]
push ecx
call fcn.00803053
add esp, 4
push 0x411078
mov ecx, esi
mov dword [esi + 0x58], ebx
call fcn.007dea75
mov byte [esp + 0x68], 1
call fcn.007c9a2f
mov edx, dword [eax + 4]
lea ecx, [esi + 0x1f0]
mov byte [edx + 0x1f9], 1
call fcn.004b3fb0
call fcn.007c9a2f
mov eax, dword [eax + 4]
lea ecx, [esp + 0x40]
push ecx
push ebx
lea ecx, [eax + 0x1f0]
call fcn.004b5fd0
call fcn.007c9a2f
mov ecx, dword [eax + 4]
lea edx, [esp + 0x28]
push edx
push 1
lea ecx, [ecx + 0x1f0]
call fcn.004b5fd0
call fcn.007c9a2f
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
push 2
lea ecx, [eax + 0x1f0]
call fcn.004b5fd0
lea ecx, [esp + 0x10]
call fcn.004afe70
lea ecx, [esp + 0x28]
call fcn.004afe70
lea ecx, [esp + 0x40]
call fcn.004afe70
mov al, byte [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x58
ret 4

Function at 0x5391e0
Capabilities:
Identify system language via api

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
xor esi, esi
xor eax, eax
mov ecx, 0x8b7ccc
movzx edx, word [ecx]
cmp di, dx
je 0x539229
xor ebx, ebx
cmp bx, dx
jne 0x539206
mov esi, eax
inc eax
add ecx, 0x10
cmp eax, 0x19
jb 0x5391f5
shl esi, 4
add esi, 0x8b7cc8
mov eax, esi
push 0
push eax
call fcn.00537200
add esp, 8
pop edi
pop esi
pop ebx
ret
shl eax, 4
add eax, 0x8b7cc8
push 0
push eax
call fcn.00537200
add esp, 8
pop edi
pop esi
pop ebx
ret
Function at 0x53f050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x86b568
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x8ce6f4]
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 + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push 1
push 0
push eax
mov eax, dword [esp + 0x34]
push ecx
or edx, 0x100
push edx
push edi
push eax
push 1
mov ecx, esi
call fcn.007e7aeb
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0x24]
mov dword [esi], 0x4126ac
mov dword [esi + 0x34c], ecx
mov byte [0x8d42b8], dl
mov eax, dword [esi + 0x94]
push 0x4e20
mov dword [esp + 0x1c], 0
mov dword [eax + 0x2c], edi
call fcn.007c8558
mov dword [esi + 0x348], eax
add esp, 4
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esi + 0x348]
mov edx, dword [esi + 0x94]
mov dword [edx + 0x1c], eax
mov ecx, dword [esi + 0x94]
mov dword [ecx + 0x20], 0x2710
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x1c
Function at 0x552c90
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x86d170
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, ecx
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x552cd2
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0
call fcn.007c9a2f
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.005382f0
test al, al
je 0x552dd4
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x552d20
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
push 0x411788
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.004f58e0
call fcn.007c9a2f
mov eax, dword [eax + 4]
cmp byte [eax + 0x336], 0
je 0x552d9d
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x552d74
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, dword [esp + 0x14]
push 0
push 1
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.004a9b50
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [esi], eax
call fcn.00551ef0
jmp 0x552db3
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x552db3
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [edi - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x552dd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x552dfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x559a40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x86d90e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.004a9b50
add eax, 0x10
mov dword [esi], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.004a9b50
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 1
call fcn.004a9b50
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
mov byte [esp + 0x28], 2
call fcn.004a9b50
add esp, 0x10
add eax, 0x10
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x55e290
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x104]
push 0x400
push eax
call edi
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x10]
push ecx
push 0x38d
push 0x43f
mov ebx, eax
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x20
mov dword [esp + 0x24], 1
call edi
cmp dword [esp + 0x1c], 0xd
je 0x55e321
test ebx, ebx
jle 0x55e321
fild dword [esp + 0xc]
fdiv qword [0x40a660]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
call fcn.00806c10
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fmul qword [0x416670]
call fcn.00802da0
xor ecx, ecx
test eax, eax
setns cl
pop edi
pop esi
pop ebx
dec ecx
and eax, ecx
add esp, 0x24
ret
pop edi
pop esi
mov eax, 0xffffd8f0
pop ebx
add esp, 0x24
ret