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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0xd8dbdac5
mov dword [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x2f
xor cl, byte [esp + eax]
add cl, 0x15
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 8
jb 0x445400
mov eax, dword [esp]
mov edx, dword [0x451e48]
test edx, edx
je 0x445478
xor ebx, ebx
mov ecx, dword [0x451e4c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0x7cde1e50
je 0x445450
inc ebx
cmp edx, ebx
jne 0x445440
jmp 0x445478
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x445478
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 5
push edx
push dword [0x451e50]
call fcn.00441a80
add esp, 0x20
test edi, edi
je 0x445482
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x44548e
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4454a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp], 0xd8dbdac5
mov dword [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0x2f
xor bl, byte [esp + eax]
add bl, 0x15
mov byte [esp + eax], bl
mov edi, eax
and edi, 1
xor eax, 1
lea eax, [eax + edi*2]
cmp eax, 8
jb 0x4454d0
mov eax, dword [esp]
mov ebx, dword [0x451e48]
test ebx, ebx
je 0x44554e
xor ebp, ebp
mov edi, dword [0x451e4c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xc81e0bf6
je 0x445520
inc ebp
cmp ebx, ebp
jne 0x445510
jmp 0x44554e
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x44554e
lea eax, [esp + 8]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
push 9
push ebx
push dword [0x451e50]
call fcn.00441a80
add esp, 0x30
cmp eax, 0x103
jne 0x4455e9
mov dword [esp], 0xd8dbdac5
mov dword [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x2f
xor cl, byte [esp + eax]
add cl, 0x15
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 8
jb 0x445570
mov eax, dword [esp]
mov ecx, dword [0x451e48]
test ecx, ecx
je 0x4455e1
xor edx, edx
mov edi, dword [0x451e4c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x4e66b5a3
je 0x4455c0
inc edx
cmp ecx, edx
jne 0x4455b0
jmp 0x4455e1
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x4455e1
push 0
push 0
push dword [esp + 0x2c]
push 3
push ecx
push dword [0x451e50]
call fcn.00441a80
add esp, 0x18
test eax, eax
js 0x4455e9
mov eax, dword [esp + 8]
test esi, esi
je 0x4455fc
xor ecx, ecx
cmp eax, 0xc0000011
je 0x4455fa
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x445770
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
mov ebx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x445790
sar ebx, 1
mov ecx, ebx
and ecx, 2
mov ebp, ebx
or ebx, 2
imul ebx, ecx
xor ecx, 2
and ebp, 0xfffd
imul ebp, ecx
lea ecx, [ebx + ebp]
mov word [esp + 8], cx
lea ecx, [ebx + ebp]
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x40
lea eax, [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0xd8dbdac5
mov dword [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x2f
xor cl, byte [esp + eax]
add cl, 0x15
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 8
jb 0x445810
mov eax, dword [esp]
mov edi, dword [0x451e48]
test edi, edi
je 0x445885
xor ebx, ebx
mov ebp, dword [0x451e4c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x2df48de6
je 0x445861
inc ebx
cmp edi, ebx
jne 0x445850
jmp 0x445885
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x445885
lea eax, [esp + 0x10]
push esi
push eax
push edx
push dword [esp + 0x4c]
push 4
push edi
push dword [0x451e50]
call fcn.00441a80
add esp, 0x1c
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x571c20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa9000]
push edi
or ebp, 0xffffffff
jmp 0x571c42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x571c49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x571c38
mov eax, 1
add ebx, ebx
jne 0x571c5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x571c50
jne 0x571c6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x571c50
xor ecx, ecx
sub eax, 3
jb 0x571c80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x571cf2
mov ebp, eax
add ebx, ebx
jne 0x571c8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x571c98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x571cbc
inc ecx
add ebx, ebx
jne 0x571ca8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x571c9d
jne 0x571cb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x571c9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x571cdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x571ccd
jmp 0x571c3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x571cdc
add edi, ecx
jmp 0x571c3e
pop esi
mov edi, esi
mov ecx, 0x480
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x571cfa
cmp byte [edi], 9
jne 0x571cfa
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
invalid
Function at 0x6da1b2
Capabilities:
Encode data using xor

Disassembly:
pushfd
test byte gs:[eax + edi], bh
in al, 0x33
sbb ah, byte [esi + 0xb]
or esi, dword [ebp + 0x3b]
or esi, dword [ebp + 0x3b]
mov bh, ah
or ebp, dword [ebp + 0x73]
cmp cl, cl
or ebp, dword [ebx]
arpl word [edx - 0x6f], bx
mov dword [esi - 0x38], 0x17d903ad
frstor dword [ebp - 0x12]
loopne 0x6da1a9
mov dh, 0xe4
xchg esi, eax
ficomp dword [edx]
invalid
sbb al, 0x62
mov word [edx], fs
adc dword [esi + 0x30], ecx
aaa
pop esp
sbb eax, 0x67c8d600
inc esi
push esp
frstor dword [edx + edi*2 + 0x2feab149]
stosd dword es:[edi], eax
in al, dx
cwde
add dword [eax + 0x1aa5df2d], esp
lodsb al, byte [esi]
push edi
jg 0x6da266
popal
insd dword es:[edi], dx
push cs
aad 0x7f
sub eax, 0x9307a55
xor byte [ecx], cl
arpl word [edx + 0x54], bp
cmpsb byte [esi], byte es:[edi]
push cs
fpatan
stc
in al, 0x81
rcr byte [esi - 0x8cf13cc], cl
pop esp
cmp al, 0xaf
xor byte [esp + ecx*8], bh
jb 0x6da21f
scasb al, byte es:[edi]
dec ebx
inc edx
jnp 0x6da29d
sbb eax, 0x2c1b19e5
ja 0x6da21d
cmpsb byte [esi], byte es:[edi]
insb byte es:[edi], dx
cmp dword [ecx + edi], 0xffffffc1
test byte [ecx - 0x751b6b2d], ch
jb 0x6da2ab
xor dword [ebp + 0xa201b93], ecx
jne 0x6da2d1
lodsb al, byte [esi]
pop esi
bound ebp, qword [ebx + esi]
jge 0x6da2c5
mov esp, 0xac76d0b0
lodsb al, byte [esi]
insw word es:[edi], dx
repne scasd eax, dword es:[edi]
sbb dword [ebx + ecx*2], 0x1c
out 0x13, eax
insd dword es:[edi], dx
push dword [ebx]
sub al, 0x42
int3
push edx
je 0x6da2ce
pushfd
fldcw word [ecx - 0x17466a96]
fucom st(5)
dec ebx
lodsb al, byte [esi]
loope 0x6da30f
xchg ebp, eax
mov ecx, 0x4be5dde8
xchg esi, eax
sbb byte [edx - 0x2df23d64], ah
add al, 0x65
cmp bh, byte [ebx + 0x2a]
dec edx
dec edi
inc ebp
inc dx
in al, 0x33
cld
or dword [eax - 0x2cdf37fd], ebx
in al, 0xac
sbb ah, 0xf0
jmp 0x38819ef1
cmp al, al
push ecx
dec ebx
imul ebp, dword [edi + 0x6c], 0x334f7344
bound ecx, qword [edx + 0x76]
jp 0x6da2a2
fmul dword [edx + 0x6c]
hlt
and bl, byte [edx]
push 0x484f3e26
pop es
mov word [ebx + 0x4d], gs
jbe 0x6da399
push ebx
dec eax
sub byte [esp + edi*8], 0x8c
mov byte [0xe89182f2], al
cdq
fcom qword [ebp - 0x2d16641a]
ret
adc ah, bh
popal
add byte [ebx + 0x6c], ah
mov esp, 0xf29cbf41
insb byte es:[edi], dx
invalid
stosd dword es:[edi], eax
inc esi
test al, 0xf8
push eax
or dh, cl
sahf
push edi
add ebp, dword [eax + 0x63]
or al, 0x5e
inc eax
sahf
lahf
inc edx
sub dword [ecx - 0x66b69050], esp
and esi, dword [esi - 0x34]
loop 0x6da357
mov al, byte [0x3fed0b1]
add al, 7
jbe 0x6da3c4
bound ebp, qword [ecx + 0xee09c93]
loopne 0x6da3a9
adc ecx, edx
xchg edx, eax
xor dword [ecx + 0x1b], edx
add eax, dword [eax + 0x68]
inc eax
sar dword [ecx + 0x5d], cl
sar byte [edi - 0x40], 0x23
xchg ebp, eax
add ecx, ecx
rol dword [eax], cl
jg 0x6da36b
and edx, dword [ebp + 0xd3c903]
and al, 0xa4
cmpsb byte [esi], byte es:[edi]
ror dword [eax], cl
shl dword [edi + 0x4e], 0xd
push ds
mov esi, 0xc8372d06
inc ebx
pop ebp
mov cl, 0x7d
mov bh, 0x37
jge 0x6da37d
aaa
xor ebx, ecx
invalid
Function at 0x40689d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x4068be
jl 0x4068b5
test edi, edi
jne 0x4068be
xor eax, eax
xor edx, edx
jmp 0x40697f
cmp dword [ebx + 0x38], 0
je 0x4068d3
push eax
push edi
push dword [ebp + 8]
call fcn.00406985
jmp 0x40697f
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40691a
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40691a
cmp eax, edi
jb 0x4068f4
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00409af0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x406920
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x406974
mov ecx, ebx
call fcn.0040613d
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40695f
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0040e8f4
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x406974
jmp 0x406932
test edx, edx
je 0x406974
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040e8f4
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x4092d7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x409316
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x409316
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x409316
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x409316
cmp dword [ecx + 0x74], 0xe
jbe 0x409316
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x413d6e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427f70
push 0x427f68
push str.FlsAlloc
push 0x1e
call fcn.00413bdb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x413da2
push dword [ebp + 8]
mov ecx, esi
call dword [0x425140]
call esi
jmp 0x413da8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x413dec
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427f80
push 0x427f78
push str.FlsGetValue
push 0x20
call fcn.00413bdb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x413e23
push dword [ebp + 8]
mov ecx, esi
call dword [0x425140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4179a5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00417647

Function at 0x4179b0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004177d6

Function at 0x417daa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00409440
mov eax, dword [0x433010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0040d766
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x417dec
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x417f48
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004234b0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x434cb8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418f7a
mov ecx, dword [esi*4 + 0x434cb8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x417f41
cmp eax, dword [edi + ecx + 0x24]
jne 0x417f41
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417f41
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418f7a
add esp, 0x14
test edx, edx
jl 0x417f41
jg 0x417eb7
test eax, eax
jb 0x417f41
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x417f41
jl 0x417ed1
cmp dword [ebp - 0x1008], eax
ja 0x417f41
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x417eef
test ebx, ebx
je 0x417f28
cmp ecx, edi
jae 0x417f28
mov al, byte [ecx]
cmp al, 0xd
jne 0x417f09
lea eax, [edi - 1]
cmp ecx, eax
jae 0x417f15
cmp byte [ecx + 1], 0xa
jne 0x417f15
inc ecx
jmp 0x417f15
movzx eax, al
movsx eax, byte [eax + 0x4332a0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x417eef
cmp edx, ebx
jne 0x417eef
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x417f46
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004086a9
leave
ret
Function at 0x418418
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x434cb8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x418458
cmp byte [ebx], 0xa
jne 0x418458
or byte [eax + edi + 0x28], 4
jmp 0x41845d
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41855b
mov al, byte [edx]
cmp al, 0x1a
je 0x41853d
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41848c
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4184b1
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4184bb
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41846e
jmp 0x41855b
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418538
cmp dword [ebp - 0xc], 0
je 0x418538
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x434cb8]
test byte [eax + edi + 0x28], 0x48
je 0x418512
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4184fd
mov byte [esi], dl
jmp 0x41850e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x434cb8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41855b
cmp byte [ebp - 1], 0xa
jne 0x418521
cmp esi, ebx
jne 0x418521
mov byte [esi], 0xa
jmp 0x41855a
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00418f98
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41855b
mov byte [esi], 0xd
jmp 0x41855a
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x434cb8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x418557
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41855b
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x418564
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 + 0x434cb8]
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 0x4185a7
cmp word [esi], dx
jne 0x4185a7
or byte [edi + eax + 0x28], 4
jmp 0x4185ac
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 0x4186ff
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 0x4186df
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4185ee
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x418624
cmp eax, edx
jae 0x418630
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 0x4185c6
jmp 0x4186ff
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 0x4186db
cmp dword [ebp - 0x14], 0
je 0x4186db
mov eax, dword [ebx*4 + 0x434cb8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4186b3
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41867c
mov word [esi], cx
jmp 0x4186af
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x434cb8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x434cb8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x434cb8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4186ff
pop ebx
cmp word [ebp - 4], bx
jne 0x4186c4
cmp esi, dword [ebp + 0xc]
jne 0x4186c4
mov word [esi], bx
jmp 0x4186fc
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00418f98
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4186ff
push 0xd
jmp 0x4186f8
mov ecx, dword [ebx*4 + 0x434cb8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4186f6
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4186ff
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 0x41d1c4
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 0x41d261
push ebx
push esi
call fcn.0041d18d
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.0041be51
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41d20e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41d260
push edi
push eax
call fcn.0041616a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41d22e
call fcn.00413900
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41d25f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041be51
add esp, 0x20
test eax, eax
jne 0x41d24d
push edi
call fcn.00413900
jmp 0x41d255
push ebx
call fcn.00413900
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 0x41d264
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x41d275
pop esi
ret
push ebx
push edi
push esi
call fcn.0041d18d
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0041616a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41d29d
push ebx
push esi
push edi
call fcn.00409af0
add esp, 0xc
push 0
call fcn.00413900
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x41d9e9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041d510
Function at 0x423470
Capabilities:
Parse pe header

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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xee0000]
push edi
or ebp, 0xffffffff
jmp 0x18e57f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x18e57f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x18e57e8
mov eax, 1
add ebx, ebx
jne 0x18e580b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x18e581c
jne 0x18e583b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x18e583b
dec eax
add ebx, ebx
jne 0x18e5828
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x18e5800
add ebx, ebx
jne 0x18e5837
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x18e588d
xor ecx, ecx
sub eax, 3
jb 0x18e5853
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x18e58c2
sar eax, 1
mov ebp, eax
jmp 0x18e585e
add ebx, ebx
jne 0x18e585e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x18e582c
inc ecx
add ebx, ebx
jne 0x18e586c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x18e582c
add ebx, ebx
jne 0x18e5879
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x18e586e
jne 0x18e588a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x18e586e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x18e58ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x18e589e
jmp 0x18e57ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x18e58ac
add edi, ecx
jmp 0x18e57ee
pop esi
mov edi, esi
mov ecx, 0x1d0a3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x18e58ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x18e58cf
lea edi, [esi + 0x14e1000]
mov eax, dword [edi]
or eax, eax
je 0x18e5937
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14eade4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14eaf60]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x18e58f5
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14eaf64]
or eax, eax
je 0x18e5931
mov dword [ebx], eax
add ebx, 4
jmp 0x18e5912
call dword [esi + 0x14eaf74]
mov ebp, dword [esi + 0x14eaf68]
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 0x18e596b
sub esp, 0xffffff80
jmp 0x926840