joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445d10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push esi
push edi
push 0
push 0x4295cc
push 0x4293ec
push 0x80000002
mov esi, 0x4295c4
call fcn.0044ce70
mov edi, dword [esp + 0x30]
add esp, 0x10
test eax, eax
jne 0x445f23
test edi, edi
push ebx
je 0x445e11
mov eax, dword [0x42954c]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], eax
xor edx, edx
mov cl, byte [esp + edx + 0xc]
mov al, cl
and al, 0x80
shl cl, 1
test al, al
je 0x445d72
or cl, 1
mov al, byte [esp + edx + 0xd]
xor al, cl
mov cl, al
and cl, 1
shr al, 1
test cl, cl
je 0x445d85
or al, 0x80
mov byte [esp + edx + 0xc], al
inc edx
cmp edx, 3
jl 0x445d61
mov edx, dword [esp + 0xf]
push edx
call fcn.00445f70
mov bl, byte [esp + 0x10]
xor al, bl
push eax
call fcn.00445f50
mov cl, byte [esp + 0x2e]
mov dl, byte [esp + 0x16]
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x1c], al
mov al, byte [esp + 0x15]
mov byte [esp + 0x1f], al
mov al, byte [esp + 0x2f]
mov byte [esp + 0x20], cl
mov cl, byte [esp + 0x17]
add esp, 8
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], ah
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], cl
xor esi, esi
mov dl, byte [esp + esi + 0x14]
push edx
call fcn.00445f70
xor al, byte [esp + esi + 0x19]
push eax
call fcn.00445f50
add esp, 8
mov byte [esp + esi + 0x14], al
inc esi
cmp esi, 7
jl 0x445de6
mov eax, dword [esp + 0x1b]
push eax
jmp 0x445ee0
push 0
call fcn.0045e600
mov edx, dword [0x42954c]
xor ecx, ecx
mov dword [esp + 0x18], ecx
add esp, 4
mov dword [esp + 0xc], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
xor edx, edx
mov cl, byte [esp + edx + 0xc]
mov al, cl
and al, 0x80
shl cl, 1
test al, al
je 0x445e46
or cl, 1
mov al, byte [esp + edx + 0xd]
xor al, cl
mov cl, al
and cl, 1
shr al, 1
test cl, cl
je 0x445e59
or al, 0x80
mov byte [esp + edx + 0xc], al
inc edx
cmp edx, 3
jl 0x445e35
mov eax, dword [esp + 0xf]
push eax
call fcn.00445f70
mov bl, byte [esp + 0x10]
xor al, bl
push eax
call fcn.00445f50
mov cl, byte [esp + 0x15]
mov dl, byte [esp + 0x2e]
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x1c], al
mov al, byte [esp + 0x16]
mov byte [esp + 0x1f], cl
mov cl, byte [esp + 0x2f]
mov byte [esp + 0x20], dl
mov dl, byte [esp + 0x17]
add esp, 8
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], ah
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], dl
xor esi, esi
mov al, byte [esp + esi + 0x14]
push eax
call fcn.00445f70
xor al, byte [esp + esi + 0x19]
push eax
call fcn.00445f50
add esp, 8
mov byte [esp + esi + 0x14], al
inc esi
cmp esi, 7
jl 0x445eba
mov ecx, dword [esp + 0x1b]
push ecx
call fcn.00445f70
xor al, byte [esp + 0x18]
push eax
call fcn.00445f50
add esp, 8
lea edx, [esp + 0x14]
mov byte [esp + 0x1b], al
push 8
push edx
push 0x4295bc
push 0x42957c
push 0x80000002
call fcn.0044e060
add esp, 0x14
mov esi, 0x429578
test eax, eax
pop ebx
jne 0x445f23
mov esi, 0x429570
test edi, edi
mov eax, 0x429568
jne 0x445f31
mov eax, 0x429564
push esi
push eax
push 0x429550
call fcn.00449f60
add esp, 0xc
pop edi
pop esi
add esp, 0x14
ret
Function at 0x4468b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
mov eax, dword [esp + 0x5c]
mov dword [esp], 0x4298cc
test eax, eax
mov ecx, 0x42fa7c
mov dword [esp + 4], eax
jne 0x4468d0
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 8], 0x4298c8
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4468e8
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], 0x4298c4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x446900
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], 0x4298c0
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x446918
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], 0x4298bc
test eax, eax
mov dword [esp + 0x24], eax
jne 0x446930
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], 0x4298b8
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x446948
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x30], 0x4298b0
test eax, eax
mov dword [esp + 0x34], eax
jne 0x446960
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x38], 0x4298a8
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x446978
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x40], 0x4298a0
test eax, eax
mov dword [esp + 0x44], eax
jne 0x446990
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x48], 0x429898
test eax, eax
mov dword [esp + 0x4c], eax
jne 0x4469ab
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x50], 0x429890
test eax, eax
mov dword [esp + 0x54], eax
jne 0x4469c6
mov dword [esp + 0x54], ecx
push ebx
mov ebx, dword [fcn.004261d8]
push ebp
push esi
push edi
xor edi, edi
lea esi, [esp + 0x14]
mov ebp, 0xb
mov eax, dword [esi - 4]
push eax
call ebx
mov ecx, dword [esi]
lea edi, [edi + eax + 1]
push ecx
call ebx
add esi, 8
dec ebp
lea edi, [edi + eax + 1]
jne 0x4469db
lea edi, [edi + edi*2 + 0x64]
push edi
call fcn.0045e145
mov esi, eax
add esp, 4
test esi, esi
je 0x446a65
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ebp, dword [fcn.004261cc]
mov ecx, edx
and ecx, 3
mov dword [esp + 0x6c], 0
rep stosb byte es:[edi], al
lea edi, [esp + 0x10]
mov ebx, 0xb
mov ecx, dword [edi + 4]
mov edx, dword [edi]
lea eax, [esp + 0x6c]
push eax
push ecx
push edx
call fcn.00453090
add esp, 0xc
test eax, eax
je 0x446a52
mov eax, dword [esp + 0x6c]
push eax
push esi
call ebp
lea ecx, [esp + 0x6c]
push ecx
call fcn.0044db50
add esp, 4
add edi, 8
dec ebx
jne 0x446a32
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
Function at 0x4507f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
push ebx
push ebp
mov ebp, dword [fcn.004261d8]
push esi
xor esi, esi
mov eax, 1
push edi
mov dword [esp + 0x14], 0x42b4fc
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0x42b4f0
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x42b4e8
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x42b4dc
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x429958
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x42b4d0
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0x42a2e8
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0x42b4cc
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x42b4c4
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0x42b4b4
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0x42b4a4
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x42b498
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x42b494
mov dword [esp + 0x78], eax
lea edi, [esp + 0x14]
mov ebx, 0xd
mov eax, dword [edi]
push eax
call ebp
add edi, 8
dec ebx
lea esi, [esi + eax + 2]
jne 0x4508a9
add esi, 0xa
push esi
call fcn.0045e145
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x450925
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov esi, ebx
and ecx, 3
mov dword [esp + 0x10], 0xd
rep stosb byte es:[edi], al
lea edi, [esp + 0x14]
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x4508fe
mov eax, dword [edi + 4]
test eax, eax
je 0x450917
mov eax, dword [edi]
push eax
push esi
call dword [fcn.004261e0]
push esi
call ebp
mov cl, byte [esp + 0x80]
add esi, eax
mov byte [esi], cl
inc esi
mov eax, dword [esp + 0x10]
add edi, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x4508ec
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x6c
ret
Function at 0x45bc50
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2014
call fcn.0045e080
mov ecx, dword [esp + 0x201c]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x201c]
mov dword [ecx], eax
push ebp
push esi
xor esi, esi
mov dword [ecx + 4], eax
push edi
test ebx, ebx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
jl 0x45bdfb
push 2
push eax
push ebx
call fcn.004647e9
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x45bde6
cmp edi, 0x14
jle 0x45bdba
cmp edi, 0x2000
mov ebp, 0x2000
jg 0x45bcb9
mov ebp, edi
mov ebx, edi
sub ebx, ebp
test ebx, ebx
jl 0x45bdaf
mov edx, dword [esp + 0x2028]
push 0
push ebx
push edx
call fcn.004647e9
add esp, 0xc
test eax, eax
jl 0x45bd83
mov ecx, dword [esp + 0x2028]
lea eax, [esp + 0x24]
push ebp
push eax
push ecx
call fcn.0045f7ca
add esp, 0xc
cmp ebp, eax
jne 0x45bd74
test esi, esi
lea edx, [ebp - 0x14]
jne 0x45bd41
lea eax, [esp + edx + 0x24]
test edx, edx
jl 0x45bd41
mov ecx, dword [0x42dc40]
cmp ecx, dword [eax]
jne 0x45bd3b
cmp dword [eax + 8], 0x1000000
jne 0x45bd3b
cmp dword [eax + 4], 0x14
jne 0x45bd3b
mov edi, dword [esp + 0x202c]
mov ecx, 5
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
mov esi, 1
dec edx
dec eax
test esi, esi
je 0x45bd05
test ebx, ebx
jle 0x45bd6f
mov edx, 0x14
mov eax, 0
sub edx, ebp
add ebx, edx
sets al
dec eax
and ebx, eax
mov eax, edi
sub eax, ebx
cmp eax, 0x2000
jle 0x45bd6b
mov ebp, 0x2000
jmp 0x45bd9a
mov ebp, eax
jmp 0x45bd9a
or ebx, 0xffffffff
jmp 0x45bd9a
call fcn.00460098
mov ecx, dword [eax]
push ecx
push 0x42ddf8
jmp 0x45bd90
call fcn.00460098
mov edx, dword [eax]
push edx
push 0x42ddd8
call fcn.0045c780
add esp, 8
xor ebp, ebp
test esi, esi
je 0x45bcbd
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2014
ret
test esi, esi
jne 0x45bdfb
mov ebx, dword [esp + 0x2028]
mov eax, dword [esp + 0x2030]
test eax, eax
je 0x45bdfb
mov eax, dword [esp + 0x202c]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
call fcn.0045be10
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2014
ret
call fcn.00460098
mov edx, dword [eax]
push edx
push 0x42ddc0
call fcn.0045c780
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2014
ret
Function at 0x45c090
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045c7a0
mov esi, dword [esp + 0x28]
xor eax, eax
mov ecx, esi
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [ecx], eax
test edi, edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
jl 0x45c1c2
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push edx
push eax
push edi
call fcn.0045bc50
add esp, 0xc
test eax, eax
je 0x45c1aa
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push edi
call fcn.004647e9
add esp, 0xc
test eax, eax
jl 0x45c18c
push 0x10
push esi
push edi
call fcn.0045f7ca
add esp, 0xc
cmp eax, 0x10
jne 0x45c16e
mov eax, dword [esi]
mov ecx, dword [0x42dc3c]
cmp ecx, eax
jne 0x45c157
mov eax, dword [esi + 8]
cmp eax, 0x1000000
jne 0x45c140
mov esi, dword [esi + 4]
cmp esi, 0x10
jne 0x45c129
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x14
ret
push esi
push 0x42dfe0
call fcn.0045c780
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push eax
push 0x42dfc4
call fcn.0045c780
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push eax
push 0x42dfa0
call fcn.0045c780
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
call fcn.00460098
mov edx, dword [eax]
push edx
push 0x42df84
call fcn.0045c780
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
call fcn.00460098
mov eax, dword [eax]
push eax
push 0x42df64
call fcn.0045c780
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push 0xffffffffffffffff
push 0x42df48
call fcn.0045c780
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push 0xffffffffffffffff
push 0x42df2c
call fcn.0045c780
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x45c1e0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.0045c7a0
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, 0x11
xor eax, eax
mov edi, esi
xor ebx, ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x45c213
push ebp
push edi
call fcn.0045c2d0
add esp, 8
cmp dword [ebp], 0
je 0x45c2b9
push 0x44
push esi
push edi
call fcn.0045f7ca
add esp, 0xc
cmp eax, 0x44
jne 0x45c29d
mov eax, dword [esi]
mov ecx, dword [0x42dc44]
cmp eax, ecx
jne 0x45c288
mov eax, dword [esi + 0x34]
mov ebx, 1
test eax, eax
je 0x45c271
mov ecx, dword [esi + 0x38]
push 0
add ecx, eax
push ecx
push edi
call fcn.004647e9
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45c271
call fcn.00460098
mov edx, dword [eax]
push edx
push 0x42e054
call fcn.0045c780
add esp, 8
push 1
push 0
push edi
call fcn.004647e9
add esp, 0xc
mov dword [ebp], eax
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
push 0x42e030
call fcn.0045c780
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
call fcn.00460098
mov eax, dword [eax]
push eax
push 0x42e018
call fcn.0045c780
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push 0xffffffffffffffff
push 0x42dff8
call fcn.0045c780
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x45c510
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
xor ebp, ebp
call fcn.0045c7a0
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
mov dword [ebx], ebp
mov dword [eax], ebp
test esi, esi
jl 0x45c638
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x45c638
cmp byte [eax], 0
je 0x45c638
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
push esi
call fcn.0045c340
add esp, 0x10
test eax, eax
je 0x45c647
mov eax, dword [esp + 0x44]
test eax, eax
je 0x45c647
push eax
call fcn.0045e145
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebx], edi
je 0x45c61a
mov ecx, dword [esp + 0x44]
xor eax, eax
mov edx, ecx
push ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x4c]
push eax
push esi
call fcn.004647e9
add esp, 0xc
cmp eax, 0xffffffff
je 0x45c5fb
mov ecx, dword [esp + 0x44]
mov edx, dword [ebx]
push ecx
push edx
push esi
call fcn.0045f7ca
mov ecx, dword [esp + 0x50]
add esp, 0xc
cmp ecx, eax
jne 0x45c5dc
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov eax, 1
pop ebx
add esp, 0x44
ret
call fcn.00460098
mov ecx, dword [eax]
push ecx
push 0x42e198
call fcn.0045c780
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
call fcn.00460098
mov edx, dword [eax]
push edx
push 0x42e178
call fcn.0045c780
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
call dword [fcn.004261c0]
push eax
push 0x42e15c
call fcn.0045c780
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
push 0xffffffffffffffff
push 0x42e130
call fcn.0045c780
add esp, 8
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x45daa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x84
push ebx
push ebp
push esi
push edi
push 0x42e6ec
call fcn.0045d8c0
mov eax, 0x42e6e0
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov ecx, 1
mov eax, 0x42b800
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x42b3c8
mov dword [esp + 0x20], 0x42b7a0
mov byte [esp + 0x2c], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x42b82c
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0x42a2e8
mov byte [esp + 0x40], bl
mov dword [esp + 0x44], 0x42b840
mov dword [esp + 0x48], 0x42b838
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0x42b4cc
mov byte [esp + 0x54], cl
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0x42e6d4
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 0x42b4c4
mov byte [esp + 0x68], bl
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0x42e6cc
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0x42e6c8
mov byte [esp + 0x7c], bl
mov dword [esp + 0x80], 0x42e6a8
mov dword [esp + 0x84], 0x429fd0
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], 0x42e6a4
mov byte [esp + 0x90], bl
lea esi, [esp + 0x24]
mov dword [esp + 0x14], 6
mov eax, dword [esi + 4]
push eax
push 0x42e69c
call fcn.0045d810
mov edi, dword [esi - 4]
mov ebp, dword [esi - 8]
lea ecx, [esp + 0x18]
push ebx
push ecx
push edi
push ebp
push 0x80000002
mov dword [esp + 0x2c], ebx
call fcn.0044dbb0
mov eax, dword [esp + 0x2c]
add esp, 0x1c
cmp eax, ebx
je 0x45dcaa
mov edi, dword [esi]
cmp edi, ebx
je 0x45dc25
mov ebx, dword [fcn.004261d8]
push edi
call ebx
mov edx, dword [esp + 0x10]
mov ebp, eax
push edx
call ebx
lea ebp, [eax + ebp + 0xa]
push ebp
call fcn.0045e145
mov ebx, eax
mov eax, dword [esp + 0x14]
push edi
push eax
push ebp
push ebx
call fcn.0044fd70
add esp, 0x14
test eax, eax
je 0x45dc1c
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0045e072
add esp, 4
mov dword [esp + 0x10], ebx
jmp 0x45dc23
mov edx, dword [esp + 0x10]
mov byte [edx], 0
xor ebx, ebx
mov eax, dword [esp + 0x10]
push eax
call fcn.0044f800
add esp, 4
test eax, eax
je 0x45dc43
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0044fd00
add esp, 4
mov edx, dword [esp + 0x10]
push edx
push 0x42e68c
call fcn.0045d810
mov eax, dword [esp + 0x18]
push eax
call fcn.0044f7d0
add esp, 0xc
test eax, eax
je 0x45dc8e
mov cl, byte [esi + 8]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
call fcn.00451a20
test eax, eax
je 0x45dc83
push 0x429578
jmp 0x45dc93
mov dword [esp + 0x18], ebx
push 0x429570
jmp 0x45dc93
push 0x42e678
call fcn.0045d8c0
mov eax, dword [esp + 0x14]
add esp, 4
push eax
call fcn.0045e072
add esp, 4
jmp 0x45dcb9
push edi
push ebp
push 0x42e654
call fcn.0045d8c0
add esp, 0xc
mov eax, dword [esp + 0x14]
add esi, 0x14
dec eax
mov dword [esp + 0x14], eax
jne 0x45db98
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
Function at 0x4271a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, fcn.0041b000
lea edi, [esi - 0x1a000]
push edi
jmp 0x4271ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4271c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4271b0
mov eax, 1
add ebx, ebx
jne 0x4271d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4271c8
jne 0x4271e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4271c8
xor ecx, ecx
sub eax, 3
jb 0x4271f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42726a
mov ebp, eax
add ebx, ebx
jne 0x427203
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427210
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427234
inc ecx
add ebx, ebx
jne 0x427220
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427215
jne 0x427231
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427215
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x427254
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x427245
jmp 0x4271b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x427254
add edi, ecx
jmp 0x4271b6
pop esi
mov edi, esi
mov ecx, 0x731
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x427272
cmp byte [edi], 9
jne 0x427272
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 0x427277
lea edi, [esi + 0x25000]
mov eax, dword [edi]
or eax, eax
je 0x4272ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2b234]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2b2e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4272a4
mov ecx, edi
jns 0x4272d3
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 + 0x2b2ec]
or eax, eax
je 0x4272e9
mov dword [ebx], eax
add ebx, 4
jmp 0x4272c1
call dword [esi + 0x2b2fc]
mov ebp, dword [esi + 0x2b2f0]
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 0x427323
sub esp, 0xffffff80
jmp 0x40aac1
Function at 0x40baf0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47362b
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.00467c1b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40bb72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00465790
mov eax, dword [eax]
push 0x4b8200
push eax
call fcn.00457a04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00467ea6
test bl, bl
je 0x40bb72
push 0x4b8200
lea ecx, [esp + 0xc]
call fcn.00468236
push 0x4bbdc4
lea ecx, [esp + 0xc]
call fcn.00468236
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 0x40bbae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00467ea6
jmp 0x40bc79
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 0x40bc32
lea edx, [esp + 0x7c]
push 0x4bbdc0
push edx
call fcn.00457a04
add esp, 8
test eax, eax
je 0x40bc32
lea eax, [esp + 0x7c]
push 0x4bbdbc
push eax
call fcn.00457a04
add esp, 8
test eax, eax
je 0x40bc32
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 0x40bbc2
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.00467ea6
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 0x40c470
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 0x40c4d2
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