joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bf40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48dc98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4b59f4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
lea esi, [edi + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 4]
xor ebx, ebx
push 0xffffffffffffffff
mov ecx, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ebx
call eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ebx
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov edx, dword [edi + 0xc]
add edi, 8
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
jmp 0x42bfb6
mov eax, dword [esp + 0x14]
cmp ecx, edi
jne 0x42c007
cmp eax, dword [esp + 0x1c]
sete dl
test dl, dl
sete dl
test dl, dl
je 0x42c011
test ecx, ecx
je 0x42c007
cmp eax, dword [ecx + 4]
je 0x42c00c
mov ebx, dword [eax + 0x10]
mov eax, dword [ebp + 0xc]
cmp dword [ebx + 0x20], eax
jne 0x42bff6
mov ecx, dword [ebp + 8]
push ebx
call dword [ebp + 0x10]
test eax, eax
jne 0x42bff6
mov ecx, dword [ebp + 0xc]
push ebx
push ecx
call fcn.0040e820
add esp, 8
lea edx, [esp + 0x10]
call fcn.0042c770
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x42bfb2
call fcn.0042c700
call fcn.0042c690
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 0
je 0x42c034
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x28], eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42d720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48f5c3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4b59f4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea eax, [esi + 4]
mov dword [esi], vtable.CSimpleThread.0
mov dword [esi + 0x18], 1
mov ecx, 0x42da50
sub ecx, eax
xor edi, edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
push 0xe
sub ecx, 0xe
push eax
mov byte [eax], 0xb8
mov dword [eax + 1], esi
mov dword [eax + 5], 0x50240487
mov byte [eax + 9], 0xe9
mov dword [eax + 0xa], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dword [esp + 0x14], edi
mov dword [esi], vtable.CThreadControl.0
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
lea edx, [esi + 0x44]
mov dword [esi + 0x30], eax
push edx
mov dword [esi + 0x2c], 0xffffffff
call fcn.00418620
mov byte [esp + 0x14], 1
mov dword [esi + 0x40], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x18], 1
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x42daa0
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x14], 0
jne 0x42dad3
lea eax, [esi + 0x1c]
push eax
mov eax, dword [esp + 8]
push 4
push ecx
lea edx, [esi + 4]
push edx
push eax
push 0
call fcn.00473698
add esp, 0x18
test eax, eax
mov dword [esi + 0x14], eax
je 0x42dadb
mov ecx, dword [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, 1
ret 8
xor eax, eax
ret 8

Function at 0x42dae0
Capabilities:
Resume thread

Disassembly:
mov eax, dword [esi + 0x14]
test eax, eax
push ebx
je 0x42db23
cmp dword [esi + 0x18], 1
jne 0x42db23
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x42db00
xor eax, eax
pop ebx
ret
cmp eax, 1
jbe 0x42db1c
push edi
lea edi, [eax - 1]
test edi, edi
jbe 0x42db1b
lea ecx, [ecx]
mov eax, dword [esi + 0x14]
push eax
call ebx
sub edi, 1
jne 0x42db10
pop edi
mov dword [esi + 0x18], 0
mov eax, 1
pop ebx
ret

Function at 0x42db30
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42db75
cmp dword [esi + 0x18], 0
jne 0x42db75
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x42db53
mov dword [esi + 0x18], 0
xor eax, eax
ret
test eax, eax
jbe 0x42db6e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
mov edi, eax
mov eax, dword [esi + 0x14]
push eax
call ebx
sub edi, 1
jne 0x42db61
pop edi
pop ebx
mov dword [esi + 0x18], 1
mov eax, 1
ret
Function at 0x430920
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x634
mov eax, dword [0x4b59f4]
xor eax, esp
mov dword [esp + 0x630], eax
mov eax, dword [esp + 0x638]
push esi
mov esi, ecx
mov ecx, dword [esi + 0xbc]
push edi
mov edi, dword [esp + 0x644]
push ecx
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0xc0]
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0xc4]
test eax, eax
jne 0x430986
or al, 0xff
jmp 0x430a44
cmp eax, 0xffffffff
je 0x430a42
lea ecx, [esp + 0xc]
push ecx
push eax
mov dword [esp + 0x14], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
jne 0x4309c0
mov edx, dword [esi + 0xc4]
push edx
jmp 0x430a3c
lea eax, [esp + 0x330]
push eax
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x53c]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x13c]
push ecx
call fcn.00470266
lea edx, [esp + 0x344]
push edx
lea eax, [esp + 0x248]
push eax
push 0
lea ecx, [esp + 0x450]
push 0
push ecx
call fcn.00470058
lea edx, [esp + 0x458]
push edx
push edi
call fcn.00470008
add esp, 0x30
test eax, eax
je 0x430a5d
mov ecx, dword [esi + 0xc4]
lea eax, [esp + 0xc]
push eax
push ecx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x4309c0
mov eax, dword [esi + 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x638]
pop edi
pop esi
xor ecx, esp
call fcn.0046fe25
add esp, 0x634
ret 8
mov edx, dword [esi + 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x430a44
Function at 0x430b20
Capabilities:
Create thread
Enumerate processes
Terminate process
Terminate thread

Disassembly:
sub esp, 0x240
mov eax, dword [0x4b59f4]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push ebp
push esi
mov ebp, ecx
push edi
lea esi, [ebp + 0xb4]
push esi
push 0
push 0x430a70
call fcn.004703ae
add esp, 0xc
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x128
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [0x492b4c]
mov edx, dword [0x492b50]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x18], eax
mov eax, dword [str.Silkroad.exe]
mov dword [esp + 0x148], eax
mov al, byte [0x492b54]
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x150], edx
mov byte [esp + 0x154], al
mov byte [esp + 0x13], 1
mov bl, 1
cmp byte [esp + 0x13], 0
je 0x430bcc
lea ecx, [esp + 0x20]
push ecx
push esi
call sub.KERNEL32.dll_Process32First
jmp 0x430bd7
lea edx, [esp + 0x20]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x430c4e
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x18], eax
mov byte [esp + 0x13], 0
je 0x430bb8
test eax, eax
je 0x430bb8
lea ecx, [esp + 0x148]
push ecx
push eax
mov ecx, ebp
call fcn.00430920
cmp al, 0xff
je 0x430c4c
cmp al, 1
jne 0x430bb8
mov edx, dword [esp + 0x28]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, 1
push esi
sete bl
call edi
mov esi, dword [esp + 0x1c]
jmp 0x430bb8
xor bl, bl
push esi
call edi
test bl, bl
jne 0x430c66
mov edx, dword [ebp + 0xb4]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x430c82
mov eax, dword [ebp + 0xbc]
push eax
mov byte [ebp + 0xb8], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 0xbc]
push ecx
call edi
mov edx, dword [ebp + 0xc0]
push edx
call edi
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.0046fe25
add esp, 0x240
ret
Function at 0x4314b0
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x431567
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x431567
push esi
lea eax, [esp + 0xc]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 0x14], eax
jbe 0x43155b
push eax
call fcn.00453650
mov esi, eax
add esp, 4
test esi, esi
jne 0x4314fa
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
pop ecx
ret 8
mov ecx, dword [esp + 0x14]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x431552
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x49bc08
push esi
mov dword [esp + 0x28], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x431552
mov eax, dword [esp + 0x18]
test eax, eax
je 0x431552
mov ecx, dword [eax + 8]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 0xc]
push esi
mov dword [ebx], edx
call fcn.00453655
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
pop ecx
ret 8
push esi
call fcn.00453655
add esp, 4
pop esi
pop edi
mov eax, 0x80004005
pop ebx
pop ecx
ret 8
pop edi
mov eax, 0x80070057
pop ebx
pop ecx
ret 8
Function at 0x4323f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4853ca
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b59f4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x28]
push 6
push eax
call fcn.00446600
mov edi, dword [eax]
mov ebp, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 0xc]
add eax, ebx
push 0x1d0
add ebp, edi
mov dword [esp + 0x30], eax
call fcn.00453625
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x40], 0
je 0x432460
push 0
mov ecx, eax
call fcn.0043b480
jmp 0x432462
xor eax, eax
mov dword [esi + 0x4f4], eax
mov edx, dword [eax]
push esi
mov ecx, eax
mov eax, dword [edx + 0x134]
push 0x9c
mov dword [esp + 0x48], 0xffffffff
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x4f4]
push 0
sub eax, ebx
push eax
sub ebp, edi
push ebp
push ebx
push edi
mov dword [esi + 0x4f0], ecx
call fcn.004537c0
mov ecx, dword [esi + 0x4f4]
push 0
call fcn.004537fe
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x434080
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x33c
mov eax, dword [0x4b59f4]
xor eax, esp
mov dword [esp + 0x338], eax
push esi
push 0x104
lea eax, [esp + 0x38]
push eax
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
lea ecx, [esp + 0x240]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00470266
push 0
push 0
lea ecx, [esp + 0x254]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x58]
push eax
call fcn.00470058
lea eax, [esp + 0x5c]
add esp, 0x28
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4340f0
sub eax, edx
cmp byte [esp + eax + 0x33], 0x5c
lea eax, [esp + eax + 0x33]
jne 0x434108
mov byte [eax], cl
lea eax, [esp + 0x34]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x434110
sub eax, edx
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 0x554]
call fcn.004304d0
lea edx, [esp + 0x18]
push edx
call fcn.00433ff0
push 0x100
lea eax, [esp + 0x140]
push 0
push eax
call fcn.004704b0
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp dword [esp + 0x30], 0x10
jae 0x43415c
lea eax, [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x43422e
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x43418d
lea eax, [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4341e6
mov eax, dword [esp + 0x30]
cmp eax, 0x10
jb 0x4341ce
mov edx, dword [esp + 0x1c]
add eax, 1
push eax
push edx
call fcn.00406020
add esp, 8
xor al, al
pop esi
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.0046fe25
add esp, 0x33c
ret
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x4341f5
lea eax, [esp + 0x1c]
lea ecx, [esp + 4]
push ecx
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x43422e
lea ecx, [esp + 0x18]
call fcn.00406bf0
xor al, al
pop esi
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.0046fe25
add esp, 0x33c
ret
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.Division
push edx
mov dword [esp + 0x28], 4
mov dword [esp + 0x24], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43426f
mov byte [0x4b8f65], 0xff
jmp 0x43427b
mov al, byte [esp + 0x138]
mov byte [0x4b8f65], al
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x30]
cmp eax, 0x10
jb 0x4342a0
mov edx, dword [esp + 0x1c]
add eax, 1
push eax
push edx
call fcn.00406020
add esp, 8
mov ecx, dword [esp + 0x33c]
pop esi
xor ecx, esp
mov al, 1
call fcn.0046fe25
add esp, 0x33c
ret
Function at 0x4356d4
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
sub esp, 0xa34
mov eax, dword [0x4b59f4]
xor eax, esp
mov dword [esp + 0xa30], eax
push esi
mov esi, ecx
lea eax, [esp + 7]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x13]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x13], 0x20
call fcn.004327f0
test eax, eax
jl 0x43572c
mov eax, dword [esp + 8]
cmp eax, 9
jb 0x435723
cmp dword [esp + 0xc], 0
jne 0x435723
cmp byte [esp + 7], 0x62
jge 0x435899
cmp eax, 0xa
jae 0x435899
push str.UILM_MSG_DETECTED_ABNORMAL_DIRECTX
mov ecx, 0x4b8fb0
call fcn.00448f40
cmp dword [eax + 0x18], 0x10
jb 0x435746
mov eax, dword [eax + 4]
jmp 0x435749
add eax, 4
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4b8fb0
call fcn.00447f00
cmp dword [eax + 0x18], 0x10
jb 0x435764
mov eax, dword [eax + 4]
jmp 0x435767
add eax, 4
push eax
lea ecx, [esp + 0x238]
push ecx
call fcn.0047052a
mov eax, dword [esp + 0x30]
add esp, 8
cmp eax, 0x10
jb 0x435792
mov edx, dword [esp + 0x14]
add eax, 1
push eax
push edx
call fcn.00406020
add esp, 8
push 0x14
push str.Silkroad_Online
lea eax, [esp + 0x23c]
push eax
mov ecx, esi
call fcn.004556d4
cmp eax, 6
jne 0x435873
lea ecx, [esp + 0x2c]
push str.IEXPLORE.EXE
push ecx
call fcn.0047052a
lea edx, [esp + 0x18]
push 4
push edx
call fcn.00446680
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp dword [esp + 0x28], 0x10
jae 0x4357de
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x134]
push eax
call fcn.0047052a
add esp, 8
push 1
push 0
lea ecx, [esp + 0x138]
push ecx
lea edx, [esp + 0x38]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jge 0x43583f
push eax
lea eax, [esp + 0x638]
push str.Explorer_Execute_Error___d_
push eax
call fcn.0047052a
add esp, 0xc
push 0
push str.Silkroad_Online
lea ecx, [esp + 0x63c]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x28]
cmp eax, 0x10
jb 0x435903
mov edx, dword [esp + 0x14]
add eax, 1
push eax
push edx
call fcn.00406020
add esp, 8
pop esi
mov ecx, dword [esp + 0xa30]
xor ecx, esp
call fcn.0046fe25
add esp, 0xa34
ret
mov eax, dword [esi + 0x20]
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
mov ecx, dword [esp + 0xa30]
xor ecx, esp
call fcn.0046fe25
add esp, 0xa34
ret
push str.Ready
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4358e1
push 0x10
push str.Silkroad_Online
push str.Critical_Error___Mutex_already_created__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, esi
call fcn.00435580
mov ecx, 0x4b8cc0
call fcn.00430cb0
push 0
call fcn.004710b3
mov ecx, esi
call fcn.00433940
push 5
lea ecx, [esi + 0x1d4]
call fcn.004537fe
mov ecx, dword [esi + 0x20]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0xa34]
pop esi
xor ecx, esp
call fcn.0046fe25
add esp, 0xa34
ret
Function at 0x436aa0
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x485aa8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b59f4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x554]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, esi
call fcn.00436130
call fcn.0045ae51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x436af7
push 0x80004005
call fcn.00430160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov ebp, dword [esp + 0x2c]
mov edx, dword [esi + 0x20]
push 0
push ebp
mov al, 0xff
mov byte [esi + 0x568], al
mov ecx, dword [0x4cb9f8]
mov byte [esp + 0x1f], al
mov eax, dword [esi + 0x554]
push eax
movzx eax, word [esi + 0x56a]
mov ebx, dword [ecx]
push eax
lea eax, [esp + 0x27]
push eax
lea eax, [esi + 0x55c]
push eax
mov eax, dword [esi + 0x56c]
push eax
movzx eax, byte [0x4b8f64]
push str.SR_Client
push eax
push edx
mov edx, dword [ebx]
push 1
mov dword [esp + 0x50], 0
call edx
mov bl, al
test bl, bl
jne 0x436b73
mov al, byte [esp + 0x17]
mov byte [esi + 0x568], al
lea eax, [edi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436b97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x437f60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x437f79
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x437fb4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x437fb0
lea ebx, [ebx]
cmp esi, eax
jae 0x437fb4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x437fa0
cmp esi, eax
jb 0x437fba
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x43c660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48634a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b59f4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x28]
push 2
push eax
call fcn.00446600
mov edi, dword [eax]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 0xc]
add eax, ebx
push 0xb4
lea ebp, [ecx + edi]
mov dword [esp + 0x30], eax
call fcn.00453625
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x40], 0
je 0x43c6d1
push 0
mov ecx, eax
call fcn.0043e7a0
jmp 0x43c6d3
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
mov edx, dword [eax]
mov edx, dword [edx + 0x134]
push ecx
push 0xb0
mov ecx, eax
mov dword [esp + 0x48], 0xffffffff
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 8]
push 1
sub eax, ebx
push eax
sub ebp, edi
push ebp
push ebx
push edi
call fcn.004537c0
mov ecx, dword [esi + 8]
call fcn.0043ed60
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret

Function at 0x43c920
Capabilities:
Delete file

Disassembly:
mov eax, dword [ecx + 0x10]
cmp dword [eax - 0xc], 0
push esi
lea esi, [ecx + 0x10]
jg 0x43c931
xor eax, eax
pop esi
ret
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
or ecx, dword [eax + 8]
jge 0x43c94a
push 0
mov ecx, esi
call fcn.00430410
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
Function at 0x43d6f0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x48652b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4b59f4]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b59f4]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
jge 0x43d74e
push 0
mov ecx, esi
call fcn.00430410
mov esi, dword [esi]
push 0
push str.TempPath
push esi
lea eax, [esp + 0x158]
push 0
push eax
call fcn.00470058
push 0x494380
push str.Replace
lea ecx, [esp + 0x168]
push ecx
mov edx, ecx
push 0
push edx
call fcn.00470058
add esp, 0x28
lea eax, [esp + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x30]
call fcn.00410430
push 1
lea ecx, [esp + 0x150]
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x264], 0
call fcn.004104e0
test eax, eax
lea ecx, [esp + 0x30]
je 0x43d917
push 1
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x1c], 1
call fcn.00410640
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
mov ecx, dword [edi + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebx, [edi + 0x1c]
mov edx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ecx
jmp 0x43d804
mov eax, dword [esp + 0x24]
cmp edx, ebx
jne 0x43d8d4
cmp eax, dword [esp + 0x2c]
sete cl
test cl, cl
sete cl
test cl, cl
je 0x43d8de
test edx, edx
je 0x43d8d4
cmp eax, dword [edx + 4]
je 0x43d8d9
mov esi, dword [eax + 0x10]
test esi, esi
je 0x43d8bf
cmp byte [esi + 0x210], 0
jne 0x43d8bf
push 1
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c], 2
call fcn.00410640
lea edi, [esi + 0x108]
push edi
call ebp
mov dword [esp + 0x18], eax
push 4
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
call fcn.00410640
mov eax, dword [esp + 0x18]
cmp eax, 1
jl 0x43d88e
add eax, 1
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.00410640
add esi, 4
push esi
call ebp
push 4
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], eax
call fcn.00410640
mov eax, dword [esp + 0x1c]
cmp eax, 1
jl 0x43d8bf
add eax, 1
push eax
push esi
lea ecx, [esp + 0x38]
call fcn.00410640
lea ecx, [esp + 0x20]
call fcn.0043cf80
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x43d800
jmp fcn.0043cf00
jmp fcn.0043ce80
push 1
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c], 3
call fcn.00410640
lea ecx, [esp + 0x30]
call fcn.00410490
lea ecx, [esp + 0x30]
mov dword [esp + 0x25c], 0xffffffff
call fcn.00410480
mov eax, 1
jmp 0x43d929
mov dword [esp + 0x25c], 0xffffffff
call fcn.00410480
xor eax, eax
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.0046fe25
add esp, 0x24c
ret