joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10023520
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x10048110]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10023563
cmp word [esi], dx
jne 0x10023563
or byte [edi + eax + 0x28], 4
jmp 0x10023568
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x100236bb
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x1002369b
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x100235aa
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100235e0
cmp eax, edx
jae 0x100235ec
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x10023582
jmp 0x100236bb
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10023697
cmp dword [ebp - 0x14], 0
je 0x10023697
mov eax, dword [ebx*4 + 0x10048110]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x1002366f
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x10023638
mov word [esi], cx
jmp 0x1002366b
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10048110]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x10048110]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10048110]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x100236bb
pop ebx
cmp word [ebp - 4], bx
jne 0x10023680
cmp esi, dword [ebp + 0xc]
jne 0x10023680
mov word [esi], bx
jmp 0x100236b8
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10023f54
add esp, 0x10
cmp word [ebp - 4], bx
je 0x100236bb
push 0xd
jmp 0x100236b4
mov ecx, dword [ebx*4 + 0x10048110]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100236b2
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100236bb
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10029d56
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10029df3
push ebx
push esi
call fcn.10029d1f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10028ad1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10029da0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10029df2
push edi
push eax
call fcn.10024133
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10029dc0
call fcn.10020ad9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10029df1
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10028ad1
add esp, 0x20
test eax, eax
jne 0x10029ddf
push edi
call fcn.10020ad9
jmp 0x10029de7
push ebx
call fcn.10020ad9
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10029df6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x10029e07
pop esi
ret
push ebx
push edi
push esi
call fcn.10029d1f
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10024133
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10029e2f
push ebx
push esi
push edi
call fcn.1000f0c0
add esp, 0xc
push 0
call fcn.10020ad9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1002a1f3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10029e44
Function at 0x100316e1
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1003165d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10031859
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10031859
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10031808
jg 0x1003173a
test eax, eax
je 0x100317fe
push 1
push 0x1000
call fcn.10020b89
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10031760
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x100317f5
push 0x8000
push ebx
call fcn.1003158e
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1003178c
jg 0x10031787
cmp ecx, 0x1000
jb 0x1003178c
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100227b6
add esp, 0x10
cmp eax, 0xffffffff
je 0x100317d1
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10031787
jl 0x100317b8
test ecx, ecx
jne 0x10031779
push dword [ebp - 0xc]
push ebx
call fcn.1003158e
push esi
call fcn.10020ad9
add esp, 0xc
xor edi, edi
jmp 0x1003186a
cmp byte [edi + 0x24], 0
je 0x100317e8
cmp dword [edi + 0x20], 5
jne 0x100317e8
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100317f3
mov edi, dword [edi + 0x18]
jmp 0x100317f5
xor edi, edi
push esi
call fcn.10020ad9
pop ecx
jmp 0x1003186a
test ecx, ecx
jg 0x100317ca
jl 0x10031808
test eax, eax
jae 0x100317ca
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10023f54
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1003182b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100317ca
jmp 0x10031862
push ebx
call fcn.1002d1cd
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100317ca
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x1003186a
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x10031867
mov edi, dword [edi + 0x18]
jmp 0x1003186a
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10023f54
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10032950
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003297d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003297d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x5fd517f
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x138102bd
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1005b124
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1005b133
pop dword [ebp - 0x34]
mov eax, 0x1005b133
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x7af4f18b
sub dword [ebp - 0x44], 0x2ca2ac40
mov dword [ebp - 0x40], 0x63937acb
add dword [ebp - 0x40], 0xce9fd17a
mov dword [ebp - 0x3c], 0x225821b
add dword [ebp - 0x3c], 0x4a26c213
mov dword [ebp - 0x38], 0x9a83051e
sub dword [ebp - 0x38], 0x9a83051e
lea eax, [ebp - 0x44]
push eax
mov eax, 0x8a2a2e8c
sub eax, 0x7a220e58
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x1234895b
add dword [ebp - 0x44], 0x623ddffb
mov dword [ebp - 0x40], 0x72283ac3
sub dword [ebp - 0x40], 0x30bbd94e
mov dword [ebp - 0x3c], 0x13264555
add dword [ebp - 0x3c], 0x50492717
mov dword [ebp - 0x38], 0x519a09fe
sub dword [ebp - 0x38], 0x519a09fe
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x83b8935d
add eax, 0x8c4f8cc7
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3e820
push 0
call eax
mov ecx, 0x619e7e24
sub ecx, 0x619e315b
xor edx, edx
add edx, eax
mov ebx, 0x9c1a5acd
sub ebx, 0x8c0f2ccd
add ebx, dword [ebp - 0x34]
mov edi, 0xe4f5a220
sub edi, 0xb147539a
mov esi, dword [ebx]
add dword [ebp - 0x1c], 0x69a42276
sub esi, edi
sub dword [ebp - 0x30], ecx
mov dword [edx], esi
xor dword [ebp - 0x24], 0xcf176091
add edx, 4
add ebx, 0xed6bef09
sub ebx, 0xed6bef05
loop 0x1005b252
add eax, 0x43e5ef2d
sub eax, 0x43e4c936
xor ebx, ebx
add ebx, eax
add eax, 0xde2a1743
sub eax, 0xde2a173e
mov ecx, 0x10000000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x1006ced1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push esi
push edi
call fcn.1006b761
mov edi, dword [esp + 0x38]
push eax
push edi
call sub.glib_lite.dll_Ordinal_400
mov esi, eax
pop ecx
pop ecx
mov eax, dword [esi + 0x74]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1006cefc
xor eax, eax
jmp 0x1006d085
cmp eax, dword [esi + 0x1f0]
je 0x1006cef5
push ebx
push ebp
lea ebx, [esi + 0xc]
push ebx
call sub.glib_lite.dll_Ordinal_209
pop ecx
jmp 0x1006cf15
lea ebx, [esi + 0xc]
push dword [esp + 0x44]
push edi
call fcn.10029e9c
pop ecx
pop ecx
test eax, eax
jne 0x1006d076
push ebx
call sub.glib_lite.dll_Ordinal_208
mov eax, dword [esi + 0x1f8]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
lea eax, [esi + 0xc]
push eax
call sub.glib_lite.dll_Ordinal_209
push edi
call fcn.1002ad4f
add esp, 0xc
cmp ebp, edx
jb 0x1006cf5c
ja 0x1006cf56
cmp ebx, eax
jbe 0x1006cf5c
sub ebx, eax
sbb ebp, edx
jmp 0x1006cf6d
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push ebp
push ebx
push edi
call fcn.1002c986
add esp, 0x10
mov dword [esp + 0x10], eax
cmp eax, 4
je 0x1006cf9c
cmp dword [edi + 0x168], 0
jne 0x1006d076
cmp eax, 2
je 0x1006cf12
call fcn.1007f79f
push eax
push dword [esi + 0x1f0]
call sub.glib_lite.dll_Ordinal_400
push eax
call fcn.1007f76e
add esp, 0xc
push edx
push eax
call fcn.1007f79f
push eax
push dword [esi + 0x1f0]
call sub.glib_lite.dll_Ordinal_400
pop ecx
pop ecx
push eax
call fcn.1007f685
mov dword [esp + 0x24], eax
lea eax, [esi + 0xc]
push eax
mov dword [esp + 0x24], edx
call sub.glib_lite.dll_Ordinal_208
mov edi, dword [esi + 0x78]
add esp, 0x10
add edi, ebx
mov ebx, dword [esi + 0x7c]
adc ebx, ebp
cmp dword [esp + 0x10], 1
jne 0x1006cffe
add edi, dword [esp + 0x24]
adc ebx, dword [esp + 0x28]
push esi
call fcn.1006b2a4
lea eax, [esp + 0x30]
xor ebp, ebp
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
push ebp
push dword [esi + 0x1f0]
call fcn.1002f4b4
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x58]
push dword [esp + 0x58]
push ebx
push edi
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esi + 0x1f0]
call fcn.1005b124
mov eax, dword [esi + 0x1f8]
add esp, 0x3c
cmp dword [eax + 8], ebp
jne 0x1006d061
push dword [esp + 0x20]
push dword [esi + 0x1f0]
call fcn.1002f914
pop ecx
pop ecx
push esi
call fcn.1006c697
push 3
push esi
call fcn.1006ad1b
add esp, 0xc
xor eax, eax
jmp 0x1006d083
lea eax, [esi + 0xc]
push eax
call sub.glib_lite.dll_Ordinal_208
pop ecx
push 0xfffffffffffffffe
pop eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x600fe0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1cc000]
push edi
or ebp, 0xffffffff
jmp 0x601002
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x601009
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x600ff8
mov eax, 1
add ebx, ebx
jne 0x60101b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x60102c
jne 0x60104b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60104b
dec eax
add ebx, ebx
jne 0x601038
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x601010
add ebx, ebx
jne 0x601047
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x60109d
xor ecx, ecx
sub eax, 3
jb 0x601063
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6010d2
sar eax, 1
mov ebp, eax
jmp 0x60106e
add ebx, ebx
jne 0x60106e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60103c
inc ecx
add ebx, ebx
jne 0x60107c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60103c
add ebx, ebx
jne 0x601089
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x60107e
jne 0x60109a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x60107e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6010bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6010ae
jmp 0x600ffe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6010bc
add edi, ecx
jmp 0x600ffe
pop esi
mov edi, esi
mov ecx, 0x47
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6010da
cmp byte [edi], 7
jne 0x6010da
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 0x6010df
lea edi, [esi + 0x1fe000]
mov eax, dword [edi]
or eax, eax
je 0x601157
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x201ce0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x201d9c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x60110c
mov ecx, edi
jns 0x60113b
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 + 0x201da4]
or eax, eax
je 0x601151
mov dword [ebx], eax
add ebx, 4
jmp 0x601129
call dword [esi + 0x201da0]
mov ebp, dword [esi + 0x201da8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x60118b
sub esp, 0xffffff80
jmp 0x41589e
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40ea60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40ea6f
pop dword [ebp - 0x18]
mov eax, 0x56bdadb0
add eax, 0xa9833cbf
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x470fa94d
add dword [ebp - 0x28], 0x7429bfe
mov dword [ebp - 0x24], 0xcde6746
sub dword [ebp - 0x24], 0xdaab1b01
mov dword [ebp - 0x20], 0x1a08a942
add dword [ebp - 0x20], 0x32439aec
mov dword [ebp - 0x1c], 0xcfbd118c
add dword [ebp - 0x1c], 0x3042ee74
lea eax, [ebp - 0x28]
push eax
mov eax, 0x1fbca107
sub eax, 0x1f7a7093
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x5a85aff8
add dword [ebp - 0x28], 0x19ecb95e
mov dword [ebp - 0x24], 0x63a5ec72
sub dword [ebp - 0x24], 0x22398afd
mov dword [ebp - 0x20], 0x3c4174d8
add dword [ebp - 0x20], 0x272df794
mov dword [ebp - 0x1c], 0x545ebbc6
sub dword [ebp - 0x1c], 0x545ebbc6
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3960b
push 0
call eax
mov ecx, 0x1219152d
add ecx, 0xede72173
xor ebx, ebx
add ebx, eax
mov edi, 0x434400
add edi, dword [ebp - 0x18]
mov edx, 0x54c5aa2d
sub edx, 0x37b75d9f
mov dword [ebp - 0x10], 0x1541f4fb
mov esi, dword [edi]
add esi, edx
xor dword [ebp - 0x14], eax
mov dword [ebx], esi
xor dword [ebp - 4], 0x5eba3f7
add ebx, 0xfecd7721
add ebx, 0x13288e3
add edi, 0xf444dfcb
sub edi, 0xf444dfc7
loop 0x40eb88
add eax, 0xa30b450d
add eax, 0x5cf58846
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Hash data using djb2
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], edx
push esi
push edi
test ebx, ebx
je 0x401090
mov eax, dword [ebx + 0x3c]
xor edi, edi
mov ecx, dword [eax + ebx + 0x78]
mov eax, dword [eax + ebx + 0x7c]
add ecx, ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0x1c], eax
add edx, ebx
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x14]
add eax, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x401090
lea esp, [esp]
mov esi, dword [eax + edi*4]
mov edx, 0x1505
movsx eax, byte [esi + ebx]
add esi, ebx
test eax, eax
je 0x401083
lea ecx, [eax - 0x41]
lea esi, [esi + 1]
cmp ecx, 0x19
ja 0x401070
or eax, 0x20
mov ecx, edx
shl edx, 5
add edx, eax
movsx eax, byte [esi]
add edx, ecx
test eax, eax
jne 0x401062
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0x10], edx
je 0x401099
mov eax, dword [ebp - 0x14]
inc edi
cmp edi, ecx
jb 0x401050
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
movzx eax, word [eax + edi*2]
mov edx, dword [edx + eax*4]
add edx, ebx
cmp edx, ecx
jbe 0x4011b7
mov eax, edx
sub eax, ecx
cmp eax, dword [ebp - 0xc]
jae 0x4011b7
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x100
jae 0x4010fb
jmp 0x4010e0
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x120], 0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jb 0x4010e0
mov al, byte [edx]
mov esi, edx
test al, al
je 0x40110f
cmp al, 0x2e
je 0x401111
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x401103
xor esi, esi
mov eax, esi
lea ecx, [ebp - 0x120]
sub eax, edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x401146
mov eax, ecx
sub edx, eax
jmp 0x401130
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x401130
cmp byte [ebp - 0x120], 0
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x120]
je 0x40115e
inc eax
cmp byte [eax], 0
jne 0x401158
lea edi, [ebp - 0xc]
mov dl, 0x2e
sub eax, edi
mov byte [eax + ecx], dl
lea ecx, [ecx + 1]
mov dl, byte [ecx]
test dl, dl
jne 0x401165
lea eax, [ebp - 0x120]
push eax
call dword [0x425414]
movsx ecx, byte [esi + 1]
inc esi
mov edi, eax
mov edx, 0x1505
test ecx, ecx
je 0x4011ae
mov edi, edi
lea eax, [ecx - 0x41]
lea esi, [esi + 1]
cmp eax, 0x19
ja 0x40119e
or ecx, 0x20
mov eax, edx
shl edx, 5
add edx, ecx
movsx ecx, byte [esi]
add edx, eax
test ecx, ecx
jne 0x401190
mov ecx, edi
call section..text
mov edx, eax
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402c50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x16], 0x73002d
push edi
lea ecx, [ebp - 0x16]
mov dword [ebp - 0x12], 0x6f006d
mov dword [ebp - 0xe], 0x650064
mov word [ebp - 0xa], ax
call fcn.00402be0
xor eax, eax
mov dword [ebp - 0x1a], 0x72002d
lea ecx, [ebp - 0x1a]
mov dword [ebp - 0x16], 0x6d0065
mov dword [ebp - 0x12], 0x780065
mov dword [ebp - 0xe], 0x630065
mov word [ebp - 0xa], ax
call fcn.00402be0
mov dword [0x425440], eax
lea ecx, [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x2c], 0x73002d
mov dword [ebp - 0x28], 0x720065
mov dword [ebp - 0x24], 0x690076
mov dword [ebp - 0x20], 0x650063
mov word [ebp - 0x1c], ax
call fcn.00402be0
mov dword [0x425438], eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x14], 0x70002d
mov dword [ebp - 0x10], 0x740061
mov dword [ebp - 0xc], 0x68
mov dword [ebp - 4], 0
call dword [0x42536c]
push eax
call dword [0x4251fc]
mov edi, eax
test edi, edi
je 0x402d36
cmp dword [ebp - 4], 1
jle 0x402d2f
mov esi, 1
lea eax, [ebp - 0x14]
push eax
push dword [edi + esi*4]
call dword [0x425304]
inc esi
test eax, eax
je 0x402d3d
cmp esi, dword [ebp - 4]
jl 0x402d18
push edi
call dword [0x4252d4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + esi*4]
lea eax, [edi + esi*4]
mov dword [ebp - 8], eax
call dword [0x4252e0]
lea ebx, [eax*2 + 2]
push ebx
push 8
push dword [0x425ba8]
call dword [0x425358]
mov esi, eax
test esi, esi
jne 0x402d90
jmp 0x402d70
push 0x80
call dword [0x425428]
push ebx
push 8
push dword [0x425ba8]
call dword [0x425358]
mov esi, eax
test esi, esi
je 0x402d70
mov eax, dword [ebp - 8]
push dword [eax]
push esi
call dword [0x425278]
push edi
call dword [0x4252d4]
push esi
call dword [0x4252e0]
lea edi, [eax*2 + 0x100]
push edi
push 8
push dword [0x425ba8]
call dword [0x425358]
test eax, eax
jne 0x402de2
push 0x80
call dword [0x425428]
push edi
push 8
push dword [0x425ba8]
call dword [0x425358]
test eax, eax
je 0x402dc4
push esi
push eax
mov dword [0x42543c], eax
call dword [0x425278]
push esi
push 0
push dword [0x425ba8]
call dword [0x425290]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402e10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov eax, edx
xor ebx, ebx
mov edx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], eax
lea ecx, [edx - 2]
mov dword [ebp - 8], edi
mov esi, edi
test ecx, ecx
jle 0x402eb5
lea edi, [eax + 2]
dec ecx
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
inc edx
lea ebx, [edx + edx*2]
movzx eax, byte [edi - 2]
lea edi, [edi + 3]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
movsx ecx, byte [edi - 5]
movzx eax, byte [edi - 4]
and ecx, 3
shr eax, 4
shl ecx, 4
or ecx, eax
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
movsx eax, byte [edi - 4]
movzx ecx, byte [edi - 3]
and eax, 0xf
shl eax, 2
shr ecx, 6
or ecx, eax
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], al
movsx eax, byte [edi - 3]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 3], al
add esi, 4
sub edx, 1
jne 0x402e46
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp ebx, edx
jge 0x402f18
movzx eax, byte [ebx + eax]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
mov eax, dword [ebp - 4]
movsx ecx, byte [ebx + eax]
lea eax, [edx - 1]
and ecx, 3
shl ecx, 4
cmp ebx, eax
jne 0x402ee9
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov cl, 0x3d
mov byte [esi + 1], al
jmp 0x402f0e
mov edx, dword [ebp - 4]
movzx eax, byte [ebx + edx + 1]
shr eax, 4
or eax, ecx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
movsx eax, byte [ebx + edx + 1]
and eax, 0xf
mov cl, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], cl
mov byte [esi + 3], 0x3d
add esi, 4
mov byte [esi], 0
sub esi, edi
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret