joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406530
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41868b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404304
call fcn.004073de
push 4
mov dword [esp + 0x18], 0
call fcn.0040801d
mov edi, eax
add esp, 4
test edi, edi
je 0x4065a4
push ebx
call fcn.004071d9
mov dword [edi], eax
call fcn.00406f98
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0040739f
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406598
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.004073c7
pop ebx
jmp 0x4065a6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408a91
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424648]
jne 0x408a9b
repz ret
jmp fcn.0040d53c
Function at 0x411b0c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x424648]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040c0aa
and dword [ebp - 0x14], 0
cmp dword [0x43864c], 0
mov dword [ebp - 0x18], eax
jne 0x411bbf
push 0x40378c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411c67
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403780
push ebx
call edi
test eax, eax
je 0x411c67
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403770
push ebx
mov dword [0x43864c], eax
call edi
push eax
call esi
push 0x40375c
push ebx
mov dword [0x438650], eax
call edi
push eax
call esi
push 0x403740
push ebx
mov dword [0x438654], eax
call edi
push eax
call esi
mov dword [0x43865c], eax
test eax, eax
je 0x411bbf
push 0x403728
push ebx
call edi
push eax
call esi
mov dword [0x438658], eax
mov eax, dword [0x438658]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411c18
cmp dword [0x43865c], ecx
je 0x411c18
push eax
call esi
push dword [0x43865c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411c18
test ebx, ebx
je 0x411c18
call edi
test eax, eax
je 0x411c0f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411c0f
test byte [ebp - 8], 1
jne 0x411c18
or dword [ebp + 0x10], 0x200000
jmp 0x411c4b
mov eax, dword [0x438650]
cmp eax, dword [ebp - 0x18]
je 0x411c4b
push eax
call esi
test eax, eax
je 0x411c4b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411c4b
mov eax, dword [0x438654]
cmp eax, dword [ebp - 0x18]
je 0x411c4b
push eax
call esi
test eax, eax
je 0x411c4b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43864c]
call esi
test eax, eax
je 0x411c67
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411c69
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408a91
leave
ret
Function at 0x4138d0
Capabilities:
Accept command line arguments
Get common file path
Read .ini file

Disassembly:
sub esp, 0xc1c
cmp dword [0x22dbd2c], 0x37
jne 0x413966
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x403fc0
push 0
push 0x403fe4
push 0x404008
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x40405c
lea edx, [esp + 0x14]
push edx
push eax
push eax
mov word [esp + 0x20], ax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov word [esp + 0x2e], ax
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
push 0
lea eax, [esp + 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
mov ecx, dword [0x22dbd30]
mov dword [esp + 4], ecx
mov eax, 0x5d1
add dword [esp + 4], eax
mov edx, dword [esp + 4]
mov al, byte [edx + esi]
mov ecx, dword [0x22d1cd4]
mov byte [ecx + esi], al
add esp, 0xc1c
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x559380
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x39000]
push edi
jmp 0x55939a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5593a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x559390
mov eax, 1
add ebx, ebx
jne 0x5593b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5593c4
jne 0x5593e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5593e3
dec eax
add ebx, ebx
jne 0x5593d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5593a8
add ebx, ebx
jne 0x5593df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x559435
xor ecx, ecx
sub eax, 3
jb 0x5593fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55946a
sar eax, 1
mov ebp, eax
jmp 0x559406
add ebx, ebx
jne 0x559406
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5593d4
inc ecx
add ebx, ebx
jne 0x559414
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5593d4
add ebx, ebx
jne 0x559421
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x559416
jne 0x559432
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x559416
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x559454
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x559446
jmp 0x559396
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x559454
add edi, ecx
jmp 0x559396
pop esi
mov edi, esi
mov ecx, 0x11f4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x559472
cmp byte [edi], 0x11
jne 0x559472
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 0x559477
lea edi, [esi + 0x14a000]
mov eax, dword [edi]
or eax, eax
je 0x5594ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x164278]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x164360]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5594a4
mov ecx, edi
jns 0x5594d3
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 + 0x164368]
or eax, eax
je 0x5594e9
mov dword [ebx], eax
add ebx, 4
jmp 0x5594c1
call dword [esi + 0x164364]
mov ebp, dword [esi + 0x16436c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x559523
sub esp, 0xffffff80
jmp 0x4176ac
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x9f4058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9f41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9f407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9f406a
add dl, dl
jne 0x9f4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9f40dc
xor eax, eax
add dl, dl
jne 0x9f4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9f417d
add dl, dl
jne 0x9f40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9f40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9f4075
mov eax, 1
add dl, dl
jne 0x9f40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9f40e1
sub eax, ebx
mov ebx, 1
jne 0x9f4128
mov ecx, 1
add dl, dl
jne 0x9f410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9f4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9f4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9f4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9f413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9f414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9f4136
cmp eax, 0x7d00
jae 0x9f416d
cmp eax, 0x500
jb 0x9f4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9f4075
cmp eax, 0x7f
ja 0x9f4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9f4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9f419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9f4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4162b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4162ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4162d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4162c0
mov eax, 1
add ebx, ebx
jne 0x4162e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4162d8
jne 0x4162f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4162d8
xor ecx, ecx
sub eax, 3
jb 0x416308
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41637a
mov ebp, eax
add ebx, ebx
jne 0x416313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416344
inc ecx
add ebx, ebx
jne 0x416330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416325
jne 0x416341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416325
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416355
jmp 0x4162c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416364
add edi, ecx
jmp 0x4162c6
pop esi
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4163c3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1606c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416381
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16074]
or eax, eax
je 0x4163bd
mov dword [ebx], eax
add ebx, 4
jmp 0x41639e
call dword [esi + 0x16070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4163f4
cmp al, 0xef
ja 0x4163e7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4163c9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4163d6
mov ebp, dword [esi + 0x16078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x416428
sub esp, 0xffffff80
jmp 0x405dd2

Function at 0xe11834
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe1183e
pushal
call 0xe11844
pop ebp
sub ebp, 0x10
sub ebp, 0xa11834
jmp 0xe1185a
mov eax, 0xa11834
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b9
mov edx, 0xf40ad32a
xor byte [eax], dl
inc eax
dec ecx
jne 0xe11871
jmp 0xe11884
mov eax, dword [0x16a3a1e7]
sub ch, byte [edx]
sub ch, byte [ebx + 0x2a2ad2eb]
sub ch, byte [ecx]
out 0x92, eax
and ch, byte [edx]
sub ch, byte [edx]
nop
add ch, byte [edx]
sub ch, byte [edx]
invalid
Function at 0x4022b0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
xor eax, eax
push edi
mov edi, dword [esp + 0x18]
mov word [esp + 0xc], ax
mov dword [esp + 0xc], eax
push edi
mov dword [esp + 0x10], eax
call fcn.0040b0c9
mov ebx, dword [esp + 0x18]
push edi
mov esi, eax
push ebx
push esi
call fcn.0040b1a0
mov eax, dword [0x427624]
sub eax, 0x423004
add edi, esi
add esp, 0x10
add eax, ebx
mov ecx, esi
cmp esi, edi
je 0x4022fc
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
inc eax
cmp ecx, edi
jne 0x4022f2
or ecx, 0xffffffff
add word [0x42306c], cx
mov ax, word [0x42306c]
mov edx, dword [0x4230ac]
cwde
sub edx, eax
pop edi
mov eax, esi
pop esi
mov dword [esp + 4], edx
add dword [0x4230ac], ecx
pop ebx
pop ecx
ret
Function at 0x4029e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x5c
fldz
xor eax, eax
mov dword [esp], eax
xor ecx, ecx
mov word [esp], cx
fstp qword [esp]
fld qword [0x4253e8]
xor edx, edx
fld qword [esp]
mov word [esp + 0x4a], dx
fadd qword [0x41f4d0]
mov ecx, 1
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x68]
fsubp st(1)
mov word [esp + 0x4c], cx
lea ecx, [esp + 0x1c]
push ecx
fstp qword [0x4253e8]
push eax
push eax
push 8
push eax
push eax
push eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x80]
push edx
push eax
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
add esp, 0x5c
ret

Function at 0x402f00
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
fldz
push ebx
fstp qword [esp + 8]
xor eax, eax
push 0x2e
mov dword [esp + 0xc], 0
push 0x42307c
mov word [esp + 0xc], ax
call fcn.004022b0
add esp, 8
lea ecx, [esp + 0x10]
push ecx
mov ebx, eax
push ebx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x402f8f
push esi
push edi
push 0x34
push 0x425a14
call fcn.004022b0
add esp, 8
inc dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x20]
mov esi, eax
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402f67
sub eax, edi
push eax
mov eax, dword [esp + 0x1c]
push edx
push 1
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
push 0x34
call fcn.004010c0
add esp, 8
pop edi
pop esi
fldz
xor ecx, ecx
push 0x2e
fstp qword [esp + 0xc]
push ecx
mov word [esp + 0xc], cx
push ebx
call fcn.0040b000
push ebx
call fcn.0040ae3b
fld dword [0x4230d0]
add esp, 0x10
call fcn.0040af50
mov word [esp + 4], ax
fld dword [0x4230d0]
fsub qword [0x41f340]
mov edx, dword [esp + 0x10]
push edx
fstp dword [0x4230d0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
fld qword [0x425b00]
mov eax, dword [0x423144]
fadd qword [0x41f508]
mov dword [esp + 8], eax
fild dword [esp + 8]
faddp st(1)
call fcn.0040af50
mov dword [0x423144], eax
pop ebx
add esp, 0x10
ret
Function at 0x403c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
mov eax, dword [0x425e20]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
fldz
fstp qword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x10], 0
mov word [esp + 0x14], ax
mov esi, dword [esp + 0x74]
mov ebx, dword [esi + 4]
mov eax, dword [esi]
xor ecx, ecx
mov word [esp + 0x14], cx
shr eax, 0x1d
add ebx, ebx
xor edx, edx
mov word [esp + 0x20], dx
fld qword [esp + 0x18]
fsub qword [0x41f578]
add ebx, ebx
add ebx, ebx
or ebx, eax
mov eax, dword [esi]
fstp qword [esp + 0x18]
mov dx, word [esp + 0x14]
add eax, eax
add eax, eax
add eax, eax
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x18], eax
movsx eax, dx
mov ecx, ebx
shr ecx, 0x18
mov byte [esp + 0x24], cl
mov ecx, 0x95f0239f
sub ecx, eax
mov dword [esp + 0x20], ecx
mov edx, ebx
mov eax, ebx
fild dword [esp + 0x20]
shr edx, 0x10
shr eax, 8
fmul qword [0x4253f8]
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], al
fstp qword [0x4253f8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fsub dword [0x425464]
call fcn.0040af50
mov dword [esp + 0x10], eax
fld dword [0x425464]
mov eax, dword [esp + 0x18]
fadd qword [0x41f340]
mov edx, eax
shr edx, 0x18
mov byte [esp + 0x28], dl
fstp dword [0x425464]
mov ecx, eax
mov edx, eax
mov byte [esp + 0x2b], al
mov eax, dword [esi]
shr ecx, 0x10
shr edx, 8
and eax, 0x3f
mov byte [esp + 0x27], bl
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], dl
mov edi, 0x38
cmp eax, 0x38
jb 0x403d7d
mov edi, 0x78
push 0x40
sub edi, eax
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0040b000
push edi
lea ecx, [esp + 0x3c]
push ecx
push esi
mov byte [esp + 0x44], 0x80
call fcn.00403290
push 8
lea edx, [esp + 0x40]
push edx
push esi
call fcn.00403290
fld qword [0x41f570]
mov ax, word [0x425a94]
mov ecx, dword [esp + 0x34]
cwde
imul ecx, eax
add esp, 0x24
mov word [0x425a94], cx
add esi, 8
lea edi, [ebp + 2]
mov ebx, 8
movzx edx, byte [esi + 3]
mov byte [edi - 2], dl
mov al, byte [esi + 2]
mov byte [edi - 1], al
mov ecx, dword [esi]
shr ecx, 8
mov byte [edi], cl
movzx edx, byte [esi]
mov byte [edi + 1], dl
fld qword [0x4241e0]
mov eax, dword [0x42594c]
fsub st(1)
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmulp st(1)
call fcn.0040af50
add esi, 4
add edi, 4
sub ebx, 1
mov dword [0x42594c], eax
jne 0x403dd4
fstp st(0)
pop edi
fld qword [0x4235b0]
pop esi
fadd qword [0x41f568]
pop ebp
pop ebx
fstp qword [0x4235b0]
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0040b544
add esp, 0x60
ret
Function at 0x403ec0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
fldz
push ebx
push esi
fstp qword [esp + 0x10]
push edi
xor eax, eax
xor ecx, ecx
push 3
mov word [esp + 0x14], ax
mov word [esp + 0x10], cx
push str.5XpU
call fcn.004022b0
movzx edx, word [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov esi, eax
movzx eax, word [esp + 0x18]
sub edx, eax
push esi
push ebx
mov word [esp + 0x1c], dx
call fcn.0040bd0c
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x403f28
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
call fcn.0040bd0c
mov edi, eax
add esp, 8
test edi, edi
je 0x403f40
push edi
push 1
lea ecx, [esp + 0x2c]
push 4
push ecx
call fcn.0040be85
push edi
call fcn.0040b8b2
add esp, 0x14
fld qword [esp + 0x14]
xor eax, eax
fmul qword [0x41f588]
xor edx, edx
mov word [esi], ax
push esi
fstp qword [esp + 0x18]
mov byte [esi + 2], al
fldz
fstp qword [esp + 0x18]
mov word [esp + 0x14], dx
call fcn.0040ae3b
fld dword [0x4230d0]
add esp, 4
call fcn.0040af50
mov word [esp + 0x10], ax
fld dword [0x4230d0]
fld1
pop edi
fsub st(1), st(0)
pop esi
fxch st(1)
pop ebx
fstp dword [0x4230d0]
mov ax, word [0x4235a8]
movsx ecx, ax
sub ecx, 0x778e5bf6
mov dword [esp + 4], ecx
fild dword [esp + 4]
fld qword [0x424258]
fsub qword [0x41f580]
fcompp
fnstsw ax
fadd qword [0x424258]
fstp qword [0x424258]
inc word [0x4235a8]
test ah, 0x41
jne 0x403ff0
mov edx, dword [0x425968]
add edx, dword [0x4234e8]
mov dword [esp + 4], edx
fild dword [esp + 4]
fstp dword [0x4230cc]
dec dword [0x425968]
add esp, 0x10
ret
Function at 0x40b544
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425e20]
jne 0x40b54e
repz ret
jmp fcn.0040f73b

Function at 0x416564
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041065d
and dword [ebp - 4], 0
cmp dword [0x428094], 0
mov ebx, eax
jne 0x416615
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4166c6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x420a78
push edi
call esi
test eax, eax
je 0x4166c6
push eax
call fcn.004105eb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x428094], eax
call esi
push eax
call fcn.004105eb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x428098], eax
call esi
push eax
call fcn.004105eb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42809c], eax
call esi
push eax
call fcn.004105eb
pop ecx
mov dword [0x4280a4], eax
test eax, eax
je 0x416615
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004105eb
pop ecx
mov dword [0x4280a0], eax
mov eax, dword [0x4280a0]
cmp eax, ebx
je 0x41666d
cmp dword [0x4280a4], ebx
je 0x41666d
push eax
call fcn.00410666
push dword [0x4280a4]
mov esi, eax
call fcn.00410666
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41666d
test edi, edi
je 0x41666d
call esi
test eax, eax
je 0x416664
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x416664
test byte [ebp - 0xc], 1
jne 0x41666d
or dword [ebp + 0x10], 0x200000
jmp 0x4166a6
mov eax, dword [0x428098]
cmp eax, ebx
je 0x4166a6
push eax
call fcn.00410666
pop ecx
test eax, eax
je 0x4166a6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4166a6
mov eax, dword [0x42809c]
cmp eax, ebx
je 0x4166a6
push eax
call fcn.00410666
pop ecx
test eax, eax
je 0x4166a6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x428094]
call fcn.00410666
pop ecx
test eax, eax
je 0x4166c6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4166c8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403470
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax], 0
jmp loc.004714b0
Function at 0x40e530
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421afb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42a520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0x426840
call fcn.00410365
push 4
mov dword [ebp - 4], 0
call fcn.00410ba6
mov edi, eax
add esp, 4
test edi, edi
je 0x40e5ac
call fcn.0040fd36
mov dword [edi], eax
call fcn.0040faf5
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0040fa2a
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40e5a2
inc eax
mov dword [ebx + 4], eax
jmp loc.004762d0
xor edi, edi