joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f2a0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x108
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebp
push esi
push edi
mov esi, ecx
push esi
push 0
mov edi, eax
push 0x410
mov byte [edi], 0
call ebx
mov ebp, eax
test ebp, ebp
jne 0x44f2e1
push esi
push eax
push 0x1000
call ebx
mov ebp, eax
test ebp, ebp
jne 0x44f2e1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
cmp byte [esp + 0x11c], 0
push 0x104
push edi
push 0
push ebp
je 0x44f2fc
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
jmp 0x44f302
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test byte [0x4ade60], 1
mov ebx, eax
jne 0x44f332
or dword [0x4ade60], 1
push str.GetProcessImageFileNameA
push str.psapi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ade5c], eax
jmp 0x44f337
mov eax, dword [0x4ade5c]
test ebx, ebx
jne 0x44f434
test eax, eax
je 0x44f434
push 0x104
push edi
push ebp
call eax
mov ebx, eax
test ebx, ebx
je 0x44f434
cmp byte [esp + 0x11c], 0
je 0x44f3a9
push 0x5c
push edi
call fcn.004873ea
add esp, 8
test eax, eax
je 0x44f434
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x44f380
sub ecx, esi
push ecx
inc eax
push eax
push edi
call fcn.00486010
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x108
ret
mov word [esp + 0x11], 0x3a
mov byte [esp + 0x10], 0x41
push 0x104
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov esi, eax
cmp esi, 2
jbe 0x44f3ed
sub esi, 2
push esi
lea edx, [esp + 0x18]
push edi
push edx
call fcn.00487627
add esp, 0xc
test eax, eax
jne 0x44f3ed
cmp byte [esi + edi], 0x5c
je 0x44f40f
mov al, byte [esp + 0x10]
inc al
mov byte [esp + 0x10], al
cmp al, 0x5a
jle 0x44f3b5
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x108
ret
mov al, byte [esp + 0x10]
mov cl, byte [esp + 0x11]
sub ebx, esi
lea edx, [ebx + 1]
push edx
add esi, edi
mov byte [edi], al
mov byte [edi + 1], cl
push esi
add edi, 2
push edi
call fcn.00486010
add esp, 0xc
add ebx, 2
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x108
ret
Function at 0x4525c0
Capabilities:
Delete file

Disassembly:
sub esp, 0x12c
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x452674
cmp byte [eax], bl
je 0x452674
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4525f6
sub eax, edx
cmp eax, ebx
je 0x452610
cmp byte [esp + eax + 0x27], 0x5c
lea eax, [esp + eax + 0x27]
jne 0x452610
mov byte [eax], bl
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x452617
sub eax, edx
mov byte [esp + eax + 0x29], bl
lea edx, [esp + 4]
lea eax, [esp + 0x28]
mov ecx, 0x4054
push edx
mov dword [esp + 0x1e], ebx
mov dword [esp + 0x22], ebx
mov dword [esp + 0x1a], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 3
mov word [esp + 0x18], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
setne al
movzx ecx, al
push ecx
push esi
call fcn.0042e800
pop ebx
add esp, 0x12c
ret
mov edx, dword [0x4a7440]
cmp byte [edx + 0xe4], bl
jne 0x45269f
mov eax, dword [0x4ab51c]
push 1
push ebx
push 0xffffffffffffffff
push 0x49aee0
push eax
call fcn.00475380
pop ebx
add esp, 0x12c
ret
push 0x4997f1
push ebx
push 0x49aee0
mov ecx, esi
call fcn.0042e710
pop ebx
add esp, 0x12c
ret
Function at 0x452770
Capabilities:
Get file version info

Disassembly:
mov ecx, dword [0x4aac68]
sub esp, 0x8c
push ebp
mov ebp, dword [esp + 0x94]
push edi
mov edi, eax
call fcn.00412c90
test edi, edi
je 0x4528e8
cmp byte [edi], 0
je 0x4528e8
push esi
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test esi, esi
jne 0x452809
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a7440]
cmp byte [ecx + 0xe4], 0
mov dword [ecx + 0x30], eax
jne 0x4527ea
mov ecx, dword [0x4ab51c]
push 1
push esi
push 0xffffffffffffffff
push 0x49aee0
push ecx
call fcn.00475380
pop esi
pop edi
pop ebp
add esp, 0x8c
ret 4
push 0x4997f1
push 0
push 0x49aee0
mov ecx, ebp
call fcn.0042e710
pop esi
pop edi
pop ebp
add esp, 0x8c
ret 4
push ebx
push esi
call fcn.004855e9
add esp, 4
mov ebx, eax
push ebx
push esi
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x4528bd
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0x49d2e0
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x4528bd
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
movzx edx, cx
push edx
shr ecx, 0x10
push ecx
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push str._u._u._u._u
mov esi, 0x80
lea edi, [esp + 0x30]
call fcn.00472710
push ebx
call fcn.00485448
mov eax, dword [0x4ab51c]
mov edx, dword [0x4a7440]
add esp, 0x18
push 1
push 0
push 0xffffffffffffffff
push 0x49987c
push eax
mov dword [edx + 0x30], 0
call fcn.00475380
mov edx, dword [0x4aac68]
push 1
push 0
push 0xffffffffffffffff
mov ecx, edi
push ecx
push edx
call fcn.00475380
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x8c
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a7440]
push ebx
mov dword [ecx + 0x30], eax
call fcn.00485448
add esp, 4
push ebp
call fcn.00430f50
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x8c
ret 4
mov eax, dword [0x4a7440]
cmp byte [eax + 0xe4], 0
mov dword [eax + 0x30], 0x57
jne 0x45291f
mov edx, dword [0x4ab51c]
push 1
push 0
push 0xffffffffffffffff
push 0x49aee0
push edx
call fcn.00475380
pop edi
pop ebp
add esp, 0x8c
ret 4
push 0x4997f1
push 0
push 0x49aee0
mov ecx, ebp
call fcn.0042e710
pop edi
pop ebp
add esp, 0x8c
ret 4
Function at 0x452940
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
sub esp, 0x234
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0x104
push edx
call esi
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452966
sub eax, edx
je 0x45297e
cmp byte [esp + eax + 0x27], 0x5c
lea eax, [esp + eax + 0x27]
jne 0x45297e
mov byte [eax], cl
mov edx, dword [esp + 0x23c]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x134]
push ecx
push 0x104
push edx
call esi
lea eax, [esp + 0x130]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4529a4
sub eax, edx
je 0x4529c2
cmp byte [esp + eax + 0x12f], 0x5c
lea eax, [esp + eax + 0x12f]
jne 0x4529c2
mov byte [eax], cl
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x28]
push eax
call esi
cmp eax, 0xffffffff
je 0x4529f5
test al, 0x10
je 0x4529f5
lea ecx, [esp + 0x130]
push ecx
call esi
cmp eax, 0xffffffff
je 0x4529ff
test al, 0x10
je 0x4529ff
cmp byte [esp + 0x240], 0
jne 0x452a1b
xor al, al
pop esi
add esp, 0x234
ret
lea edx, [esp + 0x130]
push edx
call fcn.00453350
add esp, 4
test al, al
jne 0x452a1b
pop esi
add esp, 0x234
ret
lea eax, [esp + 0x28]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x452a20
mov ecx, dword [str..]
mov dl, byte [0x49f3cc]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452a40
sub eax, edx
mov byte [esp + eax + 0x29], cl
lea eax, [esp + 0x130]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452a57
sub eax, edx
mov byte [esp + eax + 0x131], cl
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x130]
mov edx, 0x614
push eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 2
mov word [esp + 0x1c], dx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
inc eax
pop esi
add esp, 0x234
ret
Function at 0x452ad0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x234
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0x104
push edx
call esi
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452af6
sub eax, edx
je 0x452b0e
cmp byte [esp + eax + 0x27], 0x5c
lea eax, [esp + eax + 0x27]
jne 0x452b0e
mov byte [eax], cl
mov edx, dword [esp + 0x23c]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x134]
push ecx
push 0x104
push edx
call esi
lea eax, [esp + 0x130]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452b34
sub eax, edx
je 0x452b52
cmp byte [esp + eax + 0x12f], 0x5c
lea eax, [esp + eax + 0x12f]
jne 0x452b52
mov byte [eax], cl
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x28]
push eax
call esi
cmp eax, 0xffffffff
je 0x452b85
test al, 0x10
je 0x452b85
lea ecx, [esp + 0x130]
push ecx
call esi
cmp eax, 0xffffffff
je 0x452b8f
test al, 0x10
je 0x452b85
cmp edi, 1
je 0x452b8f
cmp edi, 2
je 0x452b8f
xor al, al
pop esi
add esp, 0x234
ret
lea edx, [esp + 0x130]
push edx
lea edx, [esp + 0x2c]
call fcn.00453460
add esp, 4
test al, al
je 0x452bd7
lea eax, [esp + 0x130]
push 1
push eax
lea edx, [esp + 0x30]
call fcn.00452940
add esp, 8
test al, al
je 0x452b85
push 1
lea edx, [esp + 0x2c]
call fcn.00452c80
add esp, 4
pop esi
add esp, 0x234
ret
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452be0
sub eax, edx
mov byte [esp + eax + 0x29], cl
lea eax, [esp + 0x130]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452bf7
sub eax, edx
mov byte [esp + eax + 0x131], cl
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x130]
mov eax, 0x614
mov dword [esp + 8], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 1
mov word [esp + 0x18], ax
cmp edi, 2
jne 0x452c62
mov ecx, 0x615
mov word [esp + 0x18], cx
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
inc eax
pop esi
add esp, 0x234
ret
Function at 0x452c80
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
sub esp, 0x12c
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 0x28]
lea edx, [eax + 1]
xor ebx, ebx
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x452ca6
sub eax, edx
cmp eax, ebx
je 0x452cc0
cmp byte [esp + eax + 0x27], 0x5c
lea eax, [esp + eax + 0x27]
jne 0x452cc0
mov byte [eax], bl
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x452cd4
test al, 0x10
jne 0x452cde
xor al, al
pop ebx
add esp, 0x12c
ret
cmp byte [esp + 0x134], bl
jne 0x452cff
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne al
pop ebx
add esp, 0x12c
ret
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x452d06
sub eax, edx
mov byte [esp + eax + 0x29], bl
lea ecx, [esp + 4]
lea edx, [esp + 0x28]
mov eax, 0x614
push ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1e], ebx
mov dword [esp + 0x22], ebx
mov dword [esp + 0x1a], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 3
mov word [esp + 0x18], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
inc eax
pop ebx
add esp, 0x12c
ret
Function at 0x453350
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4533d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 2
je 0x4533be
dec eax
jne 0x4533e0
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453377
sub eax, edx
cmp eax, 0x104
ja 0x4533e0
inc eax
call fcn.0048eeb0
mov esi, esp
mov edx, esi
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x453395
push 0x5c
push esi
call fcn.004873ea
add esp, 8
test eax, eax
je 0x4533e0
push esi
mov byte [eax], 0
call fcn.00453350
add esp, 4
test al, al
je 0x4533e0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret
test al, 0x10
je 0x4533e0
mov al, 1
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret
xor al, al
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret

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

Disassembly:
sub esp, 0x144
push 0x2a
push esi
call fcn.00486421
add esp, 8
test eax, eax
jne 0x453428
push 0x3f
push esi
call fcn.00486421
add esp, 8
test eax, eax
jne 0x453428
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
add esp, 0x144
ret
lea eax, [esp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x453441
xor al, al
add esp, 0x144
ret
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
add esp, 0x144
ret

Function at 0x453570
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x18
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x453591
xor al, al
add esp, 0x18
ret
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45358b
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
add esp, 0x18
ret

Function at 0x4535f0
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x453641
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x453641
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x453641
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
Function at 0x45a160
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, eax
movzx ecx, byte [edi + 1]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp ecx, eax
jle 0x45a355
mov dword [esp + 0x1c], eax
mov edx, dword [edi + 8]
add eax, edx
mov dl, byte [eax]
cmp dl, 2
jne 0x45a1b2
push 1
push ebx
push edi
call fcn.00420880
mov ecx, dword [esp + 0x24]
mov dword [ecx + ebx*4], eax
test eax, eax
jne 0x45a33d
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
cmp byte [eax + 1], 0
mov ebp, dword [esp + 0x24]
mov dword [ebp + ebx*4], 0
je 0x45a1e5
movzx eax, word [eax + 2]
mov edx, 0xff
cmp ax, dx
jae 0x45a1d4
mov eax, edx
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax + 1]
mov dword [esp + 0x18], edx
jmp 0x45a33d
cmp dl, 1
jne 0x45a1fb
push 0
push ebx
push edi
call fcn.00420880
mov esi, eax
test esi, esi
je 0x45a1a5
jmp 0x45a243
cmp ebx, ecx
jge 0x45a33d
mov cl, byte [eax]
test cl, cl
jne 0x45a21b
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x45a215
cmp dword [ecx], 0
jne 0x45a229
cmp byte [eax + 1], 0
jmp 0x45a223
cmp cl, 1
sete cl
test cl, cl
je 0x45a33d
mov ecx, dword [eax + 8]
cmp dword [ecx + 0xc], 0
jne 0x45a27a
mov dx, word [ecx + 0xa]
cmp dx, word [eax + 2]
jne 0x45a27a
mov esi, dword [ecx + 4]
test esi, esi
je 0x45a27a
push ebp
push ebx
push esi
mov dword [ebp + ebx*4], esi
call fcn.0045a380
test eax, eax
je 0x45a1a5
cmp eax, 4
je 0x45a33d
push 0
mov ecx, esi
call fcn.00475750
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax + 1]
mov dword [esp + 0x18], edx
jmp 0x45a33d
movzx eax, word [eax + 2]
mov edx, dword [esp + 0x18]
lea eax, [edx + eax + 1]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x45a33d
mov ebp, ecx
cmp dword [ebp], 0
je 0x45a33d
mov edi, edi
mov esi, dword [ebp + 4]
movzx ecx, word [ebp + 0xa]
movzx eax, byte [esi + 0x17]
sub dword [esp + 0x18], ecx
cmp eax, 3
ja case.default.0x45a2b4
jmp dword [eax*4 + 0x45a364]
mov eax, esi
call fcn.00401150
cmp dword [0x4aae84], 0
jne 0x45a2fd
cmp dword [esi + 0xc], 0
jne 0x45a2fd
mov eax, dword [esi + 0x18]
push 0
lea edx, [esp + 0x1b]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x45a2f3
mov dword [0x4adddc], 0
dec eax
jmp 0x45a32c
mov dword [0x4adddc], esi
xor eax, eax
jmp 0x45a32c
mov eax, dword [esi + 0xc]
jmp 0x45a32c
mov ecx, dword [esi + 0xc]
push 0
call fcn.00475750
jmp 0x45a32c
xor ecx, ecx
call fcn.00404140
cmp eax, 0xffffffff
jne 0x45a32c
xor eax, eax
jmp 0x45a32c
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
push ecx
push 0
call edx
add esp, 8
add dword [esp + 0x18], eax
add ebp, 0xc
cmp dword [ebp], 0
jne 0x45a2a0
mov eax, dword [esp + 0x1c]
movzx ecx, byte [edi + 1]
inc ebx
add eax, 0x10
mov dword [esp + 0x1c], eax
cmp ebx, ecx
jl 0x45a181
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x464280
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [eax + 4]
test eax, eax
je 0x464290
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret

Function at 0x4642a0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [eax + 0x24], 0
mov eax, dword [eax + 4]
jne 0x4642bc
test eax, eax
je 0x4642cf
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret
push 0
push 0x2af80006
push 0x414
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
ret

Function at 0x464310
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x34
cmp dword [edi + 4], 0
push ebx
push ebp
push esi
je 0x464466
xor ebp, ebp
cmp dword [edi + 0x10], ebp
jbe 0x464356
xor esi, esi
mov eax, dword [edi + 0x18]
cmp dword [eax + esi + 8], 0
je 0x46434d
cmp byte [eax + esi + 4], 6
je 0x46434d
mov edx, dword [esi + eax + 8]
lea ecx, [esi + eax]
push edx
push edi
mov eax, str.Submit
call fcn.00464510
inc ebp
add esi, 0x14
cmp ebp, dword [edi + 0x10]
jb 0x464329
xor esi, esi
xor ebx, ebx
xor ebp, ebp
cmp esi, dword [edi + 0x10]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
je 0x46438b
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x20000
je 0x4643d4
cmp dword [esp + 0x10], 1
jne 0x4643c3
cmp ebx, 1
jle 0x4643c3
cmp ebp, 0xffffffff
jne 0x46439e
xor ebp, ebp
push 0xa
lea eax, [esp + 0x24]
push eax
push ebp
call fcn.004850c2
mov edx, dword [esp + 0x24]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.00475380
cmp esi, dword [edi + 0x10]
je 0x464453
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x10], ebx
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x14]
cmp byte [eax + ecx + 4], 6
jne 0x46443c
mov esi, dword [eax + ecx + 8]
inc ebx
test esi, esi
je 0x4643f3
inc dword [esp + 0x10]
mov dword [esp + 0x18], esi
mov edx, dword [eax + ecx]
push 0
push 0
push 0xf0
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x464427
test ebp, ebp
je 0x464414
or ebp, 0xffffffff
jmp 0x464416
mov ebp, ebx
test esi, esi
je 0x46443c
push 1
push 0
push 0xffffffffffffffff
push 0x49aee0
jmp 0x464436
test esi, esi
je 0x46443c
push 1
push 0
push 0xffffffffffffffff
push 0x49987c
push esi
call fcn.00475380
mov esi, dword [esp + 0x1c]
add dword [esp + 0x14], 0x14
inc esi
mov dword [esp + 0x1c], esi
cmp esi, dword [edi + 0x10]
jbe 0x46436f
cmp byte [esp + 0x44], 0
je 0x464466
mov eax, dword [edi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x34
ret 4
Function at 0x467020
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, eax
mov al, byte [edi]
xor bl, bl
mov byte [esp + 0xf], bl
test al, al
je 0x467059
cmp al, 0x21
je 0x46704a
cmp al, 0x2b
je 0x467045
cmp al, 0x5e
jne 0x467055
or bl, 2
jmp 0x46704d
or bl, 1
jmp 0x46704d
or bl, 4
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x467034
mov byte [esp + 0xf], bl
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov cl, byte [edi]
test cl, cl
je 0x46714a
cmp byte [edi + 1], 0
jne 0x4670b4
mov byte [esp + 0x10], cl
cmp cl, 0xa
jne 0x467081
mov al, 0xd
jmp 0x46713f
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx ecx, ax
mov eax, ecx
shr eax, 8
cmp al, 0xff
jne 0x4670a5
cmp cl, 0xff
jne 0x4670a5
xor al, al
jmp 0x46713f
and al, 0x38
neg al
sbb al, al
not al
and al, cl
jmp 0x46713f
movzx esi, cl
test esi, 0xffffff80
jne 0x4670d1
push 2
push esi
call fcn.0048696e
add esp, 8
test eax, eax
je 0x4670d1
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x56
jne 0x46710d
movzx esi, byte [edi + 1]
test esi, 0xffffff80
jne 0x4670f5
push 2
push esi
call fcn.0048696e
add esp, 8
test eax, eax
je 0x4670f5
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x4b
jne 0x46710d
push 0x10
lea eax, [edi + 2]
push 0
push eax
call fcn.00486db4
add esp, 0xc
jmp 0x46713f
xor esi, esi
nop
mov eax, dword [esi*8 + 0x4a8180]
push edi
push eax
call fcn.00485431
add esp, 8
test eax, eax
je 0x467153
inc esi
cmp esi, 0x6d
jl 0x467110
mov eax, edi
call fcn.00411d70
movzx ecx, ax
test cx, cx
je 0x46714a
call fcn.004124d0
mov byte [esp + 0x10], al
cmp byte [esp + 0x10], 0
jne 0x467160
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov cl, byte [esi*8 + 0x4a8184]
mov byte [esp + 0x10], cl
jmp 0x467143
mov eax, edi
call fcn.00411d70
movzx eax, ax
test ax, ax
jne 0x467185
mov edx, dword [esp + 0x10]
push edx
xor bl, bl
call fcn.00412250
mov bl, byte [esp + 0x13]
add esp, 4
movzx eax, ax
test eax, 0x100
je 0x46718f
or bl, 8
movzx ecx, byte [esp + 0x10]
movzx eax, bl
pop edi
shl eax, 8
pop esi
or eax, ecx
pop ebx
add esp, 8
ret