joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55dc28
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], vtable.CMenu.0
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], esi
call fcn.0050ad42
movzx ecx, word [esp + 0x4c]
mov eax, dword [eax + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadMenuW]
push eax
lea ecx, [esp + 0x18]
call fcn.005154f0
mov edx, dword [esp + 0x18]
push esi
push edx
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.005154bb
mov edi, dword [esp + 0x54]
mov ebx, eax
cmp edi, esi
je 0x4120b9
mov ebp, dword [esp + 0x58]
test ebp, ebp
jle 0x4120b9
lea esp, [esp]
mov eax, dword [edi + esi*4]
test eax, eax
jl 0x4120b4
push 0
push eax
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
inc esi
cmp esi, ebp
jl 0x4120a0
mov ecx, dword [ebx + 4]
push ecx
xor esi, esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov edi, eax
test edi, edi
jle 0x412115
cmp esi, edi
mov ebp, dword [sym.imp.USER32.dll_GetMenuItemID]
jge 0x4120f5
mov edx, dword [ebx + 4]
push esi
push edx
call ebp
test eax, eax
jne 0x4120f5
mov eax, dword [ebx + 4]
push 0x400
push esi
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
dec edi
cmp esi, edi
jl 0x4120d5
inc esi
cmp esi, edi
jge 0x412110
lea ebx, [ebx]
mov ecx, dword [ebx + 4]
push esi
push ecx
call ebp
test eax, eax
je 0x412110
inc esi
cmp esi, edi
jl 0x412100
inc esi
cmp esi, edi
jl 0x4120d5
mov edx, dword [ebx + 4]
mov eax, dword [0x5ed04c]
mov ecx, dword [eax + 0x1744]
push edx
mov edx, dword [eax + 0x1740]
push ecx
push edx
call fcn.004e9f30
mov eax, dword [esp + 0x5c]
add esp, 0xc
test eax, eax
je 0x412184
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x4c]
push edx
mov edx, dword [ebx + 4]
push eax
push ecx
push 0x42
push edx
mov dword [esp + 0x34], 0x14
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
jmp 0x41219e
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push 0
push eax
push ecx
push edx
push 2
mov ecx, ebx
call fcn.005015e1
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x14], vtable.CMenu.0
call fcn.00515548
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x4122b0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x414
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x64]
push eax
call fcn.005411ca
push 0x410
call fcn.00541100
mov ecx, dword [esi + 0xdc]
push ecx
push 0x208
push eax
mov dword [esi + 0x64], eax
call fcn.0054013c
mov edx, dword [esi + 0x64]
push str.EDITPLUS.chm
push 0x208
push edx
call fcn.005400bf
mov eax, dword [esi + 0xc4]
add esp, 0x20
test eax, eax
je 0x41234e
push eax
mov eax, dword [esi + 0xdc]
push eax
lea ecx, [esp + 0xc]
push str._s_d.chm
push ecx
call fcn.00411b70
add esp, 0x10
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41234e
mov ecx, dword [esi + 0x64]
lea eax, [esp + 4]
push eax
push 0x208
push ecx
call fcn.0054013c
add esp, 0xc
mov ecx, dword [esp + 0x414]
pop esi
xor ecx, esp
call fcn.0053fa67
add esp, 0x414
ret
Function at 0x4160a0
Capabilities:
Set current directory

Disassembly:
sub esp, 0x418
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x414], eax
mov eax, dword [esp + 0x41c]
push edi
mov edi, ecx
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x208
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x416148
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [esp + 0xc]
push eax
call esi
test eax, eax
je 0x416147
mov ecx, dword [0x5ba2a8]
mov edx, dword [ecx + 0xd8]
push edx
call esi
lea eax, [esp + 0xc]
lea edx, [eax + 2]
jmp 0x416110
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416110
sub eax, edx
sar eax, 1
cmp eax, 3
jle 0x416137
lea eax, [esp + eax*2 + 0xa]
mov ecx, 0x5c
cmp cx, word [eax]
jne 0x416137
xor edx, edx
mov word [eax], dx
lea eax, [esp + 0xc]
push eax
lea ecx, [edi + 0xf8]
call fcn.00402260
pop esi
mov ecx, dword [esp + 0x418]
pop edi
xor ecx, esp
call fcn.0053fa67
add esp, 0x418
ret 4

Function at 0x416680
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x55dec8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [esp + 0x30]
test eax, eax
jne 0x416722
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4166e0
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x28]
push edx
push edi
push 1
push 0
push 0x57bd68
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x28]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x416722
test esi, esi
je 0x4167a7
cmp ebp, 0x80000000
jne 0x4167c7
push 0x573098
lea ecx, [esp + 0x30]
call fcn.004022e0
mov dword [esp + 0x20], 0
test ebx, ebx
jne 0x41674c
xor eax, eax
jmp 0x416760
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416751
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x34]
call fcn.00401fe0
mov edx, dword [esp + 0x2c]
push edi
push edx
push reloc.WSOCK32.dll_accept
call fcn.00416680
or edx, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
je 0x4167ae
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4167a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4167c9
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4167c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x4179d0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x55f7bb
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x420]
mov dword fs:[0], eax
mov eax, dword [esp + 0x430]
push eax
lea ecx, [esp + 0xc]
call fcn.004022e0
lea eax, [esp + 8]
push eax
mov dword [esp + 0x42c], 0
call fcn.004146c0
mov edx, dword [esp + 0xc]
add esp, 4
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x5731a4
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or esi, 0xffffffff
cmp eax, esi
jne 0x417a94
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x428], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x417a90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x417acf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x428], esi
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x417aca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x420]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0053fa67
add esp, 0x424
ret
Function at 0x421cb0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x3ec
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x3e8], eax
mov eax, dword [0x5b3500]
push esi
mov esi, dword [esp + 0x3f4]
push edi
push eax
lea ecx, [esp + 0xc]
push 0x1f4
push ecx
call fcn.0054013c
push esi
lea edx, [esp + 0x18]
push 0x1f4
push edx
call fcn.005400bf
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esp, 0x18
lea eax, [esp + 8]
push eax
push reloc.WSOCK32.dll_bind
call esi
lea ecx, [esp + 8]
push ecx
push reloc.WSOCK32.dll_accept
mov edi, eax
call esi
test edi, edi
pop edi
pop esi
je 0x421d36
test eax, eax
je 0x421d36
xor eax, eax
mov ecx, dword [esp + 0x3e8]
xor ecx, esp
call fcn.0053fa67
add esp, 0x3ec
ret
mov ecx, dword [esp + 0x3e8]
xor ecx, esp
mov eax, 1
call fcn.0053fa67
add esp, 0x3ec
ret

Function at 0x4244d0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x824
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push esi
mov esi, dword [esp + 0x830]
push edi
mov edi, dword [esp + 0x83c]
push edi
call fcn.0044e350
mov ebx, dword [esp + 0x83c]
add esp, 4
test eax, eax
je 0x4245ac
push edi
push ebx
push esi
call fcn.0054013c
add esp, 0xc
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
jne 0x4245fa
push eax
push 0x208
lea eax, [esp + 0x424]
push eax
push esi
call fcn.0044ee60
mov ecx, dword [0x5ba2b0]
push ecx
lea edx, [esp + 0x20]
push 0x208
push edx
call fcn.0054013c
lea eax, [esp + 0x28]
push eax
call fcn.00410c70
lea ecx, [esp + 0x43c]
push ecx
mov edx, 0x208
sub edx, eax
push edx
lea eax, [esp + eax*2 + 0x34]
push eax
call fcn.0054013c
add esp, 0x2c
lea ecx, [esp + 0xc]
push ecx
call edi
test eax, eax
je 0x4245fa
lea edx, [esp + 0xc]
push edx
push ebx
push esi
call fcn.0054013c
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x820]
xor ecx, esp
call fcn.0053fa67
add esp, 0x824
ret
mov eax, dword [0x5ba2b0]
push eax
push ebx
push esi
call fcn.0054013c
push esi
call fcn.00410c70
mov ecx, ebx
push edi
sub ecx, eax
push ecx
lea edx, [esi + eax*2]
push edx
call fcn.0054013c
add esp, 0x1c
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4245fa
mov eax, dword [0x5ba2a8]
mov ecx, dword [eax + 0xdc]
push ecx
push ebx
push esi
call fcn.0054013c
push edi
push ebx
push esi
call fcn.005400bf
add esp, 0x18
mov ecx, dword [esp + 0x82c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053fa67
add esp, 0x824
ret
Function at 0x42f8c0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x5c3058]
push ebp
push esi
push edi
push eax
mov ebp, ecx
call fcn.004ff267
add esp, 4
cmp dword [0x5c3070], 0
mov dword [0x5c3058], 0
je 0x42f8ee
mov edi, dword [ebp + 0x140]
jmp 0x42f8f4
mov edi, dword [ebp + 0x38c]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ff272
add esp, 4
push esi
push eax
push edi
mov dword [0x5c3058], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [0x5c3058]
xor ecx, ecx
mov word [edx + eax*2], cx
push 1
mov ecx, ebp
call fcn.00502426
pop edi
pop esi
pop ebp
ret

Function at 0x42fa30
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov eax, dword [0x5c3058]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.004ff267
mov ecx, dword [0x5c3054]
xor edi, edi
push ecx
mov dword [0x5c3058], edi
call fcn.004ff267
add esp, 8
mov dword [0x5c3054], edi
cmp dword [0x5c306c], edi
je 0x42fa73
mov edi, dword [esi + 0x240]
jmp 0x42fa79
mov edi, dword [esi + 0x4cc]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push edi
call ebp
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ff272
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
add esp, 4
push esi
push eax
push edi
mov dword [0x5c3058], eax
call ebx
mov edx, dword [0x5c3058]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp dword [0x5c306c], ecx
je 0x42fad0
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x1ec]
jmp 0x42fada
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 0x438]
push edi
call ebp
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ff272
add esp, 4
push esi
push eax
push edi
mov dword [0x5c3054], eax
call ebx
mov edx, dword [0x5c3054]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [esp + 0x10]
push 1
call fcn.00502426
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x434a40
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x5c30a8]
push esi
push edi
push eax
call fcn.004ff267
mov edi, dword [esp + 0x10]
mov eax, edi
add esp, 4
mov dword [0x5c30a8], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434a63
sub eax, edx
sar eax, 1
mov esi, eax
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ff272
add esi, esi
push esi
push edi
push eax
mov dword [0x5c30a8], eax
call fcn.005402a0
mov edx, dword [esp + 0x20]
mov ecx, dword [0x5c30a8]
xor eax, eax
add esp, 0x10
mov word [esi + ecx], ax
test edx, edx
je 0x434acf
mov eax, edx
lea esi, [eax + 2]
jmp 0x434ac0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434ac0
sub eax, esi
sar eax, 1
push eax
push edx
mov ecx, 0x5c30d8
call fcn.00401e70
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x434ae7
xor eax, eax
jmp 0x434aff
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434af0
sub eax, esi
sar eax, 1
push eax
push edx
mov ecx, 0x5c30d0
call fcn.00401e70
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x434b17
xor eax, eax
jmp 0x434b2f
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434b20
sub eax, esi
sar eax, 1
push eax
push edx
mov ecx, 0x5c30d4
call fcn.00401e70
movzx edx, byte [esp + 0x1c]
movzx ecx, byte [esp + 0x24]
movzx eax, byte [esp + 0x20]
mov dword [0x5c30cc], edx
movzx edx, byte [esp + 0x28]
mov dword [0x5c30c4], ecx
movzx ecx, byte [esp + 0x30]
mov dword [0x5c30c8], eax
movzx eax, byte [esp + 0x2c]
mov dword [0x5c30bc], edx
movzx edx, byte [esp + 0x34]
mov dword [0x5c30b4], ecx
mov ecx, dword [0x5ed04c]
pop edi
mov dword [0x5c30b8], eax
mov dword [0x5c30ac], edx
add ecx, 0x5fc
pop esi
jmp fcn.004b8610
Function at 0x435300
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x56008b
mov eax, dword fs:[0]
push eax
sub esp, 0xa7c
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0xa78], eax
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0xa8c]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa9c]
mov ecx, esi
mov dword [esp + 0x10], esi
call fcn.004b3930
mov eax, dword [0x5b3470]
xor edi, edi
mov dword [0x5c30a0], 0
mov dword [0x5c30a4], 0
mov dword [esp + 0x14], eax
test eax, eax
jle 0x4354cd
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea esp, [esp]
cmp dword [esi + 0x114], 0
jne 0x4354cd
mov eax, dword [0x5b346c]
mov ecx, dword [eax + edi*4]
mov esi, dword [ecx + 4]
push esi
call fcn.00412280
add esp, 4
push esi
test eax, eax
je 0x4354b6
lea edx, [esp + 0x26c]
push 0x208
push edx
call fcn.0054013c
lea eax, [esp + 0x274]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4353d0
sub eax, edx
sar eax, 1
mov esi, eax
test esi, esi
jle 0x435408
cmp word [esp + esi*2 + 0x266], 0x5c
je 0x435408
mov eax, 0x5c
mov word [esp + esi*2 + 0x268], ax
inc esi
xor ecx, ecx
mov word [esp + esi*2 + 0x268], cx
lea edx, [esp + 0x268]
push edx
lea eax, [esp + 0x67c]
push 0x208
push eax
call fcn.0054013c
mov ecx, 0x208
push 0x575240
sub ecx, esi
push ecx
lea edx, [esp + esi*2 + 0x68c]
push edx
call fcn.0054013c
add esp, 0x18
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x67c]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x4354be
test byte [esp + 0x18], 0x10
jne 0x43549d
lea edx, [esp + 0x268]
push edx
lea eax, [esp + 0x67c]
push 0x208
push eax
call fcn.0054013c
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x688]
push 0x208
push edx
call fcn.005400bf
lea eax, [esp + 0x690]
push eax
call fcn.00434c70
add esp, 0x1c
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x435455
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4354be
call fcn.00434c70
add esp, 4
mov esi, dword [esp + 0x10]
inc edi
cmp edi, dword [esp + 0x14]
jl 0x435380
mov ecx, esi
call fcn.004b69b0
call fcn.0050830c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4354ee
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
push 0xe001
mov dword [esp + 0xa98], 0
call fcn.00508284
test eax, eax
je 0x43552a
push 0xe001
push eax
lea ecx, [esp + 0x18]
call fcn.00401da0
mov esi, dword [esp + 0x10]
mov ecx, dword [0x5ed04c]
mov edx, dword [ecx + 0x10c]
push esi
push 0
push 0x40b
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi - 0x10]
mov dword [esp + 0xa94], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43556c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xa8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xa78]
xor ecx, esp
call fcn.0053fa67
add esp, 0xa88
ret
Function at 0x4397c0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0xf0000000
push 0xd
push 0
mov esi, ecx
push 0
push esi
call edi
test eax, eax
jne 0x4397df
pop edi
pop esi
ret
push 0xf0000000
push 0x18
push 0
push 0
add esi, 4
push esi
call edi
test eax, eax
jne 0x4397f6
mov dword [esi], eax
pop edi
mov eax, 1
pop esi
ret

Function at 0x439800
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
lea eax, [esp + 4]
push eax
mov eax, dword [ecx]
xor esi, esi
push esi
push esi
push edx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x439859
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
push esi
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x439859
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 4]
push esi
push ecx
push edx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov esi, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x439868
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, esi
pop esi
pop ecx
ret 0x14

Function at 0x439870
Capabilities:
Encrypt data using aes via winapi
Encrypt data using des via winapi

Disassembly:
sub esp, 0x14
xor eax, eax
xor edx, edx
push ebp
push edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
mov byte [esp + 0x14], 8
mov byte [esp + 0x15], 2
mov word [esp + 0x16], dx
cmp dword [esp + 0x28], eax
je 0x4398b1
mov edi, 0x10
mov dword [ecx], edi
mov ebp, dword [0x5ec710]
mov dword [esp + 0x18], 0x660e
jmp 0x4398ca
mov dword [ecx], 8
mov ebp, dword [0x5ec70c]
mov dword [esp + 0x18], 0x6603
mov edi, 0x18
cmp ebp, eax
jne 0x4398d8
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret 0xc
push ebx
push esi
lea ebx, [edi + 0xc]
push ebx
call fcn.004ff272
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esi], eax
push edi
push edx
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
push eax
mov dword [esi + 8], edi
call fcn.005402a0
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push ebx
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x439924
mov edi, 1
jmp 0x43993b
push 0
push 0
push 0
push 0x54b9
call fcn.00450540
mov edi, dword [esp + 0x28]
add esp, 0x10
push esi
call fcn.004ff267
add esp, 4
test edi, edi
je 0x439989
cmp dword [esp + 0x2c], 0
mov esi, dword [esp + 0x14]
je 0x439974
mov eax, dword [esi + 4]
test eax, eax
je 0x439961
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov edx, dword [esp + 0x10]
mov dword [esi + 4], edx
pop esi
pop ebx
mov eax, edi
pop edi
pop ebp
add esp, 0x14
ret 0xc
mov eax, dword [esi + 8]
test eax, eax
je 0x439982
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [esp + 0x10]
mov dword [esi + 8], eax
pop esi
pop ebx
mov eax, edi
pop edi
pop ebp
add esp, 0x14
ret 0xc
Function at 0x4399a0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4399aa
ret 8
mov edx, dword [esp + 4]
push esi
lea ecx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov esi, eax
test esi, esi
jne 0x4399d8
push eax
push eax
push eax
push 0x5530
call fcn.00450540
add esp, 0x10
mov eax, esi
pop esi
ret 8

Function at 0x439c00
Capabilities:
Authenticate hmac

Disassembly:
push ecx
cmp dword [esp + 0xc], 0
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x10], ebp
je 0x439c1d
lea edi, [ebp + 8]
lea ebx, [ebp + 0x88]
jmp 0x439c26
lea edi, [ebp + 0x48]
lea ebx, [ebp + 0xc8]
xor eax, eax
cmp dword [esp + 0x20], eax
push 0x40
sete al
push 0x36
push edi
lea eax, [eax*4 + 0x10]
mov esi, eax
call fcn.00540610
add esp, 0xc
xor ecx, ecx
test esi, esi
jle 0x439c67
mov ebp, dword [esp + 0x18]
mov eax, edi
sub ebp, edi
cmp ecx, 0x40
jge 0x439c63
mov dl, byte [eax + ebp]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, esi
jl 0x439c53
mov ebp, dword [esp + 0x10]
push 0x40
push 0x5c
push ebx
call fcn.00540610
add esp, 0xc
xor ecx, ecx
test esi, esi
jle 0x439c92
mov edi, dword [esp + 0x18]
mov eax, ebx
sub edi, ebx
cmp ecx, 0x40
jge 0x439c92
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, esi
jl 0x439c82
pop edi
pop esi
mov dword [ebp + 4], 1
pop ebp
pop ebx
pop ecx
ret 0xc