joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406300
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x406358
mov edx, dword [ebp + 8]
push edx
call fcn.00406420
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xc]
jne 0x406358
mov dword [ebp - 8], 1
mov dword [ebp - 4], 1
cmp dword [ebp - 8], 0
jne 0x406413
push 0x200000
call fcn.004110d6
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x200000
push 0x426254
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004064a0
add esp, 0x14
test eax, eax
je 0x406407
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.004101e0
add esp, 4
push 0xc8
push 0x32
call fcn.00402f50
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
push eax
call fcn.004032e0
add esp, 8
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00406560
add esp, 0xc
cmp eax, 1
jne 0x406400
mov dword [ebp - 4], 1
jmp 0x406407
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.00411637
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x406420
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push 3
push 0
push 3
push closesocket
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40645e
or eax, 0xffffffff
or edx, 0xffffffff
jmp 0x40648d
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
cmp eax, 1
jne 0x40647d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x406660
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov dword [ebp - 8], eax
xor ecx, ecx
cmp dword [ebp - 8], 0xffffffff
setne cl
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x406690
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4066ad
xor eax, eax
jmp 0x406718
mov ecx, dword [ebp - 0xc]
and ecx, 1
je 0x4066be
mov edx, dword [ebp - 0xc]
xor edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 4
je 0x4066cf
mov ecx, dword [ebp - 0xc]
xor ecx, 4
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
and edx, 2
je 0x4066e0
mov eax, dword [ebp - 0xc]
xor eax, 2
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0x20
je 0x4066f1
mov edx, dword [ebp - 0xc]
xor edx, 0x20
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4084a0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret

Function at 0x408790
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1074
call fcn.0041aa90
mov eax, dword [0x428044]
xor eax, ebp
mov dword [ebp - 0x70], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x1074], 0
push 0x425dac
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0041064b
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x4087ed
xor edx, edx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
xor eax, eax
jmp 0x4088b6
push 2
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00410df7
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call fcn.00411019
add esp, 4
mov dword [ebp - 0x6c], eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.00410df7
add esp, 0xc
lea ecx, [ebp - 0x68]
push ecx
call fcn.004084a0
add esp, 4
mov edx, dword [ebp - 8]
push edx
push 0x1000
push 1
lea eax, [ebp - 0x1070]
push eax
call fcn.0041093e
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x408873
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x1070]
push eax
call fcn.004084f0
add esp, 0xc
mov ecx, dword [ebp - 0x1074]
add ecx, dword [ebp - 4]
mov dword [ebp - 0x1074], ecx
jmp 0x408828
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00408600
add esp, 8
mov ecx, dword [ebp - 8]
push ecx
call fcn.004109d2
add esp, 4
mov edx, dword [ebp - 0x1074]
cmp edx, dword [ebp - 0x6c]
jae 0x4088b1
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
xor eax, eax
jmp 0x4088b6
mov eax, 1
mov ecx, dword [ebp - 0x70]
xor ecx, ebp
call fcn.004100e5
mov esp, ebp
pop ebp
ret
Function at 0x40bfb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x40bfc0
xor eax, eax
jmp 0x40c15d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x40c11e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x425258]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x425258]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x425258]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x425258]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x425258]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x425258]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x425258]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x425258]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x40bfc9
cmp dword [ebp + 0x10], 0
je 0x40c157
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x425258]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x40c124
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x40c160
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x425258]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x425258]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x40d120
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x40d16f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 2]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40d165
mov edx, dword [ebp + 0x14]
mov byte [edx + 6], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x40d1c9
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x14]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x10]
jbe 0x40d18f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x10]
sub edx, dword [ecx + 0x14]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x14]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004149d0
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x14]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x40e990
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x40e9ab
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0xffffffff
je 0x40e9b5
mov eax, 0x1000000
jmp 0x40eacb
mov edx, dword [ebp - 0x18]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0x244
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov ax, word [edx]
mov word [ebp - 0x22], ax
add dword [ebp - 0x1c], 2
cmp word [ebp - 0x22], 0
jne 0x40e9de
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
sar ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov cx, word [eax + edx*2 + 0x242]
mov word [ebp - 8], cx
movzx edx, word [ebp - 8]
cmp edx, 0x5c
je 0x40ea4f
movzx eax, word [ebp - 8]
cmp eax, 0x2f
je 0x40ea4f
mov ecx, dword [ebp - 0x18]
add ecx, 0x242
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov ax, word [edx + 2]
mov word [ebp - 0x2e], ax
add dword [ebp - 0x2c], 2
cmp word [ebp - 0x2e], 0
jne 0x40ea2e
mov edi, dword [ebp - 0x2c]
mov ecx, dword [0x4256f0]
mov dword [edi], ecx
cmp dword [ebp + 0x10], 1
jne 0x40ea83
push 1
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp - 0x10], 0xffffffff
setne al
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x40ea83
mov eax, 0x2000000
jmp 0x40eacb
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040ce00
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40eaa9
mov eax, dword [ebp - 0xc]
jmp 0x40eacb
mov eax, dword [ebp - 4]
push eax
call fcn.0040d4d0
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0
jne 0x40eac9
mov eax, 0x200
jmp 0x40eacb
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4100e5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428044]
jne 0x4100ef
repz ret
jmp fcn.00411dd9

Function at 0x41ada1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041213b
and dword [ebp - 4], 0
cmp dword [0x429f30], 0
mov ebx, eax
jne 0x41ae52
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41af03
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41af03
push eax
call fcn.004120c9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x429f30], eax
call esi
push eax
call fcn.004120c9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x429f34], eax
call esi
push eax
call fcn.004120c9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x429f38], eax
call esi
push eax
call fcn.004120c9
pop ecx
mov dword [0x429f40], eax
test eax, eax
je 0x41ae52
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004120c9
pop ecx
mov dword [0x429f3c], eax
mov eax, dword [0x429f3c]
cmp eax, ebx
je 0x41aeaa
cmp dword [0x429f40], ebx
je 0x41aeaa
push eax
call fcn.00412144
push dword [0x429f40]
mov esi, eax
call fcn.00412144
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41aeaa
test edi, edi
je 0x41aeaa
call esi
test eax, eax
je 0x41aea1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41aea1
test byte [ebp - 0xc], 1
jne 0x41aeaa
or dword [ebp + 0x10], 0x200000
jmp 0x41aee3
mov eax, dword [0x429f34]
cmp eax, ebx
je 0x41aee3
push eax
call fcn.00412144
pop ecx
test eax, eax
je 0x41aee3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41aee3
mov eax, dword [0x429f38]
cmp eax, ebx
je 0x41aee3
push eax
call fcn.00412144
pop ecx
test eax, eax
je 0x41aee3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x429f30]
call fcn.00412144
pop ecx
test eax, eax
je 0x41af03
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41af05
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405970
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
movsx eax, word [0x4b3954]
mov cl, byte [ebp + 8]
mov byte [eax + 0x4b3b98], cl
mov dx, word [0x4b3954]
add dx, 1
mov word [0x4b3954], dx
mov eax, dword [0x4b3b7c]
push eax
call fcn.00405bc0
add esp, 4
mov byte [0x4b3956], al
movsx ecx, byte [0x4b3956]
movsx edx, word [ecx*2 + 0x4b395a]
and edx, dword [ebp + 0xc]
je 0x405a38
movsx eax, word [0x4b3954]
cmp eax, 0x400
jge 0x405a0c
movsx eax, word [0x4b3954]
mov cl, byte [0x4b3956]
mov byte [eax + 0x4b3b98], cl
mov dx, word [0x4b3954]
add dx, 1
mov word [0x4b3954], dx
jmp 0x405a33
movsx eax, word [0x4b3954]
mov byte [eax + 0x4b3b98], 0
call fcn.00406b20
push str.Identifier_or_digit_too_long
call fcn.00407200
add esp, 4
push 4
call fcn.00440af0
jmp 0x4059b0
mov eax, dword [0x4b3b7c]
push eax
movzx ecx, byte [0x4b3956]
push ecx
call fcn.00405c40
add esp, 8
movsx eax, word [0x4b3954]
mov byte [eax + 0x4b3b98], 0
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.00408280
mov esp, ebp
pop ebp
ret

Function at 0x405a70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push ebx
push esi
push edi
lea edi, [ebp - 0xdc]
mov ecx, 0x37
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov cl, byte [0x4b3956]
mov byte [eax + 0x4b3b98], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [0x4b3b7c]
push eax
call fcn.00405bc0
add esp, 4
mov byte [0x4b3956], al
movsx ecx, byte [0x4b3956]
cmp ecx, 0x22
je 0x405b7e
mov al, byte [0x4b3956]
mov byte [ebp - 0xdc], al
cmp byte [ebp - 0xdc], 0xff
je 0x405af6
cmp byte [ebp - 0xdc], 0xa
je 0x405b14
jmp 0x405b48
mov eax, dword [ebp - 8]
mov byte [eax + 0x4b3b98], 0
push str.unexpected_EOF
call fcn.00407200
add esp, 4
push 4
call fcn.00440af0
mov eax, dword [ebp - 8]
mov byte [eax + 0x4b3b98], 0
call fcn.00406b20
push str.newline_in_string_or_char_constant
call fcn.00407200
add esp, 4
mov eax, dword [0x4b3b7c]
push eax
movzx ecx, byte [0x4b3956]
push ecx
call fcn.00405c40
add esp, 8
jmp 0x405b77
cmp dword [ebp - 8], 0x3fe
jge 0x405b6b
mov eax, dword [ebp - 8]
mov cl, byte [0x4b3956]
mov byte [eax + 0x4b3b98], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x405b72
mov dword [ebp - 0x14], 1
jmp 0x405ab4
jmp 0x405b7e
mov eax, dword [ebp - 8]
mov cl, byte [0x4b3956]
mov byte [eax + 0x4b3b98], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov byte [eax + 0x4b3b98], 0
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xdc
cmp ebp, esp
call fcn.00408280
mov esp, ebp
pop ebp
ret
Function at 0x406ee0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0
jmp 0x406f10
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movsx ecx, byte [eax]
test ecx, ecx
je 0x406f39
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movsx ecx, byte [eax]
push ecx
call fcn.004471d0
add esp, 4
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov byte [edx], al
jmp 0x406f07
mov eax, dword [ebp + 8]
push eax
call fcn.00406b70
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x406fd8
push 0x1c
call fcn.004472b0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x406f7f
push str.Memory_not_available_____n
mov eax, dword [0x4b3b8c]
push eax
call fcn.004054c0
add esp, 8
push 4
call fcn.00440af0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043e650
add esp, 8
mov eax, dword [ebp - 8]
mov cx, word [ebp + 0xc]
mov word [eax + 0x14], cx
mov eax, dword [ebp - 8]
mov cx, word [ebp + 0x10]
mov word [eax + 0x16], cx
mov eax, dword [ebp + 8]
push eax
call fcn.00406e80
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx*4 + 0x4b4eb0]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax*4 + 0x4b4eb0], ecx
mov eax, dword [ebp - 8]
jmp 0x406fda
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.00408280
mov esp, ebp
pop ebp
ret
Function at 0x46a8d0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x46a8f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045fad0
add esp, 4
or eax, 0xffffffff
jmp 0x46a8f9
xor eax, eax
pop ebp
ret

Function at 0x4703a0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
call fcn.004677b0
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4703de
cmp dword [ebp + 8], 0
je 0x4703cc
lea eax, [ebp + 8]
push eax
call fcn.00470860
add esp, 4
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x4703de
mov eax, 4
jmp 0x47050e
call fcn.00467580
movzx edx, al
test edx, edx
jne 0x47040c
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4703fd
mov dword [ebp - 0xc], 4
jmp 0x470404
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
jmp 0x47050e
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4704b5
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0x4707c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
lea ecx, [ebp - 8]
call fcn.00449fb0
lea ecx, [ebp - 8]
call fcn.0044a070
movzx edx, al
test edx, edx
jne 0x470477
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
call fcn.0044a010
mov eax, dword [ebp - 0x10]
jmp 0x47050e
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.0044a810
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x4704a2
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 8]
call fcn.0044a010
mov eax, dword [ebp - 0x14]
jmp 0x47050e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 8]
call fcn.0044a010
mov eax, dword [ebp - 0x18]
jmp 0x47050e
call fcn.00467700
movzx ecx, al
test ecx, ecx
jne 0x4704ee
mov edx, dword [ebp + 0x10]
or edx, 0x200000
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00470700
add esp, 0x10
jmp 0x47050e
call fcn.00467610
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00470760
add esp, 0x10
mov esp, ebp
pop ebp
ret