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

Disassembly:
push 0xffffffffffffffff
push 0x507013
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x551bd0]
xor eax, esp
mov dword [esp + 0x15c], eax
push ebx
push ebp
push esi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
push 0x5234cc
lea eax, [esp + 0x188]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x188], 0
call fcn.004175d0
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
call fcn.00402c10
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00402b90
cmp esi, 0xffffffff
jne 0x417045
lea ecx, [esp + 0x184]
call fcn.00402b90
xor al, al
jmp 0x4170f6
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov bl, 0x10
lea ecx, [ecx]
test byte [esp + 0x2c], bl
je 0x417072
lea eax, [esp + 0x58]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417060
sub eax, edx
cmp eax, 8
je 0x41711f
lea eax, [esp + 0x2c]
push eax
push esi
call ebp
test eax, eax
jne 0x417050
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x184]
push ecx
mov ecx, edi
call fcn.004082d0
push 0x5234d0
call fcn.00402330
add esp, 4
push eax
push 0x5234d0
mov ecx, edi
call fcn.00417530
lea esi, [esp + 0x10]
call fcn.0041e4a0
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov byte [esp + 0x188], 1
call fcn.00416d10
mov ecx, esi
call fcn.00402b90
push 0
mov ecx, edi
call fcn.00402c10
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
lea ecx, [esp + 0x184]
sete bl
call fcn.00402b90
mov al, bl
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.004bfe65
add esp, 0x170
ret 0x1c
lea ecx, [esp + 0x184]
push ecx
mov ecx, edi
call fcn.004082d0
push 0x5234d0
call fcn.00402330
add esp, 4
push eax
push 0x5234d0
mov ecx, edi
call fcn.00417530
lea edx, [esp + 0x58]
push edx
call fcn.00402330
add esp, 4
push eax
lea eax, [esp + 0x5c]
push eax
mov ecx, edi
call fcn.00417530
lea ecx, [esp + 0x184]
call fcn.00402b90
mov al, 1
jmp 0x4170f6
Function at 0x419380
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x508257
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x5235a0
mov dword [edi + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 8]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0041a490
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov ecx, esi
call fcn.0041b050
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x55722c]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x419f60
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x508207
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [ebp], 0x5235b0
mov dword [ebp + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x24], ebx
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov dword [ecx + ebp], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebp]
mov edi, dword [edx + 4]
add edi, ebp
mov ecx, edi
mov dword [esp + 0x18], 1
call fcn.00417ee0
lea esi, [ebp + 4]
push 0x20
mov ecx, edi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], ebx
call fcn.0041b1e0
mov byte [edi + 0x30], al
cmp dword [edi + 0x28], ebx
jne 0x419ff3
mov eax, dword [edi + 8]
or eax, 4
or eax, 4
push ebx
push eax
mov ecx, edi
call fcn.00417d60
mov dword [edi + 4], ebx
mov dword [esp + 0x24], 2
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov dword [ecx + ebp], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
call fcn.0041b050
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x55722c]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x41b050
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x50688b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004e0458
push 4
mov dword [esp + 0x24], 0
call fcn.004a12b8
mov edi, eax
add esp, 4
test edi, edi
je 0x41b0d2
call fcn.004e02c9
mov dword [edi], eax
call fcn.004e00f7
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004e0419
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x41b0c7
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.004e0441
jmp 0x41b0d4
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x41c3b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x508518
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0xc]
call fcn.00402380
mov ecx, dword [esp + 0x34]
push eax
mov dword [esp + 0x30], 0
call fcn.0041c220
lea ecx, [esp + 8]
mov esi, eax
call fcn.00402b90
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 8
Function at 0x426160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x507ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x551bd0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push edi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov ebp, dword [esp + 0x40]
mov edx, ecx
sub edx, eax
cmp edx, 1
jb 0x426217
mov edx, dword [esi + 4]
cmp byte [eax + edx], 0xc
jne 0x426217
inc eax
mov dword [esi + 0x10], eax
cmp eax, ecx
jne 0x4261bc
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
lea edi, [esp + 0xc]
mov ecx, esi
call fcn.00426380
test al, al
je 0x426217
mov eax, dword [esp + 0xc]
test al, 1
je 0x426262
shr eax, 1
mov edi, eax
je 0x42624c
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp ecx, edi
jb 0x426217
mov edx, dword [esi + 4]
push edi
add edx, eax
push edx
lea ecx, [esp + 0x18]
call fcn.0041cba0
mov ecx, edi
mov eax, esi
mov dword [esp + 0x38], 0
call fcn.0041e760
test al, al
jne 0x42621b
lea ecx, [esp + 0x10]
call fcn.00402b90
xor al, al
jmp 0x426277
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.0041bb90
cmp dword [ebx + 8], 0x11
jne 0x426234
mov dword [ebx + 8], 0x14
lea ecx, [esp + 0x10]
push ecx
lea ecx, [ebp + 0x4c]
call fcn.00423700
lea ecx, [esp + 0x10]
call fcn.00402b90
jmp 0x426275
mov ecx, ebx
call fcn.0041bb20
cmp dword [ebx + 8], 0x11
jne 0x426275
mov dword [ebx + 8], 0x14
jmp 0x426275
shr eax, 1
push eax
lea ecx, [ebp + 0x4c]
call fcn.00426770
push eax
mov ecx, ebx
call fcn.0041bb90
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004bfe65
add esp, 0x30
ret 4

Function at 0x4262a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x507aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x551bd0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 1
call fcn.0041e780
mov eax, dword [esi + 4]
add eax, dword [esi + 0xc]
push edi
mov byte [eax], 0xc
inc dword [esi + 0xc]
lea ecx, [esp + 0x14]
call fcn.0041bfc0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0
call fcn.00402940
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 2
call fcn.00402b90
mov eax, dword [esp + 0x40]
add eax, eax
or eax, 1
mov ecx, esi
call fcn.004263f0
test al, al
jne 0x426337
lea ecx, [esp + 0x2c]
call fcn.00402b90
xor al, al
jmp 0x42635e
sub esp, 0x1c
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00402940
mov ecx, esi
call fcn.0041e690
lea ecx, [esp + 0x2c]
mov bl, al
call fcn.00402b90
mov al, bl
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004bfe65
add esp, 0x4c
ret
Function at 0x427160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x507239
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov esi, 1
push 0x52343d
mov ecx, edi
mov dword [esp + 0x3c], esi
call fcn.00402380
sub esp, 0x1c
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [esp + 0x24], esi
push eax
lea esi, [esp + 0x7c]
call fcn.00402940
mov ecx, esi
lea esi, [esp + 0x30]
call fcn.00427200
add esp, 0x1c
push eax
mov ecx, edi
mov byte [esp + 0x3c], 2
call fcn.004082d0
mov ecx, esi
call fcn.00402b90
lea ecx, [esp + 0x40]
call fcn.00402b90
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x4285e0
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x428642
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
cmp esi, 0x400000
mov eax, 0x400000
ja 0x42860f
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x428647
test ecx, ecx
je 0x428640
test esi, esi
ja 0x428600
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x428660
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x4286c2
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
cmp esi, 0x400000
mov eax, 0x400000
ja 0x42868f
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x4286c7
test ecx, ecx
je 0x4286c0
test esi, esi
ja 0x428680
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x428a30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x557240], ecx
add edx, 1
cmp edx, 0x100
jl 0x428a32
cmp edx, 0x800
jae 0x428b1b
mov edi, edi
mov eax, dword [edx*4 + 0x556e40]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x557240]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x55723c], eax
jb 0x428af0
mov dword [0x553b80], 0x42b060
call fcn.0042b230
test eax, eax
jne 0x428b38
mov dword [0x553b80], 0x42b110
ret
Function at 0x42f0b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x10]
xor eax, eax
and ebp, 7
cmp ecx, 5
jae 0x42f0c9
pop ebp
pop ecx
ret
mov edx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x1c]
add esi, 5
lea edx, [edx + ecx - 4]
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x42f0f0
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx]
cmp edi, edx
jae 0x42f10f
jmp 0x42f100
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x42f10f
add edi, 1
cmp edi, edx
jb 0x42f100
mov eax, edi
sub eax, ecx
mov ecx, eax
sub ecx, dword [esp + 0x1c]
cmp edi, edx
jae 0x42f225
cmp ecx, 3
jbe 0x42f145
xor ebp, ebp
mov cl, byte [edi + 4]
test cl, cl
mov dword [esp + 0x1c], eax
je 0x42f183
cmp cl, 0xff
je 0x42f183
and ebp, 3
add ebp, ebp
or ebp, 1
add eax, 1
jmp 0x42f0f0
add ecx, 0xffffffff
shl ebp, cl
and ebp, 7
je 0x42f128
movzx ecx, byte [ebp + 0x50a9f4]
mov ebx, edi
sub ebx, ecx
cmp byte [ebp + 0x50a9ec], 0
mov cl, byte [ebx + 4]
je 0x42f16f
test cl, cl
je 0x42f16f
cmp cl, 0xff
jne 0x42f128
and ebp, 3
add ebp, ebp
mov dword [esp + 0x1c], eax
or ebp, 1
add eax, 1
jmp 0x42f0f0
xor edx, edx
mov dh, cl
movzx ecx, byte [edi + 2]
mov dl, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
lea esp, [esp]
cmp dword [esp + 0x28], 0
je 0x42f1ae
lea ebx, [edx + eax]
add ebx, esi
jmp 0x42f1b4
sub edx, eax
sub edx, esi
mov ebx, edx
test ebp, ebp
je 0x42f1f6
movzx esi, byte [ebp + 0x50a9f4]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
test dl, dl
je 0x42f1d9
cmp dl, 0xff
jne 0x42f1f2
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
sub edx, 1
xor edx, ebx
jmp 0x42f1a0
mov esi, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
and dl, 1
sub dl, 1
not dl
mov byte [edi + 4], dl
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x10]
mov byte [edi + 3], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x42f0f0
cmp ecx, 3
pop edi
pop esi
pop ebx
jbe 0x42f238
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov dword [ecx], ebp
pop ebp
pop ecx
ret
add ecx, 0xffffffff
shl ebp, cl
mov ecx, dword [esp + 0x18]
and ebp, 7
mov dword [ecx], ebp
pop ebp
pop ecx
ret

Function at 0x434a70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x434a8d
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call fcn.00434a50
add esp, 4
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x434aad
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x2f
je 0x434aad
push str.Comments_must_start_with__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
call fcn.00434ad0
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x434ad0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0xffffffff
jne 0x434ae9
mov eax, dword [ebp + 8]
push eax
call fcn.004c0610
add esp, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
push ecx
call fcn.004c2802
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x434b0c
push str.Failed_to_allocate_string_value_buffer
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004c0c40
add esp, 0xc
mov edx, dword [ebp - 4]
add edx, dword [ebp + 0xc]
mov byte [edx], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x435b20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
shl ecx, 0x18
sar ecx, 0x18
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 7
ja case.default.0x435b4c
mov edx, dword [ebp - 0xc]
jmp dword [edx*4 + 0x435c04]
push 0x50ae1f
mov ecx, dword [ebp + 8]
call fcn.00402380
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x435bfc
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0
je 0x435b83
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
jmp 0x435b8a
mov dword [ebp - 0x10], 0x50ae20
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402380
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
jmp 0x435bfc
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
test ecx, ecx
je 0x435bb7
mov dword [ebp - 0x14], 0x50ae24
jmp 0x435bbe
mov dword [ebp - 0x14], 0x50ae2c
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402380
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x435bfc
push str.Type_is_not_convertible_to_string
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x50ae21
mov ecx, dword [ebp + 8]
call fcn.00402380
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x435c30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
shl ecx, 0x18
sar ecx, 0x18
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 7
ja case.default.0x435c55
mov edx, dword [ebp - 8]
jmp dword [edx*4 + 0x435d38]
xor eax, eax
jmp 0x435d32
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0xffffffff
jl 0x435c9b
jg 0x435c7f
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0x80000000
jb 0x435c9b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
jl 0x435ca6
jg 0x435c9b
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0x7fffffff
jbe 0x435ca6
push 0x50ae58
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
jmp 0x435d32
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 4], 0
ja 0x435cca
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x7fffffff
jbe 0x435cd5
push str.unsigned_integer_out_of_signed_int_range
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
jmp 0x435d32
mov edx, dword [ebp - 4]
fld qword [0x50b0e0]
fcomp qword [edx]
fnstsw ax
test ah, 0x41
jp 0x435d00
mov eax, dword [ebp - 4]
fld qword [0x50b0d8]
fcomp qword [eax]
fnstsw ax
test ah, 1
je 0x435d0b
push str.Real_out_of_signed_integer_range
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
fld qword [ecx]
call fcn.004c9770
jmp 0x435d32
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
neg eax
sbb eax, eax
neg eax
jmp 0x435d32
push str.Type_is_not_convertible_to_int
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
mov esp, ebp
pop ebp
ret