joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b5c0
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d786
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
test edi, edi
jne 0x41b5fb
xor eax, eax
jmp 0x41b73e
push 0x800
xorps xmm0, xmm0
mov dword [ebp - 0x818], 0
lea eax, [ebp - 0x810]
movq qword [ebp - 0x820], xmm0
push 0
push eax
movups xmmword [ebp - 0x830], xmm0
mov word [ebp - 0x814], 0
call fcn.0053f0a0
lea edx, [ebp - 0x810]
mov dword [ebp - 0x82c], 3
add esp, 0xc
mov ecx, edi
sub edx, edi
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x41b650
lea eax, [ebp - 0x810]
mov dword [ebp - 0x828], eax
mov eax, 0x614
mov word [ebp - 0x820], ax
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b739
push edi
call fcn.00418370
add esp, 4
test eax, eax
jne 0x41b739
lea ecx, [ebp - 0x834]
mov dword [ebp - 0x834], eax
call fcn.00411d80
push edi
lea ecx, [ebp - 0x838]
mov dword [ebp - 4], 0
call fcn.0040a2d0
lea eax, [ebp - 0x834]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x838]
push eax
call fcn.00418010
mov edx, dword [ebp - 0x838]
add esp, 8
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41b703
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
test esi, esi
mov esi, dword [ebp - 0x834]
push 0
je 0x41b714
push esi
jmp 0x41b715
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41b735
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
jmp 0x41b73e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret
Function at 0x41b760
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0x44
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x48]
push edi
push eax
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x1c], 1
je 0x41b7c2
xor eax, eax
jmp 0x41b7c7
mov eax, 1
mov word [ebp - 0x18], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
movups xmmword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x41b80b
push dword [ebp - 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x58]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret
Function at 0x41cc10
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x41ce25
push ebx
push edi
cmp eax, 0x7c
je 0x41ce23
cmp eax, 0x29
jne 0x41cc51
cmp dword [esi + 0x10], 0
jne 0x41ce23
cmp eax, eax
jne 0x41cc51
test dword [esi + 0x50], 0x10000000
je 0x41ce32
jmp 0x41cddc
cmp eax, 0x2e
jne 0x41ccab
push 5
lea ecx, [esi + 0x24]
call fcn.0041f370
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x41cc9f
cmp byte [eax], 0x5c
jne 0x41cc9c
lea ecx, [eax + 1]
cmp ecx, edx
je 0x41cc9c
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x41cc89
mov bl, byte [ecx]
cmp bl, 0x28
je 0x41cc9a
cmp bl, 0x29
je 0x41cc9a
test dl, 0x10
jne 0x41cc9c
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x41cc9a
cmp dl, 0x7d
jne 0x41cc9c
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0041f830
jmp 0x41ce0e
cmp eax, 0x5c
jne 0x41cd07
mov ecx, esi
call fcn.0041f3f0
test byte [esi + 0x50], 0x80
je 0x41ccfb
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x41ccda
push 4
lea ecx, [esi + 0x24]
call fcn.0041f370
mov ecx, esi
call fcn.0041f3f0
jmp 0x41ce15
cmp al, 0x42
jne 0x41ccfb
push 4
lea ecx, [esi + 0x24]
call fcn.0041f370
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0041f3f0
jmp 0x41ce15
mov ecx, esi
call fcn.0041ce50
jmp 0x41ce0e
cmp eax, 0x5b
jne 0x41cd68
mov ecx, esi
call fcn.0041f3f0
lea ecx, [esi + 0x24]
call fcn.0041c180
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x41cd34
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0041f3f0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x41cd52
cmp eax, 0x5d
jne 0x41cd52
push eax
lea ecx, [esi + 0x24]
call fcn.0041c110
mov ecx, esi
call fcn.0041f3f0
mov ecx, esi
call fcn.0041d9c0
cmp dword [esi + 0x4c], 0x5d
jne 0x41ce3b
jmp 0x41ce07
cmp eax, 0x28
jne 0x41cd98
mov ecx, esi
call fcn.0041f3f0
mov ecx, esi
call fcn.0041fad0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x41ce32
mov ecx, esi
call fcn.0041f3f0
test bl, bl
je 0x41ce15
jmp 0x41ce0e
cmp eax, 0x5e
jne 0x41cdb0
push 2
lea ecx, [esi + 0x24]
call fcn.0041f370
mov ecx, esi
call fcn.0041f3f0
jmp 0x41ce15
cmp eax, 0x24
jne 0x41cdc8
push 3
lea ecx, [esi + 0x24]
call fcn.0041f370
mov ecx, esi
call fcn.0041f3f0
jmp 0x41ce15
cmp eax, 0x2a
je 0x41ce29
cmp eax, 0x2b
je 0x41ce29
cmp eax, 0x3f
je 0x41ce29
cmp eax, 0x7b
je 0x41ce29
cmp eax, 0x7d
jne 0x41cdec
test dword [esi + 0x50], 0x10000000
je 0x41ce44
jmp 0x41cdfa
cmp eax, 0x5d
jne 0x41cdfa
test dword [esi + 0x50], 0x10000000
je 0x41ce3b
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0041c000
mov ecx, esi
call fcn.0041f3f0
mov ecx, esi
call fcn.0041f450
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x41cc23
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.0041eac0
push 5
mov ecx, esi
call fcn.0041eac0
push 4
mov ecx, esi
call fcn.0041eac0
push 6
mov ecx, esi
call fcn.0041eac0
int3
Function at 0x41eb00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56be40
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5cc6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004f9dfc
mov edi, eax
add esp, 4
test edi, edi
je 0x41ebb2
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00460ee0
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x420070
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x4200a1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x420090
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x421310
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [edi + 0x1c], 0x10
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x421334
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x421351
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x421340
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x42138a
cmp eax, edi
jne 0x421382
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x421392
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x421392
cmp eax, edi
jne 0x421392
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.004215d0
push 0x48
push edi
call fcn.004f9e2c
mov eax, dword [ebp - 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x421a70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56dbcb
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x21c], edi
call fcn.0053f0a0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [esi + 0x20]
push 0x104
push eax
push 0x5805ec
push str.main_url
push str.test
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.004062e0
mov ecx, eax
test ecx, ecx
je 0x421b5d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004088d0
test al, al
jne 0x421b3e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421b20
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00406810
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004061e0
int3
Function at 0x422820
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
mov dword [ebp - 8], ebx
jb 0x42283f
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x422861
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x422850
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebp - 0x10], eax
cmp edx, ebx
jne 0x42288b
mov eax, ebx
jmp 0x42288f
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x422934
cmp dword [edi + 0x14], 0x10
lea eax, [esi + 8]
mov edx, edi
jb 0x4228a4
mov edx, dword [edi]
cmp dword [eax + 0x14], 0x10
mov edi, dword [eax + 0x10]
jb 0x4228af
mov eax, dword [eax]
cmp edi, dword [ebp - 8]
jne 0x422910
sub edi, 4
jb 0x4228d1
nop dword [eax]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x4228d6
add eax, 4
add edx, 4
sub edi, 4
jae 0x4228c0
cmp edi, 0xfffffffc
je 0x42290a
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x422903
cmp edi, 0xfffffffd
je 0x42290a
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x422903
cmp edi, 0xfffffffe
je 0x42290a
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x422903
cmp edi, 0xffffffff
je 0x42290a
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
je 0x42290a
sbb eax, eax
or eax, 1
jmp 0x42290c
xor eax, eax
test eax, eax
je 0x422920
mov esi, dword [esi]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
jmp 0x422883
mov ecx, dword [ebp - 4]
lea eax, [esi + 8]
push eax
push dword [ebp + 0xc]
call fcn.004216f0
test al, al
cmove ebx, esi
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x425290
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56cb6b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x4252c7
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [ebp - 0x12c]
call fcn.00415d70
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425300
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00406a80
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x425332
push eax
call fcn.00542a31
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 8
jb 0x42537c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x425372
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42539a
push edx
push ecx
call fcn.004f9e2c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 4
call fcn.00542930
int3
Function at 0x42b380
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5b9ea0
push 0x53f860
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x5cc6c0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push 0x2b4
push 0
lea eax, [ebp - 0x2d0]
push eax
call fcn.0053f0a0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42b3e1
mov esi, dword [esi]
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 0x2d4], 0
lea eax, [ebp - 0x2d4]
push eax
push 0x585d48
push 2
call dword [sym.imp.SHELL32.dll_SHGetImageList]
mov dword [ebp - 0x2dc], eax
xor ecx, ecx
mov dword [ebp - 0x2d8], ecx
test eax, eax
jne 0x42b472
mov edx, dword [ebp - 0x2cc]
test edx, edx
je 0x42b45a
mov ecx, dword [ebp - 0x2d4]
mov eax, dword [ecx]
lea esi, [ebp - 0x2d8]
push esi
push 0
push edx
push ecx
call dword [eax + 0x28]
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2d8]
test eax, eax
jne 0x42b472
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
jmp 0x42b47b
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 4
Function at 0x42dbe0
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
imul esi, ebx, 0x4058
mov edi, ecx
add esi, edi
push esi
push dword [esi + 0x28]
mov dword [esi + 0x4038], 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x42dc2b
mov byte [esi + 0x2c], 0
mov dword [esi + 0x4038], 1
mov ecx, dword [edi + 0x80ec]
test ecx, ecx
je 0x42dc2b
mov eax, dword [ecx]
push 0
push ebx
push edi
call dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x42dc59
cmp eax, 0x3e5
je 0x42dc48
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
pop edi
mov byte [esi + 0x2c], 1
mov al, 1
mov byte [esi + 0x2d], 0
pop esi
pop ebx
pop ebp
ret 4
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
mov byte [esi + 0x2d], 0
mov al, 1
pop esi
pop ebx
pop ebp
ret 4

Function at 0x42dc70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 4], 0xffffffff
je 0x42dcdb
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x42dcb7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi]
call edi
mov dword [esi], 0xffffffff
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x42dcc9
push eax
call edi
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x42dcdb
push eax
call edi
mov dword [esi + 8], 0xffffffff
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x42dd17
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 4
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42dd20
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esi + 0x10]
call fcn.00406a80
push 0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 2
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x42dd5f
mov eax, dword [ecx]
push 0
push esi
call dword [eax]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp byte [esi + 0x28], 0
mov dword [esi + 8], eax
jne 0x42ddbb
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push 0x42e4e0
push 0
push 0
call fcn.00550e5b
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x42ddbb
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x42dda6
push eax
call edi
mov dword [esi + 4], 0xffffffff
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 4
Function at 0x42e140
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
imul edi, ebx, 0x4058
mov esi, ecx
mov dword [ebp - 8], 0
add edi, esi
cmp byte [edi + 0x2c], 0
je 0x42e21e
push 0
lea eax, [ebp - 8]
push eax
push edi
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [edi + 0x4038]
sub ecx, 0
je 0x42e1fa
sub ecx, 1
jne 0x42e21e
test eax, eax
je 0x42e1bd
mov eax, dword [ebp - 8]
test eax, eax
je 0x42e1bd
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x42e21e
mov edx, dword [ecx]
push 0
push eax
lea eax, [edi + 0x38]
push eax
push ebx
push esi
call dword [edx + 8]
jmp 0x42e21e
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.0042dbe0
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x42e280
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 4]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 4
test eax, eax
je 0x42e2b9
mov dword [edi + 0x4038], 1
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x42e21e
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax]
push 0x2000
lea eax, [edi + 0x38]
push 0
push eax
call fcn.0053f0a0
add esp, 0xc
lea eax, [edi + 0x30]
push edi
push eax
push 0x2000
lea eax, [edi + 0x38]
push eax
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42e250
xor al, al
jmp 0x42e25f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42e295
mov al, 1
mov byte [edi + 0x2c], al
test al, al
jne 0x42e280
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x42e280
mov eax, dword [ecx]
lea edx, [edi + 0x38]
push 0
push dword [edi + 0x30]
push edx
push ebx
push esi
call dword [eax + 8]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 4
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.0042dbe0
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x42e2b9
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 4]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 4

Function at 0x42e670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
mov esi, ecx
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42e6b7
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x42e6c6
mov eax, dword [ecx]
push 0
push esi
call dword [eax + 0xc]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 8
Function at 0x42e6e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
imul edx, ebx, 0x4058
mov esi, ecx
mov ecx, dword [ebp + 0xc]
add edx, esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], edx
lea eax, [edx + 0x14]
imul edi, ebx, 0x4058
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push ecx
push dword [edx + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add edi, esi
test eax, eax
je 0x42e732
xor al, al
jmp 0x42e741
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42e77e
mov al, 1
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x2d], al
cmp byte [edi + 0x2d], 0
jne 0x42e769
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x42e769
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.0042dbe0
test al, al
jne 0x42e769
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42fe50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
xor eax, eax
mov dword [ebp - 0x44], 0x7a0059
push edi
mov dword [ebp - 0x40], 0x420059
mov dword [ebp - 0x3c], 0x430075
mov dword [ebp - 0x38], 0x430073
mov dword [ebp - 0x34], 0x50004b
mov dword [ebp - 0x30], 0x530061
mov dword [ebp - 0x2c], 0x69004d
mov dword [ebp - 0x28], 0x4d0076
mov dword [ebp - 0x24], 0x4c0036
mov dword [ebp - 0x20], 0x490069
mov dword [ebp - 0x1c], 0x570065
mov dword [ebp - 0x18], 0x4b0049
mov dword [ebp - 0x14], 0x780045
mov dword [ebp - 0x10], 0x4a0074
mov dword [ebp - 0xc], 0x770069
mov dword [ebp - 8], 0x4e0057
mov word [ebp - 4], ax
call fcn.004062e0
mov ecx, eax
test ecx, ecx
je 0x42ff28
mov eax, dword [ecx]
push 2
push 0x20
call dword [eax]
test eax, eax
je 0x42ff32
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x20
jl 0x42ff1e
mov dword [eax - 0xc], 0x20
xor eax, eax
mov ecx, dword [esi]
push 0x40
mov word [ecx + 0x40], ax
lea eax, [ebp - 0x44]
push eax
push 0x40
push dword [esi]
call fcn.00406ba0
add esp, 0x10
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004061e0
push 0x80004005
call fcn.004061e0
call fcn.004069a0
int3