joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008095a
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
mov eax, 0x100d729c
call fcn.100cece0
sub esp, 0x18
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push str.CREATIONTIME
mov ecx, edi
lea edx, [esi + 4]
call fcn.10080ade
push str.LASTMODIFICATIONTIME
lea edx, [esi + 0xc]
mov ecx, edi
mov byte [esi], al
call fcn.10080ade
mov byte [esi + 1], al
lea eax, [ebp - 0x18]
push str.NAME
push eax
mov ecx, edi
call fcn.10035f30
and dword [ebp - 4], 0
lea edx, [esi + 0x14]
mov ecx, eax
call fcn.10035f30
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
mov byte [esi + 2], al
call fcn.100034b3
lea eax, [ebp - 0x18]
mov dword [esp], str.DIRCOUNT
push eax
mov ecx, edi
call fcn.10035f30
lea edx, [esi + 0x20]
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.10035f30
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100034b3
lea eax, [ebp - 0x18]
mov dword [esp], str.FILECOUNT
push eax
mov ecx, edi
call fcn.10035f30
lea edx, [esi + 0x28]
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.10035f30
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100034b3
lea eax, [ebp - 0x24]
mov dword [esp], str.INDEX
push eax
mov ecx, edi
call fcn.10035f30
lea edx, [esi + 0x30]
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.10035f30
push dword [ebp - 0x24]
mov byte [esi + 3], al
call fcn.100034b3
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x10080f88
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d731b
call fcn.100cece0
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
or dword [esi + 0x20], 0xffffffff
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.1000250f
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100851fe
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
mov eax, 0x100d78af
call fcn.100cece0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ax, word [edi]
lea ecx, [esi + 0x24]
mov word [esi], ax
mov ax, word [edi + 2]
mov word [esi + 2], ax
mov ax, word [edi + 4]
mov word [esi + 4], ax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
lea eax, [edi + 0x24]
push eax
call fcn.10001da4
and dword [ebp - 4], 0
add edi, 0x30
push edi
lea ecx, [esi + 0x30]
call fcn.10085281
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x100c1f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x100c1fcb
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x100c200c
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x100c1ff1
mov ecx, ebx
call fcn.100c1c50
add ebx, 0x28
dec ebp
jne 0x100c1fe5
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x100c2007
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.100c1b20
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.100c20b0
mov ebx, eax
cmp ebx, edi
jne 0x100c206f
lea ecx, [ebp + 0x20]
call fcn.100c86b0
mov ebx, eax
cmp ebx, edi
jne 0x100c206f
lea ecx, [ebp + 0x1c]
call fcn.100c86b0
mov ebx, eax
cmp ebx, edi
jne 0x100c206f
push ebp
call fcn.10035f30
mov ebx, eax
cmp ebx, edi
je 0x100c2084
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.100c20e0
cmp ebx, edi
jle 0x100c207f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x100c2084
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x100c2096
cmp dword [esi + 0x40], edi
jne 0x100c2096
cmp dword [esi + 0x3c], edi
jne 0x100c2096
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret
Function at 0x4431b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x4431c7
pop dword [ebp - 0x2c]
mov eax, 0xc7d386f1
sub eax, 0xc78f552a
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x3f03ccde
add dword [ebp - 0x3c], 0xf4e786d
mov dword [ebp - 0x38], 0xa8415150
sub dword [ebp - 0x38], 0x760e050b
mov dword [ebp - 0x34], 0x5027561c
add dword [ebp - 0x34], 0xfc24ee12
mov dword [ebp - 0x30], 0xd7c78258
sub dword [ebp - 0x30], 0xd7c78258
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x448806c5
sub eax, 0x44425661
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x282db4f2
add dword [ebp - 0x3c], 0x4c44b464
mov dword [ebp - 0x38], 0xeaf6e465
add dword [ebp - 0x38], 0x56757d10
mov dword [ebp - 0x34], 0xe52c4a8c
add dword [ebp - 0x34], 0x7e4321e0
mov dword [ebp - 0x30], 0xd056f76d
add dword [ebp - 0x30], 0x2fa90893
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x7ba639de
add eax, 0x849f76a2
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x505ae
push 0
call eax
mov ecx, 0x543c
xor edx, edx
add edx, eax
mov ebx, 0x476000
add ebx, dword [ebp - 0x2c]
mov edi, 0x9ae5be50
add edi, 0xd169ce75
sub dword [ebp - 4], 0xf9868918
mov esi, dword [ebx]
xor dword [ebp - 0x18], ecx
add esi, edi
mov dword [edx], esi
add dword [ebp - 0x18], 0xd35a9e53
add edx, 4
add ebx, 4
loop 0x4432df
add eax, 0x5e29faa5
add eax, 0xa1d7491e
xor ebx, ebx
add ebx, eax
add eax, 0x7eddb2aa
add eax, 0x81224d5b
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x40102b
Capabilities:
Link many functions at runtime

Disassembly:
mov ecx, 0x4162e0
jmp 0x40102a
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 0xa0
lea edi, [esi + 0xc]
push ebx
push edi
mov dword [esi], 0x40f218
call fcn.00406790
add esp, 0xc
mov dword [edi], 0xa0
mov dword [esi + 8], ebx
mov dword [esi + 0xb0], ebx
push str.rasapi32
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0xac], eax
je 0x401185
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.RasEnumDevicesA
push eax
call edi
push str.RasEnumEntriesA
mov dword [esi + 0xbc], eax
push dword [esi + 0xac]
call edi
push str.RasSetEntryPropertiesA
mov dword [esi + 0xc0], eax
push dword [esi + 0xac]
call edi
push str.RasGetEntryPropertiesA
mov dword [esi + 0xc4], eax
push dword [esi + 0xac]
call edi
push str.RasDeleteEntryA
mov dword [esi + 0xdc], eax
push dword [esi + 0xac]
call edi
push str.RasDialA
mov dword [esi + 0xcc], eax
push dword [esi + 0xac]
call edi
push str.RasHangUpA
mov dword [esi + 0xb8], eax
push dword [esi + 0xac]
call edi
push str.RasGetErrorStringA
mov dword [esi + 0xd0], eax
push dword [esi + 0xac]
call edi
push str.RasEnumConnectionsA
mov dword [esi + 0xc8], eax
push dword [esi + 0xac]
call edi
push str.RasGetConnectStatusA
mov dword [esi + 0xd4], eax
push dword [esi + 0xac]
call edi
cmp dword [esi + 0xbc], ebx
mov dword [esi + 0xd8], eax
je 0x401182
cmp dword [esi + 0xc0], ebx
je 0x401182
cmp dword [esi + 0xc4], ebx
je 0x401182
cmp dword [esi + 0xdc], ebx
je 0x401182
cmp dword [esi + 0xcc], ebx
je 0x401182
cmp dword [esi + 0xb8], ebx
je 0x401182
cmp dword [esi + 0xd0], ebx
je 0x401182
cmp dword [esi + 0xc8], ebx
je 0x401182
cmp dword [esi + 0xd4], ebx
je 0x401182
cmp eax, ebx
je 0x401182
push 1
pop ebx
mov dword [esi + 4], ebx
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x4024a1
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, ecx
mov dword [esi + 0x18], edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
push eax
call fcn.00406900
pop ecx
mov dword [esi + 0x14], eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
xor eax, eax
lea ecx, [ebp - 0x14]
push eax
push ecx
push eax
push 0xf003f
push 1
push eax
push eax
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4024f5
xor al, al
jmp 0x40263f
xor eax, eax
push ebx
lea ecx, [esi + 0x10]
push eax
lea edi, [esi + 0xc]
push eax
lea ebx, [esi + 8]
push ecx
push edi
push ebx
lea ecx, [esi + 4]
push eax
push ecx
push esi
push eax
push eax
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x402633
mov eax, dword [ebx]
test eax, eax
je 0x402633
imul eax, eax, 0x4f4
push eax
call fcn.00406900
inc dword [edi]
and dword [ebp - 0x18], 0
mov dword [esi + 0x1c], eax
mov eax, dword [edi]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x10]
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
call fcn.00406900
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.00406900
mov dword [ebp - 0x10], eax
xor eax, eax
add esp, 0xc
cmp dword [ebx], eax
mov dword [ebp - 4], eax
jbe 0x402621
mov dword [ebp - 8], eax
mov eax, dword [edi]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push dword [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x402604
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 8]
inc eax
push eax
mov eax, ebx
push dword [ebp - 0xc]
add eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpynA]
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + eax + 0x100], ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [ebx + eax + 0x104], ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ebx + eax + 0x4f0], ecx
xor eax, eax
cmp dword [ebp + 8], eax
jbe 0x402609
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
mov edx, dword [esi + 0x1c]
add ecx, eax
mov bl, byte [eax + ebx]
inc eax
mov byte [ecx + edx + 0x108], bl
cmp eax, dword [ebp + 8]
jb 0x4025e7
jmp 0x402609
mov eax, dword [ebp - 4]
mov dword [ebx], eax
inc dword [ebp - 4]
add dword [ebp - 8], 0x4f4
mov eax, dword [ebp - 4]
lea ebx, [esi + 8]
cmp eax, dword [ebx]
jb 0x402573
push dword [ebp - 0xc]
call fcn.004067e8
push dword [ebp - 0x10]
call fcn.004067e8
pop ecx
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x40285f
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ecx
push ecx
push ebp
xor ebp, ebp
push esi
lea eax, [esp + 0xc]
push ebp
push eax
push ebp
push 0xf003f
push 1
mov esi, ecx
push ebp
push ebp
push dword [esi + 0x14]
push dword [esi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40288e
xor eax, eax
jmp 0x4029ac
cmp dword [esi + 8], ebp
mov dword [esp + 8], ebp
jbe 0x40299f
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
xor ebx, ebx
mov eax, dword [esi + 0x1c]
add eax, ebx
cmp dword [eax + 0x4f0], ebp
jne 0x4028c2
push eax
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x402986
push 0x41118c
push eax
call edi
test eax, eax
je 0x402986
mov eax, ebx
push 0x411188
add eax, dword [esi + 0x1c]
push eax
call edi
test eax, eax
je 0x402986
mov eax, ebx
push 0x411184
add eax, dword [esi + 0x1c]
push eax
call edi
test eax, eax
je 0x402986
mov eax, ebx
push 0x411180
add eax, dword [esi + 0x1c]
push eax
call edi
test eax, eax
je 0x402986
mov eax, ebx
push 0x41117c
add eax, dword [esi + 0x1c]
push eax
call edi
test eax, eax
je 0x402986
mov eax, ebx
push 0x411178
add eax, dword [esi + 0x1c]
push eax
call edi
test eax, eax
je 0x402986
mov eax, ebx
push 0x411174
add eax, dword [esi + 0x1c]
push eax
call edi
test eax, eax
je 0x402986
mov eax, ebx
push 0x411170
add eax, dword [esi + 0x1c]
push eax
call edi
test eax, eax
je 0x402986
mov eax, ebx
push 0x41116c
add eax, dword [esi + 0x1c]
push eax
call edi
test eax, eax
je 0x402986
mov eax, dword [esi + 0x1c]
add eax, ebx
push dword [eax + 0x4f0]
lea ecx, [eax + 0x108]
push ecx
push dword [eax + 0x104]
push ebp
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc dword [esp + 0x10]
add ebx, 0x4f4
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jb 0x4028a5
pop edi
pop ebx
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop esi
pop ebp
pop ecx
pop ecx
ret
Function at 0x403ebf
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
push edi
push 1
pop ebx
mov esi, ecx
cmp word [ebp + 8], bx
jne 0x403fb9
mov edi, 0x4162e0
mov ecx, edi
call fcn.0040208c
test eax, eax
jne 0x403f39
cmp dword [esi + 4], eax
jne 0x403f39
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, 0x402fde
push str.Beliavskiy
push ebx
call edi
push 0x411524
push ebx
mov dword [0x411194], 2
call edi
mov ecx, esi
mov dword [0x411194], 0x10
call fcn.00405431
test eax, eax
je 0x4040d7
mov ecx, esi
call fcn.00404fc8
jmp 0x4040d7
push 0x124
push str.Disconnect
push str.Disconnect__
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x4040d7
push 0
push ebx
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push str.Disconnecting...
mov ecx, esi
call fcn.00404f7b
push 0xa
mov ecx, esi
call fcn.00405135
push 0
mov ecx, edi
call fcn.00401ffd
and dword [esi + 4], 0
push 0x3b
push dword [esi + 0x60]
lea eax, [ebp - 0x34]
push str.Connect_Verbinden_Conectar_
push eax
call fcn.00402ac9
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
push ebx
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x4040d7
cmp word [ebp + 8], 0x3e8
jne 0x404093
mov eax, dword [ebp + 8]
shr eax, 0x10
cmp ax, bx
jne 0x4040d7
mov eax, dword [esi + 0x6c]
cmp eax, 0xffffffff
je 0x4040d7
imul eax, eax, 0x798
mov ecx, dword [0x416394]
push 0x100
lea eax, [eax + ecx + 0x691]
push eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpynA]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [ebp - 0x134]
push eax
push 0x3ef
push dword [esi + 0x48]
call ebx
mov eax, dword [esi + 0x6c]
push 0x4111bc
imul eax, eax, 0x798
add eax, dword [0x416394]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
jne 0x404043
push str.Hilfe
jmp 0x404070
mov al, byte [0x4163c0]
push 0xc
mov byte [ebp - 0x34], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x33]
rep stosd dword es:[edi], eax
push 0x3b
push dword [esi + 0x60]
stosb byte es:[edi], al
lea eax, [ebp - 0x34]
push str.Log_Protokoll_Protocolo_
push eax
call fcn.00402ac9
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
push 0x406
push dword [esi + 0x48]
call ebx
push 0
push 0
push 0x8069
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.00405d23
cmp word [ebp + 8], 0x406
jne 0x4040d7
mov eax, dword [esi + 0x6c]
push 0x4111bc
imul eax, eax, 0x798
add eax, dword [0x416394]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
jne 0x4040d0
push eax
push str.Hilfe
push str.1._Programm_deinstallieren:_n_____Klicken_Sie__Start____Einstellungen___Systemsteuerung___Software___n_____W
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4040d7
mov ecx, esi
call fcn.00405d88
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4042fa
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 0x81
push dword [esi + 0x8c]
push 0x3ed
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi + 0x6c]
mov ecx, dword [0x416394]
imul eax, eax, 0x798
push 0x7e
lea eax, [eax + ecx + 0x185]
push eax
call fcn.00402aa0
pop ecx
test eax, eax
pop ecx
jle 0x404386
mov eax, dword [esi + 0x68]
cmp eax, 1
je 0x404359
cmp eax, 3
je 0x404359
xor eax, eax
jmp 0x40435c
push 1
pop eax
push 0x7e
push eax
mov eax, dword [esi + 0x6c]
mov ecx, dword [0x416394]
imul eax, eax, 0x798
lea eax, [eax + ecx + 0x185]
push eax
push dword [esi + 0x90]
call fcn.00402ac9
add esp, 0x10
jmp 0x4043a9
mov eax, dword [esi + 0x6c]
mov ecx, dword [0x416394]
imul eax, eax, 0x798
lea eax, [eax + ecx + 0x185]
push eax
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push dword [esi + 0x90]
push 0x3ee
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [esi + 0x6c]
mov ecx, dword [0x416394]
imul eax, eax, 0x798
push dword [esi + 0x8c]
lea eax, [eax + ecx + 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov eax, dword [esi + 0x6c]
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
imul eax, eax, 0x798
add eax, dword [0x416394]
push 0x4111bc
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
test eax, eax
jne 0x404446
push 6
lea eax, [ebp - 8]
push dword [esi + 0x90]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpynA]
lea eax, [ebp - 8]
push str.01033
push eax
call edi
test eax, eax
je 0x404446
mov eax, dword [esi + 0x6c]
mov ecx, dword [0x416394]
imul eax, eax, 0x798
push str.0_1033
lea eax, [eax + ecx + 0x104]
push eax
call ebx
mov eax, dword [esi + 0x6c]
mov ecx, dword [0x416394]
imul eax, eax, 0x798
push dword [esi + 0x90]
lea eax, [eax + ecx + 0x104]
push eax
call ebx
mov al, byte [0x4163c0]
lea edi, [ebp - 1]
mov byte [ebp - 2], al
xor eax, eax
stosb byte es:[edi], al
lea eax, [ebp - 2]
push 0xa
push eax
mov eax, dword [esi + 0x68]
inc eax
push eax
call fcn.00406dcf
add esp, 0xc
add esi, 0x88
push str.Attempt
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [ebp - 2]
push eax
push dword [esi]
call ebx
push 0x41112c
push dword [esi]
call ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405d88
Capabilities:
Create process on windows

Disassembly:
push esi
push 1
push 0
push 0
push 0x4166f0
push str.open
mov esi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x405dc0
push 0xfffffffffffffff6
push dword [esi + 0x48]
call fcn.00402d16
pop ecx
pop ecx
push 0
mov ecx, 0x4162e0
call fcn.00401ffd
pop esi
ret

Function at 0x405dc2
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
push ebx
and eax, 0xfff0
mov ebx, ecx
cmp eax, 0xf060
jne 0x405e22
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x3ed
push dword [esp + 0x14]
call esi
mov edi, dword [sym.imp.USER32.dll_IsWindowEnabled]
push eax
call edi
test eax, eax
jne 0x405e0f
push 1
push dword [esp + 0x14]
call esi
push eax
call edi
test eax, eax
je 0x405e0f
push 1
mov ecx, ebx
call fcn.004040de
jmp 0x405e1b
push 0
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
pop eax
pop edi
pop esi
jmp 0x405e24
xor eax, eax
pop ebx
ret 0xc
Function at 0x405e29
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
push ebx
lea eax, [ebp - 0xc]
push edi
xor ebx, ebx
push eax
push 0x20019
lea edi, [ecx + 0x19c]
push ebx
push str.SoftwareMicrosoftInternet_Account_ManagerAccounts
push 0x80000001
mov dword [ebp - 0x10], edi
mov byte [edi], bl
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405fc3
push ebx
lea eax, [ebp - 0x28]
push ebx
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push ebx
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x405fba
push dword [ebp - 0x34]
call fcn.00406900
mov byte [eax], bl
cmp dword [ebp - 0x38], ebx
pop ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
jbe 0x405fb1
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x38]
push 0x14
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004072a0
add esp, 0xc
lea eax, [ebp - 0x48]
push ebx
push ebx
push ebx
push ebx
push eax
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x405fa1
lea eax, [ebp - 0x180]
push str.SoftwareMicrosoftInternet_Account_ManagerAccounts
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [ebp - 0x180]
push 0x4111ac
push eax
call esi
push dword [ebp - 8]
lea eax, [ebp - 0x180]
push eax
call esi
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x180]
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405fa1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x33
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push str.SMTP_Email_Address
mov dword [ebp - 0x20], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405f95
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
call edi
mov edx, eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x24], edx
call edi
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax + 2]
cmp eax, 0x104
jg 0x405f95
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x10]
call esi
push 0x4138f0
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x18], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x10]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x38]
jb 0x405eb2
pop esi
push dword [ebp - 8]
call fcn.004067e8
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
pop edi
pop ebx
leave
ret