joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d8c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458ec6
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x428], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
mov eax, 1
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x1c], ax
mov eax, dword [0x46d978]
mov word [ebp - 0x14], 0
mov ebx, dword [eax + 4]
lea esi, [ebx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebx + 0x24]
inc edi
mov dword [ebx + 0x24], edi
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x1a], edi
call fcn.00423140
xor ebx, ebx
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x424], ebx
lea eax, [ebx + 0xa]
nop dword [eax]
movzx edx, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor edx, ecx
shr ebx, 8
xor ebx, dword [ebp + edx*4 - 0x420]
xor ebx, 0xd202ef8d
mov dword [ebp - 0x424], ebx
sub eax, 1
jne 0x42d960
push 0x69
push ecx
mov ecx, dword [ebp - 0x428]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], ebx
call fcn.0042e370
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret

Function at 0x42d9c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458ef6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x42c], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
xor eax, eax
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x1c], ax
mov eax, dword [0x46d978]
mov word [ebp - 0x14], 0
mov ebx, dword [eax + 4]
lea esi, [ebx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebx + 0x24]
inc edi
mov dword [ebx + 0x24], edi
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x1a], edi
call fcn.00423140
xor ebx, ebx
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x428], ebx
lea eax, [ebx + 0xa]
nop dword [eax]
movzx edx, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor edx, ecx
shr ebx, 8
xor ebx, dword [ebp + edx*4 - 0x424]
xor ebx, 0xd202ef8d
mov dword [ebp - 0x428], ebx
sub eax, 1
jne 0x42da60
push eax
push ecx
mov ecx, dword [ebp - 0x42c]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], ebx
call fcn.0042e370
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
Function at 0x42e140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov bl, 1
mov byte [ebp - 0x409], bl
cmp byte [esi + 0x2c0], 0
je 0x42e24b
push edi
lea ecx, [ebp - 0x408]
call fcn.00423140
xor edx, edx
lea edi, [esi + 0x2c8]
mov dword [ebp - 0x408], edx
lea ebx, [edx + 0xa]
nop dword [eax]
movzx ecx, byte [edi]
lea edi, [edi + 1]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ebp + ecx*4 - 0x404]
xor edx, 0xd202ef8d
mov dword [ebp - 0x408], edx
sub ebx, 1
jne 0x42e190
cmp dword [esi + 0x2c4], edx
lea edi, [esi + 0x2c4]
jne 0x42e22f
mov ecx, dword [esi + 0x2ce]
test ecx, ecx
je 0x42e216
push ecx
mov byte [esi + 0x2c0], bl
call fcn.00444c5f
mov ecx, dword [esi + 0x2ce]
add esp, 4
mov dword [esi + 0x2d4], eax
mov dword [esi + 0x2bc], eax
mov dword [esi + 0x2b8], ecx
mov al, byte [ebp - 0x409]
pop edi
mov dword [esi + 0x2b4], 0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0042e050
mov dword [esi + 0x2bc], edi
mov dword [esi + 0x2b8], 0xe
jmp 0x42e1f5
push 6
mov ecx, esi
call fcn.0042d800
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
call fcn.0042e050
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x2c4]
mov dword [esi + 0x2bc], eax
xor ecx, ebp
mov byte [esi + 0x2c0], 1
mov al, bl
mov dword [esi + 0x2d4], 0
mov dword [esi + 0x2b8], 0xe
mov dword [esi + 0x2b4], 0
pop esi
pop ebx
call fcn.0043de43
mov esp, ebp
pop ebp
ret

Function at 0x42e2a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov bl, 1
push edi
mov eax, dword [esi + 0x2b8]
test eax, eax
je 0x42e30f
mov ecx, dword [esi + 0x2b4]
sub eax, ecx
push 0
push eax
mov eax, dword [esi + 0x2bc]
add eax, ecx
push eax
push dword [esi + 0x25c]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jle 0x42e329
add dword [esi + 0x2b4], edi
mov edx, dword [esi + 0x2b8]
cmp dword [esi + 0x2b4], edx
jne 0x42e325
mov ecx, dword [esi + 0x2bc]
call fcn.00422940
mov ecx, esi
call fcn.0042e140
jmp 0x42e325
push 2
push 1
lea eax, [ebp - 5]
push eax
push dword [esi + 0x25c]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jg 0x42e358
mov eax, dword [esi + 0x2ac]
test eax, eax
je 0x42e345
mov ecx, dword [0x46d978]
push 8
push 0
push eax
mov ecx, dword [ecx]
call fcn.00424ea0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043de43
mov esp, ebp
pop ebp
ret
Function at 0x42e4c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458f26
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x42c], edx
mov eax, dword [edx + 0x70]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x428], ecx
sub eax, 1
jne 0x42e545
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x418]
push eax
push ecx
lea ecx, [edx + 0x168]
mov edx, ebx
call fcn.0042f730
mov eax, dword [ebp - 0x418]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
lea eax, [ecx + 0xe]
push eax
call fcn.00444c5f
add esp, 4
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x42e667
lea ecx, [eax + 4]
mov eax, 5
mov word [ecx], ax
mov dword [ebp - 0x424], ecx
mov ecx, dword [0x46d978]
mov ebx, dword [ecx + 4]
lea esi, [ebx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebx + 0x24]
inc edi
mov dword [ebx + 0x24], edi
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x41c]
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 6], edi
mov edi, dword [ebp + 0xc]
mov dword [eax + 0xa], edi
call fcn.00423140
mov ebx, dword [ebp - 0x424]
xor edx, edx
mov dword [ebp - 0x414], edx
lea esi, [edx + 0xa]
nop word [eax + eax]
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ebp + ecx*4 - 0x410]
xor edx, 0xd202ef8d
mov dword [ebp - 0x414], edx
sub esi, 1
jne 0x42e5d0
mov ebx, dword [ebp - 0x41c]
mov dword [ebx], edx
test edi, edi
je 0x42e615
push edi
push dword [ebp - 0x420]
lea eax, [ebx + 0xe]
push eax
call fcn.00456380
add esp, 0xc
mov eax, dword [ebp - 0x428]
lea edx, [edi + 0xe]
mov ecx, ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], edx
mov dword [ebp - 0x43c], 0x6d
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], eax
call fcn.00422940
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x444]
push eax
call fcn.0042e410
xor esi, esi
jmp 0x42e66c
mov esi, 2
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x42e67f
push eax
call fcn.00444a30
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret 8
Function at 0x42e6a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
mov ebx, ecx
mov dword [ebp - 0x41c], edx
push edi
xor edi, edi
mov dword [ebp - 0x420], ebx
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x418], edx
mov byte [ebp - 0x409], dl
test ecx, ecx
je 0x42e742
mov eax, dword [ebx + 0x70]
sub eax, edx
je 0x42e731
sub eax, 1
jne 0x42e742
mov edx, dword [esi + 0x34]
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push ecx
lea ecx, [ebx + 0x168]
call fcn.0042f730
mov edi, dword [ebp - 0x414]
add esp, 0xc
mov edx, dword [ebp - 0x418]
mov byte [ebp - 0x409], 1
mov dword [ebp - 0x410], edi
jmp 0x42e73c
mov eax, dword [esi + 0x34]
mov edx, ecx
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x41c], edx
mov eax, dword [esi]
mov ebx, 0xe
sub eax, 2
je 0x42e753
sub eax, 1
jne 0x42e758
mov ebx, 0x26
add ebx, edx
push ebx
mov dword [ebp - 0x414], ebx
call fcn.00444c5f
add esp, 4
mov dword [ebp - 0x418], eax
test eax, eax
je 0x42e89d
mov cx, word [esi]
lea edi, [eax + 4]
mov word [edi], cx
mov ecx, dword [esi + 4]
mov dword [eax + 6], ecx
lea ecx, [ebx - 0xe]
mov dword [eax + 0xa], ecx
lea ecx, [ebp - 0x408]
call fcn.00423140
xor edx, edx
mov dword [ebp - 0x408], edx
lea ebx, [edx + 0xa]
movzx ecx, byte [edi]
lea edi, [edi + 1]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ebp + ecx*4 - 0x404]
xor edx, 0xd202ef8d
mov dword [ebp - 0x408], edx
sub ebx, 1
jne 0x42e7a2
mov ebx, dword [ebp - 0x418]
mov dword [ebx], edx
mov eax, dword [esi]
sub eax, 2
je 0x42e7f6
sub eax, 1
jne 0x42e848
xor ecx, ecx
nop
mov al, byte [esi + ecx + 0x10]
mov byte [ecx + ebx + 0xe], al
inc ecx
cmp ecx, 0x10
jb 0x42e7e0
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x1e], eax
jmp 0x42e81e
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [esi + ecx + 0x10]
mov byte [ecx + ebx + 0xe], al
inc ecx
cmp ecx, 0x10
jb 0x42e800
movzx eax, word [esi + 0x24]
mov word [ebx + 0x1e], ax
movzx eax, word [esi + 0x28]
mov word [ebx + 0x20], ax
mov eax, dword [esi + 0x2c]
lea ecx, [ebx + 0x26]
mov dword [ebx + 0x22], eax
test ecx, ecx
je 0x42e848
mov eax, dword [ebp - 0x41c]
mov edi, dword [ebp - 0x410]
test eax, eax
je 0x42e84e
push eax
push edi
push ecx
call fcn.00456380
add esp, 0xc
jmp 0x42e84e
mov edi, dword [ebp - 0x410]
mov eax, dword [esi + 8]
mov ecx, ebx
mov edx, dword [ebp - 0x414]
mov dword [ebp - 0x430], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x434], edx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], eax
call fcn.00422940
mov ecx, dword [ebp - 0x420]
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x438]
push eax
call fcn.0042e410
jmp 0x42e8a3
mov edi, dword [ebp - 0x410]
cmp byte [ebp - 0x409], 0
je 0x42e8b5
push edi
call fcn.00444a30
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043de43
mov esp, ebp
pop ebp
ret 4
Function at 0x42e8d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov byte [ebp - 1], 1
push esi
push edi
cmp dword [ebx + 0x300], 0
jne 0x42e95e
cmp dword [ebx + 0x6c], 0
jne 0x42e95e
mov eax, dword [0x46d978]
push dword [ebx + 0x4c]
mov ecx, dword [eax]
call fcn.00424c80
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x42e95e
mov ecx, esi
call fcn.0042a430
lea edi, [esi + 0xc]
mov dword [ebp - 0xc], eax
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
dec dword [esi + 0x24]
mov esi, dword [esi + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
jne 0x42e934
mov ecx, dword [ebp - 8]
push 1
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x42e95e
push esi
mov ecx, ebx
call fcn.0042e6a0
mov eax, dword [esi + 0x34]
test eax, eax
je 0x42e953
push eax
call fcn.00444a30
add esp, 4
push 0x38
push esi
call fcn.0043e2b6
add esp, 8
lea edi, [ebx + 0x2d8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x300], 0
je 0x42e9a7
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x2f0]
call fcn.00423fa0
mov esi, dword [eax]
test esi, esi
je 0x42e98b
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov ecx, edx
mov eax, dword [esi + 8]
dec eax
shr ecx, 2
and ecx, eax
mov eax, dword [esi + 4]
and edx, 3
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + edx*4]
jmp 0x42e9a9
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x42eaa2
mov edx, dword [esi + 4]
mov ecx, dword [esi]
call fcn.00422940
mov edx, dword [esi]
test edx, edx
je 0x42ea6f
mov ecx, dword [ebx + 0x304]
mov eax, dword [esi + 4]
push 0
sub eax, ecx
push eax
lea eax, [ecx + edx]
push eax
push dword [ebx + 0x25c]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x42ea3d
add dword [ebx + 0x304], eax
mov eax, dword [ebx + 0x304]
cmp eax, dword [esi + 4]
jne 0x42eaa2
mov edi, dword [esi + 0xc]
mov ecx, ebx
mov esi, dword [esi + 0x10]
call fcn.0042eab0
mov dword [ebx + 0x304], 0
test edi, edi
je 0x42eaa2
mov ecx, dword [0x46d978]
push esi
push 0
push edi
mov ecx, dword [ecx]
call fcn.00424ea0
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.0042eab0
mov ecx, dword [ebx + 0x2ac]
xor al, al
mov byte [ebp - 1], al
test ecx, ecx
je 0x42eaa5
push 8
push 0
push ecx
mov ecx, dword [0x46d978]
mov ecx, dword [ecx]
call fcn.00424ea0
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push dword [ebx + 0x25c]
mov dword [ebx + 0x68], 1
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [0x46d978]
push 0
push 0x1388
push 0x66
mov ecx, dword [ecx]
push ebx
call fcn.00424dd0
mov ecx, ebx
call fcn.0042eab0
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431210
Capabilities:
Delete file
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 7
mov edi, ecx
mov dword [ebp - 0x10], 0
push connect
push edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x431268
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4312e6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00444549
add esp, 4
xor esi, esi
test ebx, ebx
je 0x4312e6
call fcn.00444528
push 0
push 0x80
push 3
push 0
push 7
push 0x40000000
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4312de
push ecx
mov edx, esi
mov ecx, edi
call fcn.00431430
add esp, 4
test al, al
je 0x4312d7
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x18]
inc esi
cmp esi, ebx
jb 0x431284
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043de43
mov esp, ebp
pop ebp
ret
Function at 0x431300
Capabilities:
Check if file exists
Delete file
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov byte [ebp - 5], 0
mov ebx, edx
push edi
test esi, esi
je 0x4313c1
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4313c1
lea eax, [ebp - 5]
mov edx, ebx
push eax
push ecx
mov ecx, esi
call fcn.00431a80
add esp, 8
test al, al
je 0x4313ae
xor edi, edi
push edi
push 0x80
push 3
push edi
push 7
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x431413
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00431430
add esp, 4
test al, al
je 0x431394
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push eax
push 1
lea eax, [ebp - 5]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
xor edi, edi
test esi, esi
je 0x431408
push edi
push 0x80
push 2
push edi
push 7
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x431408
lea eax, [ebp - 5]
xor edx, edx
push 1
push eax
mov ecx, ebx
call fcn.00431850
add esp, 8
mov ecx, 1
cmp eax, ecx
cmove edi, ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x431413
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043de43
mov esp, ebp
pop ebp
ret

Function at 0x431450
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x80
push 3
push 0
push 7
push connect
push ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4314a1
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [ebp - 0x10]
pop esi
call fcn.0043de43
mov esp, ebp
pop ebp
ret
Function at 0x431850
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 8], 0
test esi, esi
je 0x4318c4
test ebx, ebx
je 0x4318c4
cmp dword [ebp + 0xc], 0
je 0x4318c4
push ecx
call fcn.00431430
add esp, 4
test al, al
je 0x4318b1
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0043de43
mov esp, ebp
pop ebp
ret

Function at 0x4319f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 8], 0
test esi, esi
je 0x431a64
test ebx, ebx
je 0x431a64
cmp dword [ebp + 0xc], 0
je 0x431a64
push ecx
call fcn.00431430
add esp, 4
test al, al
je 0x431a51
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0043de43
mov esp, ebp
pop ebp
ret
Function at 0x431bb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0
push 0
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
test esi, esi
je 0x431c81
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea eax, [esi + esi]
push edi
push eax
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x431c05
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x431c0e
push edi
push eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test eax, eax
je 0x431c26
push eax
push edi
push str._s_s
call fcn.00430820
add esp, 0xc
jmp 0x431c38
rdtsc
push edx
push eax
push edi
push str._s_I64X
call fcn.00430820
add esp, 0x10
mov ecx, dword [ebp - 8]
mov esi, eax
test ecx, ecx
je 0x431c6c
push ecx
push esi
push str._s._s
call fcn.00430820
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
je 0x431c6c
test esi, esi
je 0x431c6a
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 8]
mov esi, eax
push edi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x431d00
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x248]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x431db6
push 0x104
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x431db8
movups xmm0, xmmword [str.B597B8EF3F3F4BDE683FEFEF65479B0E]
mov al, byte [0x463f08]
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x20], al
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [0x463ef8]
movups xmmword [ebp - 0x30], xmm0
call fcn.004323d0
lea eax, [ebp - 0x40]
mov byte [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x248]
push eax
push str._s_S.bin
push 0x104
push esi
call fcn.00401730
add esp, 0x14
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043de43
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x432190
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push edi
push 0x208
push 0
mov edi, ecx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x432269
push 0
push 0
push 3
push 0
push 3
push connect
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43225b
push 0
lea eax, [ebp - 8]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x2d1080
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x432233
push dword [ebp - 0x10]
push str.__PhysicalDrive_d
push 0x104
push esi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043de43
mov esp, ebp
pop ebp
ret