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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov ebx, 1
mov esi, section..text
lea edi, [ebp - 0x104]
xor eax, eax
mov ecx, 0x40
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [0x405010], eax
je 0x401ab2
push eax
push eax
push 0xe
mov eax, dword [0x405004]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x401ab2
mov eax, ebx
jmp 0x401c85
cmp dword [0x40503c], 0
je 0x401ae8
cmp dword [ebp + 8], 0
jne 0x401ac8
xor eax, eax
jmp 0x401c85
mov eax, dword [section..data]
push eax
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push esi
call dword [sym.imp.USER32.dll_EndDialog]
xor esi, esi
mov eax, dword [0x405004]
push esi
push esi
push 0xb8
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x401c72
cmp dword [0x405010], esi
je 0x401b14
mov eax, dword [0x405050]
jmp 0x401b29
cmp word [0x4056a2], 0x5c5c
mov eax, 0x4056a2
je 0x401b29
mov eax, 0x4056a0
mov dword [0x40503c], 1
cmp dword [ebp + 8], 1
mov ecx, 0
adc ecx, 0xffffffff
and cx, 0x1000
mov cl, 0x33
push ecx
push eax
push dword [0x40504c]
push dword [0x405064]
mov eax, dword [section..data]
push eax
call fcn.0040240d
mov ebx, eax
xor eax, eax
mov dword [0x40503c], eax
cmp ebx, 6
jne 0x401c72
cmp dword [0x405010], eax
je 0x401b80
push 0x405601
jmp 0x401ba5
push 0
mov eax, dword [section..data]
push 0x4056a0
push eax
call fcn.004031dd
test eax, eax
je 0x401ba0
mov eax, 1
jmp 0x401c85
push 0x4056a0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [0x405684], 0x8806
mov dword [0x40565c], 0x405550
mov dword [0x405660], 0x405600
lea eax, [ebp - 0x104]
push 0x405650
mov dword [0x405028], 1
mov dword [0x40566c], eax
mov eax, dword [0x405094]
add eax, 3
mov dword [0x40568c], eax
call sub.comdlg32.dll_GetSaveFileNameA
test eax, eax
je 0x401c3f
mov eax, dword [0x40566c]
lea ecx, [ebp - 0x104]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
lea ecx, [ebp - 0x104]
push ecx
push dword [section..data]
call fcn.004031dd
test eax, eax
je 0x401c72
lea eax, [ebp - 0x104]
push eax
push 0x4056a0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x401c72
mov dword [0x40503c], 1
mov ebx, 2
call sub.comdlg32.dll_CommDlgExtendedError
test eax, eax
je 0x401c72
push 0x10
mov eax, dword [0x405058]
push 0
push eax
push dword [0x405064]
push dword [section..data]
call fcn.0040240d
mov dword [0x40503c], 0
sub ebx, 2
cmp ebx, 1
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40225a
Capabilities:
Open clipboard

Disassembly:
push ebp
mov eax, dword [section..data]
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_GetMenu]
mov esi, eax
push 0
push 0
mov eax, dword [0x405004]
push 0xb0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
shr ecx, 0x10
sub cx, ax
cmp cx, 1
sbb ebx, ebx
neg ebx
push ebx
push 0x300
push 1
push esi
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push ebx
push 0x301
push 1
push esi
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4022e0
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edi, 1
cmp dword [ebp - 4], edi
sbb eax, eax
neg eax
push eax
push 0x302
push edi
push esi
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push ebx
push 0x303
push edi
xor ebx, ebx
push esi
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push ebx
mov eax, dword [0x405004]
push ebx
push 0xc6
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, edi
sbb eax, eax
neg eax
push eax
push 0x19
push edi
push esi
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, 0
cmp dword [0x40501c], edi
adc eax, 0xffffffff
and eax, 8
push eax
push 0x1b
push edi
push esi
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
cmp dword [0x4057bc], ebx
jne 0x40238d
push 0x14
lea eax, [ebp - 0x18]
push eax
push section..text
push 0x40100c
push 0x401004
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
test eax, eax
je 0x40238f
xor edi, edi
push edi
push 0xe
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x402446
Capabilities:
Set registry value

Disassembly:
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 0xc
Function at 0x4029ee
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp byte [esi], 0x2f
jne 0x402b8b
cmp byte [esi + 1], 0x2e
jne 0x402b8b
mov al, byte [esi + 2]
cmp al, 0x53
je 0x402a15
cmp al, 0x73
jne 0x402b8b
mov al, byte [esi + 3]
cmp al, 0x45
je 0x402a24
cmp al, 0x65
jne 0x402b8b
mov al, byte [esi + 4]
cmp al, 0x54
je 0x402a33
cmp al, 0x74
jne 0x402b8b
mov al, byte [esi + 5]
cmp al, 0x55
je 0x402a42
cmp al, 0x75
jne 0x402b8b
mov al, byte [esi + 6]
cmp al, 0x50
je 0x402a51
cmp al, 0x70
jne 0x402b8b
push 0
mov eax, dword [section..data]
mov dword [0x405018], 1
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push 2
add esi, 7
mov dword [0x4055b0], eax
mov eax, dword [0x405540]
push eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [0x4055e8], eax
mov al, byte [esi]
cmp al, 0x20
je 0x402a8e
cmp al, 9
jne 0x402a91
inc esi
jmp 0x402a84
cmp byte [esi], 0
je 0x402b84
push esi
mov esi, 0x4056a0
push esi
call fcn.00402894
push 0
push pe_nt_image_headers32
push 3
push 0
push 3
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x405640], eax
cmp eax, 0xffffffff
jne 0x402b5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x402aec
cmp eax, 5
je 0x402b30
push 0x30
cmp eax, 0x7b
je 0x402b3e
push esi
mov eax, dword [0x405040]
jmp 0x402b48
push 0x34
mov esi, 0x4056a0
push esi
mov eax, dword [0x405044]
push eax
push dword [0x405064]
push dword [section..data]
call fcn.0040240d
cmp eax, 6
jne 0x402b5a
push 0
push pe_nt_image_headers32
push 2
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x405640], eax
jmp 0x402b5a
push 0x30
mov eax, dword [0x4050b0]
push 0x4056a0
jmp 0x402b48
push 0x4056a0
mov eax, dword [0x405078]
push eax
push dword [0x405064]
push dword [section..data]
call fcn.0040240d
cmp dword [0x405640], 0xffffffff
je 0x402b8b
xor esi, esi
push esi
push 0x4056a0
call fcn.004034a4
test al, 0x80
je 0x402b84
push esi
mov eax, dword [section..data]
push esi
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
jmp 0x402b8d
xor eax, eax
pop esi
ret 4
Function at 0x402b91
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp byte [esi], 0x2f
jne 0x402c9b
mov al, byte [esi + 1]
cmp al, 0x50
je 0x402bae
cmp al, 0x70
jne 0x402c9b
add esi, 2
mov al, byte [esi]
cmp al, 0x20
je 0x402bbb
cmp al, 9
jne 0x402bbe
inc esi
jmp 0x402bb1
cmp byte [esi], 0
je 0x402c9b
push dword [esp + 0xc]
push dword [section..data]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov esi, 0x4056a0
push esi
call fcn.00402894
push 0
push pe_nt_image_headers32
push 3
push 0
push 3
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x405640], eax
cmp eax, 0xffffffff
jne 0x402c27
push 0x30
mov eax, dword [0x40509c]
push esi
push eax
push dword [0x405064]
push dword [section..data]
call fcn.0040240d
mov eax, 1
jmp 0x402c9d
push 1
push 0x4056a0
call fcn.004034a4
test al, 0x80
je 0x402c3e
mov eax, 1
jmp 0x402c9d
call fcn.00403d9a
test eax, eax
jge 0x402c94
cmp eax, 0xfffffffd
je 0x402c94
cmp eax, 0xfffffffc
jne 0x402c59
mov ecx, dword [0x405080]
jmp 0x402c6c
cmp eax, 0xfffffffb
jne 0x402c66
mov ecx, dword [0x405084]
jmp 0x402c6c
mov ecx, dword [0x405074]
cmp dword [0x405010], 0
mov eax, 0x4056a0
je 0x402c7f
mov eax, dword [0x405050]
push 0x30
push eax
push ecx
mov eax, dword [section..data]
push dword [0x405064]
push eax
call fcn.0040240d
mov eax, 1
jmp 0x402c9d
xor eax, eax
pop esi
ret 8
Function at 0x4031dd
Capabilities:
Delete file
Get graphical window text

Disassembly:
push ebp
mov eax, dword [0x4055f0]
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
xor esi, esi
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edi, dword [ebp + 0x10]
cmp edi, esi
jne 0x403216
push esi
push pe_nt_image_headers32
push 3
push esi
push 1
push 0xc0000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp 0x403240
push 2
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [0x405640], eax
test eax, eax
jge 0x403240
push 0
mov esi, 1
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll__lcreat]
test eax, eax
jge 0x403240
xor esi, esi
mov dword [0x405640], eax
cmp eax, 0xffffffff
jne 0x40326e
test edi, edi
je 0x403267
push 0x30
push dword [ebp + 0xc]
push dword [0x405088]
push dword [0x405064]
push dword [ebp + 8]
call fcn.0040240d
xor eax, eax
jmp 0x4033b0
xor edi, edi
mov eax, dword [0x405004]
push edi
push edi
push 0xc8
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov dword [ebp - 8], eax
push edi
mov eax, dword [0x405004]
push 0xe
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ebx, [eax + 1]
push 0x42
push ebx
mov dword [ebp - 4], eax
mov eax, dword [0x405644]
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [0x405644], eax
cmp eax, edi
jne 0x4032d4
push 0x30
push dword [ebp + 0xc]
push dword [0x40506c]
push dword [0x405064]
push dword [ebp + 8]
call fcn.0040240d
xor eax, eax
jmp 0x4033b0
mov eax, dword [0x405644]
push eax
call dword [sym.imp.KERNEL32.dll_LocalLock]
push eax
mov edi, eax
push ebx
mov eax, dword [0x405004]
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 4]
push edi
push dword [0x405640]
call dword [sym.imp.KERNEL32.dll__lwrite]
cmp eax, dword [ebp - 4]
je 0x403349
mov eax, dword [0x405644]
push eax
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
mov eax, dword [0x405640]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
test esi, esi
je 0x40332c
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x30
push dword [ebp + 0xc]
push dword [0x40506c]
push dword [0x405064]
push dword [ebp + 8]
call fcn.0040240d
xor eax, eax
jmp 0x4033b0
xor esi, esi
mov eax, dword [0x405640]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
push esi
mov eax, dword [0x405004]
push esi
push 0xb9
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp + 0xc]
call fcn.00402170
mov eax, dword [0x405640]
mov dword [0x405010], esi
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
cmp dword [ebp - 8], esi
je 0x40339f
push esi
mov eax, dword [0x405004]
push 1
push 0xc8
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x405644]
push eax
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4033b9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
push ebx
lea eax, [ebp - 0x170]
push esi
push edi
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x24
mov eax, dword [0x4050b4]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x403496
push 0x104
lea eax, [ebp - 0x274]
cmp dword [ebp + 0x10], 1
sbb edi, edi
push eax
add edi, 0x37
push 0x38
push dword [0x405540]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x12c
lea ecx, [ebp - 0x12c]
push ecx
mov eax, dword [0x405540]
push edi
mov ebx, 0x40105c
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push ebx
lea eax, [ebp - 0x12c]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x12c]
push eax
call edi
push ebx
lea ecx, [ebp - 0x12c]
push ecx
call edi
push 1
lea ecx, [ebp - 0x12c]
push esi
lea edx, [ebp - 0x274]
push ecx
push edx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x40348f
push 0x30
mov eax, dword [0x405064]
push eax
push dword [0x4050b8]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x40349b
mov eax, 0x81
jmp 0x40349b
mov eax, 0x82
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403820
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
cmp byte [eax], bl
je 0x4039f8
mov eax, dword [0x4055f0]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
lea ecx, [ebp - 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
push ecx
push 0xb0
push dword [0x405004]
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0xe
push dword [0x405004]
call dword [sym.imp.USER32.dll_SendMessageA]
lea edi, [eax + 1]
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x4039f8
push eax
call dword [sym.imp.KERNEL32.dll_LocalLock]
cmp eax, ebx
mov esi, eax
jne 0x4038a1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4039f8
push esi
mov eax, dword [0x405004]
push edi
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x40529c], 0
je 0x40394a
push 0
push dword [ebp - 8]
push 0xc9
push dword [0x405004]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov dword [ebp - 4], eax
push eax
push 0xbb
push dword [0x405004]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
cmp dword [0x405298], 0
je 0x403910
add ebx, esi
lea ecx, [esi + edi]
push ebx
push ecx
call fcn.00404e4f
jmp 0x40391c
add ebx, esi
lea ecx, [esi + edi]
push ebx
push ecx
call fcn.00404f2d
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40396e
cmp dword [ebp - 0x10], 0
mov ebx, edi
je 0x40396e
push 0
dec dword [ebp - 0x10]
push dword [ebp - 0x10]
push 0xbb
push dword [0x405004]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
jmp 0x4038f6
push dword [ebp + 8]
cmp dword [0x405298], 0
mov eax, dword [ebp - 0x14]
je 0x403963
add eax, esi
push eax
call fcn.00404e07
jmp 0x40396b
add eax, esi
push eax
call fcn.00404ee5
mov dword [ebp - 4], eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [ebp - 4], 0
jne 0x4039b8
cmp dword [0x405008], 0
je 0x403997
mov ecx, dword [0x405008]
jmp 0x40399d
mov ecx, dword [section..data]
push 0x40
mov eax, dword [0x405054]
push 0x405590
push eax
push dword [0x405064]
push ecx
call fcn.0040240d
jmp 0x4039f8
push dword [ebp + 8]
mov eax, dword [ebp - 4]
sub eax, esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 8]
add ecx, eax
mov eax, dword [0x405004]
push ecx
push dword [ebp - 8]
push 0xb1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb7
push dword [0x405004]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403a01
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0x50200104
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
jne 0x403a1e
mov dword [ebp - 8], 0x50300104
xor edi, edi
mov ebx, 0xc8
push edi
mov eax, dword [0x405004]
push edi
push ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov eax, dword [0x405004]
push edi
push 0xe
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
inc eax
push eax
mov dword [ebp - 0xc], eax
push 0x42
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, edi
mov esi, eax
jne 0x403a76
cmp dword [ebp + 8], edi
jne 0x403a6f
push edi
mov eax, dword [0x405004]
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
jmp 0x403b9d
lea eax, [ebp - 0x1c]
push eax
push dword [section..data]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.KERNEL32.dll_LocalLock]
push eax
mov ebx, eax
push dword [ebp - 0xc]
push 0xd
push dword [0x405004]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push dword [0x405540]
push 0xf
push dword [section..data]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
push 0
push dword [ebp - 8]
push section..text
push 0x401054
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
test edi, edi
jne 0x403aee
push esi
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x403b9d
push ebx
push 0
push 0xc
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x403b1a
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
push esi
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x403b9d
push esi
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push 0
mov eax, dword [0x405804]
push eax
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [0x405004]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 5
mov eax, dword [section..data]
push eax
mov dword [0x405004], edi
mov dword [0x405644], esi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x405010], 0
mov eax, dword [0x405050]
jne 0x403b6b
mov eax, 0x4056a0
push eax
call fcn.00402170
cmp dword [ebp - 4], 0
je 0x403b8c
push 0
mov eax, dword [0x405004]
push 1
push 0xb9
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x405004]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40a780
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x478b6b
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.00469103
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a802
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00466b2a
mov eax, dword [eax]
push 0x57b220
push eax
call fcn.00458cc4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046938e
test bl, bl
je 0x40a802
push 0x57b220
lea ecx, [esp + 0xc]
call fcn.0046976a
push 0x57ed80
lea ecx, [esp + 0xc]
call fcn.0046976a
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 0x40a83e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046938e
jmp 0x40a909
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 0x40a8c2
lea edx, [esp + 0x7c]
push 0x57ed7c
push edx
call fcn.00458cc4
add esp, 8
test eax, eax
je 0x40a8c2
lea eax, [esp + 0x7c]
push 0x57ed78
push eax
call fcn.00458cc4
add esp, 8
test eax, eax
je 0x40a8c2
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 0x40a852
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.0046938e
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 0x40b100
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 0x40b162
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 0x40b170
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x478beb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x585660]
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 0x40b2a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b1d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046938e
xor eax, eax
jmp 0x40b31f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00469517
push esi
lea ecx, [esp + 0xc]
call fcn.004697a6
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 0x40b2fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040b100
test eax, eax
jne 0x40b2fd
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 accept
mov ecx, edi
call fcn.0040b100
test eax, eax
jne 0x40b2fd
lea eax, [esp + 0x14]
push 0x57ed94
push eax
call fcn.00459e70
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b2dc
lea ecx, [esp + 0x14]
push 0x57ed90
push ecx
call fcn.00459df0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b2dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b2df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004694c7
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b1ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046938e
xor eax, eax
jmp 0x40b31f
mov byte [esi], 0
push 0x57ed8c
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.0046938e
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