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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x108
call fcn.00527adc
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x54ca32
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
push 0x108
call fcn.00527adc
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x54ca32
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 4]
xor eax, 0x12476359
mov dword [ebp + 4], eax
push eax
mov eax, dword [ebp]
xor eax, 0x97815643
mov dword [ebp], eax
push eax
mov ebx, dword [ebp - 4]
call fcn.0050ca4d
mov eax, 0
cmp eax, ecx
jl 0x50cb05
push 0x20b
push 0x4011022
push 1
call fcn.00527af4
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov ebx, dword [ebp - 8]
call fcn.0050ca4d
mov eax, 0
cmp eax, ecx
jl 0x50cb38
push 0x234
push 0x4011022
push 1
call fcn.00527af4
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, 0x100
xor ebx, ebx
sub bl, cl
mov byte [ebx + eax], bl
loop 0x50cb4e
push eax
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov esi, dword [ebp - 8]
add esi, 8
mov ecx, 0x100
xor ebx, ebx
cmp ebx, edi
jb 0x50cb76
xor ebx, ebx
mov ah, byte [ebx + edx]
mov byte [esi], ah
inc esi
inc ebx
loop 0x50cb70
pop edi
xor ebx, ebx
sub esi, 0x100
xor eax, eax
mov ecx, 0x100
mov dl, byte [eax + esi]
add bl, dl
mov dl, byte [eax + edi]
add bl, dl
mov dl, byte [eax + edi]
mov dh, byte [ebx + edi]
mov byte [eax + edi], dh
mov byte [ebx + edi], dl
inc eax
loop 0x50cb8f
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
add esi, 8
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.005289d0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x50cbeb
push ebx
call fcn.00527ad6
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, 8
xor eax, eax
xor ebx, ebx
push ecx
movzx ecx, al
inc cl
push edx
mov dh, byte [ecx + edi]
add bl, dh
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
mov byte [ebx + edi], dh
add dl, dh
movzx edx, dl
mov dl, byte [edx + edi]
mov cl, byte [eax + esi]
xor cl, dl
pop edx
mov byte [eax + edx], cl
inc eax
pop ecx
loop 0x50cc00
push eax
pushfd
mov eax, dword [esp + 8]
xor eax, 0x97815643
mov dword [ebp], eax
mov eax, dword [esp + 0xc]
xor eax, 0x12476359
mov dword [ebp + 4], eax
xchg dword [esp + 4], eax
popfd
pop eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.00527ad6
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.00527ad6
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x529450
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x52946e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x529463
pop esi
ret

Function at 0x52cb0a
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0052cb89
jae 0x52cb16
xor ecx, ecx
call fcn.0052cb89
jae 0x52cb40
xor eax, eax
call fcn.0052cb89
jae 0x52cb51
mov al, 0x10
call fcn.0052cb89
adc al, al
jae 0x52cb32
jne 0x52cb7e
stosb byte es:[edi], al
jmp 0x52cb17
call fcn.0052cb95
dec ecx
loop 0x52cb5d
mov eax, ebp
call fcn.0052cb93
jmp 0x52cb7f
lodsb al, byte [esi]
shr eax, 1
je 0x52cba5
adc ecx, 2
mov ebp, eax
jmp 0x52cb7f
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0052cb93
cmp eax, 0x7d00
jae 0x52cb7d
cmp eax, 0x500
jae 0x52cb7e
cmp eax, 0x7f
ja 0x52cb7f
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x52cb17
pop ebp
ret 8

Function at 0x56af49
Capabilities:
Check for software breakpoints
Encode data using base64

Disassembly:
push dword [esp + 4]
popfd
lea esp, [esp + 0x10]
call fcn.006ab7ba

Function at 0x59320f
Capabilities:
Check for software breakpoints
Check http status code
Encode data using base64
Parse pe header

Disassembly:
mov eax, dword [eax + 4]
test edi, 0x66113c46
cmp eax, 0x42792bda
add eax, 8
push eax
call fcn.00527adc
pop ecx
pop esi
mov bx, dx
xchg bx, di
mov edi, eax
movsx ebx, cx
bswap bx
mov bx, 0x331a
rep movsb byte es:[edi], byte [esi]
not bl
sete bl
bswap esi
pop edi
pop esi
movzx cx, ah
stosd dword es:[edi], eax
bswap cx
movsx ebx, bp
cbw
mov ecx, 3
movsx ebx, cx
rep movsd dword es:[edi], dword [esi]
pop eax
sbb edi, edi
pop edi
mov dword [edi], eax
rcl bh, cl
shr ebx, cl
cmp ebp, eax
mov ebx, dword [ebp - 0x70]
clc
push ebx
cmp edi, 0x29803894
jmp 0x591f80
add ebx, 4
stc
clc
push ebx
test sp, 0x440e
mov ebx, dword [ebx]
test ebx, ebx
je 0x591fa0
push ebx
call fcn.00527ad6
add esp, 4
xchg bl, bl
pop ebx
call fcn.00527ad6
add esp, 4
cwde
not ax
push dword [esp + 0x30]
popfd
lea esp, [esp + 0x40]
call fcn.0056e963
stosd dword es:[edi], eax
movzx ax, cl
lodsd eax, dword [esi]
push esi
clc
cmc
push edi
clc
test sp, bx
test eax, 0x3e303414
test eax, eax
je 0x588482
push eax
jmp 0x58844e

Function at 0x5e3aac
Capabilities:
Authenticate hmac

Disassembly:
mov dword [ebp - 4], 0
jmp 0x66a11b
stosd dword es:[edi], eax
lodsd eax, dword [esi]
jmp 0x6435fa
push ebp
mov ebp, esp
sub esp, 0x98
jmp 0x5b1af7
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x5b024d
stosd dword es:[edi], eax
jmp 0x64578d
mov dword [ebp - 0xc], 0
jmp 0x5f92fb
push 8
call fcn.00527adc
add esp, 4
xchg di, si
movsx edi, cx
mov dword [ebp - 8], eax
movsx esi, bp
mov edi, eax
cbw
mov esi, 0x52c23e
movsx ax, dh
lodsd eax, dword [esi]
jmp 0x5e1869
Function at 0x6ac9aa
Capabilities:
Authenticate hmac

Disassembly:
push esi
pushfd
mov esi, 0x149741e
call fcn.006433ea
Function at 0x6d51b2
Capabilities:
Authenticate hmac
Encode data using base64
Parse pe header

Disassembly:
xor dword [esp + 0xc], 0x1b9e1148
push dword [esp + 8]
popfd
lea esp, [esp + 0x10]
call fcn.00643a05
push esi
jne 0x5e7e59
cmc

Function at 0x6df693
Capabilities:
Check for software breakpoints
Check http status code
Encode data using base64
Parse pe header

Disassembly:
push dword [esp + 0x10]
popfd
lea esp, [esp + 0x20]
call fcn.005afb0b

Function at 0x6e1071
Capabilities:
Check for software breakpoints
Check http status code
Encode data using base64
Parse pe header

Disassembly:
mov dword [esp + 4], 0xfd091814
pushfd
call fcn.0050dbf7
Function at 0x4010e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4010f9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40110d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40112e
cmp esi, eax
jae 0x401107
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401120
cmp esi, eax
jae 0x401107
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4018d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41a2db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 8], edi
call fcn.00411911
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
cmp dword [esi + 0x40], 1
mov dword [esp + 0x814], edi
jge 0x40191e
mov eax, dword [esp + 0x824]
jmp 0x40194a
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0x824]
mov edx, dword [esp + 0x820]
mov esi, dword [esi + 0x4c]
push eax
push 0x800
lea eax, [esp + 0x14]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00401890
mov esi, dword [esp + 0x10]
add esi, 0xfffffff0
push esi
call fcn.00401320
mov edi, dword [esp + 0x828]
add eax, 0x10
mov dword [edi], eax
add esp, 0xc
mov dword [esp + 0x814], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x401993
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x80c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x810
ret 0xc
Function at 0x401a60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41a329
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00411911
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
lea eax, [esi + 0x20]
push eax
mov ecx, esi
mov dword [esp + 0x224], 0
call fcn.00401610
mov eax, dword [esi + 0x40]
mov ebp, 1
cmp eax, ebp
jl 0x401b4d
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebp
lea eax, [esp + 0x14]
push 0x41b464
push eax
call fcn.00401890
mov edi, dword [esi + 0x44]
add esp, 0xc
lea ecx, [ebp - 1]
push ecx
lea ecx, [esi + 4]
call fcn.00411281
test eax, eax
je 0x401b8b
mov edx, dword [eax + 8]
mov eax, dword [edx]
mov ecx, dword [esi + 0x4c]
push edi
mov edi, dword [esp + 0x14]
push 0x200
lea edx, [esp + 0x20]
push edx
push eax
push edi
push ecx
call ebx
push 4
call fcn.004119e6
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x220], 1
je 0x401b2e
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.004019b0
jmp 0x401b30
xor eax, eax
push eax
lea ecx, [esi + 0x20]
mov byte [esp + 0x224], 0
call fcn.00411323
mov eax, dword [esi + 0x40]
inc ebp
cmp ebp, eax
jle 0x401ac0
lea eax, [edi - 0x10]
mov dword [esp + 0x220], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401b72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x214
ret
jmp fcn.00411201
Function at 0x401be0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41a359
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00411911
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea ebp, [esi + 4]
push ebp
mov ecx, esi
mov dword [esp + 0xec], 0
call fcn.00401610
mov edi, 1
push edi
lea eax, [esp + 0x14]
push 0x41b480
push eax
mov dword [esi + 0x3c], 0xffffffff
call fcn.00401890
mov eax, dword [esi + 0x44]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x48]
add esp, 0xc
push eax
push 0xc8
lea edx, [esp + 0x20]
push edx
push 0x41b47c
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x401d4d
push 4
call fcn.004119e6
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xe8], 1
je 0x401c9b
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.004019b0
jmp 0x401c9d
xor eax, eax
push eax
mov ecx, ebp
mov byte [esp + 0xec], 0
call fcn.00411323
inc edi
push edi
lea edx, [esp + 0x14]
push 0x41b480
push edx
call fcn.00401890
mov eax, dword [esi + 0x44]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x48]
add esp, 0xc
push eax
push 0xc8
lea eax, [esp + 0x20]
push eax
push 0x41b47c
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
ja 0x401c73
cmp edi, 1
jle 0x401d4d
dec edi
cmp edi, 1
mov dword [esi + 0x40], edi
jl 0x401d21
push 0
mov ecx, ebp
mov dword [esi + 0x3c], 1
call fcn.00411281
test eax, eax
jne 0x401d0e
jmp fcn.00411201
mov eax, dword [eax + 8]
lea ecx, [esi + 0x4c]
push eax
call fcn.00401700
mov ecx, esi
call fcn.00401a60
add ebx, 0xfffffff0
mov dword [esp + 0xe8], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401d46
mov ecx, dword [ebx]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov eax, 1
jmp 0x401d7b
add ebx, 0xfffffff0
mov dword [esi + 0x40], 0
mov dword [esp + 0xe8], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401d79
mov ecx, dword [ebx]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
xor eax, eax
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xdc
ret
Function at 0x401e20
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x180
push esi
push edi
xor eax, eax
mov byte [esp + 8], 0
mov ecx, 0x1f
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x88], 0
mov ecx, 0x3f
lea edi, [esp + 0x89]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x80
lea eax, [esp + 0xc]
push eax
push 0x41b590
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x8c]
push 0x41b578
push edx
call fcn.00405205
lea eax, [esp + 0x94]
push eax
push 0x41b574
push 0x4587a0
call fcn.00405205
lea ecx, [esp + 0xa0]
push 0x41b570
push ecx
call fcn.004051f2
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x401ec5
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
push 0xec4
push 1
push str.__________________________________________________________________________________________________r_n__TDC_NetConnector.ini_____________________________________________________________________t_t__r_n________________________________________________________________________________t_t_t__r_n__TDC_NetConnector_Multilanguage_Information_File_for_Single_Byte_Character_Set_t__r_n________________________________________________________________________________t_t_t__r_n__Company:_TDC_________________________________________t_t_t__r_n__Author_:_Andy_________________________________________________________________t_t_t__r_n__Date___:_2009_12_02___________________________________________________________t_t_t__r_n__________________________________________________________________________________________________r_n_r_n______________________________________________________________r_n_LANGUAGES__r_nLanguage_1_SectionEnglish_r_nLanguage_2_SectionDanish_r_n_r_n_r_n_English__r_nLanguage_1_Description_tEnglish_r_nLanguage_2_Description_tDanish_r_n_r_n__for_shortcut_name_r_nST_WEBDISK_TITLE_t_tTDC_HomeDisk_r_nST_HTTP_TITLE_t_t_tTDC_HomeDisk_Media_Player_r_n_r_n__for_shortcut_mouse_over_tip_r_nST_WEBDISK_DESCRIPTION_tTDC_HomeDisk_Network_Drive_r_nST_HTTP_DESCRIPTION_t_tTDC_HomeDisk_Media_Player_r_n_r_n__error_messages_r_nST_MSG_SUCCESS_t_t_tNetwork_drive_created._r_nST_MSG_NO_AVAIL_DRIVE_tFailed_to_create_network_drive_r_n_r_n__others_r_nST_SSO_AUTHENTICATION_tSSO_Authentication_r_n_r_n_r_n_Danish__r_nLanguage_1_Description_tEnglish_r_nLanguage_2_Description_tDanish_r_n_r_n__for_shortcut_name_r_nST_WEBDISK_TITLE_t_tTDC_HomeDisk_r_nST_HTTP_TITLE_t_t_tTDC_HomeDisk_Medieafspiller_r_n_r_n__for_shortcut_mouse_over_tip_r_nST_WEBDISK_DESCRIPTION_tTDC_HomeDisk_Netv
call fcn.0040514a
push esi
call fcn.00404ff2
add esp, 0x14
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401ef0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x180
push esi
push edi
xor eax, eax
xor dl, dl
mov byte [esp + 8], dl
mov ecx, 0x1f
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x88], dl
mov ecx, 0x3f
lea edi, [esp + 0x89]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x80
lea eax, [esp + 0xc]
push eax
push 0x41b590
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x8c]
push 0x41b598
push edx
call fcn.00405205
lea eax, [esp + 0x94]
push eax
push 0x41b574
push 0x4586a0
call fcn.00405205
lea ecx, [esp + 0xa0]
push 0x41b570
push ecx
call fcn.004051f2
mov esi, eax
push esi
push 0xa000
push 1
push 0x421098
call fcn.0040514a
push esi
call fcn.00404ff2
add esp, 0x34
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401fb0
Capabilities:
Delete file
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30c
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x18], bl
mov ecx, 0x3f
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x118], bl
mov ecx, 0x7f
lea edi, [esp + 0x119]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x1ff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x402046
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push str.Startup
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x41b47c
lea esi, [esp + 0x118]
mov ecx, 1
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x402071
lea ecx, [esp + 0x18]
push str.C:NCReconnector.exe
push ecx
call fcn.00405205
add esp, 8
jmp 0x4020b0
lea edx, [esp + 0x118]
push edx
lea eax, [esp + 0x1c]
push str._sNetConnector.bat
push eax
call fcn.00405205
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x118]
push edx
lea eax, [esp + 0x1c]
push str._sNCReconnector.exe
push eax
call fcn.00405205
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 0x41b574
push 0x4588a0
call fcn.00405205
add esp, 0xc
mov eax, 0x42bf60
xor edx, edx
mov edi, edi
mov ecx, 2
mov edi, 0x41b5a8
mov esi, eax
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
je 0x4020ee
inc eax
inc edx
cmp edx, 0x2aff8
jb 0x4020d0
jmp 0x4020fb
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
lea edx, [esp + 0x18]
push 0x41b570
push edx
call fcn.004051f2
mov esi, eax
push esi
push 0x2b000
push 1
push 0x42bf60
call fcn.0040514a
push esi
call fcn.00404ff2
add esp, 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402e30
Capabilities:
Get common file path

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp + 4]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x402ec3
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x402ec3
lea ecx, [esp]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov ecx, dword [esp + 4]
mov eax, dword [esp]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [esp]
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402e88
push esi
mov esi, dword [esp + 0x118]
sub eax, edx
push eax
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00401570
push 1
push 0x41b7dc
mov ecx, esi
call fcn.00402c70
mov eax, 1
pop esi
add esp, 0x10c
ret 8
xor eax, eax
add esp, 0x10c
ret 8
Function at 0x405811
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00405a00
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4058ac
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x45aa00]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4058ac
cmp eax, 1
je 0x4058cd
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4058ac
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x405879
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4058a8
xor eax, eax
inc eax
jmp 0x4058ec
cmp edi, eax
jae 0x4058b0
xor eax, eax
jmp 0x4058ec
cmp eax, esi
jae 0x4058b7
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x45aa00]
jmp 0x4058d0
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405a86
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x41cc20
call fcn.00406ae4
mov edi, 0x94
mov eax, edi
call fcn.00405a00
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x45aa00], ecx
mov eax, dword [esi + 4]
mov dword [0x45aa0c], eax
mov edx, dword [esi + 8]
mov dword [0x45aa10], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x45aa04], esi
cmp ecx, 2
je 0x405ae6
or esi, 0x8000
mov dword [0x45aa04], esi
shl eax, 8
add eax, edx
mov dword [0x45aa08], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x405b21
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x405b21
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x405b39
cmp eax, 0x20b
je 0x405b26
mov dword [ebp - 0x1c], esi
jmp 0x405b4d
cmp dword [ecx + 0x84], 0xe
jbe 0x405b21
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x405b47
cmp dword [ecx + 0x74], 0xe
jbe 0x405b21
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00409cb6
pop ecx
test eax, eax
jne 0x405b61
push 0x1c
call fcn.00405a62
pop ecx
call fcn.00408866
test eax, eax
jne 0x405b72
push 0x10
call fcn.00405a62
pop ecx
call fcn.0040b3d5
mov dword [ebp - 4], esi
call fcn.0040b1d7
test eax, eax
jge 0x405b8b
push 0x1b
call fcn.00405a3d
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x45c2d0], eax
call fcn.0040b0b5
mov dword [0x45a9f0], eax
call fcn.0040b013
test eax, eax
jge 0x405bb1
push 8
call fcn.00405a3d
pop ecx
call fcn.0040ade0
test eax, eax
jge 0x405bc2
push 9
call fcn.00405a3d
pop ecx
push 1
call fcn.004063bc
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x405bd8
push eax
call fcn.00405a3d
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0040ad83
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x405bf9
movzx eax, word [ebp - 0x40]
jmp 0x405bfc
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00411138
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x405c1a
push edi
call fcn.004064e9
call fcn.0040650b
jmp 0x405c4c
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00406b1f
ret