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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x5b25d7
cmp dword [ebp + 0x14], edi
je 0x5b25d7
cmp ecx, edi
jne 0x5b25de
call fcn.005b3649
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.005b190f
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x5b25f2
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x5b2613
cmp ebx, 0xffffffff
je 0x5b2602
push ebx
push edi
push ecx
call fcn.005b5540
add esp, 0xc
cmp esi, edi
je 0x5b25bf
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x5b25bf
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x5b262f
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x5b2636
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x5b2727
test word [esi + 0xc], 0x10c
je 0x5b268a
mov eax, dword [esi + 4]
test eax, eax
je 0x5b268a
jl 0x5b2788
cmp ebx, eax
mov edi, ebx
jb 0x5b265b
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x5b272f
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.005b22e0
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x5b271f
cmp ebx, dword [ebp - 0xc]
jb 0x5b26f7
cmp dword [ebp - 0xc], 0
je 0x5b26b4
mov ecx, closesocket
xor edx, edx
cmp ebx, ecx
jbe 0x5b26a9
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x5b26b0
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x5b26bf
mov eax, closesocket
cmp ebx, eax
ja 0x5b26bf
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x5b275b
push eax
push dword [ebp - 8]
push esi
call fcn.005bed3b
pop ecx
push eax
call fcn.005c057f
add esp, 0xc
test eax, eax
je 0x5b279a
cmp eax, 0xffffffff
je 0x5b2788
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x5b271f
push esi
call fcn.005bfe9e
cmp eax, 0xffffffff
pop ecx
je 0x5b278c
cmp dword [ebp - 4], 0
je 0x5b275b
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x5b263e
mov eax, dword [ebp + 0x14]
jmp 0x5b25d9
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x5b2746
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.005b5540
add esp, 0xc
call fcn.005b3649
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x5b25cf
cmp dword [ebp + 0xc], 0xffffffff
je 0x5b2771
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.005b5540
add esp, 0xc
call fcn.005b3649
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x5b25cf
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x5b25d9
or dword [esi + 0xc], 0x10
jmp 0x5b278c
Function at 0x5b4184
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x5b41b1
call fcn.005b365c
mov dword [eax], esi
call fcn.005b3649
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.005b190f
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x5b418d
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x5b41e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005b366f
pop ecx
call fcn.005b3649
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x5b4207
test al, 1
je 0x5b4207
test byte [esp + 0xc], 2
je 0x5b4207
call fcn.005b365c
mov dword [eax], 5
call fcn.005b3649
mov dword [eax], 0xd
jmp 0x5b41d7
xor eax, eax
pop esi
ret
Function at 0x5bf4a4
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x65d848]
je 0x5bf4bf
inc edi
cmp edi, 0x17
jb 0x5bf4b0
cmp edi, 0x17
jae 0x5bf63f
push ebp
push 3
call fcn.005ca7f9
cmp eax, 1
pop ecx
je 0x5bf60b
push 3
call fcn.005ca7f9
test eax, eax
pop ecx
jne 0x5bf4f3
cmp dword [0x65d4e0], 1
je 0x5bf60b
cmp ebx, 0xfc
je 0x5bf63e
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x6633b8
push ebp
call fcn.005b2535
add esp, 0xc
test eax, eax
je 0x5bf529
push esi
push esi
push esi
push esi
push esi
call fcn.005b1813
add esp, 0x14
push 0x104
mov esi, 0x6633d1
push esi
push 0
mov byte [0x6634d5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5bf56d
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.005b2535
add esp, 0xc
test eax, eax
je 0x5bf56d
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.005b1813
add esp, 0x14
push esi
call fcn.005b9b00
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x5bf5b2
push esi
call fcn.005b9b00
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x6636cc
push 0x6046f4
sub ecx, eax
push ecx
push eax
call fcn.005bb455
add esp, 0x14
test eax, eax
je 0x5bf5b2
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.005b1813
add esp, 0x14
jmp 0x5bf5b4
xor esi, esi
push 0x6046f0
push ebx
push ebp
call fcn.005b9b8b
add esp, 0xc
test eax, eax
je 0x5bf5d4
push esi
push esi
push esi
push esi
push esi
call fcn.005b1813
add esp, 0x14
push dword [edi*8 + 0x65d84c]
push ebx
push ebp
call fcn.005b9b8b
add esp, 0xc
test eax, eax
je 0x5bf5f6
push esi
push esi
push esi
push esi
push esi
call fcn.005b1813
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.005ca63c
add esp, 0xc
jmp 0x5bf63e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x5bf63e
cmp ebp, 0xffffffff
je 0x5bf63e
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x65d84c]
push dword [esi]
call fcn.005b9b00
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x5ca63c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.005bc14d
xor ebx, ebx
cmp dword [0x663930], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x5ca712
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x5ca7f2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6060e0
push edi
call esi
cmp eax, ebx
je 0x5ca7f2
push eax
call fcn.005bc0df
mov dword [esp], 0x6060d0
push edi
mov dword [0x663930], eax
call esi
push eax
call fcn.005bc0df
mov dword [esp], 0x6060bc
push edi
mov dword [0x663934], eax
call esi
push eax
call fcn.005bc0df
mov dword [0x663938], eax
lea eax, [ebp - 0xc]
push eax
call fcn.005b9813
test eax, eax
pop ecx
pop ecx
je 0x5ca6e0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.005b1813
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x5ca712
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.005bc0df
cmp eax, ebx
pop ecx
mov dword [0x663940], eax
je 0x5ca712
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005bc0df
pop ecx
mov dword [0x66393c], eax
mov eax, dword [0x66393c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x5ca797
cmp dword [0x663940], ecx
je 0x5ca797
push eax
call fcn.005bc156
push dword [0x663940]
mov esi, eax
call fcn.005bc156
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x5ca797
cmp edi, ebx
je 0x5ca797
call esi
cmp eax, ebx
je 0x5ca764
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5ca764
test byte [ebp - 0x18], 1
jne 0x5ca797
lea eax, [ebp - 0x10]
push eax
call fcn.005b984a
test eax, eax
pop ecx
je 0x5ca77f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.005b1813
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x5ca78e
or dword [ebp + 0x10], 0x200000
jmp 0x5ca7d2
or dword [ebp + 0x10], 0x40000
jmp 0x5ca7d2
mov eax, dword [0x663934]
cmp eax, dword [ebp - 8]
je 0x5ca7d2
push eax
call fcn.005bc156
cmp eax, ebx
pop ecx
je 0x5ca7d2
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x5ca7d2
mov eax, dword [0x663938]
cmp eax, dword [ebp - 8]
je 0x5ca7d2
push eax
call fcn.005bc156
cmp eax, ebx
pop ecx
je 0x5ca7d2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x663930]
call fcn.005bc156
cmp eax, ebx
pop ecx
je 0x5ca7f2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5ca7f4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5ce75e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x65d4e4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.005ce6f3
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.005b5540
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x5ce7ad
cmp dword [ebp - 0x1c], 5
jb 0x5ce7c5
jmp 0x5ce7c1
cmp dword [ebp - 0x10], 1
jne 0x5ce7c5
cmp dword [ebp - 0x1c], 4
ja 0x5ce7c1
jne 0x5ce7c5
cmp dword [ebp - 0x18], 0
jbe 0x5ce7c5
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x606a3c
call fcn.005ce5c7
test eax, eax
jge 0x5ce7e6
mov byte [0x663e18], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005b1988
add ebp, 0x78
leave
ret

Function at 0xef715c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xef7166
pushal
call 0xef716c
pop ebp
sub ebp, 0x10
sub ebp, 0xaf715c
jmp 0xef7182
mov eax, 0xaf715c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b3
mov edx, 0xdb617062
xor byte [eax], dl
inc eax
dec ecx
jne 0xef7199
jmp 0xef71ac
jmp 0x5fdb5b60
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x402ee4
pop dword [ebp - 0x44]
mov eax, 0x402ee4
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xf8a6ab56
sub dword [ebp - 0x54], 0xaa54660b
mov dword [ebp - 0x50], 0xd26a0030
sub dword [ebp - 0x50], 0xa036b3eb
mov dword [ebp - 0x4c], 0xfb214378
sub dword [ebp - 0x4c], 0xaed4ff4a
mov dword [ebp - 0x48], 0x50e566ae
add dword [ebp - 0x48], 0xaf1a9952
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x8f1b2492
add dword [ebp - 0x54], 0xe55744c4
mov dword [ebp - 0x50], 0x7ae15a02
sub dword [ebp - 0x50], 0x3974f88d
mov dword [ebp - 0x4c], 0xbe8f8210
sub dword [ebp - 0x4c], 0x5b2015a4
mov dword [ebp - 0x48], 0x64dfc9b3
sub dword [ebp - 0x48], 0x64dfc9b3
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x35fd7
push 0
call eax
mov ecx, 0x25c75369
sub ecx, 0x25c70f98
xor esi, esi
add esi, eax
mov edx, 0x5f68132c
sub edx, 0x5f212f2c
add edx, dword [ebp - 0x44]
mov ebx, 0xedd54fe5
sub dword [ebp - 0xc], 0x1dc2bff3
mov edi, dword [edx]
mov dword [ebp - 0x1c], 0x40183a1c
sub edi, ebx
add dword [ebp - 0x20], 0xfad98c2d
mov dword [esi], edi
xor dword [ebp - 0x2c], 0x8659724c
add esi, 0x6af45ff8
add esi, 0x950ba00c
add edx, 4
loop 0x402ff3
add eax, 0x10217
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x4032d1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x4032e0
pop dword [ebp - 0x10]
mov eax, 0x4032e0
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x4ee2f
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x4cc9
mov ebx, eax
mov edi, 0x32a69825
sub edi, 0x325db825
add edi, dword [ebp - 0x10]
mov edx, 0x6b0df06
sub edx, 0x73fe5b16
mov esi, dword [edi]
xor dword [ebp - 8], 0x3e69baf9
add esi, edx
sub dword [ebp - 4], 0x477557cf
mov dword [ebx], esi
xor dword [ebp - 4], 0xe67311fa
add ebx, 0x98861308
add ebx, 0x6779ecfc
add edi, 0xe10182d3
sub edi, 0xe10182cf
loop 0x40332f
add eax, 0x125f7
xor ebx, ebx
add ebx, eax
add eax, 0xda5e97a1
sub eax, 0xda5e979c
mov ecx, 0xa2239266
sub ecx, 0xa1e39266
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x417e10
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub esp, 0x24
push ebx
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, 0x190
mov ebx, eax
mov edi, esi
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x417f1a
push ebp
lea ecx, [esp + 0x2c]
mov ebp, 4
push ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], ebp
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea edx, [esp + 0x28]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esp + 0x24], eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push str.Browse_For_Folder_Width
push eax
call ebx
test eax, eax
jne 0x417eb9
mov edi, dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.Browse_For_Folder_Height
push ecx
call ebx
test eax, eax
pop ebp
jne 0x417ef5
or esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x417f0f
mov edx, dword [0x4c6aec]
push 0x4c67dc
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x43778a
Capabilities:
Encode data using xor

Disassembly:
inc edi
sti
je 0x437708
into
arpl word [ebx - 5], sp
cmpsb byte [esi], byte es:[edi]
dec edx
push esi
sub ebp, dword [edi]
lodsd eax, dword [esi]
salc
fld dword [edi - 0x55]
pop edi
pop ss
sbb dword [edi + 0x39e8224b], edx
enter 0x32de, 0xffffffffffffffce
cmp eax, ecx
fidiv word [edx]
into
mov ch, 0x7e
adc esp, dword [esi]
fisttp dword [edi - 0xc6c6962]
inc eax
cmp al, 0x5b
dec ebx
jp 0x4376ec
fnstsw word [edx - 0x13]
or byte [eax - 0x4679b4f9], bl
jno 0x437706
pop ecx
inc esi
fstp xword [ecx + 0x49]
xchg ecx, eax
or esp, dword [ecx]
and byte [esi - 0x61585c14], al
lcall 0xb363, 0xabcfcc91
or bh, byte [edi*2 - 0x14f97961]
in eax, dx
sub ebp, dword [edx + 0x36]
lcall 0x213b, 0xe37a0ada
jbe 0x437768
jbe 0x437724
out 0x4f, al
retf 0x91b0
inc edx
invalid
aad 0xab
mov dword [0xbaa31db6], ecx
dec edi
mov edi, 0x2f9984c
nop
dec eax
out dx, al
loopne 0x437779
fidiv word [esi + 0x239496d6]
pop ecx
mov dh, 0x7a
or dh, byte [edx]
fiadd dword [edi - 0x56805147]
fidiv dword [esi]
xor cl, dh
jge 0x437797
xchg ebp, eax
xchg byte [edi + 0x33ef82e4], dl
adc al, 0xbd
mov al, 0x40
out dx, al
dec esi
or byte [ebx], bl
push ecx
or eax, 0x5ce1094f
push ss
mov edx, dword [esi + 0x3e36aa93]
jecxz 0x43773c
jo 0x4377f9
das
leave
out dx, al
sal dword [ebx - 0x2d288b19], cl
push ecx
in eax, dx
xor cl, byte [esp + edx*4 + 0x6eebb4ce]
pop eax
jl 0x437816
or ah, byte [0xc996ce46]
mov bl, 0xfa
fdiv dword [ebx - 0x2c3553c9]
stosd dword es:[edi], eax
mov ss, word [edx + 0x68]
add eax, 0xea96f426
jae 0x437770
sub ecx, dword [ecx - 5]
mov ebx, 0x8275b13b
scasd eax, dword es:[edi]
add ebx, dword [esi + 0x6225d2f2]
or cl, dl
push 0xa97bf684
cmc
or bh, ah
xchg esi, eax
retf 0x8468
xchg esi, eax
std
in eax, 0x68
mov cl, 0x83
mov al, 0xad
pop ebx
fild dword [edx + 0x29]
adc eax, dword [edi]
fistp dword [ecx]
mov bh, 0x76
jecxz 0x437803
in al, dx
retf

Function at 0x451b31
Capabilities:
Encode data using xor

Disassembly:
push 0xa3d377e2
outsd dx, dword [esi]
leave
lahf
add dh, bh
in eax, 0xca
and dword [eax], eax
test byte [ecx - 0x2d9ce84], 0xe8
and byte [ecx + edx*2], al
dec esi
jl 0x451b74
std
call 0x4e961f6a
xor esp, edx
push edi
dec eax
salc
jecxz 0x451b41
or bh, byte [ebx + ebp*2]
inc ebx
salc
sahf
sahf
inc esp
pop ebx
mov edi, 0x66c9568b
or bl, 0xbf
mov eax, 0xb3280810
push ecx
das
out dx, eax
cwde
adc ebp, 0xe4fc33b1
adc dword ss:[0xd06342bf], ecx
adc dword [0xd06342bf], ecx
pop ebp
dec esp
das
xchg ecx, eax
pop ebp
pop ebp
loopne 0x451bf1
and dword [ebx - 0x24], ebp
fisttp dword [edx]
mov ch, 0xc5
mov ebx, 0xf58cbed3
or byte [edx + eax*2 - 0x61d53515], 0xda
loop 0x451bfc
sbb byte [eax + 0x1a61ee92], bl
xchg ebx, eax
aas
adc al, 0x7e
aad 0x3f
inc edx
sub al, 0x2c
push 0xffffffffffffffc5
cmp byte [ebp + 0x4a], 0xb0
or bl, byte [edi]
das
push esi
pop es
rcl byte [edi - 0x57b67c66], 0x1a
push ds
ror byte [edi + 0xfecf0a5], cl
jle 0x451bfa
mov al, 0x16
mov ebx, 0xe1fc7951
inc ebx
xor ebx, ebp
test dword [ebp + ecx*8 + 0x2c57805a], esp
movsb byte es:[edi], byte [esi]
int 0x5a
adc byte [edi + 0x2c], 0x97
fldl2e
aas
dec eax
Function at 0x4683e8
Capabilities:
Encode data using xor

Disassembly:
cli
ret 0xa3a4
pop ds
ja 0x46831a
pop esp
jmp 0xa13b9b8b
push es
ja 0x468352
in al, 0xf6
pop edi
mul dh
pop ds
aaa
push ss
dec edi
nop
xchg edi, eax
sal byte [ebx], 0x6e
outsb dx, byte [esi]
xchg ebp, eax
jge 0x468379
jle 0x46836f
mov byte [eax - 0x64], bl
lodsd eax, dword [esi]
add al, 0xe6
xchg esi, eax
retf
mov dh, 0xf0
jle 0x46837f
jbe 0x46838e
sbb ebp, edx
sub bl, ah
pop eax
loope 0x468375
inc ebp
rol byte [0xe4d86368], 1
feni8087_nop
mul dword [edx + 6]
retf
push ebx
stosd dword es:[edi], eax
loopne 0x468397
divps xmm7, xmmword [edx + 0x4613d0db]
dec eax
out 3, eax
invalid

Function at 0x4b16da
Capabilities:
Encode data using xor

Disassembly:
xchg esi, eax
sub dword [ebx - 0x77], edi
and ebp, edi
pushfd
lds si, [ebp + 0x800048]
dec esi
cdq
xor ecx, eax
push cs
daa
jne 0x4b1716
out dx, al
dec edx
invalid
out 0x68, al
in al, 0x98
mov dword [0xf138f356], eax
pop ebx
add word [edx + 0x2b], 0xffab
or ah, byte [edi + 0x1928528f]
cdq
sbb dword [eax - 0x5a], ebx
loope 0x4b178a
bound esp, qword [ebx]
invalid
fadd st(0)
pop ds
rcr byte [eax - 0x7123e2ba], cl
invd
fstp qword [ecx - 0x9a34d58]
pop ds
jmp 0x4b17f9
pop es
xor byte [edi - 0x57], dl
sub eax, 0x57e9db4c
jae 0x4b17fa
in eax, 0x5f
bound esp, qword [edx + 0x7e8e967e]
mov ch, 0x6b
clc
inc ebp
pop ds
iretd

Function at 0x4bb5f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33a0
cmp edx, dword [eax]
je 0x4bb617
add eax, 8
inc ecx
cmp eax, 0x4c3430
jl 0x4bb608
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33a0]
jne 0x4bb745
mov eax, dword [0x4c7d2c]
cmp eax, 1
je 0x4bb71f
test eax, eax
jne 0x4bb648
cmp dword [0x4c32cc], 1
je 0x4bb71f
cmp edx, 0xfc
je 0x4bb745
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb67f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bbfe0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc470
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb6c2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc470
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c09cc
push edi
call fcn.004be340
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bbfe0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bbff0
lea eax, [ebp - 0xa0]
push 0x4c09ac
push eax
call fcn.004bbff0
push dword [esi + 0x4c33a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bbff0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004be2b4
add esp, 0x2c
pop edi
jmp 0x4bb745
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33a4]
push 0
push eax
push dword [esi]
call fcn.004bc470
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