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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [eax - 1]
mov ebx, ecx
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 0xc]
mov edx, edi
sar ebx, 1
mov dword [ebp + 0xc], edi
cmp edi, ebx
jge 0x455f82
add edx, edx
xor ecx, ecx
lea eax, [edx + edx*2]
movsd xmm0, qword [esi + eax*8 + 0x40]
comisd xmm0, xmmword [esi + eax*8 + 0x28]
lea eax, [edi + edi*2]
seta cl
xor ecx, 1
inc ecx
add edx, ecx
mov edi, edx
lea ecx, [edx + edx*2]
movups xmm0, xmmword [esi + ecx*8]
movups xmmword [esi + eax*8], xmm0
movq xmm0, qword [esi + ecx*8 + 0x10]
movq qword [esi + eax*8 + 0x10], xmm0
cmp edx, ebx
jl 0x455f43
mov eax, dword [ebp + 0x10]
cmp edx, ebx
jne 0x455fa8
test al, 1
jne 0x455fa8
lea ecx, [eax + eax*2]
movups xmm0, xmmword [esi + ecx*8 - 0x18]
lea eax, [edi + edi*2]
mov edi, dword [ebp - 4]
movups xmmword [esi + eax*8], xmm0
movq xmm0, qword [esi + ecx*8 - 8]
movq qword [esi + eax*8 + 0x10], xmm0
mov ebx, dword [ebp + 0x14]
cmp dword [ebp + 0xc], edi
jge 0x455fe3
lea ecx, [edi - 1]
sar ecx, 1
lea edx, [ecx + ecx*2]
movsd xmm0, qword [esi + edx*8 + 0x10]
comisd xmm0, xmmword [ebx + 0x10]
jbe 0x455fe3
lea eax, [edi + edi*2]
mov edi, ecx
movups xmm0, xmmword [esi + edx*8]
movups xmmword [esi + eax*8], xmm0
movq xmm0, qword [esi + edx*8 + 0x10]
movq qword [esi + eax*8 + 0x10], xmm0
cmp dword [ebp + 0xc], ecx
jl 0x455fb0
movups xmm0, xmmword [ebx]
lea eax, [edi + edi*2]
pop edi
movups xmmword [esi + eax*8], xmm0
movq xmm0, qword [ebx + 0x10]
movq qword [esi + eax*8 + 0x10], xmm0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4754e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x4fda68
push dword [ebp + 8]
xor esi, esi
call fcn.0041d3a0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x47558e
push 0x4fdc30
push dword [ebp + 0xc]
call fcn.0041d3a0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x475585
push edi
push 0x40000
call fcn.004c98cf
push ebx
push 0x40000
mov edi, eax
push 1
push edi
call fcn.004c37de
mov esi, eax
add esp, 0x14
test esi, esi
jle 0x47556e
nop dword [eax]
push dword [ebp - 4]
push esi
push 1
push edi
call fcn.004c3f01
add esp, 0x10
cmp esi, 0x40000
jb 0x47556e
push ebx
push 0x40000
push 1
push edi
call fcn.004c37de
mov esi, eax
add esp, 0x10
test esi, esi
jg 0x475540
push dword [ebp - 4]
call fcn.004c35d5
push edi
call fcn.004c98b4
add esp, 8
mov esi, 1
pop edi
push ebx
call fcn.004c35d5
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4758b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6ac0b4]
test eax, eax
je 0x4758c6
push eax
call fcn.004c98b4
add esp, 4
push ebx
push esi
push edi
push 0x100
call fcn.004c98cf
mov esi, eax
add esp, 4
mov dword [0x6ac0b4], esi
xor ecx, ecx
mov byte [ecx + esi], cl
inc ecx
cmp ecx, 0x100
jb 0x4758e0
xor edi, edi
mov dword [ebp - 4], edi
mov eax, edi
mov bl, byte [edi + esi]
xor edx, edx
movzx ecx, bl
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [edx + eax]
add eax, dword [ebp - 4]
add ecx, eax
movzx ecx, cl
mov dword [ebp - 4], ecx
mov dword [0x6ac0bc], ecx
mov al, byte [ecx + esi]
mov byte [ecx + esi], bl
mov byte [edi + esi], al
inc edi
cmp edi, 0x100
jb 0x4758f1
pop edi
pop esi
pop ebx
mov dword [0x6ac0b8], 0
mov dword [0x6ac0bc], 0
mov esp, ebp
pop ebp
ret

Function at 0x475ea0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0x10]
push 0x4fda68
push eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], esi
call fcn.0041d3a0
add esp, 8
mov dword [0x6ac0c0], eax
test eax, eax
je 0x475fb1
push eax
push 1
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.004c37de
mov al, byte [ebp - 0x24]
add esp, 0x10
cmp al, 1
jb 0x475fb1
cmp al, 2
movzx eax, byte [ebp - 0x23]
jae 0x475f0a
mov eax, 0x20
push ebx
mov dword [0x6ac0c4], eax
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.00475800
mov edi, dword [0x6ac0b8]
add esp, 4
mov ebx, dword [0x6ac0bc]
xor edx, edx
mov esi, dword [0x6ac0b4]
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [edi + esi]
movzx eax, cl
add eax, ebx
movzx ebx, al
mov al, byte [ebx + esi]
mov byte [ebx + esi], cl
mov byte [edi + esi], al
movzx ecx, byte [ebx + esi]
movzx eax, al
add ecx, eax
movzx eax, cl
movzx eax, byte [eax + esi]
xor byte [ebp + edx - 0x14], al
inc edx
cmp edx, 0x10
jl 0x475f31
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
mov dword [0x6ac0b8], edi
mov ecx, eax
pop edi
mov dword [0x6ac0bc], ebx
sub esi, ecx
pop ebx
nop dword [eax]
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [esi + eax - 1], cl
test cl, cl
jne 0x475f80
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
pop esi
mov dword [ecx], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
Function at 0x479f10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
nop dword [eax + eax]
push ebx
call fcn.004cf9d3
mov esi, eax
add esp, 4
mov eax, dword [ebp + 8]
add eax, edi
cmp esi, 0x80
jl 0x479f56
sub esi, 0x7f
push esi
push ebx
call fcn.004cf9d3
add esp, 4
push eax
mov eax, dword [ebp + 8]
add eax, edi
push eax
call fcn.004b90a0
add esp, 0xc
jmp 0x479f64
push ebx
push 1
inc esi
push esi
push eax
call fcn.004c37de
add esp, 0x10
add edi, esi
cmp edi, dword [ebp + 0xc]
jl 0x479f20
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x47eed0
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push esi
push edi
xor edi, edi
push 8
push edi
call fcn.0047ef80
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov esi, edx
sar esi, 0x1f
and esi, 0x4c11db7
lea eax, [edx + edx]
xor esi, eax
mov ecx, esi
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [esi + esi]
xor ecx, eax
push 0x20
push ecx
call fcn.0047ef80
mov dword [edi*4 + 0x6ac2c8], eax
add esp, 0x10
inc edi
cmp edi, 0xff
jle 0x47eed4
pop edi
pop esi
ret
Function at 0x47f140
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.004b3f40
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6ac2c0], 0
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1008], eax
jne 0x47f178
call fcn.0047eed0
mov dword [0x6ac2c0], 1
push ebx
push esi
mov esi, dword [ebp + 8]
or ebx, 0xffffffff
cmp dword [ebp + 0x1c], 0x10
push edi
lea edi, [ebp + 8]
cmovae edi, esi
xor edx, edx
cmp dword [ebp + 0x18], edx
jle 0x47f1ab
movzx ecx, byte [edi + edx]
inc edx
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x6ac2c8]
cmp edx, dword [ebp + 0x18]
jl 0x47f192
mov eax, dword [ebp - 0x1008]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x1014], ecx
test ecx, ecx
jle 0x47f29f
xor edi, edi
mov dword [ebp - 0x1010], edi
nop dword [eax]
mov eax, dword [ebp - 0x1008]
mov eax, dword [eax]
add eax, edi
cmp dword [eax + 0x14], 0x10
jb 0x47f1f2
mov eax, dword [eax]
push 0x4fda68
push eax
call fcn.0041d3a0
add esp, 8
mov dword [ebp - 0x100c], eax
test eax, eax
je 0x47f286
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push 1
push eax
call fcn.004c37de
mov esi, eax
add esp, 0x10
test esi, esi
jle 0x47f278
nop dword [eax + eax]
xor edx, edx
movzx ecx, byte [ebp + edx - 0x1004]
inc edx
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x6ac2c8]
mov edi, ebx
cmp edx, esi
jl 0x47f232
push dword [ebp - 0x100c]
lea eax, [ebp - 0x1004]
push 0x1000
push 1
push eax
call fcn.004c37de
mov esi, eax
add esp, 0x10
test esi, esi
jg 0x47f230
mov edi, dword [ebp - 0x1010]
push dword [ebp - 0x100c]
call fcn.004c35d5
add esp, 4
add edi, 0x18
sub dword [ebp - 0x1014], 1
mov dword [ebp - 0x1010], edi
jne 0x47f1e0
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
not ebx
cmp eax, 0x10
jb 0x47f2d0
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x47f2c6
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47f2e3
push ecx
push esi
call fcn.004b3acc
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
call fcn.004c342f
int3
Function at 0x47f2f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov ecx, 0x5053cc
mov eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47f320
test dl, dl
je 0x47f31c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47f320
add eax, 2
add ecx, 2
test dl, dl
jne 0x47f300
xor eax, eax
jmp 0x47f325
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47f33a
push str.ROSETTE
call fcn.00416ad0
add esp, 4
test eax, eax
jne 0x47f382
push esi
call fcn.00416220
add esp, 4
test eax, eax
jne 0x47f382
push esi
push dword [ebp + 8]
push str.In_order_to_use_this_screen___s__you_need_to_install_a_special_n_nregistration_code_for__s
push 0x10
push str.Error
call fcn.004154f0
add esp, 0x14
push str.wwrip_registration.html
push str.httpService_htmlHelp
call fcn.0041c8c0
add esp, 4
push eax
call fcn.00415690
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
ret

Function at 0x483970
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00442df0
mov edi, eax
add esp, 4
test edi, edi
jle 0x4839be
push 0x4fda68
push esi
call fcn.0041d3a0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4839be
push edi
call fcn.00417230
push ebx
push edi
mov esi, eax
push 1
push esi
call fcn.004c37de
push ebx
call fcn.004c35d5
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x48c9a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
sub eax, dword [0x9b9f50]
sbb ecx, dword [0x9b9f54]
push ecx
push eax
push dword [0x9b9f5c]
push dword [0x9b9f58]
push dword [0x9b9f48]
call fcn.0048c9e0
mov eax, dword [0x52c980]
add esp, 0x14
cmp eax, 0x3e8
jg case.0x48b687.2
je 0x48b6fc
dec eax
cmp eax, 0x1a
ja case.0x48b687.2
movzx eax, byte [eax + 0x48b7d4]
jmp dword [eax*4 + 0x48b7a4]
call fcn.00492900
jmp case.0x48b687.2
call fcn.00492c90
jmp case.0x48b687.2
call fcn.00495230
jmp case.0x48b687.2
call fcn.00493200
jmp case.0x48b687.2
call fcn.00493440
jmp case.0x48b687.2
call fcn.00494320
jmp case.0x48b687.2
call fcn.00491140
jmp case.0x48b687.2
call fcn.00401730
jmp case.0x48b687.2
call fcn.00494890
jmp case.0x48b687.2
call fcn.00494ba0
jmp case.0x48b687.2
call fcn.004950c0
jmp case.0x48b687.2
mov eax, dword [0x9ba02c]
test eax, eax
je 0x48b707
call eax
push esi
push dword [0x9b9f48]
call fcn.00412f50
push eax
call fcn.00412ec0
push 0x4fd8ac
mov esi, eax
call fcn.0041c8c0
push eax
push str.CHECKDRIVERHEAP
call fcn.00412960
add esp, 0x14
test eax, eax
je 0x48b76b
mov eax, dword [0x9ba030]
test eax, eax
je 0x48b758
call eax
push eax
push dword [esi + 0x2c8]
push str._s_n_nHeapusage_at_close___d_n_n
call fcn.004153c0
add esp, 0xc
jmp 0x48b76b
push dword [esi + 0x2c8]
push str._s_n_nDriver_not_linked_with_heap_diagnostic
call fcn.004153c0
add esp, 8
cmp dword [esi + 0x418], 0
pop esi
jne case.0x48b687.2
mov eax, dword [0x9b9f30]
test eax, eax
je 0x48b785
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x9b9f30], 0
push dword [0x9ba054]
push dword [0x9b9f48]
call fcn.004f07e0
add esp, 8
ret
mov eax, dword [0x9ba078]
cmp eax, dword [0x9ba070]
jge 0x48c9c1
push dword [0x9b9f48]
push dword [0x9ba050]
call fcn.0048b7f0
add esp, 8
jmp 0x48b630
Function at 0x48d8b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov eax, edi
nop dword [eax]
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [eax - 1], cl
test cl, cl
jne 0x48d8c0
mov eax, dword [0x9b9f30]
test eax, eax
jne 0x48d8fb
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x9b9f30], eax
test eax, eax
jne 0x48d8fb
push edi
push str.Failure_to_load__s_n_nCheck_your_installation.
push str.Error
call fcn.00415480
add esp, 0xc
pop edi
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.writeDeviceHeader
push eax
call esi
push str.writeLine
push dword [0x9b9f30]
mov dword [0x9ba010], eax
call esi
push str.writeDeviceLine
push dword [0x9b9f30]
mov dword [0x9ba028], eax
call esi
push str.writeDeviceClose
push dword [0x9b9f30]
mov dword [0x9ba024], eax
call esi
push str.writeDeviceFrameHeader
push dword [0x9b9f30]
mov dword [0x9ba02c], eax
call esi
push str.writeDeviceFrameTail
push dword [0x9b9f30]
mov dword [0x9ba01c], eax
call esi
push str.passCount
push dword [0x9b9f30]
mov dword [0x9ba020], eax
call esi
push str.copyCount
push dword [0x9b9f30]
mov dword [0x9ba014], eax
call esi
push 0x5064cc
push dword [0x9b9f30]
mov dword [0x9ba018], eax
call esi
cmp dword [0x9ba010], 0
mov dword [0x9ba030], eax
pop esi
je 0x48d9c4
cmp dword [0x9ba024], 0
jne 0x48d9bb
cmp dword [0x9ba028], 0
je 0x48d9c4
cmp dword [0x9ba02c], 0
jne 0x48d9d7
push edi
push str.Failure_to_load_one_or_more_I_O_routines_from__s
push str.Error
call fcn.00415480
add esp, 0xc
pop edi
pop ebp
ret
Function at 0x492d30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [0x9ba9c0]
call fcn.00412ef0
push eax
push str.DEVICECODE
call fcn.004129d0
push eax
call fcn.004cd97e
add esp, 0x10
cmp eax, 0x1c3
je 0x492dd4
cmp eax, 0x1c4
je 0x492dd4
cmp eax, 0x1c5
je 0x492db0
cmp eax, 0x1c6
je 0x492db0
cmp eax, 0x1d1
je 0x492d8c
cmp eax, 0x1d2
jne 0x492dff
mov eax, dword [str.C6075A]
movq xmm0, qword [str.ILJLSMSHFE]
mov dword [ebp - 0xc], eax
movzx eax, word [0x507028]
mov word [ebp - 8], ax
movzx eax, word [0x507034]
jmp 0x492df6
mov eax, dword [str.C4724A]
movq xmm0, qword [str.CCYGBIHYFG]
mov dword [ebp - 0xc], eax
movzx eax, word [0x507014]
mov word [ebp - 8], ax
movzx eax, word [0x507020]
jmp 0x492df6
mov eax, dword [str.C4704A]
movq xmm0, qword [str.ISLCEISIIG]
mov dword [ebp - 0xc], eax
movzx eax, word [0x506ff8]
mov word [ebp - 8], ax
movzx eax, word [0x507004]
movq qword [ebp - 0x18], xmm0
mov word [ebp - 0x10], ax
push dword [0x9ba9c0]
call fcn.00412ef0
push eax
push str.VARWARE
call fcn.004129d0
add esp, 0xc
test eax, eax
je 0x492f92
cmp byte [eax], 0
je 0x492f92
push ebx
push eax
push str.varware
call fcn.0041c8c0
add esp, 4
push eax
lea eax, [ebp - 0x11c]
push 0x4ff75c
push eax
call fcn.00404ce0
lea eax, [ebp - 0x11c]
push 0x4fda68
push eax
call fcn.0041d3a0
mov ebx, eax
add esp, 0x18
mov dword [ebp - 0x124], ebx
test ebx, ebx
je 0x492f91
lea eax, [ebp - 0x11c]
push esi
push eax
call fcn.00442df0
mov esi, eax
add esp, 4
test esi, esi
jle 0x492f90
lea eax, [ebp - 0x11c]
push eax
call fcn.004f0a60
add esp, 4
test eax, eax
lea eax, [ebp - 0x11c]
push eax
jne 0x492ec6
push str.Invalid_Varware_File:__s
push 0x30
push str.Warning
call fcn.004154f0
add esp, 0x10
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
call fcn.004f0a60
mov ecx, dword [ebp + 8]
add esp, 4
cmp eax, ecx
je 0x492f0a
push ecx
lea eax, [ebp - 0x11c]
push eax
call fcn.004f0a60
add esp, 4
push eax
push str.Varware_files_dpi_does_not_match_current_selection._n_nVarware_file:__d_n_nCurrent_selection__d
push 0x30
push str.Warning
call fcn.004154f0
add esp, 0x14
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
push edi
push 0x402
call fcn.00417230
mov edi, eax
mov dword [ebp - 0x120], 1
add esp, 4
lea eax, [edi + 2]
mov ecx, 0x400
cmp esi, ecx
push ebx
cmovl ecx, esi
push ecx
push 1
push eax
call fcn.004c37de
add esp, 0x10
mov ebx, eax
cmp dword [ebp - 0x120], 1
jne 0x492f67
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [edi + 2]
push eax
call fcn.004f0a10
add esp, 0xc
mov dword [ebp - 0x120], 0
push edi
mov word [edi], bx
call fcn.00496830
add esp, 4
lea eax, [edi + 2]
sub esi, ebx
mov ebx, dword [ebp - 0x124]
jne 0x492f27
push ebx
call fcn.004c35d5
push edi
call fcn.00417300
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
Function at 0x494340
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x52d740]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [0x52d73c], edi
mov ebx, edi
test eax, eax
jle 0x49438c
mov ecx, dword [0x52d744]
mov edx, dword [0x52d768]
add ebx, 5
add ebx, ecx
cmp esi, edx
jge 0x494387
add byte [esi + str.OSWOAPXKTPFYXPYPKOKDPWLXCDPAL], bl
inc esi
cmp esi, eax
jl 0x494378
sub esp, 0x18
mov ecx, str.OSWOAPXKTPFYXPYPKOKDPWLXCDPAL
mov edx, esp
xorps xmm0, xmm0
lea eax, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x208], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4943b3
sub ecx, dword [ebp - 0x208]
push ecx
push str.OSWOAPXKTPFYXPYPKOKDPWLXCDPAL
mov ecx, edx
call fcn.004020f0
call fcn.004ef900
mov dword [0x9c4120], eax
lea eax, [ebx + 0x400000]
and ebx, 0xf
add eax, esi
mov dword [0x68b694], eax
push edi
mov eax, dword [ebx*8 + 0x52d7f8]
mov ecx, dword [ebx*8 + 0x52d7fc]
mov dword [0x9c1120], eax
mov eax, dword [ebx*8 + 0x52d770]
mov dword [0x9c1124], ecx
mov ecx, dword [ebx*8 + 0x52d774]
mov dword [0x9c1128], eax
mov dword [0x9c112c], ecx
call fcn.00412ef0
push eax
push str.MATANDIR
call fcn.004129d0
mov ecx, eax
add esp, 0x24
test ecx, ecx
je 0x494455
mov edx, 0x9c0d20
sub edx, ecx
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x494440
mov ecx, dword [0x9c0d20]
jmp 0x49446a
mov ecx, 0x7430302f
mov dword [0x9c0d24], 0x706d65
mov dword [0x9c0d20], ecx
xor eax, eax
test cl, cl
je 0x49448a
cmp byte [eax + 0x9c0d20], 0x5c
jne 0x494480
mov byte [eax + 0x9c0d20], 0x2f
inc eax
cmp byte [eax + 0x9c0d20], 0
jne 0x494470
cmp byte [eax + 0x9c0d1f], 0x2f
jne 0x4944a6
dec eax
cmp eax, 0x200
jae 0x49452d
mov byte [eax + 0x9c0d20], 0
push 0x9c0d20
call fcn.004dbca0
add esp, 4
xor ebx, ebx
xor esi, esi
xor edi, edi
nop dword [eax]
test esi, esi
jne 0x494517
push ebx
push str.frame_03d
push 0x9c0f20
call fcn.00404ce0
movsx eax, byte [edi + str.kcmy_]
push eax
push 0x9c0f20
push 0x9c0d20
lea eax, [ebp - 0x204]
push str._s__s._c
push eax
call fcn.00404ce0
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.0041d2e0
add esp, 0x28
test eax, eax
mov eax, 1
cmove esi, eax
inc edi
cmp edi, 4
jl 0x4944c0
inc ebx
test esi, esi
jne 0x4944b5
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
call fcn.004b3e4d
int3

Function at 0x4946a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push 0
push 0x9c1138
movsx eax, word [ecx]
push eax
lea eax, [ecx + 2]
push eax
push dword [0x9c113c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4946d7
push eax
push eax
push str.Error_executing_print_line
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebp
ret
mov eax, 1
pop ebp
ret
Function at 0x4949f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push 0
push 0x9c114c
movsx eax, word [ecx]
push eax
lea eax, [ecx + 2]
push eax
push dword [0x9c1148]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x494a27
push eax
push eax
push str.Error_executing_print_line
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebp
ret
mov eax, 1
pop ebp
ret

Function at 0x496490
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0x9c1170
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4964af
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_executing_sendData_n
call fcn.004153c0
add esp, 8
push 1
call fcn.004cf3c2
int3

Function at 0x496860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4968b3
push 0x4fd8ac
call fcn.0041c8c0
push eax
push str.SUPPRESSMINPRINTWARNING
call fcn.00412960
add esp, 0xc
test eax, eax
jne 0x49688c
call fcn.00497950
push 0x148
call fcn.0049c406
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x4968ab
mov ecx, eax
call fcn.00496610
mov esi, eax
jmp 0x4968ad
xor esi, esi
mov dword [0x9c1180], esi
cmp byte [esi + 0x130], 0
je 0x4968d1
mov eax, dword [ebp + 0xc]
cdq
add dword [esi + 0x140], eax
adc dword [esi + 0x144], edx
xor eax, eax
pop esi
pop ebp
ret
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jle 0x49696e
mov eax, dword [esi + 4]
test eax, eax
je 0x496915
cmp dword [esi + 0x120], 0
je 0x496900
push str.Windows_95_Vxd_legacy_code_should_never_execute.
call fcn.004153c0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret
push 0
lea ecx, [ebp + 8]
push ecx
push edi
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
ret
cmp dword [esi + 0x10], 0
je 0x496936
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49696e
push edi
push dword [ebp + 0x10]
push eax
push esi
call fcn.00497820
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
ret
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x496958
call fcn.00498ef0
test eax, eax
je 0x49696e
mov ecx, dword [esi + 0x18]
push edi
push dword [ebp + 0x10]
call fcn.00498f90
pop edi
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [esi + 8]
test eax, eax
je 0x49696e
push eax
push edi
push 1
push dword [ebp + 0x10]
call fcn.004c3f01
add esp, 0x10
pop edi
xor eax, eax
pop esi
pop ebp
ret