joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41170c
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x47806c]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x30], ebp
jne 0x411872
lea ebx, [esi + 0x24]
mov eax, dword [ebx]
cmp dword [eax - 0xc], ebp
jne 0x4117ac
mov edi, 0x208
lea eax, [esp + 0x18]
push edi
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
add eax, eax
cmp eax, edi
jae 0x41188b
xor ecx, ecx
mov word [esp + eax + 0x18], cx
lea eax, [esp + 0x18]
push eax
call fcn.00441e1e
pop ecx
push eax
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.00402e18
push 0x2e
push dword [ebx]
call fcn.0043e594
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x41178c
or ecx, 0xffffffff
jmp 0x411790
sub ecx, dword [ebx]
sar ecx, 1
mov eax, dword [ebx]
mov eax, dword [eax - 0xc]
sub eax, ecx
push eax
push ecx
mov ecx, ebx
call fcn.0040435e
push str..log
mov ecx, ebx
call fcn.00401881
push ebp
push 0x80
push 4
push ebp
push 3
push 0xc0000000
push dword [ebx]
lea edi, [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
mov ecx, edi
call fcn.00411964
cmp dword [esi + 0x30], 0xffffffff
je 0x411863
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4117fe
cmp dword [esi + 0x30], ebp
je 0x411872
push 2
push ebp
push ebp
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x411834
test eax, eax
jne 0x411863
cmp dword [esi + 0x30], ebp
je 0x411863
push 2
pop ecx
push ebp
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0xfeff
push eax
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ecx
push eax
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp dword [esi + 0x30], ebp
je 0x411872
lea eax, [esi + 0x28]
mov ecx, esi
push eax
call fcn.00411891
lea ecx, [esp + 0x10]
call fcn.004118c0
push eax
mov ecx, esi
call fcn.00411891
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
jmp 0x411872
cmp dword [edi + 4], ebp
je 0x411872
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [edi + 4], ebp
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043c1a9
add esp, 0x21c
ret
call fcn.0043c819
int3

Function at 0x411891
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
mov esi, ecx
mov edx, dword [eax]
lea eax, [ebp + 8]
push eax
mov eax, dword [edx - 0xc]
add eax, eax
push eax
push edx
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
pop esi
pop ebp
ret 4
Function at 0x4132ed
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x10
mov eax, 0x457210
call fcn.0043cc79
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocString
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x1c], 0x467a50
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], ebx
cmp edi, 0xffffffff
je 0x413339
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x413346
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x41345f
mov dword [ebp - 0x10], ebx
inc eax
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.0040411b
mov esi, dword [ebp - 0x10]
test al, al
jne 0x413366
push 8
pop ebx
jmp 0x413458
push ebx
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
push dword [ebp - 0x14]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41338a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x413458
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.00402d97
mov eax, dword [ebp + 8]
test eax, eax
je 0x413458
mov byte [eax + esi], bl
mov eax, dword [ebp + 0xc]
push str.utf_8
push dword [eax]
call fcn.0044205f
pop ecx
pop ecx
test eax, eax
jne 0x4133c1
push 0xfde9
jmp 0x41344e
mov eax, dword [ebp + 0xc]
push str.utf_16
push dword [eax]
call fcn.0044205f
pop ecx
pop ecx
test eax, eax
jne 0x4133f7
mov edi, dword [ebp + 8]
shr edi, 1
call fcn.00402af7
push eax
push edi
push esi
lea ecx, [ebp + 0xc]
call fcn.004028b4
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
jmp 0x41343a
mov eax, dword [ebp + 0xc]
push str.ISO_8859_1
push dword [eax]
call fcn.0044205f
pop ecx
pop ecx
test eax, eax
jne 0x413413
push 0x6faf
jmp 0x41344e
mov eax, dword [ebp + 0xc]
push str.US_ASCII
push dword [eax]
call fcn.0044205f
pop ecx
pop ecx
test eax, eax
jne 0x41344d
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
push esi
call fcn.0041515f
mov byte [ebp - 4], 3
mov ecx, edi
push eax
call fcn.00402825
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
jmp 0x413458
push ebx
mov edx, edi
mov ecx, esi
call fcn.004048be
pop ecx
push esi
call fcn.0043c1dd
pop ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x467a50
call fcn.00404635
mov eax, ebx
call fcn.0043cc42
ret 0xc
Function at 0x41398f
Capabilities:
Get file size

Disassembly:
push 0xc
mov eax, 0x4572bc
call fcn.0043cc79
mov ebx, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov dword [ebp + 0x10], eax
cmp byte [ebx + 0x40], cl
mov byte [ebx + 0x10], 1
cmovne ecx, eax
mov dword [ebp + 0xc], ecx
call fcn.00402af7
push eax
lea ecx, [ebp - 0x14]
call fcn.00402918
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
push dword [ebp + 8]
call fcn.00413834
mov esi, eax
mov byte [ebx + 0x10], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x413a0c
cmp dword [ebp + 0xc], eax
mov ecx, 0x2ee2
cmovne esi, ecx
test esi, esi
jne 0x413a24
mov esi, dword [ebx + 4]
cmp esi, dword [edi + 4]
je 0x413a22
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [edi + 4], esi
xor esi, esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401b8a
mov eax, esi
call fcn.0043cc42
ret 0x10

Function at 0x413a39
Capabilities:
Read data from internet
Receive data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
push dword [edi + 0x68]
lea ebx, [edi + 0x38]
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ebp, dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
mov byte [edi + 0x41], 0
push dword [esp + 0x24]
mov dword [edi + 0x34], 3
push dword [esp + 0x24]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x413acf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x413ada
jmp 0x413ab1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x413ab6
push ebx
lea ecx, [edi + 0xc]
call fcn.00415406
lea ecx, [edi + 0xc]
call fcn.0041536a
test al, al
jne 0x413ac8
push 0xa
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebx], 0
je 0x413a84
cmp dword [edi + 0x30], 0
mov eax, dword [edi + 0x2c]
je 0x413ada
test eax, eax
jle 0x413ad8
mov dword [ebp], eax
jmp 0x413ad8
mov eax, 0xe0000008
jmp 0x413ada
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x413ae2
Capabilities:
Query remote server for available data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
push dword [edi + 0x68]
lea ebx, [edi + 0x38]
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ebp, dword [esp + 0x1c]
xor eax, eax
push eax
push eax
push ebp
push dword [esp + 0x24]
mov byte [edi + 0x41], al
mov dword [edi + 0x34], 8
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x413b73
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x413b7e
jmp 0x413b55
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x413b5a
push ebx
lea ecx, [edi + 0xc]
call fcn.00415406
lea ecx, [edi + 0xc]
call fcn.0041536a
test al, al
jne 0x413b6c
push 0xa
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebx], 0
je 0x413b28
cmp dword [edi + 0x30], 0
mov eax, dword [edi + 0x2c]
je 0x413b7e
test eax, eax
jle 0x413b7c
mov dword [ebp], eax
jmp 0x413b7c
mov eax, 0xe0000008
jmp 0x413b7e
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x413d99
Capabilities:
Connect network resource

Disassembly:
push 0x44
mov eax, 0x45734a
call fcn.0043cc79
mov esi, ecx
mov dword [ebp - 0x28], esi
call fcn.00402af7
push eax
lea ecx, [ebp - 0x18]
call fcn.00402918
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00402af7
push eax
lea ecx, [ebp - 0x14]
call fcn.00402918
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
mov edi, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.004053aa
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0x14]
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
test ecx, ecx
je 0x413df7
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebp - 0x1c]
cmp dword [ebp + 0x10], 0
je 0x413e4e
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
push 0x20
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.0043dd90
xor eax, eax
mov dword [ebp - 0x40], ebx
inc eax
add esp, 0xc
mov dword [ebp - 0x4c], eax
cmp dword [esi - 4], eax
jle 0x413e35
push dword [esi - 0xc]
lea ecx, [ebp - 0x1c]
call fcn.004018a9
mov esi, dword [ebp - 0x1c]
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x3c], esi
push dword [ebp + 0x14]
mov dword [ebp - 0x34], ebx
push eax
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov edi, eax
test edi, edi
jne 0x413e6b
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x30]
call fcn.00405623
mov edi, eax
pop ecx
test edi, edi
je 0x413f25
cmp edi, 0x52e
je 0x413e84
cmp edi, 0x56
je 0x413e84
cmp edi, 0x89a
jne 0x413f30
push str.Local_Network_Server
lea ecx, [ebp - 0x24]
call fcn.00402eb5
mov byte [ebp - 4], 3
call fcn.00402af7
push eax
lea ecx, [ebp - 0x20]
call fcn.00402918
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
push ebx
call fcn.00414f0c
mov ecx, dword [ebp - 0x20]
mov bl, al
add ecx, 0xfffffff0
call fcn.00401b8a
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401b8a
test bl, bl
je 0x413f2c
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x10], eax
cmp dword [eax - 4], 1
jle 0x413f01
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.004018a9
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x14], eax
cmp dword [eax - 4], 1
jle 0x413f1e
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
call fcn.004018a9
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x14], eax
xor ebx, ebx
jmp 0x413dfa
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
jmp 0x413f2e
mov ebx, edi
mov edi, ebx
lea ecx, [esi - 0x10]
call fcn.00401b8a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401b8a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401b8a
mov eax, edi
call fcn.0043cc42
ret 0x18
Function at 0x414b85
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0x3c
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0043dd90
push esi
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0043dd90
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
add esp, 0x18
mov dword [ebp - 0x3c], esi
push ecx
push edi
push edi
push dword [eax]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
pop edi
pop esi
test eax, eax
jne 0x414bcd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x414bd7
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x30]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x415cb4
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
lea eax, [ecx - 0x20]
neg esi
sbb esi, esi
and esi, eax
cmp byte [ecx + 0x1c], 0
je 0x415cf6
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [esp + 0xc], 2
jne 0x415ce6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x415cfd
cmp dword [esp + 0xc], 0
jne 0x415cf6
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0xc], 1
je 0x415d14
mov ecx, dword [esp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [esi + 0x20]
push eax
call fcn.00415d1a
xor eax, eax
pop esi
ret 0x10
Function at 0x416a5c
Capabilities:
Create process on windows

Disassembly:
push 0x7c
mov eax, 0x4576b8
call fcn.0043cc79
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor ebx, ebx
cmp dword [edi + 4], ebx
jle 0x416b87
push ebx
mov ecx, edi
call fcn.00416b8d
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00401b37
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov ecx, edi
push ebx
call fcn.00416b8d
mov ecx, dword [eax + 4]
sub ecx, 0x10
call fcn.00401b37
mov dword [ebp - 0x18], eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00435254
push ebx
mov ecx, edi
call fcn.00416b8d
cmp byte [eax + 0xc], 0
je 0x416b48
cmp dword [ebp - 0x28], 0
jne 0x416b48
call fcn.00402af7
push eax
lea ecx, [ebp - 0x14]
call fcn.00402918
push esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
push str.__s___s
push eax
call fcn.0040450a
push 0x44
xor esi, esi
lea eax, [ebp - 0x88]
push esi
push eax
call fcn.0043dd90
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
add esp, 0x1c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
mov edi, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x88]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov esi, dword [ebp - 0x14]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [esi - 0x10]
call fcn.00401b8a
jmp 0x416b4b
mov edi, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], 0
je 0x416b5e
push dword [ebp - 0x2c]
call fcn.00441e39
and dword [ebp - 0x2c], 0
pop ecx
mov ecx, dword [ebp - 0x18]
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
call fcn.00401b8a
or dword [ebp - 4], 0xffffffff
lea ecx, [edi - 0x10]
call fcn.00401b8a
mov edi, dword [ebp - 0x1c]
inc ebx
cmp ebx, dword [edi + 4]
jl 0x416a78
call fcn.0043cc42
ret
Function at 0x41a1f8
Capabilities:
Read .ini file

Disassembly:
push 0xc
mov eax, 0x457d72
call fcn.0043cc79
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.00402af7
push eax
lea ecx, [ebp - 0x10]
call fcn.00402918
and dword [ebp - 4], 0
mov ebx, 0x100
push 0x200
call fcn.0043c1e2
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [edi + 4]
mov edi, dword [ebp - 0x10]
push ebx
push esi
push edi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0xff
jne 0x41a2a1
push esi
add ebx, ebx
mov byte [ebp - 4], 0
call fcn.0043c1dd
xor ecx, ecx
mov eax, ebx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043c1e2
pop ecx
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
push dword [eax + 4]
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebx - 1]
cmp eax, ecx
je 0x41a254
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp + 0x10]
push esi
call fcn.00402e8b
push esi
call fcn.0043c1dd
pop ecx
lea ecx, [edi - 0x10]
call fcn.00401b8a
call fcn.0043cc42
ret 0xc
Function at 0x41dc58
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCapture]
push 4
test esi, esi
lea edx, [esi - 0x20]
pop ecx
cmove edx, ecx
cmp eax, dword [edx]
jne 0x41dd70
mov eax, dword [ebp + 0xc]
sub eax, 0xd
je 0x41dd62
sub eax, 0xe
je 0x41dd68
push 0xa
pop edi
sub eax, edi
je 0x41dd05
sub eax, 1
je 0x41dcaa
sub eax, 1
je 0x41dd05
sub eax, 1
jne 0x41dd76
cmp byte [esi], 0
jne 0x41dd76
and dword [ebp - 8], 0
lea eax, [ebp - 8]
and dword [ebp - 4], 0
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [ebp + 0xc], 0x26
mov ebx, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x1c]
push 0xfffffffffffffff6
pop eax
cmove edi, eax
lea eax, [ecx + ebx]
add edi, edx
cmp edi, eax
jl 0x41dcf5
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x10]
sub eax, ecx
mov ecx, edi
sub eax, ebx
cmp edi, eax
cmovg ecx, eax
mov eax, dword [ebp - 4]
sub ecx, edx
add eax, ecx
push eax
push dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x41dd5a
cmp byte [esi], 0
je 0x41dd76
and dword [ebp - 8], 0
lea eax, [ebp - 8]
and dword [ebp - 4], 0
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [ebp + 0xc], 0x25
mov ebx, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x1c]
push 0xfffffffffffffff6
pop eax
cmove edi, eax
lea eax, [ecx + ebx]
add edi, edx
cmp edi, eax
jl 0x41dd4c
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x2c]
sub eax, dword [esi + 0xc]
sub eax, ecx
mov ecx, edi
sub eax, ebx
cmp edi, eax
cmovg ecx, eax
mov eax, dword [ebp - 8]
sub ecx, edx
push dword [ebp - 4]
add eax, ecx
mov dword [ebp - 8], eax
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
jmp 0x41dd76
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x41dd76
mov eax, dword [ebp + 0x14]
and dword [eax], 0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41e4ad
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
lea eax, [ecx - 0x50]
neg esi
sbb esi, esi
and esi, eax
cmp byte [ecx + 0x1c], 0
je 0x41e4ef
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [esp + 0xc], 2
jne 0x41e4df
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41e4f6
cmp dword [esp + 0xc], 0
jne 0x41e4ef
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0xc], 1
je 0x41e50d
mov ecx, dword [esp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [esi + 0x50]
push eax
call fcn.0041e89b
xor eax, eax
pop esi
ret 0x10
Function at 0x4203f5
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
lea eax, [ecx - 0x54]
neg esi
sbb esi, esi
and esi, eax
cmp byte [ecx + 0x1c], 0
je 0x420437
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [esp + 0xc], 2
jne 0x420427
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42043e
cmp dword [esp + 0xc], 0
jne 0x420437
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0xc], 1
je 0x420455
mov ecx, dword [esp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [esi + 0x54]
push eax
call fcn.00420682
xor eax, eax
pop esi
ret 0x10
Function at 0x421e76
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
mov ebx, ecx
xor eax, eax
push ebp
test ebx, ebx
lea ecx, [esp + 8]
push esi
lea ebp, [ebx + 4]
mov edx, ebp
push edi
cmove edx, eax
call fcn.00402229
push dword [ebp]
mov eax, dword [eax]
mov dword [ebx + 0x13c], eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [ebx + 0x134]
mov ecx, dword [ecx + 8]
mov dword [ecx + 4], eax
mov ecx, dword [ecx]
test ecx, ecx
je 0x421ebb
push eax
call fcn.0042537d
mov ecx, ebx
call fcn.004220ce
lea ecx, [ebx + 0x78]
call fcn.00435c27
mov eax, dword [ebx + 0x134]
test byte [eax + 0xc], 1
je 0x421ee1
push 0
push dword [ebp]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40e
push dword [ebp]
call edi
mov esi, 0x3f0
mov dword [ebx + 0x10c], eax
push esi
push dword [ebp]
call edi
push esi
push dword [ebp]
mov dword [ebx + 0x110], eax
call edi
push 0x40e
push dword [ebp]
mov esi, eax
call edi
push esi
push eax
lea ecx, [ebx + 0x88]
call fcn.004344aa
push ecx
mov ecx, ebp
call fcn.0041640c
mov eax, dword [ebx + 0x134]
mov ecx, ebx
mov eax, dword [eax]
mov dword [ebx + 0x138], eax
call fcn.00421f58
and dword [ebx + 0xfc], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x421f58
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x47806c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov edi, ecx
push 0x3ec
mov dword [esp + 0x10], edi
push dword [edi + 4]
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x41a
push dword [edi + 4]
call esi
push 0
push eax
call ebx
push 0x40f
push dword [edi + 4]
call esi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, eax
lea eax, [esp + 0x24]
xorps xmm0, xmm0
push eax
push esi
movups xmmword [esp + 0x2c], xmm0
call edi
lea eax, [esp + 0x34]
xorps xmm0, xmm0
push eax
mov eax, dword [esp + 0x10]
movups xmmword [esp + 0x38], xmm0
push dword [eax + 0x10c]
call edi
mov edi, dword [esp + 0x30]
sub edi, dword [esp + 0x28]
push 0
push esi
call ebx
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
xorps xmm0, xmm0
movups xmmword [esp + 0x18], xmm0
push dword [esi + 0x110]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [esp + 0x14]
push 2
push eax
push dword [esi + 4]
push dword [esi + 0x110]
call ebx
neg edi
lea eax, [esp + 0x14]
push edi
push 0
mov dword [esp + 0x18], edi
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
push eax
call edi
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push 1
push eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esi + 0x110]
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
call esi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x10]
push dword [eax + 0x10c]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 4]
push dword [eax + 0x10c]
call ebx
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push 0
push eax
call edi
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push 1
push eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x24]
push dword [eax + 0x10c]
call esi
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043c1a9
mov esp, ebp
pop ebp
ret