joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432650
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c890
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4cf06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
lea ecx, [ebp - 0x38]
call fcn.00455d90
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x3984]
mov eax, dword [ebx + 0x3984]
call dword [eax + 0x180]
mov edi, eax
mov esi, 0
mov dword [ebp - 0x18], esi
add edi, 1
je 0x4326d2
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047d522
mov esi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], esi
mov word [esi], ax
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x3984]
mov edx, dword [ebx + 0x3984]
push edi
push esi
mov dword [ebp - 0x14], 0xffffffff
call dword [edx + 0x170]
test esi, esi
lea ecx, [ebp - 0x38]
mov eax, 0x4c2758
cmovne eax, esi
push 0x4b8854
push eax
call fcn.00455ef0
push 0x10002
call fcn.0047d522
mov edi, eax
add esp, 4
xor eax, eax
mov word [edi], ax
cmp dword [ebp - 0x24], eax
jle 0x43272c
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov eax, dword [ecx + 0x10]
jmp 0x43272e
xor eax, eax
mov dword [ebp - 0x10], 0
test eax, eax
je 0x43276a
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x8000
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x43276a
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x43276a
cmp eax, 0xffffffff
je 0x432765
test al, 0x10
jne 0x43276a
xor eax, eax
mov word [ecx], ax
cmp word [edi], 0
mov ecx, 0x4b884c
cmovne ecx, edi
call fcn.0045b890
push edi
call fcn.0047d4ed
add esp, 4
test esi, esi
je 0x432791
push esi
call fcn.0047d4ed
add esp, 4
lea ecx, [ebp - 0x38]
call fcn.00455e20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x22c4]
cmp dword [0x4d2034], ebx
je 0x43338d
mov eax, dword [edi + 0x78]
neg ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
sbb ebx, ebx
and ebx, 5
push ebx
push dword [eax + 0x52c]
call esi
mov eax, dword [edi + 0x78]
push ebx
push dword [eax + 0x558]
call esi
mov eax, dword [edi + 0x78]
push ebx
push dword [eax + 0x584]
call esi
mov eax, dword [edi + 0x78]
push ebx
push dword [eax + 0x5b0]
call esi
mov eax, dword [edi + 0x78]
push ebx
push dword [eax + 0x5dc]
call esi
mov eax, dword [edi + 0x78]
push ebx
push dword [eax + 0x608]
call esi
mov eax, dword [edi + 0x78]
push ebx
push dword [eax + 0x634]
call esi
mov eax, dword [edi + 0x78]
push ebx
push dword [eax + 0x660]
call esi
lea esi, [edi + 0x10]
mov ecx, edi
push esi
call fcn.004647e0
mov ebx, dword [edi + 0x2320]
mov eax, ebx
mov ecx, dword [edi + 0x14]
neg eax
cmp dword [edi + 0x22c4], 0
mov dword [ebp - 8], ecx
cmove ebx, eax
add ebx, dword [edi + 0x1c]
mov edi, dword [esi]
sub ebx, ecx
mov esi, dword [esi + 8]
mov ecx, dword [ebp - 4]
sub esi, edi
call fcn.00464640
push eax
push ebx
mov ebx, dword [ebp - 4]
mov ecx, ebx
push esi
push dword [ebp - 8]
push edi
call fcn.00464ac0
mov ecx, ebx
call fcn.00464640
test eax, eax
je 0x43337b
push 0
mov ecx, ebx
call fcn.00432aa0
mov eax, dword [ebx + 0x22c4]
mov ecx, ebx
mov dword [0x4d2034], eax
call fcn.00439a20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436da0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xeec], 0
jne 0x436ea4
cmp dword [esi + 0xef0], 0
jne 0x436ea4
call fcn.00433240
cmp eax, 7
je 0x436deb
mov ecx, esi
call fcn.00433240
cmp eax, 8
je 0x436deb
mov ecx, esi
call fcn.00433240
cmp eax, 9
je 0x436deb
xor edi, edi
jmp 0x436df0
mov edi, 1
mov ecx, esi
call fcn.00433240
cmp eax, 6
je 0x436e1c
mov ecx, esi
call fcn.00433240
cmp eax, 0xa
je 0x436e1c
test edi, edi
jne 0x436e1c
mov ecx, esi
call fcn.00431570
test eax, eax
je 0x436e1c
lea ebx, [edi + 1]
jmp 0x436e1e
xor ebx, ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x47
and eax, 1
mov dword [ebp - 4], eax
call fcn.0045a590
cmp dword [ebp - 4], 0
mov ecx, eax
je 0x436e55
test ebx, ebx
je 0x436e55
push ecx
push str._sV
call fcn.0045cde0
add esp, 8
mov ecx, eax
mov eax, dword [esi + 0x3c68]
add esi, 0x3c68
push ecx
mov ecx, esi
mov dword [ebp - 8], esi
call dword [eax + 0x178]
cmp dword [ebp - 4], 0
je 0x436e7c
mov ecx, 0xa5
test ebx, ebx
jne 0x436e83
lea ecx, [edi*8 + 0xa4]
mov esi, dword [esi]
push 0
push 0
call fcn.0045a590
mov ecx, dword [ebp - 8]
push eax
call dword [esi + 0x1f4]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x437260
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1088
call fcn.0047e620
mov eax, dword [0x4cf06c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0x3c
lea eax, [ebp - 0x1088]
mov esi, ecx
push 0
push eax
call fcn.00481280
mov eax, dword [esi + 0x1abc]
add esp, 0xc
test eax, eax
mov edx, 0x4b8adc
mov ecx, 0x4c2758
cmovne edx, eax
mov eax, dword [esi + 0x1bb0]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x104c]
push ecx
push edx
push dword [esi + 0x1ab8]
push dword [ebp + 8]
push dword [esi + 0x54]
push str._runas_p__x___s___s___s_
push 0x820
push eax
call fcn.0045ca50
add esp, 0x20
mov dword [ebp - 0x1088], 0x3c
mov dword [ebp - 0x107c], str.runas
call fcn.0045bdc0
mov dword [ebp - 0x1078], eax
call fcn.0045bfb0
mov dword [ebp - 0x1070], eax
mov ecx, esi
lea eax, [ebp - 0x104c]
mov dword [ebp - 0x106c], 1
push 0
mov dword [ebp - 0x1074], eax
call fcn.00464650
lea eax, [ebp - 0x1088]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 1
mov ecx, esi
mov dword [esi + 0x22f8], eax
call fcn.00464650
mov ecx, dword [ebp - 8]
mov eax, dword [esi + 0x22f8]
xor ecx, ebp
pop esi
call fcn.0047d39f
mov esp, ebp
pop ebp
ret 4
Function at 0x437350
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x4373f8
test edi, edi
je 0x4373f8
push ebx
push 0
push 0
push 0xe
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
inc eax
xor ecx, ecx
mov dword [ebp - 8], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [ebp - 4], ecx
call fcn.0047d522
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4373ed
push dword [ebp - 4]
push 0
push ebx
call fcn.00481280
add esp, 0xc
push ebx
push dword [ebp - 8]
push 0xd
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0
push 0xc
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
push eax
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
mov esi, 1
call fcn.0047d4ed
add esp, 4
mov eax, esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
xor esi, esi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x439820
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
cmp esi, 6
push edi
sete al
mov dword [ebp + 8], eax
cmp esi, 8
je 0x439844
cmp esi, 9
je 0x439844
xor edi, edi
jmp 0x439849
mov edi, 1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, 6
je 0x43985f
test edi, edi
jne 0x43985f
lea eax, [edi + 1]
jmp 0x439861
xor eax, eax
push eax
push 0xbb9
mov ecx, ebx
call fcn.004645e0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, 6
je 0x439883
test edi, edi
jne 0x439883
lea eax, [edi + 1]
jmp 0x439885
xor eax, eax
push eax
push 0xbbb
mov ecx, ebx
call fcn.004645e0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, 6
je 0x4398b1
cmp esi, 0xa
je 0x4398b1
test edi, edi
jne 0x4398b1
cmp esi, 7
je 0x4398b1
lea eax, [edi + 5]
jmp 0x4398b3
xor eax, eax
push eax
push 0xbf7
mov ecx, ebx
call fcn.004645e0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, 6
je 0x4398df
cmp esi, 0xa
je 0x4398df
test edi, edi
jne 0x4398df
cmp esi, 7
je 0x4398df
lea eax, [edi + 5]
jmp 0x4398e1
xor eax, eax
push eax
push 0xc07
mov ecx, ebx
call fcn.004645e0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, 6
je 0x43990d
cmp esi, 0xa
je 0x43990d
test edi, edi
jne 0x43990d
cmp esi, 7
je 0x43990d
lea eax, [edi + 1]
jmp 0x43990f
xor eax, eax
push eax
push 0xbff
mov ecx, ebx
call fcn.004645e0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, 6
je 0x43993b
cmp esi, 0xa
je 0x43993b
test edi, edi
jne 0x43993b
cmp esi, 7
je 0x43993b
lea eax, [edi + 1]
jmp 0x43993d
xor eax, eax
push eax
push 0xc00
mov ecx, ebx
call fcn.004645e0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp + 8]
mov ecx, ebx
push 0xc01
call fcn.004645e0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, 6
je 0x43997f
cmp esi, 0xa
je 0x43997f
test edi, edi
jne 0x43997f
cmp esi, 7
je 0x43997f
lea eax, [edi + 5]
jmp 0x439981
xor eax, eax
push eax
push 0xbff
mov ecx, ebx
call fcn.004645e0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, 6
je 0x4399ad
cmp esi, 0xa
je 0x4399ad
test edi, edi
jne 0x4399ad
cmp esi, 7
je 0x4399ad
lea eax, [edi + 5]
jmp 0x4399af
xor eax, eax
push eax
push 0xc00
mov ecx, ebx
call fcn.004645e0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, 5
cmp esi, 6
cmove eax, ecx
mov ecx, ebx
push eax
push 0xc01
call fcn.004645e0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x4399f2
cmp esi, 7
je 0x4399f2
lea eax, [edi + 5]
jmp 0x4399f4
xor eax, eax
push eax
push 1
mov ecx, ebx
call fcn.004645e0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, ebx
call fcn.004333a0
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x43b7e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0xc], ebx
cmp dword [edi + 0x18d0], 1
jle 0x43b8b0
call fcn.004431c0
test eax, eax
jne 0x43b81a
cmp dword [edi + 0x14f8], 1
jne 0x43b81a
push 1
mov ecx, edi
call fcn.00442420
lea eax, [esp + 0xc]
mov ecx, edi
push eax
push dword [edi + 0x18d4]
push dword [edi + 0x18d0]
call fcn.00440ab0
test eax, eax
jne 0x43b88d
cmp dword [edi + 0x22cc], 3
jge 0x43b8b9
cmp dword [edi + 0x1c74], ebx
je 0x43b850
cmp dword [edi + 0x1c50], 1
jl 0x43b88d
cmp dword [edi + 0x22f8], ebx
jne 0x43b88d
mov ecx, edi
mov dword [edi + 0x22c8], ebx
call fcn.00431570
test eax, eax
je 0x43b880
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x43b880
mov dword [edi + 0x1c50], ebx
jmp 0x43b88d
push 0
push 0
push 0x10
mov ecx, edi
call fcn.004646e0
mov eax, dword [edi + 0x1c50]
cmp eax, 3
je 0x43b951
cmp eax, 4
je 0x43b8b9
push 1
mov ecx, edi
call fcn.00464650
mov ebx, dword [esp + 0xc]
jmp 0x43b8dd
cmp dword [edi + 0x22cc], 3
jl 0x43b8c4
push 0
push 0
push 0x10
jmp 0x43b94a
push 0xa
call fcn.004376b0
push 0
mov ecx, edi
call fcn.00464880
push 0
mov ecx, edi
call fcn.00442420
cmp dword [edi + 0x1c78], 0
je 0x43b933
push 1
mov ecx, edi
call fcn.004379b0
call fcn.0045b5b0
push 0
mov ecx, edi
mov esi, eax
call fcn.004379b0
mov dword [edi + 0x1c78], 0
cmp esi, 1
jne 0x43b933
cmp dword [edi + 0x22cc], 0
jne 0x43b933
cmp dword [edi + 0x1a00], 0
jne 0x43b933
push 0
push 0xd1
push 0x807e
mov ecx, edi
call fcn.004646e0
test ebx, ebx
jne 0x43b951
cmp dword [edi + 0x1690], ebx
je 0x43b951
push ebx
push 0x7538
push 0x111
mov ecx, edi
call fcn.004646e0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43cba0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cca8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4cf06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x10000
call fcn.0047d522
mov edi, eax
add esp, 4
test edi, edi
je 0x43cbef
push 0x10000
push 0
push edi
call fcn.00481280
add esp, 0xc
jmp 0x43cbf1
xor edi, edi
mov dword [ebp - 0x10], edi
push 0x10000
mov dword [ebp - 4], 0
call fcn.0047d522
mov esi, eax
add esp, 4
test esi, esi
je 0x43cc20
push 0x10000
push 0
push esi
call fcn.00481280
add esp, 0xc
jmp 0x43cc22
xor esi, esi
mov dword [ebp - 0x14], esi
push 0x8000
push edi
push dword [ebp + 8]
mov byte [ebp - 4], 1
mov ecx, dword [ebx]
call fcn.004643b0
push 0
lea ecx, [ebp - 0x34]
call fcn.00455d90
push 0x4c3474
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00455ef0
mov eax, dword [ebp - 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
jl 0x43cccc
test eax, eax
jle 0x43cc71
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
jmp 0x43cc73
xor eax, eax
push eax
call ebx
cmp eax, 0xffffffff
je 0x43ccab
test al, 0x10
je 0x43ccab
cmp dword [ebp - 0x20], 0
jle 0x43cc9b
mov eax, dword [ebp - 0x1c]
mov ecx, esi
push 0x8000
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
call fcn.0041ae80
jmp 0x43ccc9
xor edx, edx
mov ecx, esi
push 0x8000
call fcn.0041ae80
jmp 0x43ccc9
cmp dword [ebp - 0x20], 0
jle 0x43ccbb
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
jmp 0x43ccbd
xor ecx, ecx
push 0x8000
mov edx, esi
call fcn.0045e6c0
add esp, 4
cmp word [esi], 0
je 0x43ccda
push esi
call ebx
cmp eax, 0xffffffff
jne 0x43cce9
mov eax, dword [0x4c347c]
mov dword [esi], eax
mov eax, dword [0x4c3480]
mov dword [esi + 4], eax
mov ecx, esi
call fcn.0045b890
lea ecx, [ebp - 0x34]
call fcn.00455e20
push esi
call fcn.0047d4ed
add esp, 4
test edi, edi
je 0x43cd0e
push edi
call fcn.0047d4ed
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43eea0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x43ef13
cmp ecx, eax
jne 0x43ef0b
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x43ef1b
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x43ef1b
cmp ecx, eax
jne 0x43ef1b
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x10
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.0047d4bc
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8
Function at 0x43f8b0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x4cf06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.00481280
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x208
push 0
push eax
call fcn.00481280
mov ecx, dword [esi + 0x22a4]
add esp, 0xc
test ecx, ecx
je 0x43faf9
cmp dword [esi + 0x22a8], 0
jne 0x43f91f
mov eax, dword [esi + 0x1378]
and eax, 0x2000000
or eax, 0
jne 0x43faf9
cmp ecx, 1
je 0x43f93d
lea eax, [esi + 0x1e90]
push 0x5c
push eax
call fcn.0047ece0
add esp, 8
test eax, eax
jne 0x43f9d1
push 0x7fffffff
mov ecx, 0x488
call fcn.0045a590
mov edx, dword [esi + 0x1ab8]
lea ecx, [ebp - 0x210]
push eax
call fcn.0045c480
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43f982
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x22a4], 2
jne 0x43f9d1
cmp word [esi + 0x1e90], 0
lea edi, [esi + 0x1e90]
je 0x43f9d1
lea edx, [ebp - 0x418]
mov ecx, edi
sub edx, edi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x43f9a5
lea eax, [ebp - 0x418]
mov ecx, edi
push 0x7fffffff
push eax
lea edx, [ebp - 0x210]
call fcn.0045c480
add esp, 8
cmp dword [esi + 0x22a4], 1
je 0x43fa0b
cmp word [esi + 0x1e90], 0
lea eax, [esi + 0x1e90]
je 0x43fa0b
push 0
push 0
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x2374], eax
jmp 0x43faf9
movups xmm0, xmmword [esi + 0x2340]
xor edi, edi
lea ebx, [esi + 0x1e90]
pextrw eax, xmm0, 6
movzx ecx, ax
pextrw eax, xmm0, 5
mov dword [ebp - 0x41c], ecx
movzx edx, ax
pextrw eax, xmm0, 4
mov dword [ebp - 0x42c], edx
movzx eax, ax
mov dword [ebp - 0x420], eax
pextrw eax, xmm0, 3
movzx eax, ax
mov dword [ebp - 0x424], eax
pextrw eax, xmm0, 1
movzx eax, ax
mov dword [ebp - 0x428], eax
movd eax, xmm0
movzx eax, ax
mov dword [ebp - 0x430], eax
nop dword [eax]
push edi
push ecx
push edx
push dword [ebp - 0x420]
mov ecx, 0x487
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push eax
call fcn.0045a590
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.0040e1d0
add esp, 0x24
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x210]
mov ecx, ebx
push 0x7fffffff
push eax
call fcn.0045c480
add esp, 8
push 0
push 0
push 1
push 0
push 3
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x2374], eax
cmp eax, 0xffffffff
jne 0x43faf9
mov ecx, dword [ebp - 0x41c]
inc edi
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0x430]
cmp edi, 0x64
jl 0x43fa70
mov ecx, dword [esi + 0x2374]
cmp ecx, 0xffffffff
jne 0x43fb20
cmp dword [esi + 0x22cc], 3
jge 0x43fb20
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d39f
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [esi + 0x22cc], 3
setge al
push eax
push eax
push ecx
mov ecx, esi
call fcn.004402b0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d39f
mov esp, ebp
pop ebp
ret
Function at 0x43fbd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
push 2
push 0
push 0
mov eax, dword [edi + 0x2610]
push dword [edi + 0x2374]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi + 0x2610]
mov ecx, dword [eax]
test ecx, ecx
je 0x43fc11
call fcn.0045d280
mov esi, eax
test esi, esi
je 0x43fc13
mov ecx, esi
jmp 0x43fc18
xor esi, esi
mov ecx, 0x4c2758
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43fc20
sub ecx, edx
mov eax, 0x4c2758
push 0
lea edx, [ebp - 4]
test esi, esi
push edx
push ecx
cmovne eax, esi
push eax
push dword [edi + 0x2374]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [edi + 0x2610]
mov dword [eax + 8], 0
mov eax, dword [edi + 0x2610]
mov eax, dword [eax]
test eax, eax
je 0x43fc65
xor ecx, ecx
mov word [eax], cx
test esi, esi
je 0x43fc72
push esi
call fcn.0047d4ed
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43fd20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b788
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4cf06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x230c], 0
jne 0x43fd67
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x2608]
mov ecx, dword [eax]
test ecx, ecx
je 0x43fd7c
call fcn.0045d280
mov esi, eax
jmp 0x43fd7e
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0xffffffff
mov ebx, 0x4c2758
mov dword [ebp - 4], 0
test esi, esi
mov ecx, ebx
cmovne ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43fda0
sub ecx, edx
mov eax, ebx
push 0
lea edx, [ebp - 0x10]
test esi, esi
push edx
push ecx
cmovne eax, esi
push eax
push dword [edi + 0x236c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [edi + 0x22cc], 3
jl 0x43fde1
test esi, esi
cmovne ebx, esi
push ebx
push 0x4b9378
push edi
call fcn.004406d0
add esp, 0xc
test esi, esi
je 0x43fdee
push esi
call fcn.0047d4ed
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43fe10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
push 1
mov esi, ecx
call fcn.0043fc80
lea eax, [esi + 0x2340]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
mov ecx, esi
cmp dword [esi + 0x22cc], 3
setge al
push eax
push eax
push dword [esi + 0x236c]
call fcn.004402b0
cmp dword [esi + 0x230c], 0
jne 0x43feb9
cmp dword [esi + 0x2608], 0
jne 0x43fe7b
lea eax, [esi + 0xd28]
mov dword [esi + 0x2608], eax
mov eax, dword [eax + 8]
mov dword [esi + 0x230c], eax
test eax, eax
je 0x43fe7b
mov ecx, esi
call fcn.0043fd20
push 0
lea eax, [esp + 8]
mov dword [esp + 8], 0x14
push eax
push 0x14
push 0x4b9360
push dword [esi + 0x236c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esi + 0x22cc], 3
jl 0x43feb9
push 0x4b9360
push 0x4b9384
push esi
call fcn.004406d0
add esp, 0xc
push 0
mov ecx, esi
call fcn.0043fc80
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43ff20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x4cf06c]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
mov edi, ecx
call fcn.0043fc80
xor eax, eax
mov ecx, edi
cmp dword [edi + 0x22cc], 3
setge al
push eax
push eax
push dword [edi + 0x236c]
call fcn.004402b0
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ff63
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0xc]
push 0
push eax
sub ecx, edx
push ecx
push ebx
push dword [edi + 0x236c]
call esi
push 0
lea eax, [esp + 0x10]
push eax
push 4
push 0x4b937c
push dword [edi + 0x236c]
call esi
mov ecx, 1
call fcn.004598e0
test eax, eax
je 0x44006d
cmp dword [edi + 0x22cc], 3
jl 0x43ffc0
push 0x4aeeef
mov ecx, edi
call fcn.00440580
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x43ffde
or edx, 0xffffffff
mov ecx, ebx
call fcn.0045d1d0
mov esi, eax
jmp 0x43ffe0
xor esi, esi
call fcn.00458e70
push eax
push str._s:
lea eax, [esp + 0x1c]
push 0x14
push eax
call fcn.0045ca50
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
add esp, 0x10
push 0
push ecx
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov edx, 0x4c2758
test esi, esi
mov ecx, edx
cmovne ecx, esi
lea eax, [ecx + 2]
mov dword [esp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440025
sub ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push 0
sar ecx, 1
test esi, esi
push eax
push ecx
cmovne edx, esi
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0
lea eax, [esp + 0x10]
push eax
push 4
push 0x4b93c8
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
test esi, esi
je 0x44006d
push esi
call fcn.0047d4ed
add esp, 4
push 0
mov ecx, edi
call fcn.0043fc80
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047d39f
mov esp, ebp
pop ebp
ret 4