joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413a90
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x645580
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x24], ebx
je 0x413ae7
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ebx
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004104b0
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
push 0x204
lea edx, [ebp - 0x21c]
push ebx
push edx
mov dword [ebp - 0x220], ebx
call fcn.006100a0
add esp, 0xc
mov ecx, esi
call fcn.00404180
test eax, eax
jne 0x413b1f
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [esi + 0x2d10], bl
je 0x413b2e
mov ecx, esi
call fcn.00407d60
mov edx, dword [esi + 0x48]
mov eax, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.WS2_32.dll_send]
push ebx
push 0xa
lea ecx, [ebp - 0x18]
push ecx
push edx
mov dword [ebp - 0x12], ebx
mov word [ebp - 0x18], 0x124
mov dword [ebp - 0x16], eax
call edi
cmp eax, 0xffffffff
je 0x413be0
mov eax, dword [esi + 0x48]
push ebx
push 0x100
push 0x7125d8
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x413be0
mov eax, dword [0x7125d8]
mov ecx, dword [0x7125dc]
mov dx, word [0x7125e0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x10], dx
cmp al, 0x24
jne 0x413be0
cmp dword [0x7125da], 0x20009301
je 0x413bf5
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x16]
push eax
lea ecx, [ebp + 8]
push str.Bad_data_type._Received_type__04Xh
push ecx
call fcn.00405ab0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004014a0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [0x7125de], 4
jne 0x413be0
mov ebx, dword [0x7125e2]
test ebx, ebx
je 0x413be0
mov eax, dword [esi + 0x48]
push 0
push 0xa
lea edx, [ebp - 0x18]
push edx
push eax
mov dword [ebp - 0x12], 0
mov word [ebp - 0x18], 0x24
mov dword [ebp - 0x16], 0x55aa0000
call edi
cmp eax, 0xffffffff
je 0x413be0
xor edi, edi
test ebx, ebx
je 0x413c87
mov ecx, dword [ebp + 0xc]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x413c87
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x413c56
push ebx
push edi
call eax
add esp, 8
push 0x208
lea edx, [ebp - 0x220]
push 0
push edx
call fcn.006100a0
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x48]
add esp, 0xc
push eax
lea ecx, [ebp - 0x220]
push ecx
push edx
mov ecx, esi
call fcn.0040e050
inc edi
cmp edi, ebx
jb 0x413c35
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x413c97
push 1
push 1
call eax
add esp, 8
mov ecx, esi
call fcn.00413880
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x416f90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x417002
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x416fd1
cmp eax, 2
jne 0x416fec
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x416ffc
test eax, eax
je 0x416ff7
test al, 1
jne 0x416fec
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x416ffc
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x418d80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x642976
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x716738]
push edi
push 0xf0
push eax
mov edi, 1
push esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x418f47
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x418f47
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x418f47
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x418df7
mov edi, dword [ebp - 0x10]
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x418f32
mov edx, dword [esi + 4]
mov edi, eax
movzx eax, word [esi + 2]
mov ecx, 0x403
add esi, 8
mov dword [ebp + 8], edx
cmp cx, ax
jne 0x418e8c
push 3
lea edx, [ebp - 0x138]
push esi
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], edx
call fcn.00418c40
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x14]
push eax
mov eax, dword [edx + 4]
push 0
push 0x143
push edi
push eax
call ebx
cmp eax, 0xffffffff
jne 0x418e63
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x13c]
lea ecx, [ebp - 0x138]
cmp eax, ecx
je 0x418f0f
push eax
call fcn.0061056f
add esp, 4
jmp 0x418f0f
mov edx, 0x1234
cmp dx, ax
jne 0x418f0f
push 3
lea eax, [ebp - 0x23c]
push esi
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x240], eax
call fcn.00418c40
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
cmp eax, edx
je 0x418eee
push eax
call fcn.0061056f
add esp, 4
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [edx + 4]
push 0
push 0x40b
push edi
push eax
call ebx
cmp eax, 0xffffffff
jne 0x418f0f
mov dword [ebp - 0x10], 0
add esi, dword [ebp + 8]
cmp dword [ebp - 0x10], 0
jne 0x418df4
mov eax, dword [ebp - 0x10]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x418f60
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x642988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
call fcn.00417f90
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], bl
lea ecx, [ebp - 0x28]
call fcn.00416ca0
mov byte [ebp - 4], 1
cmp dword [0x712748], ebx
jne 0x419000
push 0xf0000000
push 1
push ebx
push ebx
push 0x712748
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
call esi
cmp eax, ebx
jne 0x419000
push 8
push 1
push ebx
push ebx
push 0x712748
call esi
neg eax
sbb esi, esi
neg esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x418feb
and eax, 0xffff
or eax, 0x80070000
cmp esi, ebx
jne 0x419000
mov dword [ebp - 0x18], eax
push 0x6b9458
lea eax, [ebp - 0x18]
push eax
call fcn.0060fb01
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x24], bl
push edi
push 4
mov edx, dword [0x712748]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x20], eax
jne 0x41903d
mov dword [ebp - 0x1c], 0x80004005
push 0x6b9458
lea eax, [ebp - 0x1c]
push eax
call fcn.0060fb01
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00417b60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419090
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6429a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
call fcn.00418000
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], bl
lea ecx, [ebp - 0x28]
call fcn.00416ca0
mov byte [ebp - 4], 1
cmp dword [0x71274c], ebx
jne 0x419130
push 0xf0000000
push 1
push ebx
push ebx
push 0x71274c
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
call esi
cmp eax, ebx
jne 0x419130
push 8
push 1
push ebx
push ebx
push 0x71274c
call esi
neg eax
sbb esi, esi
neg esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41911b
and eax, 0xffff
or eax, 0x80070000
cmp esi, ebx
jne 0x419130
mov dword [ebp - 0x18], eax
push 0x6b9458
lea eax, [ebp - 0x18]
push eax
call fcn.0060fb01
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x24], bl
push edi
push 2
mov edx, dword [0x71274c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x20], eax
jne 0x41916d
mov dword [ebp - 0x1c], 0x80004005
push 0x6b9458
lea eax, [ebp - 0x1c]
push eax
call fcn.0060fb01
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00417b60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4191c0
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6429c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
call fcn.00418070
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], bl
lea ecx, [ebp - 0x28]
call fcn.00416ca0
mov byte [ebp - 4], 1
cmp dword [0x712750], ebx
jne 0x419260
push 0xf0000000
push 1
push ebx
push ebx
push 0x712750
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
call esi
cmp eax, ebx
jne 0x419260
push 8
push 1
push ebx
push ebx
push 0x712750
call esi
neg eax
sbb esi, esi
neg esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41924b
and eax, 0xffff
or eax, 0x80070000
cmp esi, ebx
jne 0x419260
mov dword [ebp - 0x18], eax
push 0x6b9458
lea eax, [ebp - 0x18]
push eax
call fcn.0060fb01
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x24], bl
push edi
push 1
mov edx, dword [0x712750]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x20], eax
jne 0x41929d
mov dword [ebp - 0x1c], 0x80004005
push 0x6b9458
lea eax, [ebp - 0x1c]
push eax
call fcn.0060fb01
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00417b60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x662dbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
xor eax, eax
lea ecx, [esi + 8]
mov dword [esi + 4], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
mov dword [ecx + 0xc], eax
mov dword [ebp - 4], 1
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], 2
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], ecx
mov dword [ebp - 4], 4
mov edx, dword [ebp + 8]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x48], eax
mov al, byte [esi + 0x58]
and al, 0xf1
lea ecx, [esi + 0x38]
or al, 1
push ecx
mov dword [esi + 0x4c], 0xff0000
mov dword [esi + 0x50], 0x800080
mov dword [esi + 0x54], edx
mov byte [esi + 0x58], al
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x41a410
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push 0x103
lea eax, [ebp - 0x10b]
push 0
push eax
mov dword [ebp - 8], 0
mov byte [ebp - 0x10c], 0
call fcn.006100a0
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 4]
push edx
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0x66f270
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41a479
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push eax
push 0x66f268
push ecx
call fcn.00405ab0
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x41aa20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov bl, 1
cmp cl, 0xc
jne 0x41aa7c
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call edi
mov edx, dword [esi + 4]
push edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call edi
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
shr eax, 2
test al, 1
je 0x41aab6
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
push ecx
movzx edx, di
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x28]
push 1
push 0
push 0
push eax
push 0x66f294
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x41aae9
mov ecx, dword [esi + 4]
or byte [esi + 0x58], 2
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6436d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
lea eax, [esi + 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], edx
call fcn.0041f820
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x30], ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x423a00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643c73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x408
push ebx
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
call fcn.00423890
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x414], edi
cmp eax, edi
ja 0x423a3e
cmp ebx, 0xffffffff
jbe 0x423a48
push 0x80070057
call fcn.004011d0
cmp ebx, 0x400
jbe 0x423a5e
push ebx
lea ecx, [ebp - 0x414]
call fcn.0057bed0
jmp 0x423a6a
lea eax, [ebp - 0x410]
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x414]
push edx
mov ecx, esi
call fcn.00423890
mov esi, dword [ebp - 0x414]
lea edi, [ebx - 0x14]
xor eax, eax
xor ecx, ecx
test edi, edi
je 0x423ab7
jmp 0x423aa0
mov dl, byte [eax + str._Q__1.]
xor byte [ecx + esi + 0x14], dl
inc eax
cmp eax, 0xe
jb 0x423ab2
xor eax, eax
inc ecx
cmp ecx, edi
jb 0x423aa0
mov ecx, dword [ebp - 0x414]
mov edx, dword [ebp + 8]
push 0
lea eax, [ebp + 8]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, esi
jne 0x423ae7
call fcn.00416a70
cmp eax, esi
jge 0x423ae7
push eax
mov dword [ebp - 0x10], esi
call fcn.004011d0
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
pop edi
lea eax, [ebp - 0x410]
pop esi
pop ebx
cmp dword [ebp - 0x414], eax
je 0x423b0d
lea ecx, [ebp - 0x414]
call fcn.004dc950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x423b20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643c95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x14], edi
call fcn.00418a80
xor esi, esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x418], ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp + 8]
push esi
lea edx, [ebp - 0x10]
push edx
push 0x14
push eax
push ecx
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, esi
jne 0x423b93
call fcn.00416a70
jmp 0x423ba2
mov eax, dword [ebp - 0x10]
sub eax, 0x14
neg eax
sbb eax, eax
and eax, 0x80070026
xor ecx, ecx
cmp eax, esi
setge cl
cmp ecx, esi
jne 0x423bbe
push 0x6b9458
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], eax
call fcn.0060fb01
mov eax, dword [edi]
mov edx, dword [eax]
mov esi, dword [ebp - 0x418]
mov ecx, edi
call edx
mov ebx, eax
mov edi, 3
lea ecx, [esi + 0xc]
sub ebx, esi
mov eax, dword [ecx]
mov edx, dword [ebx + ecx]
cmp eax, edx
jb 0x423c54
ja 0x423c54
sub ecx, 4
dec edi
jns 0x423bd8
mov eax, dword [esi + 0x10]
add eax, 0x14
push eax
lea ecx, [ebp - 0x418]
call fcn.00418cf0
mov edi, dword [esi + 0x10]
mov edx, dword [ebp - 0x418]
mov eax, dword [ebp + 8]
push 0
lea ecx, [ebp - 0x10]
push ecx
push edi
add edx, 0x14
push edx
push eax
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x423c94
call fcn.00416a70
test eax, eax
js 0x423c54
mov ecx, dword [esi + 0x10]
mov edx, dword [ebp - 0x418]
push 0
push ecx
add edx, 0x14
push edx
call fcn.00416ae0
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push eax
call fcn.004236a0
mov byte [ebp - 4], 0
pop edi
lea ecx, [ebp - 0x414]
pop esi
pop ebx
cmp dword [ebp - 0x418], ecx
je 0x423c74
lea ecx, [ebp - 0x418]
call fcn.004dc950
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp + 8]
push edx
call fcn.00418ac0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x10], edi
jne 0x423c54
jmp 0x423c2d
Function at 0x425150
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.006100a0
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4251a9
mov eax, dword [ebp - 0x110]
cmp eax, 5
jae 0x4251a3
cmp eax, 4
jne 0x4251a9
cmp dword [ebp - 0x10c], 0x5a
jb 0x4251a9
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x432760
Capabilities:
Create process on windows
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644f4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x890
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x89c]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x200
ja 0x4327d6
test eax, eax
je 0x4327d6
lea ecx, [ebp - 0x89c]
push ecx
lea edx, [ebp - 0x14]
push 0x66edc0
push edx
call fcn.00405ab0
add esp, 0xc
jmp 0x4327e5
push 3
push 0x66fae0
lea ecx, [ebp - 0x14]
call fcn.00401670
mov edi, dword [ebp - 0x14]
lea ebx, [edi - 0x10]
push ebx
call fcn.004011f0
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
push edi
lea eax, [ebp - 0x18]
push str._sPDFActivityRepOut.pdf
push eax
call fcn.00405ab0
add esp, 0x10
mov ecx, esi
call fcn.0042e0e0
mov edi, dword [ebp - 0x18]
test eax, eax
je 0x432902
push 0
push str.Log_Files__.pdf_.pdf
push 6
push str.ActivityRerort.pdf
push 0x66fdc0
push 0
lea ecx, [ebp - 0x49c]
call fcn.0044a8d0
mov byte [ebp - 4], 4
mov dword [ebp - method.CSSFileDialog.virtual_0], 0x66f988
mov byte [ebp - 4], 5
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x49c]
call fcn.00427c40
cmp eax, 1
jne 0x4328da
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040bea0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x10]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0xb4]
call fcn.004314b0
cmp dword [esi + 0x130], 0
je 0x4328b5
mov ecx, dword [ebp - 0x10]
push 7
push 0
push 0
push ecx
push 0x66f294
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4328e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4328e1
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x494]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x488]
test eax, eax
je 0x432902
push eax
call fcn.0060ec68
mov byte [ebp - 4], 1
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432922
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432942
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10