joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b950
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4b000]
push edi
jmp 0x45b96a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45b971
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45b960
mov eax, 1
add ebx, ebx
jne 0x45b983
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45b994
jne 0x45b9b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45b9b3
dec eax
add ebx, ebx
jne 0x45b9a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45b978
add ebx, ebx
jne 0x45b9af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45ba05
xor ecx, ecx
sub eax, 3
jb 0x45b9cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45ba3a
sar eax, 1
mov ebp, eax
jmp 0x45b9d6
add ebx, ebx
jne 0x45b9d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45b9a4
inc ecx
add ebx, ebx
jne 0x45b9e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45b9a4
add ebx, ebx
jne 0x45b9f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45b9e6
jne 0x45ba02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45b9e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45ba24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45ba16
jmp 0x45b966
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45ba24
add edi, ecx
jmp 0x45b966
pop esi
mov edi, esi
mov ecx, 0xa57
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45ba42
cmp byte [edi], 0x12
jne 0x45ba42
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 0x45ba47
lea edi, [esi + 0x59000]
mov eax, dword [edi]
or eax, eax
je 0x45babf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x91de0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x91ec0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45ba74
mov ecx, edi
jns 0x45baa3
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 + 0x91ec8]
or eax, eax
je 0x45bab9
mov dword [ebx], eax
add ebx, 4
jmp 0x45ba91
call dword [esi + 0x91ec4]
mov ebp, dword [esi + 0x91ecc]
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 0x45baf3
sub esp, 0xffffff80
jmp 0x41942f
Function at 0x406260
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40d07c]
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.00403dae
and dword [ebp - 0x14], 0
cmp dword [0x40e920], 0
mov dword [ebp - 0x18], eax
jne 0x406313
push 0x40a7f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4063bb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4063bb
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40a7d4
push ebx
mov dword [0x40e920], eax
call edi
push eax
call esi
push 0x40a7c0
push ebx
mov dword [0x40e924], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40e928], eax
call edi
push eax
call esi
mov dword [0x40e930], eax
test eax, eax
je 0x406313
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40e92c], eax
mov eax, dword [0x40e92c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40636c
cmp dword [0x40e930], ecx
je 0x40636c
push eax
call esi
push dword [0x40e930]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40636c
test ebx, ebx
je 0x40636c
call edi
test eax, eax
je 0x406363
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406363
test byte [ebp - 8], 1
jne 0x40636c
or dword [ebp + 0x10], 0x200000
jmp 0x40639f
mov eax, dword [0x40e924]
cmp eax, dword [ebp - 0x18]
je 0x40639f
push eax
call esi
test eax, eax
je 0x40639f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40639f
mov eax, dword [0x40e928]
cmp eax, dword [ebp - 0x18]
je 0x40639f
push eax
call esi
test eax, eax
je 0x40639f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40e920]
call esi
test eax, eax
je 0x4063bb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4063bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402701
leave
ret
Function at 0x10004924
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
inc eax

Function at 0x1000492d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10003a17
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26

Function at 0x100049a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
invalid
invalid
movsd dword es:[edi], dword [esi]
Function at 0x44b6d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov cl, byte [0x65f042]
mov al, byte [0x65f041]
or cl, 0x10
push ebx
shr cl, 3
and ecx, 0xff
mov bl, byte [0x65f04b]
add byte [ecx + 0x3204244c], cl
fcomp st(3)
inc esp
and al, 4
mov byte [0x65f04b], bl
mov ebx, dword [esp + 0x10]
test ebx, ebx
fdivr qword [0x6629b0]
push esi
fadd qword [0x65f058]
fstp qword [0x662a20]
je 0x44b793
call fcn.0044b610
push 0x65f0ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [0x65f030]
mov ecx, dword [0x65f034]
mov esi, eax
mov dword [esp + 0xc], 0
lea eax, [edx + edx]
or eax, ecx
mov dword [esp + 8], eax
fild qword [esp + 8]
test esi, esi
fadd qword [0x65f058]
fstp qword [0x65f058]
je 0x44b793
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x65f088
push esi
call edi
push 0x65f064
push esi
call edi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x44b793
lea ecx, [esp + 0x14]
inc eax
add ecx, 4
cmp eax, 0x36
jae 0x44b79d
cmp dword [ecx], 0
jne 0x44b785
pop esi
xor al, al
pop ebx
add esp, 8
ret 4
mov dword [ebx], esi
pop esi
mov al, 1
pop ebx
add esp, 8
ret 4

Function at 0x4a2814
Capabilities:
Encode data using xor

Disassembly:
test al, 0x80
lodsd eax, dword [esi]
add ah, byte [ebx]
dec ebx
cmc
das
dec esi
invalid
mov edx, fs
pop esi
wait
mov esi, 0x9aa3c6a9
test eax, 0x849aa3c6
mov al, 1
cli
mov eax, dword [0x327b34cb]
fidivr dword [ebx + 0x6fe01db8]
test eax, 0x849aa3c6
mov al, 1
cli
mov eax, dword [0x327b34cb]
fidivr dword [ebx + 0x6fe01db8]
inc eax
mov dh, 0xdb
test al, 0x79
sbb al, 0x76
sbb ecx, dword [esi - 0x2e]
enter 0xffffffffffff8278, 0x61
fld xword [eax + 0x1b761c79]
dec esi
ror al, cl
js 0x4a27b6
popal
fnstenv [esi + 0x61]
loope 0x4a280f
lcall 0x14cb, 0xbe2ab8e8
sbb dword [eax], eax
cmp eax, 0xb8f413e
cwde
fld xword [eax]
adc eax, 0x620fba41
jge 0x4a2829
test al, 0x63
imul ebp, dword [esi], 0x19
aam 0x8d
sbb esi, dword [edx - 0x7f3d6fda]
fisub dword [edi]
xor eax, 0x9a0b8a60
adc byte [eax + eax*4], bh
cwde
push 0xffffffffffffffb9
mov eax, 0x6264abb7
jp fcn.004a2814
dec ebx
xchg ecx, eax
cmp cl, cl
add dh, byte [edi - 0x27f447c4]
pop esp
cli
hlt
Function at 0x51e778
Capabilities:
Encode data using xor

Disassembly:
loopne 0x51e7e7
pop esp
je 0x51e7c2
inc ebp
mov edx, 0x2549ca71
aam 0xc0
xor eax, 0x1f726629
jmp 0x136bbb1
push ds
and al, 0x6b
sti
dec ecx
les esp, [edx + 0x52]
mov bl, 0x9b
jno 0x51e845
int3
adc dword [0xf090f7b2], 0xc07bfa5a
xor eax, 0x795b29c9
popal
pop edx
xchg ecx, eax
mov al, 0xcd
sub al, 0xe0
xchg ebx, eax
loopne 0x51e77c
sub al, 0xb1
push eax
mov cl, 0x33
sbb byte fs:[edx + 0x2cf182fa], 0x66
imul ecx, dword [eax], 0x20471b89
dec ebx
sub eax, 0x6458cf8c
pop edi
mov eax, dword [0x81d5f106]
dec ebp
lea esi, [eax - 0x21]
arpl bx, dx
cmpsd dword [esi], dword es:[edi]
mov dh, 0x96
inc ebp
and al, 0x1c
xchg esi, eax
inc edi
rcl ch, 0x9e
jae 0x51e7d2
xchg ebx, eax
add byte [ebx + esi*4 - 0x4f], ch
cmovo ecx, ecx
aam 0x75
popfd
in eax, dx
in al, dx
adc eax, 0xe12339c7
and ebp, dword [ebx + 0x7a8256d6]
div dword [ebx]
ret
imul esi, dword [ecx - 0x1dee6f2b], 0x2170ecc3
and ebx, dword [eax]
jno 0x51e8b7
cld
out dx, eax
or byte [esi], bh
shl dword [ecx - 0x5c], 0x67
sbb eax, 0xf1ea5b43
in al, 0x5c
ret 0x916b
ljmp 0x916b:0xc25ce4f1
rol ch, cl
fstp dword [eax + 0x51f78a2b]
mov bh, byte [edi - 0x44]
xor dword [0x2ec88840], ecx
xor bl, byte [eax + 0x7b]
add esp, dword [ebx]
push ecx
movsd dword es:[edi], dword [esi]
jnp 0x51e8a5
and edx, dword [ecx - 0x5b]
and byte [eax + 0x22115272], ah
push 0x51
inc eax
inc ecx
xor dword [ebx + 0x12], edx
pop ds
inc eax
int1
pop eax
mov eax, dword [edi + 0x24df7510]
ja 0x51e8a0
test byte [edi], ah
adc byte [ebp - 0x21], dh
and al, 0x77
loope 0x51e915
push ebp
xchg ecx, eax
push ecx
ja 0x51e85e
ret
jl 0x51e916
xor dword [eax - 0x7c43f665], ebp
mov al, 0x50
add dword [edi], ecx
aas
xor byte [edi + 0x66], ch
dec esp
clc
mov ecx, dword [eax]
push ecx
pop edi
aas
pop esp
jmp 0x51e88d
inc esp
adc byte [edi + 0x16], al
cli
mov dword [esi], esi
ror byte [ecx], 1
adc byte [ecx + 0x79], 0x6c
jns 0x51e983
insb byte es:[edi], dx
adc eax, 0xc0b51cc5
pop edx
mov eax, dword [0xc627bcf4]
cmp ebp, edx
mov cl, 0xc7
and eax, 0x11
xchg ebx, eax
inc ebx
dec ebp
jbe 0x51e924
jbe 0x51e953
pop es
jp 0x51e8dc
mov eax, 0x46e970f3
pop es
test dl, bh
cld
pushal
mov dword [0x525fb6c8], eax
jge 0x51e94a
hlt
rcl dword [ecx]
mov bh, 0x2f
and ebp, dword [edi]
loop 0x51e90a
and edi, ebp
out dx, eax
xor ebx, ecx
sub dword [eax + edx + 0x7a805e28], esp
invalid
jnp 0x51e9d7
sti
adc dword [esi - 0x5a91ff49], ebp
push ebx
pop eax
int1
mov ebp, 0x2821d9a5
sub edx, eax
invalid
xchg ebx, eax
invalid
Function at 0x65794d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f3f8
cmp edx, dword [eax]
je 0x65796f
add eax, 8
inc ecx
cmp eax, 0x65f488
jl 0x657960
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f3f8]
jne 0x657a9d
mov eax, dword [0xa5bdd4]
cmp eax, 1
je 0x657a77
test eax, eax
jne 0x6579a0
cmp dword [0x65f324], 1
je 0x657a77
cmp edx, 0xfc
je 0x657a9d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6579d7
lea eax, [ebp - 0x1a4]
push 0x65c9e8
push eax
call fcn.00658330
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.006587c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x657a1a
lea eax, [ebp - 0x1a4]
push eax
call fcn.006587c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65c9e4
push edi
call fcn.0065a690
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65c9c8
push eax
call fcn.00658330
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00658340
lea eax, [ebp - 0xa0]
push 0x65c9c4
push eax
call fcn.00658340
push dword [esi + 0x65f3fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00658340
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65c99c
push eax
call fcn.0065a604
add esp, 0x2c
pop edi
jmp 0x657a9d
lea eax, [ebp + 8]
lea esi, [esi + 0x65f3fc]
push 0
push eax
push dword [esi]
call fcn.006587c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x19d90b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x19d9200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x19d90d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x19d90c2
add dl, dl
jne 0x19d90e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x19d9134
xor eax, eax
add dl, dl
jne 0x19d90ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x19d91d5
add dl, dl
jne 0x19d90fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x19d9108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x19d9113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x19d911e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x19d912a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x19d90cd
mov eax, 1
add dl, dl
jne 0x19d9142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x19d914d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x19d9139
sub eax, ebx
mov ebx, 1
jne 0x19d9180
mov ecx, 1
add dl, dl
jne 0x19d9166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x19d9171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x19d915d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x19d90cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x19d9197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x19d91a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x19d918e
cmp eax, 0x7d00
jae 0x19d91c5
cmp eax, 0x500
jb 0x19d91c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x19d90cd
cmp eax, 0x7f
ja 0x19d91c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x19d90cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x19d91f6
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 0x19d90cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4040d2
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 0x404119
cmp ebx, 0x20
je 0x404119
cmp ebx, 0xffffffe0
je 0x404119
jne 0x404122
add eax, 1
cmp esi, eax
je 0x40412f
jne 0x4040fe
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x404133
jne 0x4040fa
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4

Function at 0x404147
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 0x404208
test ecx, ecx
je 0x404208
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x404208
test ebx, ebx
je 0x404208
mov ebx, eax
add ebx, edx
je 0x404208
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x404208
cmp dword [edx + eax + 0x14], 0
je 0x404208
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 0x404208
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 0x4041f8
test dl, dl
je 0x4041f4
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4041f8
add edi, 2
add esi, 2
test dl, dl
jne 0x4041d8
xor eax, eax
jmp 0x4041fd
sbb eax, eax
or eax, 1
test eax, eax
je 0x404214
inc ebp
cmp ebp, dword [esp + 4]
jb 0x4041c5
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 0x405024
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 0x405052
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x405049
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x405041
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x405073
mov esp, ebp
pop ebp
ret

Function at 0x405077
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 0x4050e3
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 0x405110
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x4050ff
xor ecx, eax
xor edx, ebx
dec edi
jne 0x4050f0
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x405136
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x4050d7
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 0x405162
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405783
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 0x405844
test ecx, ecx
je 0x405844
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x405844
test ebx, ebx
je 0x405844
mov ebx, eax
add ebx, edx
je 0x405844
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x405844
cmp dword [edx + eax + 0x14], 0
je 0x405844
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 0x405844
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 0x405834
test dl, dl
je 0x405830
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x405834
add edi, 2
add esi, 2
test dl, dl
jne 0x405814
xor eax, eax
jmp 0x405839
sbb eax, eax
or eax, 1
test eax, eax
je 0x405850
inc ebp
cmp ebp, dword [esp + 4]
jb 0x405801
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 0x41b5c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4abd9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004a0e89
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41b642
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049ed9c
mov eax, dword [eax]
push 0x4fccd8
push eax
call fcn.00486f4b
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a1114
test bl, bl
je 0x41b642
push 0x4fccd8
lea ecx, [esp + 0xc]
call fcn.004a14a4
push 0x4fcce4
lea ecx, [esp + 0xc]
call fcn.004a14a4
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41b67e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a1114
jmp 0x41b749
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41b702
lea edx, [esp + 0x7c]
push 0x4fcce0
push edx
call fcn.00486f4b
add esp, 8
test eax, eax
je 0x41b702
lea eax, [esp + 0x7c]
push 0x4fccdc
push eax
call fcn.00486f4b
add esp, 8
test eax, eax
je 0x41b702
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41b692
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a1114
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41bf40
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41bfa2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc