joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428b20
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push edx
mov esi, ecx
mov dword [ebp - 0x20], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x428b82
call dword [sym.imp.USER32.dll_CloseClipboard]
push edi
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], edi
push 0x5637cb
mov byte [esi], 0
call fcn.0041f160
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x428bb8
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x5637cb
mov ecx, esi
call fcn.0041f260
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041f260
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00423ba0
cmp dword [ebp - 8], 0x10
jb 0x428bea
push dword [ebp - 0x1c]
call fcn.00459190
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0050904e
mov esp, ebp
pop ebp
ret

Function at 0x428c60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x103
lea eax, [ebp - 0x107]
mov dword [ebp - 0x10c], 0
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x108], 0
call fcn.00509d10
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x428ccc
mov eax, dword [esi]
jmp 0x428cce
mov eax, esi
lea edx, [ebp - 0x108]
cmp edx, eax
jb 0x428d21
cmp ecx, 0x10
jb 0x428ce1
mov edx, dword [esi]
jmp 0x428ce3
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x108]
cmp eax, edx
jbe 0x428d21
cmp ecx, 0x10
jb 0x428cfb
mov eax, dword [esi]
jmp 0x428cfd
mov eax, esi
push 2
lea ecx, [ebp - 0x108]
sub ecx, eax
push ecx
push esi
mov ecx, esi
call fcn.0041eda0
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret
cmp ecx, 2
jae 0x428d32
push dword [esi + 0x10]
mov ecx, esi
push 2
call fcn.0041ef00
cmp dword [esi + 0x14], 0x10
jb 0x428d3c
mov ecx, dword [esi]
jmp 0x428d3e
mov ecx, esi
mov ax, word [ebp - 0x108]
mov word [ecx], ax
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 2
jb 0x428d59
mov eax, dword [esi]
jmp 0x428d5b
mov eax, esi
mov ecx, dword [ebp - 4]
mov byte [eax + 2], 0
xor ecx, ebp
mov eax, esi
pop esi
call fcn.0050904e
mov esp, ebp
pop ebp
ret
Function at 0x428d70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov dword [ebp - 0x210], 0
push 0x206
push eax
mov word [ebp - 0x20c], ax
mov esi, ecx
lea eax, [ebp - 0x20a]
push eax
call fcn.00509d10
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x428ddf
mov eax, dword [esi]
jmp 0x428de1
mov eax, esi
lea edx, [ebp - 0x20c]
cmp edx, eax
jb 0x428e37
cmp ecx, 8
jb 0x428df4
mov edx, dword [esi]
jmp 0x428df6
mov edx, esi
mov eax, dword [esi + 0x10]
lea eax, [edx + eax*2]
lea edx, [ebp - 0x20c]
cmp eax, edx
jbe 0x428e37
cmp ecx, 8
jb 0x428e0f
mov eax, dword [esi]
jmp 0x428e11
mov eax, esi
lea ecx, [ebp - 0x20c]
sub ecx, eax
push 2
sar ecx, 1
push ecx
push esi
mov ecx, esi
call fcn.0041f420
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret
cmp ecx, 2
jae 0x428e48
push dword [esi + 0x10]
mov ecx, esi
push 2
call fcn.0041f580
cmp dword [esi + 0x14], 8
jb 0x428e52
mov ecx, dword [esi]
jmp 0x428e54
mov ecx, esi
mov eax, dword [ebp - 0x20c]
mov dword [ecx], eax
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 2
jb 0x428e6d
mov eax, dword [esi]
jmp 0x428e6f
mov eax, esi
xor ecx, ecx
mov word [eax + 4], cx
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0050904e
mov esp, ebp
pop ebp
ret
Function at 0x428fd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a2d2
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0x103
mov dword [ebp - 4], 0
lea eax, [ebp - 0x113]
push 0
mov dword [ebp - 0x120], 0
push eax
mov dword [ebp - 0x124], esi
mov byte [ebp - 0x114], 0
call fcn.00509d10
add esp, 0xc
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
mov byte [esi], 0
push 0
push 0x5637cb
call fcn.0041f160
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x120], 1
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x42912b
lea eax, [ebp - 0x11c]
push eax
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x42911f
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x11c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4290c9
cmp byte [ebp - 0x114], 0
je 0x4290e8
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
jmp 0x4290c0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4290c0
jmp 0x4290fc
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00509d10
add esp, 0xc
cmp byte [ebp - 0x114], 0
jne 0x4290ec
xor ecx, ecx
jmp 0x4290fe
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4290f5
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
mov ecx, esi
push eax
call fcn.0041f160
mov eax, dword [ebp - 0x118]
push dword [ebp - 0x11c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov ecx, dword [ebp - 0x118]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret
Function at 0x429180
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a322
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x103
mov dword [ebp - 4], 0
lea eax, [ebp - 0x113]
push 0
mov dword [ebp - 0x118], 0
push eax
mov dword [ebp - 0x11c], esi
mov byte [ebp - 0x114], 0
call fcn.00509d10
add esp, 0xc
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
mov byte [esi], 0
push 0
push 0x5637cb
call fcn.0041f160
push 1
push 0x26
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push eax
push 0
mov dword [ebp - 0x118], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x429249
cmp byte [ebp - 0x114], 0
je 0x429268
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
jmp 0x429240
mov al, byte [ecx]
inc ecx
test al, al
jne 0x429240
jmp 0x42927c
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00509d10
add esp, 0xc
cmp byte [ebp - 0x114], 0
jne 0x42926c
xor ecx, ecx
jmp 0x42927e
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x429275
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
mov ecx, esi
push eax
call fcn.0041f160
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret
Function at 0x429670
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x429685
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4296c4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4296c0
lea ebx, [ebx]
cmp esi, edx
jae 0x4296c4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x4296b0
cmp esi, edx
jb 0x4296c9
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x429a60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a728
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x5876e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0041eda0
lea ecx, [ebp - 0x28]
call fcn.0042a140
mov esi, eax
add esp, 0x18
lea eax, [ebp + 8]
cmp eax, esi
je 0x429af1
cmp dword [ebp + 0x1c], 0x10
jb 0x429ad6
push dword [ebp + 8]
call fcn.00459190
add esp, 4
push esi
lea ecx, [ebp + 8]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
call fcn.00423c50
cmp dword [ebp - 0x14], 0x10
jb 0x429b02
push dword [ebp - 0x28]
call fcn.00459190
add esp, 4
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmovae eax, dword [ebp + 8]
push eax
call esi
test eax, eax
jne 0x429b2c
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.imagehlp.dll_MakeSureDirectoryPathExists]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call esi
test eax, eax
setne bl
cmp dword [ebp + 0x1c], 0x10
jb 0x429b50
push dword [ebp + 8]
call fcn.00459190
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429e30
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a798
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x5876e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.0041f420
call fcn.00429800
add esp, 0x18
test al, al
jne 0x429e8f
mov bl, 1
jmp 0x429ebd
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0x80
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
cmp dword [ebp + 0x1c], 8
jb 0x429ece
push dword [ebp + 8]
call fcn.00459190
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bc10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ac78
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x60], 0
call fcn.00423920
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x42bc77
xor ecx, ecx
jmp 0x42bc8f
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bc80
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0041f830
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x562304
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0041f830
push 1
push 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], 0x22
call fcn.00423520
lea ecx, [ebp - 0x40]
test eax, eax
jns 0x42bd00
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
mov edi, dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
push edi
push 0
push eax
call fcn.00423520
test eax, eax
js 0x42bd4f
add eax, edi
jmp 0x42bd19
push 1
inc eax
mov dword [ebp - 0x44], 0x22
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00423520
test eax, eax
jle 0x42bd4f
inc eax
cmp eax, dword [ebp - 0x30]
jg 0x42bd4f
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x40]
call fcn.004233c0
push eax
lea ecx, [ebp - 0x28]
call fcn.0041e6c0
cmp dword [ebp - 0x64], 8
jb 0x42bd47
push dword [ebp - 0x78]
call fcn.00459190
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.004259a0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0041ebd0
cmp dword [ebp - 0x14], 8
jb 0x42bd6b
push dword [ebp - 0x28]
call fcn.00459190
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], eax
jb 0x42bd8c
push dword [ebp - 0x40]
call fcn.00459190
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x48], 8
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], eax
jb 0x42bdad
push dword [ebp - 0x5c]
call fcn.00459190
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret
Function at 0x42c340
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push ecx
mov dword [ebp - 0x18], edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42c39f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFile___Error:__ld_n
call fcn.00517106
add eax, 0x40
push eax
call fcn.00529374
add esp, 0xc
or eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret
push esi
push 8
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.0050a0d4
mov esi, eax
add esp, 4
test esi, esi
je 0x42c407
push 0
lea eax, [ebp - 8]
push eax
push 8
push esi
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x42c41a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IOCTL_STORAGE_QUERY_PROPERTY_Error:__ld_n
call fcn.00517106
add eax, 0x40
push eax
call fcn.00529374
push esi
call fcn.00509841
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret
push ebx
push dword [esi + 4]
call fcn.0050a0d4
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42c450
push esi
call fcn.00509841
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
push eax
push dword [esi + 4]
lea eax, [ebp - 0x14]
push ebx
push 0xc
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x42c4b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IOCTL_STORAGE_QUERY_PROPERTY_Error:__ld_n
call fcn.00517106
add eax, 0x40
push eax
call fcn.00529374
push esi
call fcn.00509841
push ebx
call fcn.00509841
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
mov ax, word [ebx + 0x1c]
push esi
mov word [ecx], ax
call fcn.00509841
push ebx
call fcn.00509841
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop esi
xor ecx, ebp
pop edi
call fcn.0050904e
mov esp, ebp
pop ebp
ret
Function at 0x42d630
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b543
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5876e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x5a2228
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx], 0x5a2228
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x5637cb
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00438680
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42fa00
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54bc17
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5876e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x568e80
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00430780
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.00430d60
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x5a2ad0]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x50], 0
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4303b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54bc97
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5876e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x568e2c
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00430780
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.00430d60
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x5a2ad0]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x50], 0
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x430a00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54bd18
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5876e0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x5876e0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x430b54
cmp byte [ebx + 0x45], 0
je 0x430b54
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x430a60
xor al, al
jmp 0x430b56
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x430aa0
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x430ae1
dec eax
je 0x430ae5
sub eax, 2
je 0x430b3b
xor bl, bl
jmp 0x430b3d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x430b1c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0052963f
add esp, 0x10
cmp esi, eax
jne 0x430add
cmp byte [ebx + 0x45], 0
je 0x430b3b
test esi, esi
jne 0x430aa0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00425c60
jmp 0x430aa0
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x430b50
push dword [esp + 0x18]
call fcn.00459190
add esp, 4
mov al, bl
jmp 0x430b56
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0050904e
mov esp, ebp
pop ebp
ret

Function at 0x435e20
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [edi], eax
mov word [edi + 4], ax
mov byte [edi + 6], al
jmp 0x435e40
movzx esi, byte [eax + str.80_]
mov ecx, 7
mov edx, esi
shr esi, 3
and edx, 7
sub ecx, edx
mov edx, 1
shl edx, cl
test byte [esi + ebx], dl
je 0x435e7a
mov edx, eax
mov esi, eax
and edx, 7
sar esi, 3
mov ecx, 7
sub ecx, edx
mov dl, 1
shl dl, cl
or byte [esi + edi], dl
inc eax
cmp eax, 0x38
jl 0x435e40
pop edi
pop esi
pop ebx
pop ebp
ret 8