joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401320
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x406004]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push ebx
push esi
mov esi, dword [0x40b804]
push edi
mov edi, dword [0x40b920]
mov dword [ebp - 0x180], edi
test eax, eax
je 0x4014f9
test esi, esi
je 0x4014f9
test edi, edi
je 0x4014f9
push 0x40
lea eax, [ebp - 0x174]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x174]
add esp, 0xc
push 0
push 0x40
push eax
push edi
push esi
call ebx
test eax, eax
je 0x4014f9
mov eax, 0x5a4d
cmp word [ebp - 0x174], ax
jne 0x4014f9
push 0xf8
lea eax, [ebp - 0x12c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x12c]
push 0
push 0xf8
push eax
mov eax, dword [ebp - 0x138]
add eax, edi
push eax
push esi
call ebx
test eax, eax
je 0x4014f9
cmp dword [ebp - 0x12c], 0x4550
jne 0x4014f9
mov eax, dword [ebp - 0xb4]
xorps xmm0, xmm0
movq qword [ebp - 0x14], xmm0
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
test eax, eax
je 0x4014f9
push 0
push 0x28
lea ecx, [ebp - 0x34]
add eax, edi
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x4014f9
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
add eax, edi
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x17c], eax
lea edx, [ecx + 1]
mov eax, dword [ebp - 0x10]
add eax, edi
mov dword [ebp - 0x188], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401455
sub ecx, edx
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0x184], eax
call fcn.00403298
xor edi, edi
mov dword [ebp - 0x178], eax
add esp, 4
cmp dword [ebp - 0x1c], edi
jbe 0x4014f0
mov eax, dword [ebp - 0x17c]
push 0
push 4
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x130], 0
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x4014f9
mov eax, dword [ebp - 0x130]
add eax, dword [ebp - 0x180]
push 0
push dword [ebp - 0x184]
push dword [ebp - 0x178]
push eax
push esi
call ebx
test eax, eax
je 0x4014f9
push dword [ebp - 0x178]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40150c
mov eax, dword [ebp - 0x17c]
inc edi
add eax, 4
mov dword [ebp - 0x17c], eax
cmp edi, dword [ebp - 0x1c]
jb 0x401483
mov eax, dword [ebp - 0x178]
push eax
call fcn.00403004
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00402ff6
mov esp, ebp
pop ebp
ret
push 0
push 2
lea eax, [ebp - 0x134]
push eax
mov eax, dword [ebp - 0x188]
lea eax, [eax + edi*2]
push eax
push esi
call ebx
test eax, eax
je 0x4014f9
mov ecx, dword [ebp - 0x18c]
lea eax, [ebp - 0xc]
push 0
push 4
push eax
movzx eax, word [ebp - 0x134]
mov dword [ebp - 0xc], 0
lea eax, [ecx + eax*4]
push eax
push esi
call ebx
test eax, eax
je 0x4014f9
push dword [ebp - 0x178]
call fcn.00403004
mov ecx, dword [ebp - 8]
add esp, 4
mov eax, dword [ebp - 0xc]
xor ecx, ebp
add eax, dword [ebp - 0x180]
pop edi
pop esi
pop ebx
call fcn.00402ff6
mov esp, ebp
pop ebp
ret
Function at 0x4039a3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4039e2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4039e2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4039e2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4039e2
cmp dword [ecx + 0x74], 0xe
jbe 0x4039e2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x417e10
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push esi
push edi
push str.uxtheme.dll
je 0x417e77
dec esp
add bh, bh
adc eax, sym.imp.KERNEL32.dll_LoadLibraryW
dec esp
invalid
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
dec esp
invalid
mov edi, dword [esp + 0x14]
mov ebx, eax

Function at 0x417e25
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push esi
push edi
push str.uxtheme.dll
je 0x417e77
dec esp
add bh, bh
adc eax, sym.imp.KERNEL32.dll_LoadLibraryW
dec esp
invalid
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
dec esp
invalid
mov edi, dword [esp + 0x14]
mov ebx, eax

Function at 0x417e2d
Capabilities:
Accept command line arguments

Disassembly:
dec esp
add byte [ebx - 0x74ebdb84], cl
fmul dword [ebx - 0x3f7af7b9]
mov eax, dword [edi + 8]
test eax, eax

Function at 0x465b31
Capabilities:
Check for software breakpoints

Disassembly:
and dword [edx], edi
xchg byte [ecx + 0x38107742], bl
adc ecx, dword [edx + esi*2 - 0x72]
mov byte [ecx - 0x76332e5f], ch
rcl cl, 1
invalid
inc esi
fld dword [eax - 0x5e733cd7]
popal
adc ebx, dword [edx + 0x4ae8fb7a]
push es
test dh, 0x5d
sbb al, 0x47
jl 0x465bb2
cmp al, 0xcc
or dword [edi - 0x5a40e5e0], 0xec401e84
sbb bh, byte [edi + 0x401e84a5]
in al, dx
adc bh, ah
xchg esi, eax
aam 0x17
nop
jg 0x465b07
or ebp, dword [esp + ecx*8 + 0x29d2315]
pop esp
in eax, dx
stc
loopne 0x465b79
inc ecx
lcall 0xcd21, 0xb7b43cf0
mov edi, 0x4114c0c0
out 0xe2, eax
jp 0x465b4e
aam 0x87
lahf
dec ecx
xchg dword [edi + 0x49c0ef49], ebx
xor eax, 0x23969d70
mov ebx, 0xd04dd436
arpl word [ecx + 0x28], cx
jl 0x465be7
shr al, 1
push ebx
jle 0x465b8b
or ebx, dword [edi - 0x7f]
enter 0xffffffffffffba5c, 0x44
or edi, edi
invalid
inc ecx
xchg esp, eax

Function at 0x494f9d
Capabilities:
Check for software breakpoints

Disassembly:
stosd dword es:[edi], eax
fisttp qword [esi]
lodsd eax, dword [esi]
push esi
mov ebp, dword [ecx + ecx*8]
leave
cmpsb byte [esi], byte es:[edi]
sbb cl, byte [edx - 5]
jb 0x494f06
mov dh, byte [edx + 0xb11891b]
fstp dword [0x11fb2810]
cmpsd dword [esi], dword es:[edi]
sbb eax, 0x4d3e8299
in eax, dx
cdq
mov word [bx], fs
sub ecx, dword [0x6bf569c7]
fcomp dword [edx]
lcall 0xec7a, 0xd52abf53
js 0x494fb1
imul ebp, dword [0xfac9b4f7], 0xffffffeb
jge 0x494f5d
fidiv dword [edx]
sar dword [esi + 0x39191b94], 1
cmc
jg 0x494eff
sub ebp, dword [ebp - 0x20e704d2]
sub ebx, ebx
ret 0xa7b2
stosb byte es:[edi], al
sub ecx, esp
adc eax, 0xfac07e4f
add dword [ebx], eax
jp 0x494f3c
fisttp word [edi - 0x2dc2a1d5]
invalid
sar edx, cl
invalid

Function at 0x495031
Capabilities:
Check for software breakpoints

Disassembly:
pop esp
sbb al, 0x99
inc ecx
mov bl, 0x44
push esi
mov ch, byte [ecx + 0x47]
add al, dl
sar dword [0x116e7707], 0x95
pop es
stc
inc edi
stc
pop ecx
jns 0x49509b
leave
cmp cl, al
adc cl, ch
outsb dx, byte [esi]
invalid
add eax, 0xb552dc8
cdq
Function at 0x4950a1
Capabilities:
Check for software breakpoints

Disassembly:
invalid
mov eax, 0x6e495638
scasd eax, dword es:[edi]
aaa
and eax, 0xf230399d
das
add dword [edi], ecx
sbb edi, dword [edx + 9]
xchg ecx, eax
leave
pop ds
sets byte [ebx + 0x61]
test al, 0xef
mov ah, 0xee
mov eax, dword [0x8e8eb55d]
push ss
mov edx, 0x127e377a
sbb ah, byte [ecx]
scasb al, byte es:[edi]
stosd dword es:[edi], eax
inc ebx
in eax, dx
adc byte [edx + 0x39dbb990], 0xf8
sbb byte [edx + 0x7d434659], cl
js 0x49511d
dec ebp
cmp al, 0xcc
aad 0x8d
mov al, byte [0xc61e1b3c]
adc bl, bh
pop ecx
pop ecx
xchg esi, eax
adc ebx, dword [ebx + ebp*8 - 0x48]
dec ebx
and eax, 0xb19e1917
jg 0x495091
movsb byte es:[edi], byte [esi]
mov esi, 0x36ee90e2
pop ss
cwde
je 0x4950ae
pop ss
inc ebp
add eax, 0xe6dcde79
aam 0x2a
popfd
loop 0x495091
fisttp word [0xadb09ab8]
bound eax, qword [edx + 0x35]
cmp dword [ebx + 0x1c], 0xffffffb4
mov bh, 0xe
xchg byte [ebp - 0x27fb06d2], bl
or dword fs:[ebx - 0x79], esi
lahf
inc esp
sub al, 0x44
test dword [ecx], ebx
xchg byte [ebx], al
retf

Function at 0x4bbd2d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c63a0
cmp edx, dword [eax]
je 0x4bbd4f
add eax, 8
inc ecx
cmp eax, 0x4c6430
jl 0x4bbd40
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c63a0]
jne 0x4bbe7d
mov eax, dword [0x4cad2c]
cmp eax, 1
je 0x4bbe57
test eax, eax
jne 0x4bbd80
cmp dword [0x4c62c8], 1
je 0x4bbe57
cmp edx, 0xfc
je 0x4bbe7d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bbdb7
lea eax, [ebp - 0x1a4]
push 0x4c1d40
push eax
call fcn.004bc710
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bcba0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bbdfa
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bcba0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1d3c
push edi
call fcn.004bea70
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1d20
push eax
call fcn.004bc710
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc720
lea eax, [ebp - 0xa0]
push 0x4c1d1c
push eax
call fcn.004bc720
push dword [esi + 0x4c63a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc720
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c1cf4
push eax
call fcn.004be9e4
add esp, 0x2c
pop edi
jmp 0x4bbe7d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c63a4]
push 0
push eax
push dword [esi]
call fcn.004bcba0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4cd890
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8f000]
mov dword [edi + 0x907b8], 0x812d26e6
push edi
or ebp, 0xffffffff
jmp 0x4cd8ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4cd8c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cd8b0
mov eax, 1
add ebx, ebx
jne 0x4cd8d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4cd8e4
jne 0x4cd903
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cd903
dec eax
add ebx, ebx
jne 0x4cd8f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4cd8c8
add ebx, ebx
jne 0x4cd8ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4cd955
xor ecx, ecx
sub eax, 3
jb 0x4cd91b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4cd98a
sar eax, 1
mov ebp, eax
jmp 0x4cd926
add ebx, ebx
jne 0x4cd926
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cd8f4
inc ecx
add ebx, ebx
jne 0x4cd934
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cd8f4
add ebx, ebx
jne 0x4cd941
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4cd936
jne 0x4cd952
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4cd936
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4cd974
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4cd966
jmp 0x4cd8b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4cd974
add edi, ecx
jmp 0x4cd8b6
pop esi
mov edi, esi
mov ecx, 0x4d24
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4cd992
cmp byte [edi], 0x13
jne 0x4cd992
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 0x4cd997
lea edi, [esi + 0xc9000]
mov eax, dword [edi]
or eax, eax
je 0x4cda06
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe60d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe628c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4cd9c4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe6290]
or eax, eax
je 0x4cda00
mov dword [ebx], eax
add ebx, 4
jmp 0x4cd9e1
call dword [esi + 0xe62a0]
mov ebp, dword [esi + 0xe6294]
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 0x4cda3a
sub esp, 0xffffff80
jmp 0x48f888
Function at 0x5df835ca
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 4], esi
jne 0x5df835e5
mov eax, 0x8000002b
jmp 0x5df83652
mov eax, dword [edi + 8]
cmp eax, esi
jne 0x5df835f3
mov eax, 0x80000018
jmp 0x5df83652
push esi
push esi
push eax
call sub.TAPI32.dll_lineDrop
cmp eax, esi
jl 0x5df83652
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov dword [edi + 0x24], eax
call esi
mov ebx, eax
add ebx, 0x1388
jmp 0x5df83649
xor eax, eax
cmp dword [edi + 0x24], eax
jne 0x5df83622
cmp dword [edi + 0x20], 1
je 0x5df8364f
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x5df83649
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
call esi
cmp eax, ebx
jb 0x5df83615
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0xbde058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00bde1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbde07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbde06a
add dl, dl
jne 0xbde089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbde0dc
xor eax, eax
add dl, dl
jne 0xbde096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbde17d
add dl, dl
jne 0xbde0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbde0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbde0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbde0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbde0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbde075
mov eax, 1
add dl, dl
jne 0xbde0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbde0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbde0e1
sub eax, ebx
mov ebx, 1
jne 0xbde128
mov ecx, 1
add dl, dl
jne 0xbde10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbde119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbde105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbde075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbde13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbde14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbde136
cmp eax, 0x7d00
jae 0xbde16d
cmp eax, 0x500
jb 0xbde168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbde075
cmp eax, 0x7f
ja 0xbde170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbde075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbde19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbde075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0xe43640
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa1e000]
push edi
jmp 0xe4365a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xe43661
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe43650
mov eax, 1
add ebx, ebx
jne 0xe43673
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xe43668
jne 0xe43684
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe43668
xor ecx, ecx
sub eax, 3
jb 0xe43698
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xe4370a
mov ebp, eax
add ebx, ebx
jne 0xe436a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xe436b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xe436d4
inc ecx
add ebx, ebx
jne 0xe436c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xe436b5
jne 0xe436d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe436b5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xe436f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xe436e5
jmp 0xe43656
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xe436f4
add edi, ecx
jmp 0xe43656
pop esi
mov edi, esi
mov ecx, 0xbee
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xe43712
cmp byte [edi], 6
jne 0xe43712
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 0xe43717
lea edi, [esi + 0xa41000]
mov eax, dword [edi]
or eax, eax
je 0xe43786
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa488d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa4895c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xe43744
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa48960]
or eax, eax
je 0xe43780
mov dword [ebx], eax
add ebx, 4
jmp 0xe43761
call dword [esi + 0xa48970]
mov ebp, dword [esi + 0xa48964]
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 0xe437ba
sub esp, 0xffffff80
jmp 0x419acc
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.7c355267
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.7c355267
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.7c355267
jmp 0x7c342406
call fcn.7c342346
jmp 0x7c342408

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]
Function at 0x7c348d3e
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x7c38b118]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x7c38ccb0]
je 0x7c348d73
inc eax
cmp eax, 0x13
jb 0x7c348d64
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x7c38ccb0]
jne 0x7c348e99
mov eax, dword [0x7c390f94]
cmp eax, 1
je 0x7c348e71
cmp eax, edx
jne 0x7c348da3
cmp dword [0x7c390f98], 1
je 0x7c348e71
cmp ecx, 0xfc
je 0x7c348e99
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c348dd9
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call sym.MSVCR71.dll__mbscpy
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call sym.MSVCR71.dll_strlen
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x7c348e0d
mov eax, edi
push eax
call sym.MSVCR71.dll_strlen
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x7c37f4c8
push edi
call sym.MSVCR71.dll_strncpy
add esp, 0x10
push edi
call sym.MSVCR71.dll_strlen
push dword [esi + 0x7c38ccb4]
mov ebx, eax
call sym.MSVCR71.dll_strlen
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.7c341395
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call sym.MSVCR71.dll__mbscpy
push edi
push ebx
call sym.MSVCR71.dll__mbscat
push 0x7c37f4a8
push ebx
call sym.MSVCR71.dll__mbscat
push dword [esi + 0x7c38ccb4]
push ebx
call sym.MSVCR71.dll__mbscat
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.7c355267
add esp, 0x2c
jmp 0x7c348e99
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x7c38ccb4]
push dword [esi]
call sym.MSVCR71.dll_strlen
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.7c341aed
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret

Function at 0x7c349434
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
xor ebx, ebx
test edi, edi
jne 0x7c349450
call sym.MSVCR71.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x7c3494c2
push esi
push 0x8c
push 1
call sym.MSVCR71.dll_calloc
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x7c3494a8
push esi
call fcn.7c3423c6
mov eax, dword [esp + 0x1c]
pop ecx
push esi
push 4
push esi
push 0x7c3493a3
push dword [esp + 0x24]
mov dword [esi + 0x4c], edi
push 0
mov dword [esi + 0x50], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov edi, eax
test edi, edi
mov dword [esi + 4], edi
je 0x7c3494a0
push edi
call dword [sym.imp.kernel32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x7c3494bf
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
push esi
call sym.MSVCR71.dll_free
test ebx, ebx
pop ecx
je 0x7c3494ba
push ebx
call fcn.7c349ee2
pop ecx
or eax, 0xffffffff
jmp 0x7c3494c1
mov eax, edi
pop esi
pop edi
pop ebx
ret