joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420f20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0x4fc040]
xor eax, ebp
mov dword [ebp - 8], eax
cmp byte [0x4fecc8], 0
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
je 0x4210f6
cmp dword [0x4ff8f0], 0
jne 0x421018
cmp word [0x4ff8e8], 0
jne 0x420fb8
mov eax, dword [0x500398]
xorps xmm0, xmm0
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1c4]
push eax
mov dword [ebp - 0x1c4], 3
mov dword [ebp - 0x1c0], 0x420c60
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0
movups xmmword [ebp - 0x1b0], xmm0
mov dword [ebp - 0x1a0], str.SizeTipClass
call dword [sym.imp.USER32.dll_RegisterClassA]
mov word [0x4ff8e8], ax
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x18
call esi
push 0x17
mov dword [0x4ff8ec], eax
call esi
push 0x154
mov dword [0x4ff8f4], eax
lea eax, [ebp - 0x190]
push 0
push eax
call fcn.00497aa0
add esp, 0xc
mov dword [ebp - 0x194], 0x158
lea eax, [ebp - 0x194]
push 0
push eax
push 0x158
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [0x4ff8e4], eax
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push edi
push str._dx_d
push eax
call fcn.00401050
mov eax, dword [0x4ff8f0]
add esp, 0x10
test eax, eax
jne 0x4210eb
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x28]
mov esi, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421050
lea eax, [ebp - 0x19c]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea eax, [ebp - 0x38]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x38]
mov esi, 0x10
mov eax, dword [ebp - 0x198]
cmp edx, esi
mov ecx, dword [ebp - 0x34]
push 0
push dword [0x500398]
cmovl edx, esi
sub ecx, eax
push 0
push 0
push eax
push dword [ebp - 0x19c]
cmp ecx, esi
lea eax, [ebp - 0x28]
cmovl ecx, esi
push ecx
push edx
push SysReAllocString
push eax
movzx eax, word [0x4ff8e8]
push eax
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 4
push eax
mov dword [0x4ff8f0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495b16
mov esp, ebp
pop ebp
ret
Function at 0x42a020
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
call fcn.00429f30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4ff930]
xor edx, edx
mov dword [0x4ff934], eax
call fcn.0048eb10
mov esi, eax
test esi, esi
je 0x42a0c4
nop dword [eax + eax]
mov edx, dword [esi + 4]
mov ecx, dword [0x4ff92c]
push 0
call fcn.0048ecb0
add esp, 4
test eax, eax
jne 0x42a076
mov ecx, dword [0x4ff930]
xor edx, edx
call fcn.0048f360
jmp 0x42a0aa
mov edi, dword [esi + 8]
mov edx, edi
mov eax, dword [0x4ff934]
sub edx, dword [esi + 0xc]
sub eax, dword [esi + 0xc]
add edx, 0xa
add eax, 0xa
cmp eax, edx
jbe 0x42a0ca
mov ecx, dword [0x4ff930]
xor edx, edx
call fcn.0048f360
push dword [esi + 8]
mov eax, dword [esi]
push dword [esi + 4]
call eax
add esp, 8
mov ecx, esi
call fcn.00490070
mov ecx, dword [0x4ff930]
xor edx, edx
call fcn.0048eb10
mov esi, eax
test esi, esi
jne 0x42a050
pop edi
pop esi
xor al, al
pop ebx
ret
mov dword [ebx], edi
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x42a450
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x278
mov eax, dword [0x4fc040]
xor eax, esp
mov dword [esp + 0x274], eax
push esi
push edi
push 0x107
lea eax, [esp + 0x174]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x170]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x42a487
mov ax, word [0x4dfb10]
mov word [ecx], ax
mov al, byte [0x4dfb12]
mov byte [ecx + 2], al
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x174]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42a4e7
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x10]
push 0x140
push eax
call fcn.0042a160
add esp, 8
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x42a4c2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push 4
push eax
call fcn.0042a160
add esp, 8
lea ecx, [esp + 0x150]
call fcn.0042a360
test al, al
je 0x42a533
lea eax, [esp + 0x150]
push 0x20
push eax
call fcn.0042a160
add esp, 8
lea ecx, [esp + 0x150]
mov edx, 0x20
call fcn.00492670
call fcn.00458700
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
xor ecx, esp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
Function at 0x42a550
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4fc040]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 4
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov ecx, 9
call fcn.0042a100
add esp, 4
call dword [sym.imp.USER32.dll_GetCapture]
push 4
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov ecx, 0xa
call fcn.0042a100
add esp, 4
call dword [sym.imp.USER32.dll_GetClipboardOwner]
push 4
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov ecx, 0xb
call fcn.0042a100
add esp, 4
push 0x1cbf
call dword [sym.imp.USER32.dll_GetQueueStatus]
push 4
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
mov ecx, 0xc
call fcn.0042a100
add esp, 4
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 8
lea edx, [ebp - 0x54]
mov ecx, 0xd
call fcn.0042a100
add esp, 4
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0x20
lea edx, [ebp - 0x44]
mov ecx, 6
call fcn.0042a100
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
push 0x20
lea edx, [ebp - 0x24]
mov ecx, 0xe
call fcn.0042a100
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
push 0x20
lea edx, [ebp - 0x24]
mov ecx, 0xf
call fcn.0042a100
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.00495b16
mov esp, ebp
pop ebp
ret

Function at 0x42cb90
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
call fcn.0042cb70
mov ecx, dword [0x4ff960]
mov edx, esi
push 0
call fcn.0048ecb0
add esp, 4
test eax, eax
setne al
pop esi
ret
Function at 0x42d820
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov eax, dword [esi + 8]
mov dword [esi + 4], 0
test eax, eax
je 0x42d869
xor ecx, ecx
sub eax, ecx
push ebx
push eax
mov eax, dword [esi]
add eax, ecx
push 1
push eax
call fcn.004a4254
push ebx
mov edi, eax
call fcn.004a59cf
add esp, 0x14
test eax, eax
jne 0x42d8ab
test edi, edi
je 0x42d869
mov ecx, dword [esi + 4]
add ecx, edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 8]
cmp ecx, eax
jb 0x42d837
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, dword [esi + 8]
jne 0x42d887
push ebx
call fcn.004a5b60
add esp, 4
mov ecx, 1
cmp eax, 0xffffffff
cmovne edi, ecx
mov ecx, dword [esi]
mov eax, edi
mov edx, dword [esi + 4]
add esi, 0xc
mov dword [esi], ecx
mov dword [esi + 8], edx
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], esi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, 2
pop ebx
ret
Function at 0x433170
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4064
call fcn.004bd1b0
mov eax, dword [0x4fc040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x405c]
push eax
mov ebx, edx
mov dword [ebp - 0x4064], esi
push 4
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x4058]
push 0
mov dword [ebp - 0x4060], ebx
mov dword [ebp - 0x4058], ebx
call fcn.0048eb90
add esp, 0xc
test eax, eax
jne 0x4331d3
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
mov edi, dword [ebp - 0x405c]
call fcn.0048e550
mov ebx, eax
mov ecx, ebx
sub ecx, edi
cmp ecx, 1
jle 0x43322b
nop dword [eax]
lea eax, [ebx + edi]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0x4064]
sar esi, 1
mov edx, esi
mov ecx, dword [eax + 8]
call fcn.0048eb10
mov ecx, esi
sub ecx, dword [ebp - 0x405c]
add ecx, dword [ebp - 0x4060]
cmp dword [eax], ecx
jne 0x433220
mov edi, esi
jmp 0x433222
mov ebx, esi
mov eax, ebx
sub eax, edi
cmp eax, 1
jg 0x4331f0
mov eax, dword [ebp - 0x4064]
lea edx, [ebp - 0x4058]
mov esi, dword [ebp - 0x4060]
sub edi, dword [ebp - 0x405c]
inc esi
add esi, edi
mov ecx, dword [eax + 8]
push 0
mov dword [ebp - 0x4058], esi
call fcn.0048ecb0
add esp, 4
test eax, eax
je 0x433274
push 0x173
push str.C:Usersomahr_source_reposputty_caccode_ssh_sharing.c
push str.NULL__find234_sharestate__connections__dummy__NULL_
call fcn.004a3dca
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495b16
mov esp, ebp
pop ebp
ret

Function at 0x433520
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ecx + 0x402c]
mov dword [ebp - 4], edx
lea edx, [ebp - 4]
push 0
call fcn.0048ecb0
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x433630
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov ecx, dword [ecx + 0x4030]
mov dword [ebp - 0x24], edx
lea edx, [ebp - 0x28]
push 0
call fcn.0048ecb0
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x433650
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov ecx, dword [ecx + 0x4034]
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x28]
push 0
call fcn.0048ecb0
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x433740
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ecx + 0x4038]
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x18]
push 0
call fcn.0048ecb0
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x433760
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ecx + 0x403c]
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x18]
push 0
call fcn.0048ecb0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x433810
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
mov ecx, edx
call fcn.004919e0
mov ecx, dword [esi + 0x4040]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push 0
mov dword [ebp - 0x10], eax
call fcn.0048ecb0
mov ecx, dword [ebp - 0x14]
add esp, 4
mov esi, eax
call fcn.00490070
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x444d70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov edx, dword [ebp + 0x10]
push 0
mov ecx, dword [esi + 0x310]
call fcn.0048ecb0
add esp, 4
test eax, eax
je 0x444db1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], 3
mov dword [ebp - 8], 0
movups xmm0, xmmword [ebp - 0x10]
movups xmmword [eax], xmm0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi + 0x310]
call fcn.0048ead0
mov ecx, dword [esi + 0x390]
call fcn.0045cf80
push dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, ebx
push esi
push 0x444610
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00432d30
add esp, 0x14
movups xmm0, xmmword [eax]
mov eax, dword [ebp + 8]
pop esi
pop ebx
movups xmmword [eax], xmm0
mov esp, ebp
pop ebp
ret
Function at 0x446890
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4fc040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x420], edx
push edi
mov dword [ebp - 0x41c], esi
xor ebx, ebx
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x414], 0
call fcn.00494af0
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov ecx, eax
call fcn.0045d660
mov edi, eax
cmp edi, 0xffffffff
je 0x446a29
mov ecx, esi
call fcn.0048ff40
mov ecx, dword [ebp - 0x41c]
xor esi, esi
mov eax, dword [ecx + 8]
test eax, eax
je 0x446935
push 0
lea edx, [ebp - 0x410]
sub eax, esi
push edx
push eax
mov eax, dword [ecx]
add eax, esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x446a29
mov ecx, dword [ebp - 0x41c]
add esi, dword [ebp - 0x410]
mov eax, dword [ecx + 8]
cmp esi, eax
jb 0x446902
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x4469c4
call fcn.0048fed0
mov ebx, eax
push 0
lea eax, [ebp - 0x410]
push eax
push 0x400
lea eax, [ebp - 0x40c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x446a29
push dword [ebp - 0x410]
lea edx, [ebp - 0x40c]
mov ecx, ebx
call fcn.004467b0
mov esi, eax
add esp, 4
test esi, esi
je 0x446947
cmp esi, 0xffffffff
je 0x446a29
mov ecx, ebx
call fcn.0048ff10
mov ecx, dword [ebp - 0x420]
xor ebx, ebx
mov dword [ecx], eax
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x414]
mov dword [eax], esi
call fcn.00490070
mov ecx, dword [ebp - 0x418]
call fcn.00490070
jmp 0x446a5c
mov edx, 0x14
push 0
lea ecx, [edx - 0x13]
call fcn.0048ffe0
add esp, 4
mov esi, eax
mov edx, 0x446810
mov ecx, edi
push 0
push esi
call fcn.0045dca0
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], edi
call fcn.0048fed0
mov ecx, dword [ebp - 0x414]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], eax
call fcn.00490070
mov ecx, dword [ebp - 0x418]
call fcn.00490070
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x420]
mov eax, dword [ebp - 0x424]
mov dword [ecx], 0
mov dword [eax], 0
mov ecx, dword [ebp - 0x414]
call fcn.00490070
mov ecx, dword [ebp - 0x418]
call fcn.00490070
cmp edi, 0xffffffff
je 0x446a63
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x446a6e
mov ecx, ebx
call fcn.0048fee0
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495b16
mov esp, ebp
pop ebp
ret
Function at 0x446be0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov dword [ebp - 8], ecx
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0xc], edx
call fcn.00493420
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov ecx, esi
push eax
push ebx
push edi
call fcn.00493420
push eax
push str.Received_remote_port__.s:_d_open_request_from__.s:_d
call fcn.00490340
mov ecx, dword [ebp - 8]
add esp, 0x1c
mov edx, eax
mov ecx, dword [ecx + 0xa0]
call fcn.0041ba70
push esi
push edi
call fcn.00490690
mov dword [ebp - 0x2c], ebx
lea edx, [ebp - 0x2c]
mov ebx, dword [ebp - 8]
push 0
mov dword [ebp - 0x24], eax
mov ecx, dword [ebx + 0x48]
call fcn.0048ecb0
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov esi, eax
call fcn.00490070
test esi, esi
jne 0x446c85
mov esi, dword [ebp + 8]
push str.Remote_port_is_not_recognised
mov dword [esi], 0
mov dword [esi + 8], 1
call fcn.00490340
mov dword [esi + 4], eax
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x446c9f
mov eax, dword [ebp + 8]
mov dword [eax], 2
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x10]
mov ecx, dword [ebx + 0x4c]
lea edx, [ebp + 0xc]
push dword [ebp - 0xc]
push dword [esi + 4]
push dword [esi + 0xc]
call fcn.004499c0
push dword [esi + 4]
mov edi, eax
push dword [esi + 0xc]
push str.Attempting_to_forward_remote_port_to__s:_d
call fcn.00490340
mov ecx, dword [ebx + 0xa0]
add esp, 0x1c
mov edx, eax
call fcn.0041ba70
test edi, edi
je 0x446d24
push edi
push str.Port_open_failed:__s
call fcn.00490340
mov ecx, dword [ebx + 0xa0]
mov edx, eax
call fcn.0041ba70
mov ecx, edi
call fcn.00490070
mov esi, dword [ebp + 8]
push str.Port_open_failed
mov dword [esi], 0
mov dword [esi + 8], 2
call fcn.00490340
mov dword [esi + 4], eax
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Forwarded_port_opened_successfully
call fcn.00490340
mov ecx, dword [ebx + 0xa0]
add esp, 4
mov edx, eax
call fcn.0041ba70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 1
mov dword [eax + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c3a0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
push 0x44c2e0
mov edx, dword [ebx]
mov ecx, dword [edi]
call fcn.0048ecb0
mov esi, eax
add esp, 4
test esi, esi
je 0x44c3d6
mov ecx, dword [edi]
mov edx, esi
call fcn.0048f390
mov ecx, dword [esi + 4]
call fcn.0048fee0
mov ecx, esi
call fcn.00490070
mov edx, 8
push 0
lea ecx, [edx - 7]
call fcn.0048ffe0
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [esi], ecx
call fcn.0048fec0
mov dword [esi + 4], eax
mov edx, dword [ebx]
lea ecx, [eax + 0xc]
push ecx
mov eax, dword [edx + 0x1c]
push ebx
call eax
mov ecx, dword [edi]
add esp, 8
mov edx, esi
call fcn.0048ead0
cmp eax, esi
je 0x44c426
push 0x59
push str.C:Usersomahr_source_reposputty_caccode_ssh_transient_hostkey_cache.c
push str.retd__ent
call fcn.004a3dca
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x44c430
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ecx]
push ebx
push esi
mov esi, edx
xor bl, bl
push edi
push 0x44c2e0
mov edx, dword [esi]
call fcn.0048ecb0
mov edi, eax
add esp, 4
test edi, edi
je 0x44c4cc
call fcn.0048fec0
mov ecx, dword [esi]
mov dword [ebp - 4], eax
add eax, 0xc
push eax
push esi
mov eax, dword [ecx + 0x1c]
call eax
mov edx, dword [edi + 4]
add esp, 8
mov edi, dword [ebp - 4]
mov esi, dword [edi + 8]
cmp esi, dword [edx + 8]
jne 0x44c4c5
mov ecx, dword [edi]
mov edx, dword [edx]
sub esi, 4
jb 0x44c491
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x44c496
add ecx, 4
add edx, 4
sub esi, 4
jae 0x44c480
cmp esi, 0xfffffffc
je 0x44c4c3
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x44c4c5
cmp esi, 0xfffffffd
je 0x44c4c3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x44c4c5
cmp esi, 0xfffffffe
je 0x44c4c3
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x44c4c5
cmp esi, 0xffffffff
je 0x44c4c3
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x44c4c5
mov bl, 1
mov ecx, edi
call fcn.0048fee0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c4e0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [ecx]
push 0x44c2e0
call fcn.0048ecb0
add esp, 4
test eax, eax
setne al
ret
Function at 0x457a50
Capabilities:
Query or enumerate registry value

Disassembly:
test ecx, ecx
jne 0x457a57
xor eax, eax
ret
mov ecx, dword [ecx]
jmp fcn.004910d0

Function at 0x457d80
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
mov edi, edx
push dword [ebp + 0xc]
push str._s__d:
lea eax, [esi + 0xc]
push eax
call fcn.0048f6d0
add esp, 0x10
mov edx, esi
mov ecx, edi
pop edi
pop esi
pop ebp
jmp fcn.00494e90
Function at 0x4583e0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
test edx, edx
jne 0x45842a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x45841c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x45841c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0048fb60
push eax
push esi
push str.Unable_to_delete__s:__s
call fcn.004098f0
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax], 0xffffffff
xor al, al
pop esi
pop ebp
ret
xor eax, eax
mov ecx, 0x80
push 0
cmp edx, 2
cmove eax, ecx
push eax
xor eax, eax
cmp edx, 2
setne al
xor ecx, ecx
add eax, 2
cmp edx, 2
push eax
push 0
mov eax, 3
cmove eax, ecx
mov ecx, 0x40000000
push eax
mov eax, SysReAllocString
cmove eax, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp + 8]
cmp eax, 0xffffffff
pop esi
mov dword [ecx], eax
setne al
pop ebp
ret
Function at 0x4584b0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4fc040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push str.SoftwareSimonTathamPuTTY
push SysReAllocString
push 0
push 0
mov edi, ecx
call fcn.00490f10
mov esi, eax
add esp, 0x14
test esi, esi
je 0x45852d
mov edx, str.RandSeedFile
mov ecx, esi
call fcn.004910d0
mov ebx, eax
mov ecx, esi
mov dword [ebp - 0x220], ebx
call fcn.00490fc0
test ebx, ebx
je 0x45852d
lea eax, [ebp - 0x21c]
mov edx, edi
push eax
mov ecx, ebx
call fcn.004583e0
mov ecx, dword [ebp - 0x220]
add esp, 4
mov bl, al
call fcn.00490070
test bl, bl
jne 0x4586d4
cmp byte [0x4feccd], 0
jne 0x458573
mov ecx, str.shell32.dll
call fcn.0048fb20
mov dword [0x4ff9a8], eax
test eax, eax
je 0x458563
push str.SHGetFolderPathA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ff9ac], eax
mov byte [0x4feccd], 1
jmp 0x458578
xor eax, eax
mov byte [0x4feccd], 1
mov dword [0x4ff9ac], eax
jmp 0x458578
mov eax, dword [0x4ff9ac]
test eax, eax
je 0x458610
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0
push 0x1c
push 0
call eax
test eax, eax
js 0x4585c6
lea eax, [ebp - 0x21c]
push eax
push 0
lea eax, [ebp - 0x110]
push str.PUTTY.RND
push eax
call fcn.00490190
add esp, 0xc
mov edx, edi
mov ecx, eax
call fcn.00458480
add esp, 4
test al, al
jne 0x4586d4
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push 0x1a
push 0
call dword [0x4ff9ac]
test eax, eax
js 0x458610
lea eax, [ebp - 0x21c]
push eax
push 0
lea eax, [ebp - 0x110]
push str.PUTTY.RND
push eax
call fcn.00490190
add esp, 0xc
mov edx, edi
mov ecx, eax
call fcn.00458480
add esp, 4
test al, al
jne 0x4586d4
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [ebp - 0x218]
push 0x104
push eax
push str.HOMEDRIVE
call esi
mov ebx, eax
lea eax, [ebp - 0x110]
push 0x104
push eax
push str.HOMEPATH
call esi
test ebx, ebx
jne 0x45864a
mov byte [ebp - 0x218], bl
jmp 0x458652
cmp ebx, 0x104
jae 0x45868e
dec eax
cmp eax, 0x102
ja 0x45868e
lea eax, [ebp - 0x21c]
push eax
push 0
push str.PUTTY.RND
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00490190
add esp, 0x10
mov edx, edi
mov ecx, eax
call fcn.00458480
add esp, 4
test al, al
jne 0x4586d4
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp eax, 0x104
jae 0x4586eb
lea eax, [ebp - 0x21c]
push eax
push 0
lea eax, [ebp - 0x110]
push str.PUTTY.RND
push eax
call fcn.00490190
add esp, 0xc
mov edx, edi
mov ecx, eax
call fcn.00458480
add esp, 4
test al, al
je 0x4586eb
mov eax, dword [ebp - 0x21c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495b16
mov esp, ebp
pop ebp
ret