joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4497c0
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 0x4497e6
sub eax, edx
je 0x4497fe
cmp byte [esp + eax + 0x27], 0x5c
lea eax, [esp + eax + 0x27]
jne 0x4497fe
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 0x449824
sub eax, edx
je 0x449842
cmp byte [esp + eax + 0x12f], 0x5c
lea eax, [esp + eax + 0x12f]
jne 0x449842
mov byte [eax], cl
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x28]
push eax
call esi
cmp eax, 0xffffffff
je 0x449875
test al, 0x10
je 0x449875
lea ecx, [esp + 0x130]
push ecx
call esi
cmp eax, 0xffffffff
je 0x44987f
test al, 0x10
je 0x44987f
cmp byte [esp + 0x240], 0
jne 0x44989b
xor al, al
pop esi
add esp, 0x234
ret
lea edx, [esp + 0x130]
push edx
call fcn.0044a1d0
add esp, 4
test al, al
jne 0x44989b
pop esi
add esp, 0x234
ret
lea eax, [esp + 0x28]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4498a0
mov ecx, dword [str..]
mov dl, byte [0x4957c8]
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 0x4498c0
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 0x4498d7
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 0x449950
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 0x449976
sub eax, edx
je 0x44998e
cmp byte [esp + eax + 0x27], 0x5c
lea eax, [esp + eax + 0x27]
jne 0x44998e
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 0x4499b4
sub eax, edx
je 0x4499d2
cmp byte [esp + eax + 0x12f], 0x5c
lea eax, [esp + eax + 0x12f]
jne 0x4499d2
mov byte [eax], cl
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x28]
push eax
call esi
cmp eax, 0xffffffff
je 0x449a05
test al, 0x10
je 0x449a05
lea ecx, [esp + 0x130]
push ecx
call esi
cmp eax, 0xffffffff
je 0x449a0f
test al, 0x10
je 0x449a05
cmp edi, 1
je 0x449a0f
cmp edi, 2
je 0x449a0f
xor al, al
pop esi
add esp, 0x234
ret
lea edx, [esp + 0x130]
push edx
lea edx, [esp + 0x2c]
call fcn.0044a2e0
add esp, 4
test al, al
je 0x449a57
lea eax, [esp + 0x130]
push 1
push eax
lea edx, [esp + 0x30]
call fcn.004497c0
add esp, 8
test al, al
je 0x449a05
push 1
lea edx, [esp + 0x2c]
call fcn.00449b00
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 0x449a60
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 0x449a77
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 0x449ae2
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 0x449b00
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 0x449b26
sub eax, edx
cmp eax, ebx
je 0x449b40
cmp byte [esp + eax + 0x27], 0x5c
lea eax, [esp + eax + 0x27]
jne 0x449b40
mov byte [eax], bl
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x449b54
test al, 0x10
jne 0x449b5e
xor al, al
pop ebx
add esp, 0x12c
ret
cmp byte [esp + 0x134], bl
jne 0x449b7f
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 0x449b86
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 0x44a1d0
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 0x44a253
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 2
je 0x44a23e
dec eax
jne 0x44a260
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a1f7
sub eax, edx
cmp eax, 0x104
ja 0x44a260
inc eax
call fcn.004854f0
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 0x44a215
push 0x5c
push esi
call fcn.00478bf7
add esp, 8
test eax, eax
je 0x44a260
push esi
mov byte [eax], 0
call fcn.0044a1d0
add esp, 4
test al, al
je 0x44a260
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 0x44a260
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 0x44a270
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x144
push 0x2a
push esi
call fcn.00477c01
add esp, 8
test eax, eax
jne 0x44a2a8
push 0x3f
push esi
call fcn.00477c01
add esp, 8
test eax, eax
jne 0x44a2a8
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 0x44a2c1
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 0x44a3f0
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 0x44a411
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 0x44a40b
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 0x44a470
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 0x44a4c1
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x44a4c1
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x44a4c1
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 0x44f590
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 0x44f78b
mov dword [esp + 0x1c], eax
mov edx, dword [edi + 8]
add eax, edx
mov dl, byte [eax]
cmp dl, 2
jne 0x44f5e2
push 1
push ebx
push edi
call fcn.0041d440
mov ecx, dword [esp + 0x24]
mov dword [ecx + ebx*4], eax
test eax, eax
jne 0x44f773
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 0x44f615
movzx eax, word [eax + 2]
mov edx, 0xff
cmp ax, dx
jae 0x44f604
mov eax, edx
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax + 1]
mov dword [esp + 0x18], edx
jmp 0x44f773
cmp dl, 1
jne 0x44f62b
push 0
push ebx
push edi
call fcn.0041d440
mov esi, eax
test esi, esi
je 0x44f5d5
jmp 0x44f676
cmp ebx, ecx
jge 0x44f773
mov cl, byte [eax]
test cl, cl
jne 0x44f64e
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x44f773
cmp dword [ecx], 0
jne 0x44f65c
jmp 0x44f773
cmp cl, 1
sete cl
test cl, cl
je 0x44f773
mov ecx, dword [eax + 8]
cmp dword [ecx + 0xc], 0
jne 0x44f6ad
mov dx, word [ecx + 0xa]
cmp dx, word [eax + 2]
jne 0x44f6ad
mov esi, dword [ecx + 4]
test esi, esi
je 0x44f6ad
push ebp
push ebx
push esi
mov dword [ebp + ebx*4], esi
call fcn.0044f7b0
test eax, eax
je 0x44f5d5
cmp eax, 4
je 0x44f773
push 0
mov ecx, esi
call fcn.00466bf0
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax + 1]
mov dword [esp + 0x18], edx
jmp 0x44f773
movzx eax, word [eax + 2]
mov edx, dword [esp + 0x18]
lea eax, [edx + eax + 1]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x44f773
mov ebp, ecx
cmp dword [ebp], 0
je 0x44f773
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.0x44f6e5
jmp dword [eax*4 + 0x44f79c]
mov eax, esi
call fcn.00401150
cmp dword [0x4a0b8c], 0
jne 0x44f72e
cmp dword [esi + 0xc], 0
jne 0x44f72e
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 0x44f724
mov dword [0x4a3b6c], 0
dec eax
jmp 0x44f762
mov dword [0x4a3b6c], esi
xor eax, eax
jmp 0x44f762
mov eax, dword [esi + 0xc]
jmp 0x44f762
mov ecx, dword [esi + 0xc]
push 0
call fcn.00466bf0
jmp 0x44f762
push 0
mov ecx, 0x4a2bfc
call fcn.004039a0
cmp eax, 0xffffffff
jne 0x44f762
xor eax, eax
jmp 0x44f762
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 0x44f6d1
mov eax, dword [esp + 0x1c]
movzx ecx, byte [edi + 1]
inc ebx
add eax, 0x10
mov dword [esp + 0x1c], eax
cmp ebx, ecx
jl 0x44f5b1
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x44f8c0
Capabilities:
Query environment variable

Disassembly:
sub esp, 8
push ebx
push ebp
shl eax, 4
add eax, dword [edx + 8]
push esi
push edi
mov edi, dword [esp + 0x1c]
test ecx, ecx
je 0x44f8e9
push edi
call fcn.00466bf0
lea eax, [eax + edi + 1]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], ebx
test eax, eax
je 0x44fa86
mov esi, eax
mov dword [esp + 0x14], eax
mov eax, dword [esi]
test eax, eax
je 0x44fa86
jmp 0x44f910
cmp ebx, eax
jae 0x44f922
mov cl, byte [ebx]
mov byte [edi], cl
inc ebx
inc edi
cmp ebx, eax
jb 0x44f914
mov dword [esp + 0x10], ebx
mov esi, dword [esi + 4]
movzx eax, byte [esi + 0x17]
mov ebp, edi
cmp eax, 3
ja case.default.0x44f934
jmp dword [eax*4 + 0x44faac]
mov eax, esi
call fcn.00401150
cmp dword [0x4a0b8c], 0
jne 0x44f9b8
cmp dword [esi + 0xc], 0
jne 0x44f9b8
cmp dword [0x4a3b6c], esi
jne 0x44f95d
test edi, edi
jne 0x44f997
mov eax, dword [esi + 0x18]
push 0
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x44f993
mov dword [0x4a3b6c], 0
test edi, edi
je 0x44f98d
mov ecx, dword [esi + 0x18]
call fcn.00465330
jmp 0x44fa65
dec eax
jmp 0x44fa65
test edi, edi
je 0x44f9ab
mov byte [edi], 0
mov dword [0x4a3b6c], 0
xor eax, eax
jmp 0x44fa65
mov dword [0x4a3b6c], esi
xor eax, eax
jmp 0x44fa65
mov ebx, dword [esi + 0xc]
test edi, edi
jne 0x44f9ca
mov eax, ebx
mov ebx, dword [esp + 0x10]
jmp 0x44fa65
test ebx, ebx
jne 0x44f9db
mov byte [edi], bl
mov ebx, dword [esp + 0x10]
xor eax, eax
jmp 0x44fa65
mov ecx, dword [esi + 8]
cmp edi, ecx
jne 0x44f9ea
mov eax, ebx
mov ebx, dword [esp + 0x10]
jmp 0x44fa65
cmp ebx, 0x186a0
jae 0x44fa0f
mov al, byte [ecx]
test al, al
je 0x44fa03
inc ecx
mov byte [ebp], al
mov al, byte [ecx]
inc ebp
test al, al
jne 0x44f9f8
mov eax, ebx
mov ebx, dword [esp + 0x10]
mov byte [ebp], 0
jmp 0x44fa65
push ebx
push ecx
push edi
call fcn.0047b470
mov byte [ebx + edi], 0
mov eax, ebx
mov ebx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x44fa65
mov ecx, dword [esi + 0xc]
push edi
call fcn.00466bf0
jmp 0x44fa65
push edi
mov ecx, 0x4a2bfc
call fcn.004039a0
cmp eax, 0xffffffff
jne 0x44fa43
xor eax, eax
test edi, edi
je 0x44fa65
mov byte [eax + edi], 0
jmp 0x44fa65
test edi, edi
je 0x44fa54
mov byte [edi], 0
xor eax, eax
jmp 0x44fa65
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
push ecx
push edi
call edx
add esp, 8
mov esi, dword [esp + 0x14]
add edi, eax
movzx eax, word [esi + 0xa]
add esi, 0xc
add ebx, eax
mov eax, dword [esi]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
test eax, eax
jne 0x44f910
mov al, byte [ebx]
test al, al
je 0x44fa9b
sub ebx, edi
mov edi, edi
mov byte [edi], al
mov al, byte [ebx + edi + 1]
inc edi
test al, al
jne 0x44fa90
mov byte [edi], 0
lea eax, [edi + 1]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x451db0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0x63
jb 0x451dbc
xor eax, eax
ret
push esi
mov esi, dword [eax*4 + 0x4a11b8]
test esi, esi
je 0x451f7a
cmp dword [esi], 0
push ebx
push ebp
push edi
je 0x451e8a
xor edi, edi
xor ebx, ebx
lea esp, [esp]
mov eax, dword [edi*4 + 0x4a11b8]
test eax, eax
je 0x451e04
mov eax, dword [eax + 0x40]
cmp eax, dword [esi]
jne 0x451dfb
push edi
call fcn.00451db0
add esp, 4
inc ebx
cmp dword [0x4a2b64], ebx
je 0x451e0a
inc edi
cmp edi, 0x63
jb 0x451de0
mov eax, dword [esi + 4]
test eax, eax
je 0x451e4e
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x406
push eax
call ebx
mov ebp, eax
xor edi, edi
test ebp, ebp
jle 0x451e4e
jmp 0x451e30
mov ecx, dword [esi + 4]
push 0
push edi
push 0x414
push ecx
call ebx
test eax, eax
je 0x451e49
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
inc edi
cmp edi, ebp
jl 0x451e30
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x451e8a
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetMenu]
cmp byte [esi + 0xbb], 0
jne 0x451e8a
mov edx, dword [esi]
push edx
mov byte [esi + 0xbb], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x60]
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x451e9a
push eax
call ebp
mov eax, dword [esi + 0x68]
test eax, eax
je 0x451ea4
push eax
call ebp
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x451eb2
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
xor ebx, ebx
cmp dword [esi + 0xc], ebx
jbe 0x451f02
xor edi, edi
jmp 0x451ec0
mov eax, dword [esi + 0x14]
mov cl, byte [eax + edi + 4]
add eax, edi
cmp cl, 2
jne 0x451ee8
mov edx, dword [eax + 0x10]
test edx, edx
je 0x451ee8
test byte [eax + 5], 0x80
push edx
je 0x451ee4
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x451ef9
call ebp
jmp 0x451ef9
cmp cl, 0xa
jne 0x451ef9
mov eax, dword [eax + 0x10]
push eax
call fcn.004785bf
add esp, 4
inc ebx
add edi, 0x14
cmp ebx, dword [esi + 0xc]
jb 0x451ec0
mov ecx, dword [esi + 0x14]
mov edi, dword [esi + 0x70]
mov ebx, dword [esi + 0x74]
push ecx
call fcn.004785bf
mov esi, dword [esp + 0x18]
mov edx, dword [esi*4 + 0x4a11b8]
push edx
call fcn.00479b23
mov dword [esi*4 + 0x4a11b8], 0
mov esi, dword [0x4a2b64]
dec esi
add esp, 8
mov dword [0x4a2b64], esi
test edi, edi
je 0x451f77
cmp edi, dword [0x4a312c]
je 0x451f77
xor edx, edx
mov ecx, 0x4a11b8
cmp edx, esi
jge 0x451f6b
mov eax, dword [ecx]
test eax, eax
je 0x451f60
cmp dword [eax + 0x70], edi
je 0x451f77
inc edx
add ecx, 4
cmp ecx, 0x4a1344
jl 0x451f50
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
push edi
call esi
push ebx
call esi
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
ret
Function at 0x458280
Capabilities:
Hide graphical window

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

Function at 0x4582a0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [eax + 0x1c], 0
mov eax, dword [eax]
jne 0x4582bb
test eax, eax
je 0x4582ce
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 0x458310
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
cmp dword [edi], 0
push ebx
push esi
je 0x458475
xor ebx, ebx
cmp dword [edi + 0xc], ebx
jbe 0x458359
xor esi, esi
mov eax, dword [edi + 0x14]
cmp dword [eax + esi + 8], 0
je 0x458350
cmp byte [eax + esi + 4], 6
je 0x458350
mov edx, dword [esi + eax + 8]
lea ecx, [esi + eax]
push edi
mov eax, str.Submit
call fcn.00458520
inc ebx
add esi, 0x14
cmp ebx, dword [edi + 0xc]
jb 0x45832d
xor esi, esi
xor ebx, ebx
cmp esi, dword [edi + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
je 0x458390
mov edx, dword [edi + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + eax]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x20000
je 0x4583df
mov eax, 1
cmp dword [esp + 0x10], eax
jne 0x4583cc
cmp dword [esp + 0xc], eax
jle 0x4583cc
cmp ebx, 0xffffffff
jne 0x4583a8
xor ebx, ebx
push 0xa
lea edx, [esp + 0x24]
push edx
push ebx
call fcn.00476952
mov ecx, dword [esp + 0x24]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.004668b0
cmp esi, dword [edi + 0xc]
je 0x458464
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov eax, dword [edi + 0x14]
mov edx, dword [esp + 0x14]
cmp byte [eax + edx + 4], 6
jne 0x45844d
mov esi, dword [eax + edx + 8]
inc dword [esp + 0xc]
test esi, esi
je 0x458401
inc dword [esp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax + edx]
push 0
push 0
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x458437
test ebx, ebx
je 0x458422
or ebx, 0xffffffff
jmp 0x458426
mov ebx, dword [esp + 0xc]
test esi, esi
je 0x45844d
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
jmp 0x458446
test esi, esi
je 0x45844d
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
mov ecx, esi
call fcn.004668b0
mov esi, dword [esp + 0x1c]
add dword [esp + 0x14], 0x14
inc esi
mov dword [esp + 0x1c], esi
cmp esi, dword [edi + 0xc]
jbe 0x458374
cmp byte [ebp + 8], 0
je 0x458475
mov ecx, dword [edi]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x458490
Capabilities:
Get graphical window text

Disassembly:
cmp eax, 0x2af8
jae 0x45850f
mov ecx, dword [ecx*4 + 0x4a11b8]
test ecx, ecx
je 0x45850f
cmp eax, dword [ecx + 0xc]
jae 0x45850f
lea edx, [eax + eax*4]
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + edx*4 + 8]
lea eax, [eax + edx*4]
test esi, esi
je 0x4584e7
test ecx, ecx
je 0x4584da
mov ecx, dword [ecx + 0x18]
mov edx, esi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4584c1
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4584d0
sub eax, edx
ret
mov ecx, dword [eax]
push 0x40
push esi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
ret
test ecx, ecx
je 0x4584fb
mov eax, dword [ecx + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4584f1
sub eax, edx
ret
mov edx, dword [eax]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp eax, 0x3f
jbe 0x458518
mov eax, 0x3f
ret
test esi, esi
je 0x458516
mov byte [esi], 0
xor eax, eax
ret
Function at 0x45aaf0
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 0x45ab29
cmp al, 0x21
je 0x45ab1a
cmp al, 0x2b
je 0x45ab15
cmp al, 0x5e
jne 0x45ab25
or bl, 2
jmp 0x45ab1d
or bl, 1
jmp 0x45ab1d
or bl, 4
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x45ab04
mov byte [esp + 0xf], bl
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov cl, byte [edi]
test cl, cl
je 0x45ac17
cmp byte [edi + 1], 0
jne 0x45ab7d
mov byte [esp + 0x10], cl
cmp cl, 0xa
jne 0x45ab51
mov al, 0xd
jmp 0x45ac0f
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx eax, ax
mov ecx, eax
shr ecx, 8
cmp cl, 0xff
jne 0x45ac0f
cmp al, 0xff
jne 0x45ac0f
xor al, al
jmp 0x45ac0f
movzx esi, cl
test esi, 0xffffff80
jne 0x45ab9a
push 2
push esi
call fcn.0047814e
add esp, 8
test eax, eax
je 0x45ab9a
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x56
jne 0x45abd6
movzx esi, byte [edi + 1]
test esi, 0xffffff80
jne 0x45abbe
push 2
push esi
call fcn.0047814e
add esp, 8
test eax, eax
je 0x45abbe
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x4b
jne 0x45abd6
push 0x10
lea edx, [edi + 2]
push 0
push edx
call fcn.00478594
add esp, 0xc
jmp 0x45ac0f
xor esi, esi
jmp 0x45abe0
mov eax, dword [esi*8 + 0x49e108]
push edi
push eax
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x45ac20
inc esi
cmp esi, 0x6d
jl 0x45abe0
mov eax, edi
call fcn.00410e90
movzx ecx, ax
test cx, cx
je 0x45ac17
call fcn.004115c0
mov byte [esp + 0x10], al
test al, al
jne 0x45ac29
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov al, byte [esi*8 + 0x49e10c]
jmp 0x45ac0f
mov eax, edi
call fcn.00410e90
movzx eax, ax
test ax, ax
jne 0x45ac4e
mov ecx, dword [esp + 0x10]
push ecx
xor bl, bl
call fcn.00411340
mov bl, byte [esp + 0x13]
add esp, 4
movzx eax, ax
test eax, 0x100
je 0x45ac58
or bl, 8
movzx edx, byte [esp + 0x10]
movzx eax, bl
pop edi
shl eax, 8
pop esi
or eax, edx
pop ebx
add esp, 8
ret