joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4155f0
Capabilities:
Create tcp socket
Create thread
Create udp socket
Get system information on windows

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push 0
push 1
mov esi, ecx
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x415616
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x28
ret
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
mov dword [esi + 0x88], eax
push edi
jne 0x41563e
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x28
ret
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [esi + 0x38], 0
lea ebx, [ecx + ecx + 2]
test ebx, ebx
jbe 0x415696
lea edx, [esp + 0x10]
push edx
push 0
push esi
push 0x4156f0
push 0
push 0
call fcn.00444620
add esp, 0x18
test eax, eax
je 0x4156cd
mov ecx, dword [esi + 0x38]
push eax
inc ecx
mov dword [esi + 0x38], ecx
call ebp
inc edi
cmp edi, ebx
jb 0x41566a
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4156e3
lea ecx, [esp + 0x10]
push ecx
push 0
push esi
push 0x4152b0
push 0
push 0
call fcn.00444620
add esp, 0x18
test eax, eax
jne 0x4156e0
mov edx, dword [esi + 0x88]
push edx
call ebp
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x28
ret
mov eax, dword [esi + 0x88]
push eax
call ebp
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x28
ret
push eax
call ebp
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x28
ret

Function at 0x415890
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov ebx, ecx
push 0x18
call fcn.004d3d42
mov edx, eax
add esp, 4
test edx, edx
je 0x4158be
mov ecx, 6
xor eax, eax
mov edi, edx
mov esi, edx
rep stosd dword es:[edi], eax
mov dword [edx + 0x14], 1
jmp 0x4158c0
xor esi, esi
mov edi, dword [esp + 0x18]
push 0
lea eax, [esp + 0x10]
push esi
lea ecx, [esp + 0x18]
push eax
mov eax, dword [edi]
push ecx
lea edx, [edi + 0x50]
push 1
push edx
push eax
mov dword [esp + 0x28], 0x8000
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x415911
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x415911
push 0
push edi
mov ecx, ebx
call fcn.00416410
test esi, esi
je 0x415911
push esi
call fcn.004d3d6b
add esp, 4
pop edi
pop esi
pop ebx
add esp, 8
ret 4

Function at 0x415920
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
xor ecx, ecx
test esi, esi
jle 0x41594c
mov dl, byte [ecx + eax]
xor dl, 0x15
sub dl, 0x41
xor dl, 0x15
sub dl, 0x41
xor dl, 0x15
sub dl, 0x41
mov byte [ecx + eax], dl
inc ecx
cmp ecx, esi
jl 0x41592f
pop esi
ret

Function at 0x415bd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
xor ecx, ecx
test esi, esi
jle 0x415bfc
mov dl, byte [ecx + eax]
add dl, 0x41
xor dl, 0x15
add dl, 0x41
xor dl, 0x15
add dl, 0x41
xor dl, 0x15
mov byte [ecx + eax], dl
inc ecx
cmp ecx, esi
jl 0x415bdf
pop esi
ret
Function at 0x415c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eb630
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
xor eax, eax
push esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
push edi
mov dword [esp + 0x14], eax
mov edi, ecx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
lea edx, [esp + 0x10]
push ecx
push edx
push eax
mov dword [esp + 0x18], 0x10
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x415c5f
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
jmp 0x415c64
mov eax, 0x75e2e8
push eax
lea ecx, [esp + 0xc]
call fcn.004d37ce
mov edx, dword [esi]
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, edi
mov dword [esp + 0x30], 0
call fcn.00415820
mov ecx, dword [esp + 8]
lea edx, [esp + 0x30]
push ecx
push 0x5968a0
push edx
mov byte [esp + 0x34], 1
call fcn.004cd19e
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x75e4ec]
add esp, 0xc
push 0
push 2
push eax
call fcn.00413770
push 0x4db94
push 0x548d00
lea ecx, [esi + 4]
call fcn.00414c70
push esi
mov ecx, edi
call fcn.004161a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.004d3760
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.004d3760
mov ecx, dword [esp + 0x20]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x4161a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0x18
call fcn.004d3d42
mov edx, eax
add esp, 4
test edx, edx
je 0x4161cf
mov ecx, 6
xor eax, eax
mov edi, edx
mov dword [esp + 0x10], edx
rep stosd dword es:[edi], eax
mov dword [edx + 0x14], 2
jmp 0x4161d7
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 8]
push 3
push esi
push eax
call dword [ebp + 4]
lea ebx, [esi + 4]
push 0
mov ecx, ebx
call fcn.00414f20
mov ecx, ebx
mov dword [esi + 0xfa05c], eax
lea edi, [esi + 0xfa058]
call fcn.00414d60
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi]
push 0
push ebx
push 0x8000
push edi
push 1
push edi
push ecx
mov dword [edi], eax
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x416248
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x416248
push 0
push esi
mov ecx, ebp
call fcn.00416410
test ebx, ebx
je 0x416248
push ebx
call fcn.004d3d6b
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x416250
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb6a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [0x75e508]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
test al, 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
jne 0x41629c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
or al, 1
mov byte [0x75e508], al
call esi
mov dword [0x75e510], eax
jmp 0x4162a2
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp + 0xc]
mov eax, dword [0x75e528]
add eax, edi
mov dword [0x75e528], eax
call esi
sub eax, dword [0x75e510]
cmp eax, 0x3e8
jb 0x4162e1
call esi
mov dword [0x75e510], eax
mov eax, dword [0x75e528]
add ebx, 0x28
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [0x75e528], 0
test edi, edi
jbe 0x41633e
mov ebx, dword [ebp + 8]
push edi
lea esi, [ebx + 4]
mov ecx, esi
call fcn.00414f30
mov ecx, esi
call fcn.00414d60
test eax, eax
jbe 0x41631c
mov ecx, dword [ebp - 0x14]
push ebx
call fcn.004161a0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, esi
call fcn.00414f00
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x416410
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x4eb6d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
push str.RemoveStaleClient
lea ecx, [esp + 0xc]
call fcn.004d37ce
mov eax, dword [0x74e3a4]
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
push ecx
lea ecx, [esp + 0x18]
call fcn.004d3899
lea eax, [edi + 0x10]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 8]
mov byte [esp + 0x20], 3
call fcn.004d3760
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
test eax, eax
jne 0x4164ae
mov eax, dword [esi]
lea edx, [esp + 0xc]
push 4
push edx
push 0x80
push 0xffff
push eax
mov word [esp + 0x20], 1
mov word [esp + 0x22], 0
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [edi + 0x48]
test eax, eax
je 0x4164f0
cmp dword [eax + 8], esi
je 0x4164c2
mov eax, dword [eax]
test eax, eax
jne 0x4164b5
jmp 0x4164f0
test eax, eax
je 0x4164f0
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov edx, dword [esi]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi], 0xffffffff
mov eax, dword [edi + 8]
push 2
push esi
push eax
call dword [edi + 4]
push esi
mov ecx, edi
call fcn.00416650
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.004d3760
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x4169e0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 4]
push 4
push eax
push 8
push 0xffff
push esi
mov dword [esp + 0x18], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x416a12
xor eax, eax
pop esi
add esp, 0x10
ret 0xc
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x20]
push ecx
mov dword [esp + 0x14], ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x18], edx
push 0
push 0
lea edx, [esp + 0x1c]
push 0xc
push edx
push 0x98000004
push esi
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
neg eax
sbb eax, eax
pop esi
inc eax
add esp, 0x10
ret 0xc

Function at 0x419980
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4ebbc2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push esi
mov dword [esp + 4], 0
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x120]
push ecx
mov ecx, dword [esp + 0x128]
lea eax, [esp + 0xc]
push 0x100
push eax
mov eax, dword [esp + 0x128]
push ecx
push edx
push eax
mov dword [esp + 0x128], 3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x118]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004d37ce
mov dword [esp + 4], 1
lea ecx, [esp + 0x11c]
mov byte [esp + 0x110], 2
call fcn.004d3760
lea ecx, [esp + 0x120]
mov byte [esp + 0x110], 1
call fcn.004d3760
lea ecx, [esp + 0x124]
mov byte [esp + 0x110], 0
call fcn.004d3760
mov ecx, dword [esp + 0x108]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x110
ret 0x10

Function at 0x419a50
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ebbd8
push eax
mov dword fs:[0], esp
push esi
mov ecx, dword [ecx + 4]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004d3760
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 0xffffffff
call fcn.004d3760
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0xc
Function at 0x41aa20
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Initialize winsock library
Resolve dns
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x4ebe76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2bc
mov eax, dword [0x74e3a4]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
xor ebx, ebx
push 0x5a44fc
lea ecx, [esp + 0x14]
mov dword [esp + 0x2d4], ebx
call fcn.004d37ce
lea ecx, [esp + 0x138]
mov byte [esp + 0x2d0], 1
push ecx
push 0x201
mov byte [esp + 0x17], 1
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41aab1
push 0x10
push 0x596d58
push 0x5a44e4
mov ecx, esi
call fcn.004d1709
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x41abc8
lea edx, [esp + 0x18]
push ebp
push edx
push 0x8004667e
push edi
mov dword [esp + 0x28], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [esi + 0x110]
mov dword [esp + 0x30], 3
push eax
mov dword [esp + 0x38], ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebp, eax
cmp ebp, ebx
je 0x41ab52
mov cx, word [esi + 0x114]
xor eax, eax
mov dword [esp + 0x20], eax
push ecx
mov dword [esp + 0x28], eax
mov word [esp + 0x24], 2
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x22], ax
mov edx, dword [ebp + 0xc]
push 0x10
mov eax, dword [edx]
lea edx, [esp + 0x24]
push edx
push edi
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
call dword [sym.imp.WS2_32.dll_connect]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x38]
push eax
push ebx
push ecx
push ebx
push ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x41ab56
mov byte [esp + 0x13], bl
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov edx, dword [esi + 0x114]
mov eax, dword [esi + 0x110]
push edx
push eax
lea ecx, [esp + 0x20]
push 0x5a44b8
push ecx
call fcn.004cd19e
mov al, byte [esp + 0x23]
add esp, 0x10
cmp al, bl
pop ebp
je 0x41aba8
push 0x5a44ac
lea ecx, [esp + 0x14]
call fcn.004d38e9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0x40
push edx
push eax
jmp 0x41abb4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0x10
push ecx
push edx
mov ecx, esi
call fcn.004d1709
push 1
lea ecx, [esi + 0xd4]
call fcn.004d2ea8
lea ecx, [esp + 0x10]
mov byte [esp + 0x2d0], bl
call fcn.004d3760
lea ecx, [esp + 0x14]
mov dword [esp + 0x2d0], 0xffffffff
call fcn.004d3760
mov ecx, dword [esp + 0x2c8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c8
ret
Function at 0x41b3a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4ebea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebx, ecx
lea ebp, [ebx + 0x5c]
lea eax, [esp + 0x44]
xor edi, edi
push eax
mov ecx, ebp
mov dword [esp + 0x30], edi
call fcn.004d3899
mov ecx, dword [esp + 0x34]
push edi
lea edx, [esp + 0x18]
lea esi, [ebx + 0x6c]
push ecx
push edx
push 0x80c80080
mov ecx, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], 0x12c
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], 0x3b
call fcn.0041b180
mov dword [esp + 0x10], eax
push 0xfffffffffffffff9
lea eax, [esp + 0x18]
push 0xfffffffffffffff9
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov edi, dword [esp + 0x48]
test di, di
je 0x41b482
cmp di, 0x7f00
jb 0x41b43e
and edi, 0xffff
push edi
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebx + 0x64], eax
xor edi, edi
jmp 0x41b445
mov dword [ebx + 0x64], 0
push 0xc
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 1
lea ecx, [esp + 0x1c]
push edi
push ecx
push 0x50000003
push 0x82
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.0041b2d0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
push 0
push 0xffff
lea edx, [esp + 0x1c]
push ecx
push edx
add eax, 8
push 0x50000000
push 0x82
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.0041b280
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
sub eax, edi
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
add eax, 5
push eax
lea eax, [esp + 0x18]
push 0
push eax
call edi
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp]
push 0
push 2
lea edx, [esp + 0x1c]
add ecx, 0xc
push eax
push edx
mov dword [esp + 0x30], ecx
push 0x50810080
push 0x81
mov ecx, esi
call fcn.0041b280
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
sub eax, edx
add eax, 5
push eax
lea eax, [esp + 0x18]
push 0
push eax
call edi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x18]
add ecx, 0xf
add edx, 0xffffffd8
push 0xffffffffffffffd1
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
call edi
push 0
push 1
lea ecx, [esp + 0x1c]
push 0x5a452c
push ecx
push 0x50010001
push 0x80
mov ecx, esi
call fcn.0041b280
push 0
lea edx, [esp + 0x18]
push 0x2f
push edx
call edi
push 0
push 2
lea eax, [esp + 0x1c]
push str.Cancel
push eax
push 0x50010000
push 0x80
mov ecx, esi
call fcn.0041b280
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x68], ecx
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
push 0
push edx
push eax
mov ecx, ebx
call fcn.004cf599
lea ecx, [esp + 0x44]
mov esi, eax
mov dword [esp + 0x2c], 0xffffffff
call fcn.004d3760
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x18
Function at 0x41dc82
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004cff5c
mov ebp, dword [esp + 0x14]
lea eax, [ebp + 6]
cmp eax, 5
ja case.default.0x41dca6
jmp dword [eax*4 + 0x41de68]
mov dword [esi + 0x74], 0xfffffffa
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 0x10
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x74], 0xffffffff
push ecx
mov dword [esi + 0x68], 3
push 4
jmp 0x41dd13
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x74], 0xfffffffe
push ecx
mov dword [esi + 0x60], 3
push 0
jmp 0x41dd13
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x74], 0xfffffffd
push ecx
mov dword [esi + 0x64], 3
push 1
jmp 0x41dd13
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x74], 0xfffffffc
push ecx
mov dword [esi + 0x6c], 3
push 5
mov ecx, esi
call fcn.004202b0
mov edx, dword [esi + 0x1c]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x1c]
push 0
push 0x64
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 0x10
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x74], 0xfffffffb
push ecx
push 7
mov ecx, esi
mov dword [esi + 0x70], 3
call fcn.004202b0
mov edx, dword [esi + 0x1c]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 0x10
mov ecx, esi
call fcn.004d2c8b
mov ebx, dword [esp + 0x18]
test al, 0x40
je 0x41dd97
test bl, 8
jne 0x41dd97
mov ecx, dword [esi + 0x3c]
test ecx, ecx
jne 0x41dda7
test al, 0x80
je 0x41ddc6
test bl, 8
je 0x41ddc6
mov eax, dword [esi + 0x40]
test eax, eax
je 0x41ddc6
mov eax, dword [esi + 0x1c]
push 0
push 0x12c
push 2
push eax
mov dword [esi + 0x74], ebp
mov dword [esi + 0x5c], 0xfffffffa
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x41ddcd
mov dword [esi + 0x74], 0xfffffffa
mov ecx, esi
call fcn.004d2c8b
test al, 0x10
je 0x41ddec
mov eax, ebx
and eax, 8
je 0x41ddec
push eax
push 1
push ebp
mov ecx, esi
call fcn.004200f0
jmp 0x41de21
mov edx, dword [esi + 0x54]
xor ecx, ecx
cmp ebp, edx
setne cl
and ebx, 8
mov edi, ecx
push ebx
push 1
push ebp
mov ecx, esi
call fcn.00420210
test edi, edi
je 0x41de21
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x54]
push edx
push eax
push ecx
push 0
mov ecx, esi
call fcn.0041de80
mov eax, dword [esi + 0x160]
xor edi, edi
test eax, eax
jle 0x41de5c
mov ebx, dword [esp + 0x20]
mov edx, dword [esi + 0x15c]
mov eax, dword [edx + edi*4]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x41de51
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push edi
push 1
mov ecx, esi
call fcn.0041de80
mov eax, dword [esi + 0x160]
inc edi
cmp edi, eax
jl 0x41de31
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x426930
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e9c98
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1ec]
test eax, eax
je 0x401adf
mov cl, byte [0x75e2f0]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov al, 1
test al, cl
jne 0x401a2b
or cl, al
mov byte [0x75e2f0], cl
call edi
mov dword [0x75e2ec], eax
call edi
sub eax, dword [0x75e2ec]
cmp eax, 0x3e8
jb 0x401adf
call edi
mov dword [0x75e2ec], eax
mov eax, dword [0x74e3a4]
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x1ec]
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x18], 0
mov edx, dword [ecx + 0x4c]
mov ecx, dword [esi + 0x150]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esi + 0x1f4]
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x5481d0
push edx
call fcn.004cd19e
mov eax, dword [esi + 0x14c]
add esp, 0x1c
test esi, esi
mov dword [esi + 0x150], eax
mov dword [esi + 0x14c], 0
je 0x401aab
mov esi, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push 0x1f4
push 3
push 0
lea ecx, [esp + 0x18]
call fcn.004d3b90
push eax
push 0
push 0xc
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.004d3760
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
push 0xffffffffffffffff
push 0x4ea148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x74e3a4]
push esi
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esi + 0x5c]
mov eax, dword [esi + 0x90]
mov dword [esp + 0x10], 0
mov edx, dword [ecx + 0x4c]
mov ecx, dword [esi + 0x6c]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esi + 0x68]
push edx
push eax
push ecx
lea edx, [esp + 0x18]
push 0x548448
push edx
call fcn.004cd19e
mov eax, dword [esp + 0x20]
add esp, 0x1c
mov ecx, esi
push eax
call fcn.004d2d21
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.004d3760
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x426954
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 0x44]
test eax, eax
jle 0x426954
sub eax, 2
je 0x42694f
dec eax
jne 0x426954
jmp 0x406a20
jmp 0x4019e0
ret
Function at 0x42a190
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 1
mov ecx, dword [esi + 0x744]
add ecx, 0x24
call fcn.00414f20
mov ecx, dword [eax]
xor edx, edx
mov dword [esp + 0x10], ecx
mov ebp, dword [eax + 4]
mov ecx, dword [eax]
xor edi, edi
or edx, ebp
or ecx, edi
mov dword [esi + 0x70], edx
mov dword [esi + 0x74], ecx
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x68]
cmp edx, ecx
jne 0x42a1da
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x6c]
cmp ecx, edx
je 0x42a293
cmp dword [eax + 4], 0xffffffff
je 0x42a293
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push 0
lea ecx, [esi + 0x60]
call fcn.004d3b90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42a29a
lea edx, [esp + 0x10]
push 0
push edx
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0xfa000
push 0x40
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [edi + 9]
mov byte [edi], 5
mov eax, dword [esp + 0x18]
push 0xf9ff7
push edx
push ebx
mov dword [edi + 1], eax
mov dword [edi + 5], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x42a284
mov ecx, dword [esi + 0x748]
add eax, 9
push 0
push eax
mov eax, dword [esi + 0x744]
push edi
push eax
call fcn.00415950
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, esi
call fcn.0042a2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret