joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401cf5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b004]
jne 0x401cff
repz ret
jmp fcn.00402571

Function at 0x4075ff
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40b004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403aaf
and dword [ebp - 0x14], 0
cmp dword [0x40cb68], 0
mov dword [ebp - 0x18], eax
jne 0x4076b2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40775a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40775a
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40cb68], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40cb6c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40cb70], eax
call edi
push eax
call esi
mov dword [0x40cb78], eax
test eax, eax
je 0x4076b2
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40cb74], eax
mov eax, dword [0x40cb74]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40770b
cmp dword [0x40cb78], ecx
je 0x40770b
push eax
call esi
push dword [0x40cb78]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40770b
test ebx, ebx
je 0x40770b
call edi
test eax, eax
je 0x407702
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407702
test byte [ebp - 8], 1
jne 0x40770b
or dword [ebp + 0x10], 0x200000
jmp 0x40773e
mov eax, dword [0x40cb6c]
cmp eax, dword [ebp - 0x18]
je 0x40773e
push eax
call esi
test eax, eax
je 0x40773e
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40773e
mov eax, dword [0x40cb70]
cmp eax, dword [ebp - 0x18]
je 0x40773e
push eax
call esi
test eax, eax
je 0x40773e
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40cb68]
call esi
test eax, eax
je 0x40775a
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40775c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401cf5
leave
ret
Function at 0x401aa0
Capabilities:
Read .ini file

Disassembly:
push ecx
push esi
push edi
push str..Main_gamex.ini
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00402e40
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x100
lea ecx, [esi + 0xd6]
push ecx
push 0
push str.Name
push str.AppName
call edi
test eax, eax
jne 0x401b02
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401afc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [esp + 8]
push ecx
push 0x100
lea edx, [esi + 0xa4]
push edx
push 0
push str.Name
push str.Main
call edi
test eax, eax
jne 0x401b3b
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x401af0
mov ecx, dword [esp + 8]
push ecx
push 0x100
add esi, 0x108
push esi
push 0
push str.Name
push str.Params
call edi
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401b7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x402bc0
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 0x402bd9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402c14
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402c10
lea ebx, [ebx]
cmp esi, eax
jae 0x402c14
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402c00
cmp esi, eax
jb 0x402c1a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x403c50
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x429c58
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x435ca4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain_
push 0x80000001
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403cd9
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403cc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 4
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x10], esp
mov esi, esp
push eax
call fcn.00403270
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00402320
mov ecx, dword [esp + 0x20]
mov esi, eax
mov eax, dword [ecx - 0xc]
inc eax
movzx eax, ax
movzx edx, ax
mov eax, dword [esp + 8]
push edx
push esi
push 1
push 0
push str.Start_Page
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x403c9c
push esi
call fcn.00404268
mov ecx, dword [esp + 0xc]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403d64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 4
Function at 0x404190
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.004077bd

Function at 0x408b74
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x408b9f
call fcn.004062e2
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x408bc2
push eax
push dword [esi + 4]
call fcn.00408afa
push esi
push eax
mov ecx, 0x4372e8
call fcn.004087ae
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x40ffd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x410017
call fcn.004062e2
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x410017
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x410033
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040fb4a
mov esi, eax
test edi, edi
je 0x410031
test ebx, ebx
je 0x410031
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x414d07
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435ca4]
jne 0x414d11
repz ret
jmp fcn.0041a70c

Function at 0x414f2e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x414f5f
call fcn.00416601
mov dword [eax], esi
call fcn.004165ee
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0041acbc
add esp, 0x14
push 0x16
pop eax
jmp 0x414fb4
test dword [ebp + 0xc], 0xfffffff9
jne 0x414f3b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x414f8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00416614
pop ecx
call fcn.004165ee
mov eax, dword [eax]
jmp 0x414fb4
test al, 0x10
jne 0x414fb2
test al, 1
je 0x414fb2
test byte [ebp + 0xc], 2
je 0x414fb2
call fcn.00416601
mov dword [eax], 5
call fcn.004165ee
mov dword [eax], 0xd
jmp 0x414f83
xor eax, eax
pop esi
pop ebp
ret
Function at 0x425390
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041b0c7
and dword [ebp - 4], 0
cmp dword [0x439a10], 0
mov ebx, eax
jne 0x425441
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4254f2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42f21c
push edi
call esi
test eax, eax
je 0x4254f2
push eax
call fcn.0041b055
mov dword [esp], 0x42f20c
push edi
mov dword [0x439a10], eax
call esi
push eax
call fcn.0041b055
mov dword [esp], 0x42f1f8
push edi
mov dword [0x439a14], eax
call esi
push eax
call fcn.0041b055
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x439a18], eax
call esi
push eax
call fcn.0041b055
pop ecx
mov dword [0x439a20], eax
test eax, eax
je 0x425441
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041b055
pop ecx
mov dword [0x439a1c], eax
mov eax, dword [0x439a1c]
cmp eax, ebx
je 0x425499
cmp dword [0x439a20], ebx
je 0x425499
push eax
call fcn.0041b0d0
push dword [0x439a20]
mov esi, eax
call fcn.0041b0d0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x425499
test edi, edi
je 0x425499
call esi
test eax, eax
je 0x425490
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x425490
test byte [ebp - 0xc], 1
jne 0x425499
or dword [ebp + 0x10], 0x200000
jmp 0x4254d2
mov eax, dword [0x439a14]
cmp eax, ebx
je 0x4254d2
push eax
call fcn.0041b0d0
pop ecx
test eax, eax
je 0x4254d2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4254d2
mov eax, dword [0x439a18]
cmp eax, ebx
je 0x4254d2
push eax
call fcn.0041b0d0
pop ecx
test eax, eax
je 0x4254d2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x439a10]
call fcn.0041b0d0
pop ecx
test eax, eax
je 0x4254f2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4254f4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x16b9058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x16b91a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x16b907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16b906a
add dl, dl
jne 0x16b9089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16b90dc
xor eax, eax
add dl, dl
jne 0x16b9096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16b917d
add dl, dl
jne 0x16b90a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16b90b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16b90bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16b90c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x16b90d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x16b9075
mov eax, 1
add dl, dl
jne 0x16b90ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16b90f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16b90e1
sub eax, ebx
mov ebx, 1
jne 0x16b9128
mov ecx, 1
add dl, dl
jne 0x16b910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x16b9119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16b9105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16b9075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x16b913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x16b914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16b9136
cmp eax, 0x7d00
jae 0x16b916d
cmp eax, 0x500
jb 0x16b9168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16b9075
cmp eax, 0x7f
ja 0x16b9170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16b9075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x16b919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x16b9075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x477440
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4bae18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x3e8
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 4
mov esi, eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x3e8
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x47749b
push 0x4e6998
jmp 0x47749c
push esi
mov ecx, dword [esp + 0x24]
call sub.MFC42.DLL_CString::operator
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x477540
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4bae58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x3e8
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 4
mov esi, eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x3e8
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4775a7
mov eax, dword [esp + 0x20]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x4775cd
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
cmp ecx, 0x14
ja 0x477594
push esi
call dword [sym.imp.MSVCRT.dll__atoi64]
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x477600
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 0xc]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
pop edi
ret

Function at 0x477630
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
sub esp, 0x64
lea edx, [esp]
push edi
push eax
push ecx
push 0x4e01e4
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x6c]
lea eax, [esp + 4]
not ecx
push ecx
mov ecx, dword [esp + 0x74]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::CString
pop edi
add esp, 0x64
ret
Function at 0x4a04f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4beb88
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
mov ecx, esi
mov eax, dword [edi]
push eax
mov eax, dword [esi + 0x24]
push str.Host
push eax
call fcn.00408380
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x24]
push eax
push str.Port
push ecx
mov ecx, esi
call fcn.00408300
mov eax, dword [edi + 8]
mov edx, dword [esi + 0x24]
push eax
push str.User
push edx
mov ecx, esi
call fcn.00408380
mov eax, dword [edi + 0x10]
mov ecx, esi
push eax
mov eax, dword [esi + 0x24]
push str.RemoteDir
push eax
call fcn.00408380
mov eax, dword [edi + 0x14]
mov ecx, dword [esi + 0x24]
push eax
push str.LocalDir
push ecx
mov ecx, esi
call fcn.00408380
lea edx, [esp + 0x20]
push 0x47
push edx
call fcn.004749a0
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0xc
test eax, eax
jne 0x4a059a
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x4a059a
xor bl, bl
jmp 0x4a059c
mov bl, 1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4a05c0
mov eax, dword [esi + 0x24]
push 0x4e6998
push str.Pass
push eax
mov ecx, esi
call fcn.00408380
jmp 0x4a0609
push ecx
lea edx, [edi + 0xc]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x20]
push eax
call fcn.00424f00
add esp, 8
mov eax, dword [eax]
mov ecx, dword [esi + 0x24]
push eax
push str.Pass
push ecx
mov ecx, esi
mov dword [esp + 0x20], 0
call fcn.00408380
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edx, dword [edi + 0x18]
mov eax, dword [esi + 0x24]
push edx
push str.Logontype
push eax
mov ecx, esi
call fcn.00408300
mov ecx, dword [edi + 0x1c]
mov edx, dword [esi + 0x24]
push ecx
push str.FWBypass
push edx
mov ecx, esi
call fcn.00408300
mov eax, dword [edi + 0x20]
mov ecx, dword [esi + 0x24]
push eax
push str.DontSavePass
push ecx
mov ecx, esi
call fcn.00408300
mov edx, dword [edi + 0x24]
mov eax, dword [esi + 0x24]
push edx
push str.ServerType
push eax
mov ecx, esi
call fcn.00408300
mov ecx, dword [edi + 0x30]
mov edx, dword [esi + 0x24]
push ecx
push str.PasvMode
push edx
mov ecx, esi
call fcn.00408300
mov eax, dword [edi + 0x34]
mov ecx, dword [esi + 0x24]
push eax
push str.TimeZoneOffset
push ecx
mov ecx, esi
call fcn.00408300
mov edx, dword [edi + 0x38]
mov eax, dword [esi + 0x24]
push edx
push str.TimeZoneOffsetMinutes
push eax
mov ecx, esi
call fcn.00408300
mov ecx, dword [edi + 0x3c]
mov edx, dword [esi + 0x24]
push ecx
push 0x4e61dc
push edx
mov ecx, esi
call fcn.00408380
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x41cab0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49e2bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00492bc4
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41cb32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004905e0
mov eax, dword [eax]
push 0x4f2d0c
push eax
call fcn.004827a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00492e4f
test bl, bl
je 0x41cb32
push 0x4f2d0c
lea ecx, [esp + 0xc]
call fcn.004931df
push 0x4f2d18
lea ecx, [esp + 0xc]
call fcn.004931df
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41cb6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00492e4f
jmp 0x41cc39
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41cbf2
lea edx, [esp + 0x7c]
push 0x4f2d14
push edx
call fcn.004827a4
add esp, 8
test eax, eax
je 0x41cbf2
lea eax, [esp + 0x7c]
push 0x4f2d10
push eax
call fcn.004827a4
add esp, 8
test eax, eax
je 0x41cbf2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41cb82
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00492e4f
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41d440
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41d4a2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x41d4b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49e33b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5028c8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x41d5e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41d516
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00492e4f
xor eax, eax
jmp 0x41d65f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00492f8c
push esi
lea ecx, [esp + 0xc]
call fcn.0049321b
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41d63d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041d440
test eax, eax
jne 0x41d63d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0041d440
test eax, eax
jne 0x41d63d
lea eax, [esp + 0x14]
push 0x4f2d28
push eax
call fcn.00483820
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d61c
lea ecx, [esp + 0x14]
push 0x4f2d24
push ecx
call fcn.004837a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d61c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41d61f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00492f3c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41d52e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00492e4f
xor eax, eax
jmp 0x41d65f
mov byte [esi], 0
push 0x4f2d20
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00492e4f
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4