joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007fe40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x100bc1b4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1007ffbf
cmp dword [ebp + 0xc], 0x20
jb 0x1007ffbf
push 0x400
lea eax, [ebp - 0x504]
mov dword [ebp - 0x50c], 1
push 0
push eax
mov dword [ebp - 0x508], 0x400
call fcn.100592a0
add esp, 0xc
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x50c]
push eax
push 0x100a2f30
push str.SoftwareMaster2Liveup
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1007ffbf
lea ecx, [ebp - 0x504]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007fed0
sub ecx, edx
cmp ecx, 0x40
jne 0x1007ffbf
lea edx, [ecx + 0x40]
push esi
lea ecx, [ebp - 0x84]
lea esi, [ebp - 0x504]
mov eax, ecx
sub esi, eax
lea eax, [edx - 0x60]
test eax, eax
je 0x1007ff0c
mov al, byte [esi + ecx]
test al, al
je 0x1007ff0c
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x1007fef6
test edx, edx
lea eax, [ecx - 1]
lea esi, [ebp - 0x4e4]
mov edx, 0x80
cmovne eax, ecx
lea ecx, [ebp - 0x104]
mov byte [eax], 0
mov eax, ecx
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x1007ff49
mov al, byte [esi + ecx]
test al, al
je 0x1007ff49
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x1007ff30
test edx, edx
lea eax, [ecx - 1]
push 0x400
cmovne eax, ecx
push 0
mov byte [eax], 0
lea eax, [ebp - 0x504]
push eax
call fcn.100592a0
push 0x400
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.1007ffd0
add esp, 0x18
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x504]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
test eax, eax
jne 0x1007ffbf
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 0xc]
push edi
call fcn.10080cf0
neg eax
pop edi
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100536aa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.100536aa
mov esp, ebp
pop ebp
ret
Function at 0x10080890
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c10
call fcn.10053770
mov eax, dword [0x100bc1b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c10], eax
test eax, eax
je 0x100809fd
cmp dword [ebp + 0xc], 0
je 0x100809fd
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
nop dword [eax]
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.1003f9d0
add esp, 0x10
lea eax, [ebp - 0x104]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100809e0
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x2c0c], 0
lea eax, [ebp - 0x2bfc]
movq qword [ebp - 0x2c08], xmm0
push 0
push eax
mov dword [ebp - 0x2c00], 0
mov dword [ebp - 0x2c08], 0
mov dword [ebp - 0x2c04], 0
call fcn.100592a0
add esp, 0xc
lea eax, [ebp - 0x2c0c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2bfc]
push eax
push 0xc
lea eax, [ebp - 0x2c08]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100809d5
push 0x3e8
lea eax, [ebp - 0x4ec]
push 0
push eax
call fcn.100592a0
lea eax, [ebp - 0x4ec]
push eax
push 1
push dword [ebp - 0x2be4]
lea eax, [ebp - 0x2bfc]
push eax
call fcn.100819f0
add esp, 0x1c
lea eax, [ebp - 0x4ec]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x2c10]
call fcn.10080cf0
test eax, eax
mov eax, 1
cmove ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x100809ea
inc esi
cmp esi, 0x10
jl 0x100808d0
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100536aa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100536aa
mov esp, ebp
pop ebp
ret
Function at 0x10080a10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100bc1b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x10080af8
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100592a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test edx, edx
je 0x10080af8
mov ecx, ebx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10080a67
sub ecx, esi
mov eax, 0x103
sar ecx, 1
sub eax, ecx
cmp edx, eax
jae 0x10080af8
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x10080a90
mov eax, dword [0x1009aa84]
mov esi, ebx
mov dword [edi], eax
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x10080aa5
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10080ac0
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100536aa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.100536aa
mov esp, ebp
pop ebp
ret
Function at 0x10080b10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x100bc1b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push edi
push 0x80
push 0
push eax
call fcn.100592a0
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.1007ffd0
lea ecx, [ebp - 0x188]
mov edi, esi
mov eax, ecx
add esp, 0x18
mov edx, 0x104
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10080b7a
mov al, byte [edi + ecx]
test al, al
je 0x10080b7a
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10080b61
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov ecx, 0x104
mov byte [eax], 0
lea eax, [ebp - 0x188]
cmp byte [eax], 0
je 0x10080b9b
inc eax
sub ecx, 1
jne 0x10080b90
mov edx, 0x104
mov edi, ecx
mov eax, edx
sub eax, ecx
neg edi
sbb edi, edi
and edi, eax
test ecx, ecx
je 0x10080bf0
lea ecx, [ebp - 0x188]
lea ecx, [ecx + edi]
sub edx, edi
je 0x10080be5
lea edi, [ebp - 0x84]
mov eax, bind
sub edi, ecx
push ebx
nop dword [eax + eax]
test eax, eax
je 0x10080be4
mov bl, byte [edi + ecx]
test bl, bl
je 0x10080be4
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x10080bd0
pop ebx
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
push 0x100
lea eax, [ebp - 0x288]
mov dword [ebp - 0x290], 1
push 0
push eax
call fcn.100592a0
add esp, 0xc
mov dword [ebp - 0x28c], 0x100
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x100a2f30
push str.SoftwareMaster2Liveup
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x10080caa
lea eax, [ebp - 0x288]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x10080c74
test cl, cl
je 0x10080c70
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x10080c74
add eax, 2
add esi, 2
test cl, cl
jne 0x10080c54
xor eax, eax
jmp 0x10080c79
sbb eax, eax
or eax, 1
test eax, eax
je 0x10080caa
lea ecx, [ebp - 0x288]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10080c86
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
push 1
push str.mid_old
push str.SoftwareMaster2Liveup
push reloc.WS2_32.dll_bind
call edi
lea ecx, [ebp - 0x188]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10080cb3
sub ecx, edx
lea eax, [ebp - 0x188]
push ecx
push eax
push 1
push 0x100a2f30
push str.SoftwareMaster2Liveup
push reloc.WS2_32.dll_bind
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100536aa
mov esp, ebp
pop ebp
ret
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x13cc5c00
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..rsrc
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7ba52e3b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40a23c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov ebx, eax
xor ebp, ebp
xor edi, edi
lea eax, [ebx + 0x10]
call fcn.00403dcc
cmp ebp, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x40a2a5
mov eax, dword [ebx + 0x10]
mov edx, 0x40a3d8
call fcn.00404190
jne 0x40a274
lea eax, [ebx + 0x10]
call fcn.00403dcc
jmp 0x40a2ad
mov eax, dword [ebx + 0x10]
mov edx, 0x40a3e4
call fcn.00404190
jne 0x40a290
lea eax, [ebx + 0x10]
mov edx, 0x40a3d8
call fcn.00403e20
cmp dword [ebx + 0x10], 0
jne 0x40a2ad
lea eax, [ebx + 0x10]
mov edx, 0x40a3e4
call fcn.00403e20
jmp 0x40a2ad
lea eax, [ebx + 0x10]
call fcn.00403dcc
mov eax, ebx
call fcn.0040a08c
mov eax, dword [0x40b158]
inc dword [eax]
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov word [esp], 2
push 0x8b
call sub.wsock32.dll_htons
mov word [esp + 2], ax
mov eax, dword [ebx + 0x10]
call fcn.00404244
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 4], eax
push 0x10
lea eax, [esp + 4]
push eax
push esi
call sub.wsock32.dll_connect
inc eax
je 0x40a307
or edi, 0xffffffff
jmp 0x40a394
mov eax, dword [0x40b170]
inc dword [eax]
mov word [esp], 2
push 0x1bd
call sub.wsock32.dll_htons
mov word [esp + 2], ax
mov eax, dword [ebx + 0x10]
call fcn.00404244
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 4], eax
push 0x10
lea eax, [esp + 4]
push eax
push esi
call sub.wsock32.dll_connect
inc eax
je 0x40a34a
or edi, 0xffffffff
jmp 0x40a394
mov eax, dword [0x40b170]
inc dword [eax]
mov word [esp], 2
push 0x75d7
call sub.wsock32.dll_htons
mov word [esp + 2], ax
mov eax, dword [ebx + 0x10]
call fcn.00404244
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 4], eax
push 0x10
lea eax, [esp + 4]
push eax
push esi
call sub.wsock32.dll_connect
inc eax
je 0x40a38d
or edi, 0xffffffff
jmp 0x40a394
mov eax, dword [0x40b170]
inc dword [eax]
test edi, edi
je 0x40a3b7
push esi
call sub.wsock32.dll_closesocket
lea eax, [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov edx, 0x40a3f0
call fcn.00404090
mov eax, ebx
call fcn.00409f64
mov ebp, eax
push 0x200
call sub.kernel32.dll_Sleep
jmp 0x40a251

Function at 0x401000
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
lea edi, [0x48904c]
lea eax, [0x489268]
lea esi, [0x489124]
lea edx, [0x48904c]
call sub.KERNEL32.DLL_GetUserDefaultLCID
push 0x40
push 0x3000
push 0x23000
push 0
call sub.KERNEL32.DLL_GetCommandLineW
call sub.KERNEL32.DLL_VirtualAlloc
jmp loc.0055f000

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0xdee960
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdee96a
pushal
call 0xdee970
pop ebp
sub ebp, 0x10
sub ebp, 0x9ee960
mov al, byte [esp + 0x28]
cmp al, 1
je 0xdee994
popal
xor eax, eax
inc eax
ret 0xc
jmp 0xdee99d
mov eax, 0x9ee960
add eax, ebp
add eax, 0x63
mov ecx, 0x5c2
mov edx, 0xb8b7e939
xor byte [eax], dl
inc eax
dec ecx
jne 0xdee9b4
jmp 0xdee9c7
mov dl, 0xf4
mov dl, 0xb0
add eax, 0xb8393939
clc
sar dword [ecx], 0x39
cmp dword [edx], edi
hlt
Function at 0x5e9ca0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x177000]
push edi
jmp 0x5e9cba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5e9cc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5e9cb0
mov eax, 1
add ebx, ebx
jne 0x5e9cd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5e9ce4
jne 0x5e9d03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5e9d03
dec eax
add ebx, ebx
jne 0x5e9cf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5e9cc8
add ebx, ebx
jne 0x5e9cff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5e9d55
xor ecx, ecx
sub eax, 3
jb 0x5e9d1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5e9d8a
sar eax, 1
mov ebp, eax
jmp 0x5e9d26
add ebx, ebx
jne 0x5e9d26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5e9cf4
inc ecx
add ebx, ebx
jne 0x5e9d34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5e9cf4
add ebx, ebx
jne 0x5e9d41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5e9d36
jne 0x5e9d52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5e9d36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5e9d74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5e9d66
jmp 0x5e9cb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5e9d74
add edi, ecx
jmp 0x5e9cb6
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5e9d92
cmp byte [edi], 9
jne 0x5e9d92
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5e9d97
lea edi, [esi + 0x1e7000]
mov eax, dword [edi]
or eax, eax
je 0x5e9e0f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x243494]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x243574]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5e9dc4
mov ecx, edi
jns 0x5e9df3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x24357c]
or eax, eax
je 0x5e9e09
mov dword [ebx], eax
add ebx, 4
jmp 0x5e9de1
call dword [esi + 0x243578]
mov ebp, dword [esi + 0x243580]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5e9e43
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x417400
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
push ebx
push esi
mov esi, ecx
mov edx, esi
mov dword [esi], vtable.axcl::CAxCryptLib.0
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov word [esi + 8], ax
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x4c], 7
mov dword [esi + 0x48], eax
mov word [esi + 0x38], ax
mov dword [esi + 0x64], 0xf
mov dword [esi + 0x60], eax
mov byte [esi + 0x50], al
mov dword [esi + 0x7c], 7
mov dword [esi + 0x78], eax
mov word [esi + 0x68], ax
mov dword [esi + 0x94], 7
mov dword [esi + 0x90], eax
mov word [esi + 0x80], ax
call fcn.0041cc50
push 0x208
test eax, eax
mov dword [esi + 4], eax
push 0x46d350
push 0
setne bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 4], eax
test bl, bl
je 0x4174b6
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.NULL_pointer
push 0x3e
push 0x45d51c
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x10
push dword [ebp - 4]
push str.Failed_assertion_in__s_at_line__d_n_n_s
call fcn.00427590
add esp, 0x18
push 1
call fcn.004316e6
int3

Function at 0x417cd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp eax, 3
ja case.default.0x417ce2
jmp dword [eax*4 + 0x417dc8]
mov eax, dword [esi + 0x24]
test eax, eax
je case.default.0x417ce2
cmp eax, 1
jne 0x417d03
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x24], 2
jne 0x417d14
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x24], 0
mov eax, 1
pop esi
pop ebp
ret 0xc
mov eax, dword [esi + 0x24]
cmp eax, 1
je case.default.0x417ce2
cmp eax, 3
je case.default.0x417ce2
push 0
push dword [ebp + 0x10]
mov dword [esi + 0x24], 1
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
pop esi
pop ebp
ret 0xc
mov eax, dword [esi + 0x24]
cmp eax, 2
je case.default.0x417ce2
cmp eax, 1
jne 0x417d72
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x24], 2
mov eax, 1
pop esi
pop ebp
ret 0xc
mov eax, dword [esi + 0x24]
cmp eax, 3
je case.default.0x417ce2
cmp eax, 1
jne 0x417da5
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x24], 2
jne 0x417db6
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x24], 3
mov eax, 1
pop esi
pop ebp
ret 0xc
Function at 0x418c80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0x208
push 0x46d350
push 0
cmp dword [edi + 4], 0
setne bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
mov ecx, 0x46d350
mov edx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne edx, ecx
push edx
call esi
mov dword [ebp - 4], eax
test bl, bl
je 0x418d22
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x418d17
cmp byte [eax + 0x20], 0
je 0x418cdf
pop edi
pop esi
mov eax, 0x38a
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x3e8
push 1
push 0x8000
push dword [eax + 4]
call esi
mov eax, dword [edi + 0x9c]
push 0x3f5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push dword [ebp + 8]
push 0x402
push eax
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.NULL_pointer
push 0x6e
push str.CAxCryptLibWin.h
call esi
push eax
push 0x10
push dword [ebp - 4]
push str.Failed_assertion_in__s_at_line__d_n_n_s
call fcn.00427590
add esp, 0x18
push 1
call fcn.004316e6
int3
Function at 0x4194e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a0e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x469070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
push 0
push 0x45d990
push 0
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmovae eax, dword [ebp + 0xc]
push 0
push 0xffffffffffffffff
push eax
push 0x240
push 0
call ebx
mov edi, eax
push edi
call fcn.00429fed
mov esi, eax
mov dword [ebp - 0x18], esi
push 1
push 0
mov byte [ebp - 4], 1
call fcn.00429fda
add esp, 0xc
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
cmovae eax, dword [ebp + 0xc]
push 0
push 0x45d990
push edi
push esi
push 0xffffffffffffffff
push eax
push 0x240
push 0
call ebx
cmp edi, eax
je 0x4195da
push 0x208
push 0x46d350
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call esi
push str.Internal_error___Buffer_overflow_in_call_to_WideCharToMultiByte__
push 0xee
push str.CAxCryptLibWin.h
mov edi, eax
call esi
push eax
push 0x10
push edi
push str.Failed_assertion_in__s_at_line__d_n_n_s
call fcn.00427590
add esp, 0x18
push 1
call fcn.004316e6
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [esi], 0
jne 0x4195f7
xor ecx, ecx
jmp 0x419609
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419600
sub ecx, edx
push ecx
push esi
mov ecx, ebx
call fcn.0041c6b0
push 1
push esi
call fcn.00429fda
mov ecx, dword [ebp + 0x20]
add esp, 8
cmp ecx, 8
jb 0x419632
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040f960
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x419650
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a110
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x469070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
push 0
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmovae eax, dword [ebp + 0xc]
push 0
push 0xffffffffffffffff
push eax
push 1
push 0
call ebx
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00429fed
mov esi, eax
mov dword [ebp - 0x18], esi
push 2
push 0
mov byte [ebp - 4], 1
call fcn.00429fda
add esp, 0xc
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0x10
cmovae eax, dword [ebp + 0xc]
push edi
push esi
push 0xffffffffffffffff
push eax
push 1
push 0
call ebx
cmp edi, eax
je 0x419746
push 0x208
push 0x46d350
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call esi
push str.MultiByteToWideChar_buffer_overfloew
push 0xff
push str.CAxCryptLibWin.h
mov edi, eax
call esi
push eax
push 0x10
push edi
push str.Failed_assertion_in__s_at_line__d_n_n_s
call fcn.00427590
add esp, 0x18
push 1
call fcn.004316e6
mov ebx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp word [esi], ax
je 0x419775
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419766
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, ebx
call fcn.0040ad40
push 2
push esi
call fcn.00429fda
mov ecx, dword [ebp + 0x20]
add esp, 8
cmp ecx, 0x10
jb 0x41979e
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0041cbf0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c