joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d2c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46aac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00463701
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043cc60
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046362f
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045fef3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045fef3
push 1
push 0
push 0
mov ecx, esi
call fcn.0045fe9b
push 1
push 0
push 1
mov ecx, esi
call fcn.0045fe9b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00463773
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43d440
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46aae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00463701
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043cc60
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046362f
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43d504
cmp dword [esp + 0x40], 1
jne 0x43d502
cmp ecx, eax
jge 0x43d504
mov eax, ecx
cmp eax, 0xc8
jge 0x43d510
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043d2c0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00463773
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43dc90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46ab53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045e313
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004639a9
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00464ee7
test eax, eax
je 0x43ddac
mov ecx, dword [esp + 0x3c]
call fcn.004639d6
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43dd70
push edi
mov ecx, esi
call fcn.0046103a
mov ecx, esi
call fcn.0043df10
cmp dword [esp + 0x38], 1
jne 0x43dda5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00461175
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4407c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4407f3
push esi
call fcn.004438b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4407ec
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x440879
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x440862
mov eax, dword [esi + 8]
test eax, eax
je 0x440817
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44085e
cmp eax, 2
je 0x440862
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44080a
cmp eax, 3
je 0x44083d
cmp eax, 1
jne 0x44080a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44080a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44080a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004408a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x440888
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004408a0
add esp, 4
pop esi
ret

Function at 0x45f109
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45f141
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045d1bd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045d195
jmp 0x45f14d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4607f7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x460839
call fcn.004662d2
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x460839
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x460830
xor eax, eax
jmp 0x460841
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00460847
pop edi
pop esi
pop ebx
ret 4

Function at 0x466802
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x466830
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46684e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00466768
jmp 0x46684e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46684e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00466768
test edi, edi
mov eax, edi
jne 0x466838
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x757263
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.007572e2
jae 0x75726f
xor ecx, ecx
call fcn.007572e2
jae 0x757299
xor eax, eax
call fcn.007572e2
jae 0x7572aa
mov al, 0x10
call fcn.007572e2
adc al, al
jae 0x75728b
jne 0x7572d7
stosb byte es:[edi], al
jmp 0x757270
call fcn.007572ee
dec ecx
loop 0x7572b6
mov eax, ebp
call fcn.007572ec
jmp 0x7572d8
lodsb al, byte [esi]
shr eax, 1
je 0x7572fe
adc ecx, 2
mov ebp, eax
jmp 0x7572d8
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.007572ec
cmp eax, 0x7d00
jae 0x7572d6
cmp eax, 0x500
jae 0x7572d7
cmp eax, 0x7f
ja 0x7572d8
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x757270
pop ebp
ret 8
Function at 0x403a70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x449892
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.0043ae74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x54], eax
mov byte [esp + 0x10], 4
call fcn.0043ae74
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], 5
call fcn.00402b90
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x404b50
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x449938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, dword [esp + 0x1c]
push 0x44c743
push esi
xor edi, edi
call fcn.00429a60
add esp, 8
test eax, eax
je 0x404b89
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404bab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
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

Function at 0x4057e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4499b8
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.004053c0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.004015f0
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 0x405872
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
Function at 0x409260
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x449df3
mov eax, dword fs:[0]
push eax
mov eax, 0x1014
mov dword fs:[0], esp
call fcn.004297a0
mov eax, dword [0x461660]
push ebx
push ebp
push esi
mov dword [esp + 0x101c], eax
push edi
mov dword [esp + 0x1c], ecx
mov ebp, dword [esp + 0x1034]
xor esi, esi
push ebp
mov dword [esp + 0x1030], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4092dd
lea eax, [ebp - 0x10]
mov dword [esp + 0x102c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4092d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x4093d9
push ebp
push esi
push str.ServerCount
push str.RepairServer
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
mov dword [esp + 0x14], ebx
call fcn.0043ae74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
cmp ebx, esi
mov byte [esp + 0x102c], 1
jle 0x409390
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ebx, [ebx]
push esi
lea eax, [esp + 0x14]
push str.Server_d
push eax
call fcn.00401290
mov edi, dword [esp + 0x1c]
add esp, 0xc
push ebp
push 0x1000
lea ecx, [esp + 0x28]
push ecx
push 0x44c743
push edi
push str.RepairServer
call ebx
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409356
sub eax, edx
mov dword [esp + 0x18], eax
je 0x409387
push 1
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00402550
mov ecx, dword [esp + 0x24]
add ecx, 0x4b4
call fcn.00414450
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x409320
lea eax, [edi - 0x10]
mov byte [esp + 0x102c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4093b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x102c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4093d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x1024]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1020]
call fcn.00428f7e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1020
ret 4
Function at 0x4094a0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x449e10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x20], ebx
call fcn.0043ae74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x10], ebp
mov ecx, dword [ebx + 0x468]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x46c]
cmp ecx, eax
mov dword [esp + 0x14], ecx
je 0x40961e
push ecx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.00408fb0
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
mov byte [esp + 0x30], 1
je 0x40955f
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40954d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40954d
push eax
call fcn.004015f0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x409544
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x10], ebp
jmp 0x40955f
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401ac0
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409582
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x44c743
push ebp
call fcn.00429a60
add esp, 8
test eax, eax
je 0x409605
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
lea esi, [ebp - 0x10]
mov dword [esp + 0x2c], esp
mov ebx, esp
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x4095c6
cmp eax, dword [esi]
jne 0x4095c6
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4095f4
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x409653
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov dword [ebx], eax
call fcn.0041c810
mov ebx, dword [esp + 0x28]
add esp, 8
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x46c]
add ecx, 4
cmp ecx, eax
mov dword [esp + 0x14], ecx
jne 0x4094f7
lea eax, [ebp - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409640
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
jmp fcn.00401070
Function at 0x4099c0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
mov dword [ebx], method.CDialog.virtual_0
xor edi, edi
lea esi, [ebx + 0x70]
lea esp, [esp]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x24]
xor ecx, ecx
cmp eax, edx
setne cl
dec ecx
and eax, ecx
cmp edi, eax
jge 0x409a96
mov ecx, dword [esi + 0xc]
add ecx, edi
mov eax, ecx
shr eax, 2
lea ebx, [eax*4]
mov edx, esi
sub ecx, ebx
mov ebx, dword [edx + 8]
cmp ebx, eax
ja 0x409a16
sub eax, ebx
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
push 0x2710
push ecx
call ebp
cmp eax, 0x102
jne 0x409a5e
mov ecx, dword [esi + 0xc]
add ecx, edi
mov eax, ecx
shr eax, 2
lea ebx, [eax*4]
mov edx, esi
sub ecx, ebx
mov ebx, dword [edx + 8]
cmp ebx, eax
ja 0x409a4c
sub eax, ebx
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0xc]
add ecx, edi
mov eax, ecx
shr eax, 2
lea ebx, [eax*4]
mov edx, esi
sub ecx, ebx
mov ebx, dword [edx + 8]
cmp ebx, eax
ja 0x409a7c
sub eax, ebx
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x10]
inc edi
jmp 0x4099e0
lea ecx, [esi + 0x14]
call fcn.00405d60
mov ecx, esi
call fcn.00404a80
pop edi
pop esi
pop ebp
mov ecx, ebx
pop ebx
add esp, 4
jmp fcn.0043f212
Function at 0x40a090
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x449e73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [0x461660]
mov dword [esp + 0x20c], eax
push esi
mov dword [esp + 4], 0
push 0x44c743
lea ecx, [esp + 8]
mov dword [esp + 0x220], 0
call fcn.00402550
mov esi, dword [esp + 0x228]
push 0x44c743
push esi
mov byte [esp + 0x224], 1
call fcn.00429a60
add esp, 8
test eax, eax
jne 0x40a12b
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x22c]
push 0x44ce88
push edx
call fcn.00401290
mov esi, dword [esp + 0x234]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x40a148
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x22c]
call fcn.00401080
mov esi, dword [esp + 0x228]
lea ecx, [esp + 0x10c]
push ecx
push 0
push 0x44d468
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test esi, esi
jne 0x40a166
xor eax, eax
jmp 0x40a17f
mov eax, esi
lea edx, [eax + 1]
jmp 0x40a170
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a170
sub eax, edx
js 0x40a233
cmp eax, dword [esi - 8]
jg 0x40a233
push edi
lea edx, [esp + 0x110]
mov dword [esi - 0xc], eax
push edx
mov byte [eax + esi], 0
lea eax, [esp + 0xc]
push 0x44ce88
push eax
call fcn.00401290
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.004015f0
mov edi, dword [esp + 0x238]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x220], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a1e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov dword [esp + 0x220], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a20e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x218]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x210]
pop esi
call fcn.00428f7e
add esp, 0x21c
ret
push 0x80070057
call fcn.00401000
int3
Function at 0x40cca0
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov ebx, ecx
push ebp
lea ecx, [esp + 0x14]
call fcn.00402550
lea eax, [esp + 0x10]
lea esi, [ebx + 0x70]
push eax
mov ecx, esi
call fcn.00405220
cmp eax, 0xffffffff
jne 0x40cccb
xor esi, esi
jmp 0x40ccf2
mov ecx, dword [esi + 0xc]
add ecx, eax
mov eax, ecx
shr eax, 2
mov edx, esi
lea esi, [eax*4]
sub ecx, esi
mov esi, dword [edx + 8]
cmp esi, eax
ja 0x40cce9
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov esi, dword [eax + ecx*4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cd10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x40cd59
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebp
mov edi, eax
push edi
push 0x44d788
push 0
call fcn.0041d710
add esp, 0x10
test edi, edi
pop edi
je 0x40cd3f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
mov ecx, ebx
call fcn.0040cb50
push ebp
push 0
push 0x44d764
push 0
call fcn.0041d710
add esp, 0x10
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x411940
Capabilities:
Copy file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x3fc]
push edi
mov edi, dword [esi + 0x3f8]
cmp edi, eax
je 0x41186f
push ebx
lea ebx, [edi + 4]
mov eax, dword [edi]
push eax
mov ecx, esi
call fcn.0040cb50
test eax, eax
je 0x411860
mov ecx, dword [esi + 0x3fc]
sub ecx, ebx
sar ecx, 2
shl ecx, 2
push ecx
push ebx
push edi
call fcn.00428c10
mov eax, dword [esi + 0x3fc]
add esp, 0xc
add eax, 0xfffffffc
mov dword [esi + 0x3fc], eax
jmp 0x411866
add edi, 4
add ebx, 4
cmp edi, dword [esi + 0x3fc]
jne 0x411828
pop ebx
mov eax, dword [esi + 0x3dc]
test eax, eax
jne 0x41189b
cmp word [esi + 0x39c], 0
jne 0x41189b
mov eax, dword [esi + 0x3f0]
test eax, eax
pop edi
mov ecx, esi
pop esi
je 0x411896
jmp fcn.00410a10
jmp fcn.00408310
lea ecx, [esi + 0x4dc]
call fcn.00417cb0
test eax, eax
je 0x4118b3
pop edi
mov ecx, esi
pop esi
jmp fcn.00411370
mov edx, dword [esi + 0x1c]
push 0x402
push edx
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
mov dword [esi + 0x3a0], 0
mov ecx, esi
pop esi
jmp fcn.00410110
push esi
mov esi, ecx
mov edx, dword [esi + 0x3a0]
dec edx
mov eax, edx
test eax, eax
mov dword [esi + 0x3a0], edx
jg 0x41196f
mov eax, dword [esi + 0x1c]
push 0x402
push eax
mov dword [esi + 0x3a0], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
pop esi
jmp 0x411810