joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431050
Capabilities:
Get common file path

Disassembly:
cmp dword [edi], 0
push esi
jne 0x4310f2
cmp dword [edi + 4], 0xffffffff
jne 0x4310f2
lea esi, [edi + 0x244]
push esi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, esi
lea edx, [eax + 2]
jmp 0x431080
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431080
sub eax, edx
sar eax, 1
movzx ecx, word [edi + eax*2 + 0x242]
cmp cx, 0x5c
je 0x4310b7
cmp cx, 0x2f
je 0x4310b7
mov word [edi + eax*2 + 0x244], 0x2f
mov word [edi + eax*2 + 0x246], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
lea esi, [esp + 0x14]
call fcn.00430040
add esp, 8
test eax, eax
jne 0x4310d9
mov eax, dword [esp + 0xc]
pop esi
ret 8
call fcn.00430420
mov dword [edi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop esi
ret 8
mov eax, 0x1000000
pop esi
ret 8

Function at 0x431960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4613b6
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x47f344]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ebx
mov byte [esi + 0x14], bl
lea edi, [esi + 0x30]
mov dword [esp + 0x18], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
mov byte [esp + 0x18], 1
push ebx
mov dword [esi], 1
call fcn.0043eecb
add esp, 4
push 0xffffffffffffffff
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [0x48517c]
push ebx
push 0x485184
mov ecx, edi
mov dword [esi + 0x2c], eax
call fcn.00407c00
mov ecx, dword [0x485180]
mov dword [esi + 0x4c], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x431a00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x461829
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f344]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
lea esi, [edi + 0x10]
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea ebp, [edi + 0x2c]
mov dword [esp + 0x38], ebx
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
mov dword [edi + 0x60], eax
mov dword [edi + 0x5c], ebx
mov byte [edi + 0x4c], bl
mov byte [esp + 0x38], 2
push ebx
mov dword [edi], 1
call fcn.0043eecb
add esp, 4
push 4
push str.lock
mov ecx, esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
call fcn.00406e20
mov eax, dword [0x48517c]
push eax
lea esi, [esp + 0x18]
call fcn.00431c30
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x44], 3
call fcn.00407c00
cmp dword [esp + 0x2c], 0x10
jb 0x431ab5
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043e445
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x431d40
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4622f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f344]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x431d80
lea eax, [esp + 0x2c]
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
je 0x431df9
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x431d9f
lea eax, [esp + 0x2c]
push ebx
push 0x80
push 3
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x431df9
mov eax, dword [ebp + 0x14]
push ebx
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, ebp
mov dword [esp + 0x20], ebx
call fcn.00406f20
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x431df2
mov edx, dword [ebp + 0x14]
cmp edx, dword [esp + 0x14]
jne 0x431df2
call fcn.00431cb0
test al, al
je 0x431df2
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x40], 0x10
jb 0x431e0d
mov eax, dword [esp + 0x2c]
push eax
call fcn.0043e445
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x433400
Capabilities:
Create thread

Disassembly:
push ebx
push 0
xor bl, bl
call fcn.0043eecb
push eax
call fcn.0043ee9c
add esp, 8
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi], eax
je 0x433446
push 0
push 0
push eax
push 0x4330e0
push 0
push 0
call fcn.0043e645
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
mov al, 1
jne 0x433448
mov al, bl
pop ebx
ret

Function at 0x4335e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x464078
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x47f344]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x13]
push ecx
push 0x482658
push str.InsertLineBreaks
mov ecx, esi
call edx
test al, al
mov bl, byte [esp + 0x13]
jne 0x433633
mov bl, 1
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x482664
push str.MaxLineLength
mov ecx, esi
call edx
test al, al
mov eax, dword [esp + 0x14]
jne 0x433658
mov eax, 0x48
test bl, bl
mov esi, 0x46ddd4
jne 0x433666
mov esi, 0x469f6d
neg bl
mov dword [esp + 0x20], 6
mov dword [esp + 0x14], 0x46bbb0
sbb ebx, ebx
and ebx, eax
lea eax, [esp + 0x54]
mov dword [esp + 0x18], ebx
mov ebx, dword [edi + 0x44]
push eax
call fcn.00433550
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x7c], 0
call fcn.00433550
mov esi, eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, str.EncodingLookupArray
mov byte [esp + 0x80], 1
call fcn.00433800
add esp, 8
mov byte [esp + 0x78], 2
movzx ecx, byte [eax + 8]
push ecx
push str.PaddingByte
mov edi, eax
call fcn.00433950
movzx edx, byte [eax + 8]
push edx
lea ecx, [esp + 0x1c]
push ecx
push str.GroupSize
mov edi, eax
call fcn.0041b1f0
movzx edx, byte [eax + 8]
push edx
push esi
push str.Separator
mov edi, eax
call fcn.0041b130
movzx ecx, byte [eax + 8]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push str.Terminator
mov edi, eax
call fcn.0041b130
push 1
lea ecx, [esp + 0x24]
push ecx
push str.Log2Base
mov edi, eax
call fcn.0041b1f0
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], vtable.CryptoPP::CombinedNameValuePairs.0
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call edx
mov byte [esp + 0x78], 1
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x433763
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, edi
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.0043fe16
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, edi
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.0043fe16
add esp, 8
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x433800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x463c71
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x47f344]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
push eax
push ecx
lea edi, [esp + 0x18]
mov dword [esp + 0x2c], 1
call fcn.004338a0
push eax
push esi
call fcn.00438eb0
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0xc], 1
je 0x433881
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x434a50
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov edx, edi
xor eax, eax
shr edx, 2
je 0x434a94
mov edi, ebx
sub esi, ecx
mov eax, ecx
sub edi, ecx
mov dword [esp + 0xc], edx
push ebp
mov ebp, dword [esi + eax]
xor ebp, dword [eax]
add eax, 4
sub edx, 1
mov dword [edi + eax - 4], ebp
jne 0x434a76
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
pop ebp
add eax, eax
add eax, eax
sub edi, eax
je 0x434ac1
add ebx, eax
add esi, eax
add ecx, eax
test edi, edi
jbe 0x434ac1
mov edx, esi
mov esi, ebx
sub edx, ecx
mov eax, ecx
sub esi, ecx
mov cl, byte [eax + edx]
xor cl, byte [eax]
add eax, 1
sub edi, 1
mov byte [eax + esi - 1], cl
jne 0x434ab0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x437640
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4633d8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x47f344]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
or edx, 0xffffffff
mov dword [eax], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [eax + 4], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov byte [eax + 0x24], cl
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4

Function at 0x438990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x463c71
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x47f344]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
push eax
push ecx
lea edi, [esp + 0x18]
mov dword [esp + 0x2c], 1
call fcn.00438a30
push eax
push esi
call fcn.00438eb0
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0xc], 1
je 0x438a11
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x43db30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x47f344]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x47f344]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push 1
mov dword [esp + 0x20], eax
mov dword [esp + 8], eax
push 0x480c74
lea eax, [esp + 0xc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x7c]
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x20], vtable.CryptoPP::ArraySink.1.0
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0043e436
mov esp, ebp
pop ebp
ret 8
Function at 0x43dc10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463f20
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x47f344]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x47f344]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ecx]
xor edx, edx
push 1
push 0x480c74
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
push eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x34], eax
push edx
mov edx, dword [esi + 0x80]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x30], vtable.CryptoPP::ArraySink.1.0
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0043e436
mov esp, ebp
pop ebp
ret 8

Function at 0x43e436
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47f344]
jne 0x43e440
repz ret
jmp fcn.00441099
Function at 0x447e25
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x47fcf8]
je 0x447e40
inc edi
cmp edi, 0x17
jb 0x447e31
cmp edi, 0x17
jae 0x447fc0
push ebp
push 3
call fcn.004556b8
cmp eax, 1
pop ecx
je 0x447f8c
push 3
call fcn.004556b8
test eax, eax
pop ecx
jne 0x447e74
cmp dword [0x47f340], 1
je 0x447f8c
cmp ebx, 0xfc
je 0x447fbf
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4837a8
push ebp
call fcn.00443605
add esp, 0xc
test eax, eax
je 0x447eaa
push esi
push esi
push esi
push esi
push esi
call fcn.0043e6fd
add esp, 0x14
push 0x104
mov esi, 0x4837c1
push esi
push 0
mov byte [0x4838c5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x447eee
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00443605
add esp, 0xc
test eax, eax
je 0x447eee
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043e6fd
add esp, 0x14
push esi
call fcn.00443670
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x447f33
push esi
call fcn.00443670
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x483abc
push 0x467be4
sub ecx, eax
push ecx
push eax
call fcn.00451e03
add esp, 0x14
test eax, eax
je 0x447f33
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043e6fd
add esp, 0x14
jmp 0x447f35
xor esi, esi
push 0x467be0
push ebx
push ebp
call fcn.00451d92
add esp, 0xc
test eax, eax
je 0x447f55
push esi
push esi
push esi
push esi
push esi
call fcn.0043e6fd
add esp, 0x14
push dword [edi*8 + 0x47fcfc]
push ebx
push ebp
call fcn.00451d92
add esp, 0xc
test eax, eax
je 0x447f77
push esi
push esi
push esi
push esi
push esi
call fcn.0043e6fd
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004554fb
add esp, 0xc
jmp 0x447fbf
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x447fbf
cmp ebp, 0xffffffff
je 0x447fbf
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x47fcfc]
push dword [esi]
call fcn.00443670
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4554fb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00442038
xor ebx, ebx
cmp dword [0x483c4c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4555d1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4556b1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4556b1
push eax
call fcn.00441fca
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x483c4c], eax
call esi
push eax
call fcn.00441fca
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x483c50], eax
call esi
push eax
call fcn.00441fca
mov dword [0x483c54], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004427a4
test eax, eax
pop ecx
pop ecx
je 0x45559f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043e6fd
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4555d1
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00441fca
cmp eax, ebx
pop ecx
mov dword [0x483c5c], eax
je 0x4555d1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00441fca
pop ecx
mov dword [0x483c58], eax
mov eax, dword [0x483c58]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x455656
cmp dword [0x483c5c], ecx
je 0x455656
push eax
call fcn.00442041
push dword [0x483c5c]
mov esi, eax
call fcn.00442041
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x455656
cmp edi, ebx
je 0x455656
call esi
cmp eax, ebx
je 0x455623
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x455623
test byte [ebp - 0x18], 1
jne 0x455656
lea eax, [ebp - 0x10]
push eax
call fcn.004427db
test eax, eax
pop ecx
je 0x45563e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043e6fd
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x45564d
or dword [ebp + 0x10], 0x200000
jmp 0x455691
or dword [ebp + 0x10], 0x40000
jmp 0x455691
mov eax, dword [0x483c50]
cmp eax, dword [ebp - 8]
je 0x455691
push eax
call fcn.00442041
cmp eax, ebx
pop ecx
je 0x455691
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x455691
mov eax, dword [0x483c54]
cmp eax, dword [ebp - 8]
je 0x455691
push eax
call fcn.00442041
cmp eax, ebx
pop ecx
je 0x455691
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x483c4c]
call fcn.00442041
cmp eax, ebx
pop ecx
je 0x4556b1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4556b3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45aa00
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x460f9f
call fcn.0045c888
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x45ab12
cmp byte [esi + 0x42], bl
je 0x45ab12
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp ax, di
jne 0x45aa3c
xor al, al
jmp 0x45ab14
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.00413bf0
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040fc50
mov ecx, eax
call fcn.004140a0
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040fc50
mov ecx, eax
call fcn.004140a0
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x45aaac
dec eax
je 0x45aab0
dec eax
dec eax
je 0x45ab0e
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407df0
mov al, bl
jmp 0x45ab14
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040fc50
mov ecx, eax
call fcn.004140a0
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x45aaf0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040fc50
mov ecx, eax
call fcn.004140a0
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0043f127
add esp, 0x10
cmp edi, eax
jne 0x45aa9a
cmp byte [esi + 0x42], 0
je 0x45ab0e
test edi, edi
jne 0x45aa4a
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00407b50
jmp 0x45aa4a
mov bl, 1
jmp 0x45aa9c
mov al, 1
call fcn.0045c8d2
ret
Function at 0x401440
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x44b3b0]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00407960
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00407a00
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.0041b86f
add esp, 0x68
ret

Function at 0x4014b0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x44b3b0]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00407960
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00407a00
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.0041b86f
add esp, 0x68
ret
Function at 0x401640
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0x20119
xor edi, edi
push edi
push 0x446d40
push SysStringLen
mov ebx, ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4017d1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
lea edx, [esp + 0x1c]
push edx
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x28]
push str.Operator
mov edi, 0x400
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4016d3
cmp dword [esp + 0x14], 1
jne 0x4017b8
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi], ebx
lea ebx, [eax + ebx]
je 0x4017b8
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.IssueDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x401718
cmp dword [esp + 0x14], 1
jne 0x4017b8
mov eax, dword [esp + 0x10]
mov dword [esi + 4], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x4017b8
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.ExpirationDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x40174f
cmp dword [esp + 0x14], 1
jne 0x4017b8
mov eax, dword [esp + 0x10]
mov dword [esi + 8], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x4017b8
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.SignData
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x4017b8
cmp dword [esp + 0x14], 3
jne 0x4017b8
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
je 0x4017b8
lea eax, [esi + 0xc]
call fcn.00401520
test eax, eax
je 0x4017b8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, 0x400
sub ecx, edi
push eax
mov dword [edx], ecx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret