joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4197b9
Capabilities:
Clear file content
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x448008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 0x118], dx
lea ecx, [ebp - 0x110]
call fcn.0041976e
test al, al
je 0x41988c
push 4
pop edx
lea ecx, [ebp - 0x110]
call fcn.0040f98b
mov esi, eax
cmp esi, 0xffffffff
je 0x41988c
lea eax, [ebp - 0x11c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x11c]
xor ebx, ebx
or ebx, eax
mov dword [ebp - 0x11c], ecx
mov al, byte [edi]
xor edx, edx
push ecx
mov byte [ebp - 0x111], al
mov ecx, esi
mov al, byte [ebp + 8]
push ebx
mov byte [edi], al
call fcn.0040ee40
pop ecx
pop ecx
push 2
lea edx, [ebp - 0x118]
mov ecx, esi
call fcn.00401dab
test al, al
je 0x419864
movzx eax, word [ebp - 0x118]
mov edx, edi
push eax
mov ecx, esi
call fcn.00401dab
test al, al
jne 0x41987d
push dword [ebp - 0x11c]
xor edx, edx
mov ecx, esi
push ebx
call fcn.0040ee40
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x111]
mov byte [edi], al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a623
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0
push 2
pop esi
push esi
lea eax, [ebp - 4]
mov edi, ecx
push eax
mov ebx, edx
push edi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, esi
jne 0x419d1d
mov cx, word [ebp - 4]
cmp cx, 3
jb 0x419d1d
mov dword [ebp - 8], ebx
movzx ebx, cl
xor ebx, 0xffff
movzx esi, cx
movzx eax, bl
shr ebx, 8
push 0
push esi
xor ebx, dword [eax*4 + 0x45f0a8]
push dword [ebp - 0xc]
movzx eax, ch
xor ebx, eax
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x45f0a8]
jmp 0x419ce5
test eax, eax
jle 0x419d1d
cmp eax, esi
jge 0x419d1d
mov ecx, dword [ebp - 8]
sub esi, eax
push 0
add ecx, eax
push esi
mov dword [ebp - 8], ecx
push ecx
push edi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, esi
jne 0x419ccf
mov si, word [ebp - 4]
mov ecx, dword [ebp - 0xc]
movzx eax, bx
push eax
movzx edx, si
call fcn.0040ec88
xor ecx, ecx
cmp cx, ax
jne 0x419d15
push 2
pop eax
sub si, ax
mov ax, si
jmp 0x419d2a
mov eax, dword [ebp + 8]
or dword [eax], 0xffffffff
jmp 0x419d28
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x419d33
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, esi
mov dword [ebp - 4], ecx
sub edi, ebx
mov ecx, ebx
push 0x4555
mov edx, edi
call fcn.0040ec88
add edi, 2
mov word [esi], ax
mov eax, 0xd001baaa
mov edx, ebx
js 0x419d80
lea ecx, [edi + 4]
shr ecx, 2
xor dword [edx], eax
lea edx, [edx + 4]
test eax, eax
jns 0x419d79
add eax, eax
or eax, 1
jmp 0x419d7b
add eax, eax
sub ecx, 1
jne 0x419d69
push 0
push edi
push ebx
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_send]
sub eax, edi
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b26f
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x448008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x481f58], 0
push ebx
push esi
lea esi, [ebp - 0x110]
je 0x41b2af
mov ecx, 0x481f58
mov eax, esi
sub ecx, eax
lea eax, [ebp - 0xd]
cmp esi, eax
jae 0x41b2af
mov al, byte [ecx + esi]
mov byte [esi], al
inc esi
cmp byte [ecx + esi], 0
jne 0x41b29c
mov eax, str.Welcome.NxCore
mov byte [esi], 0
mov cl, 0x57
sub eax, esi
mov byte [esi], cl
inc esi
mov cl, byte [eax + esi]
test cl, cl
jne 0x41b2bb
mov byte [esi], cl
mov eax, esi
push 0x2e
pop ebx
mov ecx, str..new
mov dl, bl
sub ecx, esi
mov byte [eax], dl
inc eax
mov dl, byte [ecx + eax]
test dl, dl
jne 0x41b2d5
mov byte [eax], dl
lea ecx, [ebp - 0x110]
xor edx, edx
call fcn.0040ef12
test al, al
je 0x41b349
lea eax, [ebp - 0x110]
sub esi, eax
push esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0043a150
lea ecx, [ebp - 0x218]
mov edx, str..txt
add ecx, esi
add esp, 0xc
sub edx, ecx
mov byte [ecx], bl
inc ecx
mov al, byte [edx + ecx]
mov bl, al
test al, al
jne 0x41b31a
mov byte [ecx], al
lea eax, [ebp - 0x218]
push 3
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea ecx, [ebp - 0x218]
call fcn.0041b07b
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a623
mov esp, ebp
pop ebp
ret
Function at 0x41c0f8
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x448008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
lea edi, [edx - 1]
mov al, byte [esi]
inc esi
movzx eax, al
sub eax, 1
je 0x41c1b1
sub eax, 1
je 0x41c1a3
sub eax, 5
je 0x41c183
sub eax, 1
je 0x41c148
sub eax, 0x77
jne case.0x41c1c1.7
mov edx, edi
mov ecx, esi
call fcn.0041bf49
jmp case.0x41c1c1.7
cmp byte [esi], 0
mov al, byte [esi + 1]
jne case.0x41c1c1.7
cmp al, 2
ja case.0x41c1c1.7
cmp edi, 0x100
jg case.0x41c1c1.7
movzx eax, al
push edi
shl eax, 8
add eax, 0x45e930
push esi
push eax
call fcn.0043a150
add esp, 0xc
jmp case.0x41c1c1.7
inc byte [0x44a6ea]
mov edx, edi
push 0
mov ecx, esi
call fcn.004197b9
pop ecx
mov edx, edi
mov ecx, esi
call fcn.0041989d
jmp case.0x41c1c1.7
mov edx, edi
mov ecx, esi
call fcn.004193ac
jmp case.0x41c1c1.7
mov al, byte [esi]
inc esi
movzx eax, al
dec edi
cmp eax, 9
ja case.0x41c1c1.7
jmp dword [eax*4 + 0x41c308]
mov ecx, esi
call fcn.00418c5a
jmp case.0x41c1c1.7
mov edx, edi
mov ecx, esi
call fcn.00418dbb
jmp case.0x41c1c1.7
mov edx, edi
mov ecx, esi
call fcn.00418d62
mov esi, eax
cmp di, 0xc
jb 0x41c23e
mov ecx, dword [esi]
mov dword [0x44ac6c], ecx
cmp di, 0x10
jb 0x41c23e
mov ecx, dword [esi + 4]
call fcn.004150cc
cmp di, 0x12
jb 0x41c23e
movzx ebx, word [esi + 8]
cmp dword [0x44de54], ebx
jge 0x41c222
mov cl, 1
call fcn.00413421
mov dword [0x44de54], ebx
cmp di, 0x14
jb 0x41c23e
mov al, byte [esi + 0xa]
mov byte [0x44e398], al
mov al, byte [esi + 0xb]
mov byte [0x44e399], al
call fcn.00416897
jmp case.0x41c1c1.7
mov edx, edi
mov ecx, esi
call fcn.00418f9e
jmp case.0x41c1c1.7
mov ecx, esi
call fcn.00419261
jmp case.0x41c1c1.7
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x110]
mov edi, dword [esi + 0xc]
movzx ebx, word [esi + 0x10]
push 0
push 0
push dword [esi]
call fcn.00410153
test al, al
je case.0x41c1c1.7
mov dl, 1
lea ecx, [ebp - 0x110]
call fcn.004129b6
mov esi, eax
cmp esi, 0xffffffff
je case.0x41c1c1.7
mov eax, ebx
xor ecx, ecx
cdq
or edi, edx
or ecx, eax
push edi
push ecx
xor edx, edx
mov ecx, esi
call fcn.0040ee40
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x41c1c1.7
mov ecx, dword [esi + 4]
lea eax, [esi + 0x10]
mov edi, dword [esi]
mov edx, dword [esi + 8]
push eax
push ecx
push edi
xor eax, eax
or eax, dword [esi + 0xc]
push edx
push eax
call fcn.00420600
add esp, 0x14
test edi, 0x100
je case.0x41c1c1.7
push 5
pop ecx
cmp dword [0x481f54], ecx
cmovg ecx, dword [0x481f54]
mov dword [0x481f54], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a623
mov esp, ebp
pop ebp
ret
Function at 0x41c262
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x448008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
lea edi, [edx - 1]
mov al, byte [esi]
inc esi
movzx eax, al
sub eax, 1
je 0x41c1b1
sub eax, 1
je 0x41c1a3
sub eax, 5
je 0x41c183
sub eax, 1
je 0x41c148
sub eax, 0x77
jne case.0x41c1c1.7
mov edx, edi
mov ecx, esi
call fcn.0041bf49
jmp case.0x41c1c1.7
cmp byte [esi], 0
mov al, byte [esi + 1]
jne case.0x41c1c1.7
cmp al, 2
ja case.0x41c1c1.7
cmp edi, 0x100
jg case.0x41c1c1.7
movzx eax, al
push edi
shl eax, 8
add eax, 0x45e930
push esi
push eax
call fcn.0043a150
add esp, 0xc
jmp case.0x41c1c1.7
inc byte [0x44a6ea]
mov edx, edi
push 0
mov ecx, esi
call fcn.004197b9
pop ecx
mov edx, edi
mov ecx, esi
call fcn.0041989d
jmp case.0x41c1c1.7
mov edx, edi
mov ecx, esi
call fcn.004193ac
jmp case.0x41c1c1.7
mov al, byte [esi]
inc esi
movzx eax, al
dec edi
cmp eax, 9
ja case.0x41c1c1.7
jmp dword [eax*4 + 0x41c308]
mov ecx, esi
call fcn.00418c5a
jmp case.0x41c1c1.7
mov edx, edi
mov ecx, esi
call fcn.00418dbb
jmp case.0x41c1c1.7
mov edx, edi
mov ecx, esi
call fcn.00418d62
mov esi, eax
cmp di, 0xc
jb 0x41c23e
mov ecx, dword [esi]
mov dword [0x44ac6c], ecx
cmp di, 0x10
jb 0x41c23e
mov ecx, dword [esi + 4]
call fcn.004150cc
cmp di, 0x12
jb 0x41c23e
movzx ebx, word [esi + 8]
cmp dword [0x44de54], ebx
jge 0x41c222
mov cl, 1
call fcn.00413421
mov dword [0x44de54], ebx
cmp di, 0x14
jb 0x41c23e
mov al, byte [esi + 0xa]
mov byte [0x44e398], al
mov al, byte [esi + 0xb]
mov byte [0x44e399], al
call fcn.00416897
jmp case.0x41c1c1.7
mov edx, edi
mov ecx, esi
call fcn.00418f9e
jmp case.0x41c1c1.7
mov ecx, esi
call fcn.00419261
jmp case.0x41c1c1.7
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x110]
mov edi, dword [esi + 0xc]
movzx ebx, word [esi + 0x10]
push 0
push 0
push dword [esi]
call fcn.00410153
test al, al
je case.0x41c1c1.7
mov dl, 1
lea ecx, [ebp - 0x110]
call fcn.004129b6
mov esi, eax
cmp esi, 0xffffffff
je case.0x41c1c1.7
mov eax, ebx
xor ecx, ecx
cdq
or edi, edx
or ecx, eax
push edi
push ecx
xor edx, edx
mov ecx, esi
call fcn.0040ee40
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x41c1c1.7
mov ecx, dword [esi + 4]
lea eax, [esi + 0x10]
mov edi, dword [esi]
mov edx, dword [esi + 8]
push eax
push ecx
push edi
xor eax, eax
or eax, dword [esi + 0xc]
push edx
push eax
call fcn.00420600
add esp, 0x14
test edi, 0x100
je case.0x41c1c1.7
push 5
pop ecx
cmp dword [0x481f54], ecx
cmovg ecx, dword [0x481f54]
mov dword [0x481f54], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a623
mov esp, ebp
pop ebp
ret
Function at 0x41c330
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x448008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov bl, dl
xor edi, edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push 0xfa00
push 0x4c4b10
push dword [0x461c20]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x41c3af
lea edx, [ebp - 0x18]
mov ecx, 0x4c4b10
call fcn.0041bf17
mov esi, eax
test esi, esi
je 0x41c404
mov edx, dword [ebp - 0x18]
mov ecx, esi
call fcn.0041c0f8
test bl, bl
je 0x41c3a0
cmp byte [esi], 1
jne 0x41c3a0
cmp byte [esi + 1], 2
je 0x41c3ab
cmp dword [0x44de70], 1
jbe 0x41c347
jmp 0x41c404
mov al, 1
jmp 0x41c406
je 0x41c3b9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x41c3bb
mov eax, edi
test eax, eax
je 0x41c3fa
cmp eax, 0x2714
je 0x41c404
cmp eax, 0x2736
je 0x41c404
cmp eax, 0x2744
jle 0x41c3e2
cmp eax, 0x2746
jle 0x41c3fa
cmp eax, 0x274c
je 0x41c404
push eax
push str.Multicast_Client_error__d
push edi
push 0x200
push edi
push edi
call fcn.00420600
add esp, 0x18
jmp 0x41c404
mov ecx, 0x461c20
call fcn.0040fe11
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a623
mov esp, ebp
pop ebp
ret
Function at 0x41cf35
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x412c
call fcn.00439e70
mov eax, dword [0x448008]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0xc]
push ebx
push esi
mov byte [ebp - 0x4111], al
movzx eax, al
imul esi, eax, 0x188
mov dword [ebp - 0x4128], ecx
push edi
mov dword [ebp - 0x4124], edx
xor edi, edi
add esi, 0x44ad40
mov cl, byte [esi]
call fcn.0040f8eb
test eax, 0x3fffffc0
jne 0x41cf8b
or eax, 0xffffffff
jmp 0x41d118
push ecx
mov ecx, esi
call fcn.0040f040
mov ebx, eax
or eax, 0xffffffff
pop ecx
cmp ebx, eax
je 0x41d118
lea edx, [ebp - 0x110]
mov ecx, esi
call fcn.0042486f
and dword [ebp - 0x410c], edi
mov word [ebp - 0x410e], 0x2102
lea ecx, [eax + 1]
mov al, byte [esi + 0x184]
mov byte [ebp - 0x4108], al
mov al, byte [ebp - 0x4111]
mov byte [ebp - 0x4107], al
xor eax, eax
mov word [ebp - 0x4106], ax
lea eax, [ebp - 0x110]
movzx esi, cl
push esi
push eax
lea eax, [ebp - 0x4103]
mov byte [ebp - 0x4104], cl
push eax
call fcn.0043a150
and dword [ebp - 0x411c], edi
lea eax, [ebp - 0x4103]
add esp, 0xc
lea ecx, [ebp - 0x4118]
add eax, esi
lea esi, [ebp - 0x112]
sub esi, eax
mov dword [ebp - 0x4120], eax
push 0
push ecx
push esi
jmp 0x41d0b9
mov eax, dword [ebp - 0x4118]
cmp eax, esi
jae 0x41d03d
or byte [ebp - 0x410d], 6
add eax, dword [ebp - 0x4120]
mov edx, dword [ebp - 0x4124]
mov ecx, dword [ebp - 0x4128]
push eax
lea eax, [ebp - 0x4110]
push eax
push dword [ebp + 8]
call fcn.0041cefe
test al, al
je 0x41d129
push 0x14
pop ecx
call fcn.004104ad
cmp dword [ebp - 0x4118], esi
jb 0x41d0cc
mov eax, dword [ebp - 0x411c]
mov ecx, 0x3ff6
add eax, dword [ebp - 0x4118]
mov esi, ecx
mov dword [ebp - 0x411c], eax
mov dword [ebp - 0x410c], eax
lea eax, [ebp - 0x4108]
mov dword [ebp - 0x4120], eax
lea eax, [ebp - 0x4118]
push 0
push eax
mov byte [ebp - 0x410d], 0
lea eax, [ebp - 0x4108]
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41d02c
push 0xfffffffffffffffe
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, str.Complete
test edi, edi
mov eax, str.Failed
cmove eax, ecx
xor edx, edx
push eax
mov eax, dword [ebp - 0x4124]
push 0
mov ecx, dword [eax + 4]
call fcn.004285e1
push eax
lea eax, [ebp - 0x110]
push eax
push str.Send__s_to__s__s
push 1
mov eax, edi
cdq
push 0x200
push edx
push eax
call fcn.00420600
add esp, 0x20
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a623
mov esp, ebp
pop ebp
ret
push 0xfffffffffffffffd
jmp 0x41d0cb
Function at 0x41d1ed
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x930
mov eax, dword [0x448008]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [0x461c1c]
push ebx
mov dword [ebp - 0x920], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x930], edx
lea esi, [ebp - 0x906]
mov cl, byte [eax + 1]
mov dl, byte [eax]
mov ebx, dword [eax + 2]
mov edi, dword [eax + 6]
mov eax, ebx
mov dword [ebp - 0x918], ebx
mov word [ebp - 0x912], 0x301
mov byte [ebp - 0x910], dl
mov byte [ebp - 0x90f], cl
mov dword [ebp - 0x90e], eax
mov dword [ebp - 0x90a], edi
cmp cl, 1
jne 0x41d2a7
test dl, dl
je 0x41d33d
movzx ebx, dl
lea ecx, [ebp - 0x924]
mov edx, eax
push ecx
mov ecx, edi
call fcn.00412cdf
pop ecx
test eax, eax
je 0x41d284
mov ecx, dword [eax + 4]
movzx edx, word [eax + 8]
mov al, byte [eax + 0x29]
inc al
jmp 0x41d28a
xor ecx, ecx
xor edx, edx
xor al, al
mov dword [esi], ecx
mov word [esi + 4], dx
mov byte [esi + 6], al
add esi, 7
mov eax, dword [ebp - 0x918]
inc edi
sub ebx, 1
jne 0x41d261
jmp 0x41d33d
test dl, dl
je 0x41d33d
movzx ecx, dl
mov dword [ebp - 0x91c], ecx
lea ecx, [ebp - 0x924]
mov edx, eax
push ecx
mov ecx, edi
xor ebx, ebx
call fcn.00412cdf
pop ecx
test eax, eax
je 0x41d324
cmp byte [eax + 0x29], 3
jne 0x41d324
push ebx
push ebx
push dword [ebp - 0x918]
mov edx, edi
lea ecx, [ebp - 0x114]
call fcn.00410153
xor dl, dl
lea ecx, [ebp - 0x114]
call fcn.004129b6
mov dword [ebp - 0x92c], eax
cmp eax, 0xffffffff
je 0x41d324
lea ecx, [ebp - 0x928]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [ebp - 0x92c]
mov ecx, dword [ebp - 0x928]
or ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x918]
mov dword [esi], ebx
add esi, 4
inc edi
sub dword [ebp - 0x91c], 1
jne 0x41d2b8
mov edx, dword [ebp - 0x930]
lea eax, [ebp - 0x914]
mov ecx, dword [ebp - 0x920]
push esi
push eax
push dword [ebp + 8]
call fcn.0041cefe
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a623
mov esp, ebp
pop ebp
ret
Function at 0x41efac
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x445cd8
call fcn.0042b0a0
mov esi, ecx
push esi
push str.NxCore_Access_Terminating__code__d
push 1
push 8
xor edi, edi
push edi
push edi
call fcn.00420600
add esp, 0x18
push edi
mov edx, esi
mov ecx, 0x44ac4c
call fcn.0040eba3
test al, al
jne 0x41f000
cmp esi, 3
jne 0x41f21e
mov cl, 1
call fcn.0040fca0
mov cl, 1
call fcn.0041ef5c
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [0x44ac48], 2
cmp dword [0x482164], edi
je 0x41f026
mov dword [0x482164], edi
mov dword [0x48205c], edi
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
cmp esi, 2
jne 0x41f038
call fcn.0042a328
jmp 0x41f072
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
je 0x41f068
push 8
push 0x4e20
push edi
push 0x41ef91
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
cmp esi, 1
je 0x41f072
call fcn.0041ef35
call fcn.004124ed
mov esi, 0x461a20
push esi
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x41f093
call fcn.00412ff8
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [0x461a10]
mov esi, dword [sym.imp.KERNEL32.dll_SetEvent]
call esi
push dword [0x4619d0]
call esi
push dword [0x4619d4]
call esi
mov ecx, 0x461c1c
call fcn.0040fe11
mov ecx, 0x461c20
call fcn.0040fe11
push dword [0x461a14]
call esi
push dword [0x461a1c]
call esi
push dword [0x4619c0]
call esi
push dword [0x4619d8]
call esi
push dword [0x4619cc]
call esi
push dword [0x4619dc]
call esi
push dword [0x4619c8]
call esi
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call fcn.004292c5
mov ecx, 0x461a14
call fcn.0040ebca
mov ecx, 0x461a18
call fcn.0040ebca
call fcn.004242a4
cmp dword [0x45ec38], edi
je 0x41f13c
call fcn.00413aa2
call fcn.00412748
mov ecx, 0x461a1c
call fcn.0040ebca
mov ecx, 0x4619cc
call fcn.0040ebca
mov ecx, 0x4619d8
call fcn.0040ebca
mov ecx, 0x4619c0
call fcn.0040ebca
mov ecx, 0x4619c4
call fcn.0040ebca
mov ecx, 0x4619c8
call fcn.0040ebca
mov ecx, 0x4619d0
call fcn.0040ebca
mov ecx, 0x4619d4
call fcn.0040ebca
mov ecx, 0x461a10
call fcn.0040ebca
push 0x461a38
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call esi
push 0x45e7e0
call esi
push 0x4619f8
call esi
push 0x461a50
call esi
push 0x4619e0
call esi
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [ebp - 4], 0xfffffffe
jmp 0x41f1de
mov ecx, 0x4619b8
call fcn.0040ebca
mov cl, 1
call fcn.0040fca0
cmp dword [ebp - 0x1c], 0
je 0x41f1fe
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_UnregisterWait]
mov dword [0x44ac48], 3
mov eax, dword [0x483758]
test eax, eax
je 0x41f21e
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x483758], edi
call fcn.0042b0e6
ret
Function at 0x41f224
Capabilities:
Terminate process

Disassembly:
push 8
push 0x445cf8
call fcn.0042b0a0
cmp dword [0x44ac48], 1
ja 0x41f255
and dword [ebp - 4], 0
push 4
pop ecx
call fcn.0041efac
jmp 0x41f24e
mov dword [ebp - 4], 0xfffffffe
cmp dword [0x44ac48], 2
jne 0x41f269
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x44ac48], 3
jne 0x41f27a
mov al, 1
call fcn.0042b0e6
ret
mov cl, 1
call fcn.0041ef5c
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4209de
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x44
lea eax, [ebp - 0x54]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.0042c7b0
add esp, 0xc
mov dword [ebp - 0x54], 0x44
xor edx, edx
mov dword [ebp - 0x4c], str.WinSta0Default
cmp byte [ebp + 0xc], dl
lea eax, [ebp - 0x10]
mov ecx, 0x4004000
push eax
lea eax, [ebp - 0x54]
push eax
push edx
push edx
mov eax, 0x4000000
cmovne eax, ecx
push eax
push edx
push edx
push edx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x420a5e
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, 0x100601
call fcn.00429cd4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
push dword [ebp - 0xc]
call esi
cmp byte [ebp + 8], 0
jne 0x420a59
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x10]
jmp 0x420a60
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420a7f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x448008]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 8], esi
push edi
test dl, dl
je 0x420ae5
call fcn.00412189
cmp byte [0x44ac78], bl
je 0x420ac8
test dword [0x44e4a4], 0x10000000
je 0x420ac8
xor eax, eax
jmp 0x420ca6
cmp esi, 0xffffffff
je 0x420be9
test esi, esi
je 0x420b85
cmp esi, 1
jne 0x420ae5
cmp eax, 0x1000000
jne 0x420ac1
imul edi, esi, 0x188
lea ecx, [esp + 0x120]
mov esi, 0x44ad40
mov eax, str._a__
mov dl, 0x2d
add edi, esi
mov esi, ecx
sub eax, esi
mov esi, 0x44ad40
mov byte [ecx], dl
inc ecx
mov dl, byte [eax + ecx]
test dl, dl
jne 0x420b09
mov edx, edi
mov byte [ecx], bl
call fcn.0040e8eb
cmp dword [esp + 0xc], 1
lea edx, [esp + 0x120]
mov ecx, esi
mov dword [esp + 0x10], ebx
mov word [eax], 0x22
setne al
push eax
push eax
call fcn.004209de
mov dword [esp + 0x1c], eax
pop ecx
pop ecx
test eax, eax
je 0x420ca2
mov esi, dword [esp + 0xc]
cmp esi, 1
je 0x420ca2
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], ebx
jmp 0x420c30
push ebx
push 0x26
push str.ProgramPath
mov edx, str.NxCoreInstall
lea ecx, [esp + 0x24]
call fcn.00425218
lea edx, [esp + 0x18]
mov esi, 0x44ad40
add edx, eax
mov ecx, esi
call fcn.0042486f
lea edx, [esp + 0x18]
mov ecx, esi
call fcn.0040f1a3
test al, al
je 0x420be1
mov dl, 1
mov ecx, esi
call fcn.0040f1d2
mov al, byte [esp + 0x18]
test al, al
je 0x420bdf
lea edx, [esp + 0x18]
sub edx, esi
mov byte [esi], al
inc esi
mov cl, byte [edx + esi]
mov al, cl
test cl, cl
jne 0x420bd3
mov byte [esi], bl
xor eax, eax
inc eax
jmp 0x420ca6
mov ebx, dword [0x44ad3c]
xor esi, esi
test ebx, ebx
je 0x420c0c
mov edi, esi
test bl, 1
je 0x420c07
mov dl, 1
mov ecx, edi
call fcn.00420a7f
add esi, eax
inc edi
shr ebx, 1
jne 0x420bf7
mov eax, esi
jmp 0x420ca6
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0x14
jae 0x420cbb
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, edi
call fcn.0040ef12
test al, al
jne 0x420c13
mov dword [esp + 0x10], 1
mov dl, 0x5c
mov ecx, edi
call fcn.00428d83
test eax, eax
mov edx, str._failed__deleting
lea ecx, [eax + 1]
mov eax, 0x444f84
cmove ecx, edi
push ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
cmove eax, edx
xor edx, edx
push eax
push dword [esp + 0x14]
test ecx, ecx
push str.__d__Install_s__s
push 2
pop eax
cmovne eax, edx
push eax
push 0x104
push ebx
push dword [edi + 0x184]
call fcn.00420600
mov ecx, dword [0x44ad3c]
add esp, 0x20
btr ecx, esi
mov dword [0x44ad3c], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042a623
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x420c45