joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430e40
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 0x14], 0
jne 0x430e7c
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x4313f0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov dword [esp], 0
test edx, edx
je 0x4314e4
cmp word [edx], 0
je 0x4314e4
mov ecx, dword [esp + 0x10]
push esi
cmp ecx, 0x19
jne 0x43147d
mov esi, dword [esp + 0xc]
mov ecx, edx
push edi
cmp dword [esi + 4], 0
lea edi, [ecx + 2]
je 0x431450
jmp 0x431430
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431430
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push esi
call fcn.00431a70
pop edi
pop esi
pop ecx
ret 0xc
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431450
sub ecx, edi
lea eax, [esp + 8]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push edx
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
cmp ecx, 2
lea ecx, [esp + 0x10]
setne al
push ecx
dec eax
and eax, 0xfde9
push edx
push eax
call fcn.00431b80
mov esi, eax
test esi, esi
je 0x4314db
mov eax, dword [esp + 0xc]
cmp dword [eax + 4], 0
je 0x4314b8
push dword [esp + 0x10]
push esi
push eax
call fcn.00431a70
mov dword [esp + 4], eax
jmp 0x4314cc
push 0
lea ecx, [esp + 8]
push ecx
push dword [esp + 0x18]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
push 0
push dword [0x6fe384]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 0xc
xor eax, eax
pop ecx
ret 0xc
Function at 0x431520
Capabilities:
Write file on windows

Disassembly:
push dword [esp + 4]
push dword [0x700918]
call fcn.00450f07
test eax, eax
je case.0x43154e.3
mov ecx, dword [esp + 8]
add ecx, 0xfffffffe
cmp ecx, 0x17
ja case.0x43154e.3
movzx ecx, byte [ecx + 0x431658]
jmp dword [ecx*4 + 0x431640]
cmp dword [eax + 4], 0
je 0x43156b
push 2
push 0x4d0880
push eax
call fcn.00431a70
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 2
push 0x4d0880
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x43159a
push 3
push 0x4d0118
push eax
call fcn.00431a70
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 3
push 0x4d0118
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x4315c9
push 2
push 0x4d0884
push eax
call fcn.00431a70
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 2
push 0x4d0884
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x4315f8
push 4
push 0x4d0888
push eax
call fcn.00431a70
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 4
push 0x4d0888
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x431627
push 4
push 0x4d0890
push eax
call fcn.00431a70
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 4
push 0x4d0890
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
ret 8

Function at 0x431780
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
push dword [esp + 0x10]
mov dword [esp + 8], 0
push dword [0x700918]
call fcn.00450f07
mov esi, eax
test esi, esi
je 0x4317ff
cmp dword [esi + 4], 0
je 0x4317d0
push 1
lea eax, [esp + 8]
push eax
push esi
call fcn.004318e0
test eax, eax
je 0x4317c4
inc dword [esi + 0xc]
xor eax, eax
pop esi
add esp, 8
ret 4
mov eax, 1
pop esi
add esp, 8
ret 4
push 0
lea eax, [esp + 0xc]
push eax
push 1
lea eax, [esp + 0x1c]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x43180a
cmp dword [esp + 8], 0
je 0x43180a
push 1
push 0
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret 4
or eax, 0xffffffff
pop esi
add esp, 8
ret 4

Function at 0x431820
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0
test esi, esi
je 0x431885
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x43187d
push dword [esp + 0x10]
push dword [0x700918]
call fcn.00450f07
test eax, eax
je 0x431873
cmp dword [eax + 4], 0
je 0x431862
push edi
push esi
push eax
call fcn.00431a70
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea ecx, [esp + 0xc]
push ecx
push edi
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
pop edi
xor eax, eax
pop esi
pop ecx
ret 0xc
xor eax, eax
pop esi
pop ecx
ret 0xc
Function at 0x4318e0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
cmp dword [esi + 0x14], 0
jne 0x431901
push esi
call fcn.00430e40
mov dword [esi + 0x14], 1
mov dword [esi + 0xc], 0
mov ebx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
cmp ebx, edi
jl 0x431975
add eax, dword [esi + 4]
mov ecx, edi
sub eax, ebx
dec ecx
je 0x431962
dec ecx
je 0x43194d
sub ecx, 2
je 0x43193a
push edi
push eax
push dword [esp + 0x1c]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
mov cx, word [eax]
mov eax, dword [esp + 0x14]
mov word [eax], cx
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [esp + 0x14]
mov dl, byte [eax]
mov eax, edi
mov byte [ecx], dl
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
push ebp
mov ebp, dword [esp + 0x18]
sub eax, ebx
add eax, dword [esi + 4]
push ebx
push eax
push ebp
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + 8]
add esp, 0xc
sub edi, ebx
add ebp, ebx
push 0
cmp edi, eax
jl 0x4319ba
lea eax, [esp + 0x18]
push eax
push edi
push ebp
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 0x14]
pop ebp
pop edi
mov dword [esi + 0xc], 0
add eax, ebx
pop esi
pop ebx
ret 0xc
lea ecx, [esp + 0x18]
push ecx
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp edi, eax
jle 0x4319db
mov edi, eax
push edi
push dword [esi + 4]
push ebp
call sub.MSVCRT.dll_memcpy
sub dword [esi + 0xc], edi
lea eax, [ebx + edi]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x431a70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 4], 0
cmp dword [esi + 0x1c], 0
jne 0x431b77
cmp dword [esi + 0x14], 1
jne 0x431abb
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0xc]
push 1
neg eax
cdq
push ecx
push eax
push dword [esi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
push edi
mov edi, dword [esp + 0x20]
cmp eax, edi
jle 0x431b38
mov ecx, dword [esi + 8]
add ecx, dword [esi + 4]
sub ecx, eax
mov eax, edi
dec eax
je 0x431b23
dec eax
je 0x431b0c
sub eax, 2
je 0x431af7
push edi
push dword [esp + 0x20]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov ax, word [eax]
mov word [ecx], ax
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov al, byte [eax]
mov byte [ecx], al
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
push esi
call fcn.00430e40
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x431b65
push 0
lea eax, [esp + 0xc]
push eax
push edi
push dword [esp + 0x28]
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
push edi
push dword [esp + 0x20]
add ecx, eax
jmp 0x431ae1
xor eax, eax
pop esi
add esp, 0xc
ret 0xc
Function at 0x431bf0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push 0x1000
push 0
push dword [0x6fe384]
mov dword [esp + 0x14], 0x1000
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x431d74
mov cl, byte [esp + 3]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
mov esi, edx
mov edi, edi
cmp ebp, 0xffffffff
je 0x431c3e
test ebp, ebp
je 0x431ce0
dec ebp
cmp dword [ebx + 4], 0
je 0x431c57
push 1
lea eax, [esp + 0x17]
push eax
push ebx
call fcn.004318e0
mov dword [esp + 0x14], eax
jmp 0x431c71
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x13]
cmp eax, 1
jne 0x431ce0
test cl, cl
je 0x431c85
mov byte [esi], cl
inc esi
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
mov edi, esi
mov edx, dword [esp + 0x20]
dec eax
sub edi, edx
cmp edi, eax
jle 0x431cc0
mov eax, dword [esp + 0x18]
add eax, 0x1000
push eax
push edx
push 8
push dword [0x6fe384]
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.DLL_HeapReAlloc]
mov cl, byte [esp + 0x13]
mov edx, eax
mov dword [esp + 0x20], edx
lea esi, [edi + edx]
test cl, cl
je 0x431ce0
cmp dword [esp + 0x2c], 0
jne 0x431c30
cmp cl, 0xd
je 0x431ce7
cmp cl, 0xa
jne 0x431c30
dec esi
jmp 0x431d57
cmp dword [esp + 0x2c], 0
jne 0x431d57
cmp cl, 0xa
jne 0x431cef
dec esi
jmp 0x431d57
cmp cl, 0xd
jne 0x431d57
dec esi
cmp dword [ebx + 4], 0
je 0x431d0e
push 1
lea eax, [esp + 0x17]
push eax
push ebx
call fcn.004318e0
mov dword [esp + 0x14], eax
jmp 0x431d24
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp byte [esp + 0x13], 0xa
je 0x431d57
cmp dword [ebx + 4], 0
je 0x431d36
inc dword [ebx + 0xc]
jmp 0x431d57
push 1
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0xffffffff
push eax
push 0xffffffffffffffff
push dword [ebx]
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, dword [esp + 0x34]
mov ecx, esi
sub ecx, dword [esp + 0x20]
pop edi
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
mov byte [esi], 0
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
xor eax, eax
add esp, 0x14
ret 0x10
Function at 0x431d80
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push 0x1000
push 0
push dword [0x6fe384]
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ecx, eax
mov dword [esp + 8], ecx
test ecx, ecx
je 0x431f2d
mov ax, word [esp]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], 0x1000
mov dword [esp + 0x1c], 0x7ff
cmp ebp, 0xffffffff
je 0x431dd4
test ebp, ebp
je 0x431e8d
dec ebp
cmp dword [ebx + 4], 0
je 0x431ded
push 2
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.004318e0
mov dword [esp + 0x14], eax
jmp 0x431e07
push 0
lea eax, [esp + 0x18]
push eax
push 2
lea eax, [esp + 0x1c]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 0x14]
cmp eax, 2
mov ax, word [esp + 0x10]
jne 0x431e8d
test ax, ax
je 0x431e21
mov word [edi], ax
add edi, 2
mov ax, word [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, edi
mov edx, dword [esp + 0x1c]
sub esi, ecx
sar esi, 1
cmp esi, edx
jle 0x431e68
mov eax, dword [esp + 0x20]
add edx, 0x800
add eax, 0x1000
mov dword [esp + 0x1c], edx
push eax
push ecx
push 8
push dword [0x6fe384]
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.DLL_HeapReAlloc]
mov ecx, eax
mov ax, word [esp + 0x10]
mov dword [esp + 0x18], ecx
lea edi, [ecx + esi*2]
test ax, ax
je 0x431e8d
cmp dword [esp + 0x30], 0
jne 0x431dc6
cmp ax, 0xd
je 0x431e94
cmp ax, 0xa
jne 0x431dc6
sub edi, 2
jmp 0x431f0c
cmp dword [esp + 0x30], 0
jne 0x431f0c
cmp ax, 0xa
jne 0x431e9f
sub edi, 2
jmp 0x431f0c
cmp ax, 0xd
jne 0x431f0c
sub edi, 2
cmp dword [ebx + 4], 0
je 0x431ec1
push 2
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.004318e0
mov dword [esp + 0x14], eax
jmp 0x431ed7
push 0
lea eax, [esp + 0x18]
push eax
push 2
lea eax, [esp + 0x1c]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp word [esp + 0x10], 0xa
je 0x431f0c
cmp dword [ebx + 4], 0
je 0x431eeb
add dword [ebx + 0xc], 2
jmp 0x431f0c
push 1
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0xfffffffe
push eax
push 0xfffffffffffffffe
push dword [ebx]
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, dword [esp + 0x38]
mov ecx, edi
sub ecx, dword [esp + 0x18]
sar ecx, 1
mov dword [eax], ecx
xor eax, eax
mov word [edi], ax
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
xor eax, eax
add esp, 0x18
ret 0x10
Function at 0x431f40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push 0x1000
push 0
push dword [0x6fe384]
mov dword [esp + 0x10], 0x1000
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x432090
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 3]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, edx
cmp edi, 0xffffffff
je 0x431f8c
test edi, edi
je 0x431ffd
dec edi
push esi
push ebp
call fcn.004320a0
mov dword [esp + 0x20], eax
test eax, eax
jne 0x431f9f
xor cl, cl
jmp 0x431fa1
mov cl, byte [esi]
mov edx, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x14]
mov ebx, esi
sub ebx, edx
mov byte [esp + 0x13], cl
add eax, 0xfffffffb
cmp ebx, eax
jle 0x431fe4
mov eax, dword [esp + 0x14]
add eax, 0x1000
push eax
push edx
push 8
push dword [0x6fe384]
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.DLL_HeapReAlloc]
mov cl, byte [esp + 0x13]
mov edx, eax
mov dword [esp + 0x1c], edx
lea esi, [ebx + edx]
mov eax, dword [esp + 0x2c]
test cl, cl
je 0x431ffd
test eax, eax
jne 0x431f82
cmp cl, 0xd
je 0x432001
cmp cl, 0xa
jne 0x431f82
dec esi
jmp 0x432073
test eax, eax
jne 0x432073
cmp cl, 0xa
jne 0x432009
dec esi
jmp 0x432073
cmp cl, 0xd
jne 0x432073
dec esi
cmp dword [ebp + 4], 0
je 0x432028
push 1
lea eax, [esp + 0x17]
push eax
push ebp
call fcn.004318e0
mov dword [esp + 0x20], eax
jmp 0x43203f
push 0
lea eax, [esp + 0x24]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [ebp]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp byte [esp + 0x13], 0xa
je 0x432073
cmp dword [ebp + 4], 0
je 0x432051
inc dword [ebp + 0xc]
jmp 0x432073
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0xffffffff
push eax
push 0xffffffffffffffff
push dword [ebp]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, dword [esp + 0x34]
mov ecx, esi
sub ecx, dword [esp + 0x1c]
pop edi
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov byte [esi], 0
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
xor eax, eax
add esp, 0x14
ret 0x10
Function at 0x4320a0
Capabilities:
Read file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [edi + 4], 0
je 0x4320c7
push 1
lea eax, [esp + 0x10]
push eax
push edi
call fcn.004318e0
mov dword [esp + 4], eax
jmp 0x4320e1
push 0
lea eax, [esp + 8]
push eax
push 1
lea eax, [esp + 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 4]
cmp eax, 1
je 0x4320ed
xor eax, eax
pop edi
pop ecx
ret 8
mov cl, byte [esp + 0xc]
test cl, cl
js 0x432109
mov eax, dword [esp + 0x10]
pop edi
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, 1
pop ecx
ret 8
mov al, cl
and al, 0xe0
push esi
cmp al, 0xc0
jne 0x432119
mov esi, 2
jmp 0x432135
mov al, cl
and al, 0xf0
cmp al, 0xe0
jne 0x432128
mov esi, 3
jmp 0x432135
mov al, cl
and al, 0xf8
cmp al, 0xf0
jne 0x432192
mov esi, 4
mov edx, dword [esp + 0x14]
mov byte [edx], cl
cmp dword [edi + 4], 0
je 0x432164
lea eax, [esi - 1]
push eax
lea eax, [edx + 1]
push eax
push edi
call fcn.004318e0
mov edx, eax
lea ecx, [esi - 1]
xor eax, eax
cmp edx, ecx
setne al
dec eax
and eax, esi
pop esi
pop edi
pop ecx
ret 8
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esi - 1]
push eax
lea eax, [edx + 1]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edx, dword [esp + 8]
lea ecx, [esi - 1]
xor eax, eax
cmp edx, ecx
setne al
dec eax
and eax, esi
pop esi
pop edi
pop ecx
ret 8
mov eax, dword [esp + 0x14]
pop esi
pop edi
mov word [eax], 0x3f
mov eax, 1
pop ecx
ret 8
Function at 0x4321b5
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
push edi
mov ebx, esi
call fcn.0043f58a
mov edi, eax
test edi, edi
je 0x4322ab
cmp dword [edi + 0x14], esi
je 0x4322ab
cmp dword [edi], 0xf
jne 0x4322ab
push dword [edi + 0x18]
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x4322ab
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x4322a0
push dword [edi + 0x18]
push dword [edi + 0x14]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push esi
push esi
push 0xffffffffffffffff
push ebp
call dword [sym.imp.SHELL32.DLL_DragQueryFileW]
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
jle 0x4322a0
lea ebx, [edi - 1]
mov eax, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
push esi
push esi
push eax
push ebp
call dword [sym.imp.SHELL32.DLL_DragQueryFileW]
add ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, edi
jl 0x43223d
push dword [esp + 0x20]
mov dword [esp + 0x1c], ebx
push ebx
call fcn.00451b20
mov edi, eax
cmp dword [esp + 0x14], esi
jle 0x43229a
lea eax, [ebx + 1]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
push eax
push edi
push esi
push ebp
call dword [sym.imp.SHELL32.DLL_DragQueryFileW]
push 0xa
lea edi, [edi + eax*2]
pop eax
mov word [edi], ax
add edi, 2
mov eax, dword [esp + 0x10]
inc esi
cmp esi, ebx
jl 0x432277
mov ebx, dword [esp + 0x18]
xor eax, eax
mov word [edi - 2], ax
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
test ebx, ebx
jne 0x4322b7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
jmp fcn.00451dc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x435687
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x70082c]
call fcn.00450d68
xor ebx, ebx
mov ebp, eax
cmp dword [0x6ff740], ebx
jne 0x43571b
mov esi, 0xa4
push esi
push ebx
push 0x6ff748
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x6ff74c], esi
mov esi, dword [sym.imp.USER32.DLL_LoadCursorW]
mov dword [0x6ff748], 0xa
mov dword [0x6ff750], 0x43521c
push 0x7f89
push ebx
mov dword [0x6ff7c0], 0x43c6d7
mov dword [0x6ff7c4], 0x43c6b1
mov dword [0x6ff754], 0x43523b
mov dword [0x6ff7d8], 0x43525b
call esi
mov dword [0x6ff740], eax
test eax, eax
jne 0x43571b
push 0x7f00
push ebx
call esi
mov dword [0x6ff740], eax
push ebx
push dword [0x6fe388]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x40000000
push dword [esp + 0x48]
push 0x4d09d0
push ebx
call dword [sym.imp.USER32.DLL_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x4357c7
push edi
push dword [esp + 0x14]
push dword [0x700864]
call fcn.00450f46
mov edi, eax
push 0x14
push 0
or dword [edi + 0x10], 0xffffffff
and dword [edi + 0x14], 0
push dword [0x6fe384]
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x6ff748
push ebx
push edi
push dword [esp + 0x20]
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], 0
mov dword [edi + 0x1c], esi
call fcn.0043c56a
push 0x435341
push 0xfffffffffffffffc
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.DLL_SetWindowLongW]
push 1
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.USER32.DLL_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x20

Function at 0x435ed6
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x700864]
call fcn.00450f07
mov ebx, eax
test ebx, ebx
je 0x435f3a
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x435eff
push dword [esp + 0xc]
push ebx
call eax
jmp 0x435f3a
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.DLL_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.00451b20
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.DLL_GetWindowTextW]
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.00451bc0
pop edi
pop esi
pop ebx
ret 8
Function at 0x43a340
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push 0
push 0
push 0x1304
push dword [ebp]
call dword [sym.imp.USER32.DLL_SendMessageW]
test eax, eax
jle 0x43a3b2
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
cmp ebx, 0xffffffff
jne 0x43a369
mov ebx, eax
push dword [ebp]
call fcn.00439b32
push ebx
push dword [ebp]
mov edi, eax
call fcn.00439b09
add esp, 0xc
mov esi, eax
push 0
push ebx
push 0x130c
push dword [ebp]
call dword [sym.imp.USER32.DLL_SendMessageW]
push 0
push edi
call dword [sym.imp.USER32.DLL_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.DLL_EnableWindow]
push esi
push dword [ebp]
call fcn.0043a3d2
pop ecx
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x43c10f
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x70082c]
call fcn.00450d68
xor ebp, ebp
mov esi, eax
cmp dword [0x6ffef8], ebp
jne 0x43c1eb
xor ebx, ebx
inc ebx
mov dword [0x6ffef8], ebx
call fcn.0043c3a3
mov edi, 0xa4
push edi
push ebp
push 0x6fff00
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x6fff00], 0x13
lea eax, [esp + 0x10]
mov dword [0x6fff04], edi
mov dword [0x6fff10], 0x43c05a
mov dword [0x6fff14], 0x43c380
push eax
mov dword [0x6fff68], 0x43c035
mov dword [0x6fff6c], 0x43c2cb
mov dword [0x6fff0c], 0x43c010
mov dword [0x6fff90], 0x43c075
mov dword [0x6fffa4], ebx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x43c1eb
cmp dword [esp + 0x20], ebx
je 0x43c1d3
cmp dword [esp + 0x20], 2
jne 0x43c1eb
cmp dword [esp + 0x14], 5
jae 0x43c1db
mov dword [0x6fffa4], ebp
jmp 0x43c1eb
jne 0x43c1eb
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0x6fffa4], eax
mov eax, dword [esp + 0x140]
push ebp
push dword [0x6fe388]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push eax
push ebp
push 0x4d0c04
push ebp
call dword [sym.imp.USER32.DLL_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x43c29c
push dword [esp + 0x128]
push dword [0x700864]
call fcn.00450f46
mov ebx, dword [esp + 0x13c]
mov esi, eax
mov dword [esi + 0x10], ebx
test ebx, ebx
je 0x43c26b
push ebx
call fcn.0044badb
test eax, eax
je 0x43c26b
push ebp
push ebp
push ebx
call fcn.0044b650
mov dword [esi + 0x18], eax
jmp 0x43c26e
mov dword [esi + 0x18], ebp
push 0x43bd50
push 0xfffffffffffffffc
push edi
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.DLL_SetWindowLongW]
push 0x6fff00
push edi
push esi
push dword [esp + 0x134]
mov dword [0x6ffefc], eax
call fcn.0043c56a
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0x1c