joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e730
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4b7014]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x428], eax
jne 0x42e94c
push 0x400
lea eax, [ebp - 0x40c]
push 0
push eax
call fcn.004581b0
add esp, 0xc
mov dword [ebp - 0x414], str.shell
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x410], str.dumpsys_window_windows__grep__F_mCurrentFocus
lea edx, [ebp - 0x414]
mov ecx, ebx
push 0x400
push eax
push 2
call fcn.0042e040
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x42e80b
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42e7db
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x42e7ea
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x410], 0xffffffff
call ebx
cmp dword [ebp - 0x410], 0
jne 0x42e80b
lea eax, [ebp - 0x40c]
push edi
push eax
call fcn.00457e10
add esp, 8
test eax, eax
jne 0x42e934
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x40c]
push 0x400
push eax
push 4
lea edx, [ebp - 0x41c]
mov dword [ebp - 0x41c], str.shell
mov dword [ebp - 0x418], 0x4af9b4
mov dword [ebp - 0x414], str.path
mov dword [ebp - 0x410], edi
call fcn.0042e040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x42e94c
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42e87d
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x42e88c
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x410], 0xffffffff
call ebx
cmp dword [ebp - 0x410], 0
jne 0x42e94c
lea eax, [ebp - 0x40c]
cmp dword [eax], 0x6b636170
jne 0x42e94c
cmp dword [eax + 4], 0x3a656761
jne 0x42e94c
push dword [ebp - 0x428]
push edi
push edi
push str._s__s._s__a_android.intent.action.MAIN__c_android.intent.category.LAUNCHER
push 0x400
push eax
call fcn.0042dcd0
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x40c]
push 0
push 0
push 5
lea edx, [ebp - 0x420]
mov dword [ebp - 0x420], str.shell
mov dword [ebp - 0x41c], 0x4afa0c
mov dword [ebp - 0x418], str.start
mov dword [ebp - 0x414], 0x4afa18
mov dword [ebp - 0x410], eax
call fcn.0042e040
add esp, 0x24
mov ecx, eax
call fcn.0042df40
test eax, eax
je 0x42e94c
push 0x3e6
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004555d3
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004555d3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42e970
Capabilities:
Check if file exists
Get file attributes
Link many functions at runtime

Disassembly:
push edi
push str.usbmuxd.dll
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42ea35
test al, 0x10
jne 0x42ea35
push str.usbmuxd.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x42e9e4
push eax
push 0xff
push 0x4bba88
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0x30
test eax, eax
mov edx, 0x4bba88
mov ecx, str.Undefined_Error
push str.ios_usb_error
cmovne ecx, edx
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, edi
pop edi
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.libusbmuxd_set_debug_level
push eax
mov dword [edi + 0x18], 0
call esi
push str.usbmuxd_get_device_list
push dword [edi + 0x14]
mov dword [edi], eax
call esi
push str.usbmuxd_device_list_free
push dword [edi + 0x14]
mov dword [edi + 4], eax
call esi
push str.usbmuxd_connect
push dword [edi + 0x14]
mov dword [edi + 8], eax
call esi
push str.usbmuxd_disconnect
push dword [edi + 0x14]
mov dword [edi + 0xc], eax
call esi
mov dword [edi + 0x10], eax
mov eax, edi
pop esi
pop edi
ret
mov dword [edi + 0x14], 0
mov eax, edi
pop edi
ret
Function at 0x42ee40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
cmp dword [ebx + 0x138], 0
jne 0x42eff1
cmp dword [ebx + 0x134], 0
jne 0x42eff1
xor ecx, ecx
cmp dword [ebx + 0x14], ecx
setne cl
mov eax, ecx
or eax, 2
cmp dword [ebx + 0x10], 0
cmove eax, ecx
test eax, eax
jne 0x42eff1
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x10c], eax
jne 0x42ee9b
cmp dword [esi + 0x110], eax
jne 0x42ee9b
pop esi
mov eax, 0x12
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 0x108]
dec eax
cmp eax, 0xfffe
ja 0x42efe6
push edi
mov edi, dword [ebx + 0x15c]
push edi
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], 0
call fcn.00456f21
add esp, 4
test eax, eax
je 0x42eed8
push eax
call fcn.00456863
add esp, 4
mov eax, dword [edi + 0x30]
push edi
mov dword [edi + 0x34], eax
call fcn.00456f46
add esp, 4
test eax, eax
je 0x42eef4
push eax
call fcn.00456863
add esp, 4
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x20]
mov ecx, 0x45
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0x158]
lea esi, [ebx + 0x20]
add edi, 0x364
mov dword [ebx + 0x1c], eax
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x158]
pop edi
cmp byte [eax + 0x364], 0
je 0x42eff1
cmp dword [ebx + 0x124], 4
jne 0x42ef60
push 0
push 0
push ebx
push 0x42f470
push 0
push 0
mov dword [ebx + 8], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x138], eax
xor eax, eax
pop esi
pop ebx
pop ebp
ret 8
cmp dword [ebx + 0x130], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
je 0x42efa2
push 0
push 0
push ebx
push 0x42f470
push 0
push 0
mov dword [ebx + 8], 1
call esi
push 0
push 0
push ebx
push 0x430170
push 0
push 0
mov dword [ebx + 0x138], eax
call esi
mov dword [ebx + 0x13c], eax
cmp dword [ebx + 0x12c], 0
je 0x42efc8
push 0
push 0
push ebx
push 0x4304e0
push 0
push 0
mov dword [ebx + 0xc], 1
call esi
mov dword [ebx + 0x134], eax
push 0
push 0
push ebx
push 0x430270
push 0
push 0
call esi
mov dword [ebx + 0x140], eax
xor eax, eax
pop esi
pop ebx
pop ebp
ret 8
pop esi
mov eax, 0x13
pop ebx
pop ebp
ret 8
pop esi
mov eax, 0x26
pop ebx
pop ebp
ret 8
Function at 0x42f090
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x13c]
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
test eax, eax
je 0x42f0e9
push 0x1388
push eax
call ecx
push 1
push dword [esi + 0x13c]
call edi
push dword [esi + 0x13c]
call ebx
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0x13c], 0
mov eax, dword [esi + 0x138]
test eax, eax
je 0x42f117
push 0x1388
push eax
call ecx
push 1
push dword [esi + 0x138]
call edi
push dword [esi + 0x138]
call ebx
mov dword [esi + 0x138], 0
mov eax, dword [esi + 0x140]
test eax, eax
je 0x42f14c
push 0
push eax
call edi
push dword [esi + 0x140]
call ebx
push 1
push esi
push 0x402
push dword [0x4b9a44]
mov dword [esi + 0x140], 0
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0x134]
test eax, eax
je 0x42f17e
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push dword [esi + 0x134]
call edi
push dword [esi + 0x134]
call ebx
mov dword [esi + 0x134], 0
mov ecx, dword [esi + 0x158]
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
call fcn.00434e30
mov ecx, dword [esi + 0x158]
cmp byte [ecx + 0x364], 0
je 0x42f1f7
call fcn.0042f000
mov edx, dword [esi + 0x158]
add edx, 0x364
test eax, eax
je 0x42f1ca
mov ecx, 0xc9
mov esi, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
ret
mov eax, dword [0x4bba6c]
cmp dword [0x4bba70], eax
je 0x42f1f0
mov ecx, 0xc9
mov esi, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [0x4bba6c], 0x324
pop edi
pop esi
pop ebx
ret
push edx
push eax
call fcn.00430f50
pop edi
pop esi
pop ebx
ret
Function at 0x4321d0
Capabilities:
Terminate thread
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
mov eax, dword [0x4b7014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x4ba84c]
push esi
push edi
mov edi, 3
lea esi, [ebx + 0xac]
mov ecx, dword [esi]
call fcn.0042f090
lea esi, [esi + 4]
sub edi, 1
jne 0x4321f7
mov edx, 0x4b0960
mov dword [ebx + 0xa4], edi
mov ecx, str.droidcam_client_options_v2
call fcn.0043bca0
mov dword [ebp - 0x33c], eax
test eax, eax
je 0x4322dd
mov ecx, dword [0x4bba6c]
mov eax, 0x28c1979
sub ecx, dword [0x4bba68]
xor esi, esi
imul ecx
mov dword [ebp - 0x334], esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4322cf
mov dword [ebp - 0x338], edi
cmp eax, esi
jbe 0x432326
push dword [ebp - 0x33c]
mov esi, dword [0x4bba68]
lea eax, [ebp - 0x330]
push 1
add esi, edi
mov ecx, 0xc9
lea edi, [ebp - 0x330]
push 0x324
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00462d57
mov ecx, dword [0x4bba6c]
mov eax, 0x28c1979
sub ecx, dword [0x4bba68]
add esp, 0x10
mov esi, dword [ebp - 0x334]
mov edi, dword [ebp - 0x338]
inc esi
imul ecx
add edi, 0x324
mov dword [ebp - 0x334], esi
sar edx, 3
mov eax, edx
mov dword [ebp - 0x338], edi
shr eax, 0x1f
add eax, edx
cmp eax, esi
ja 0x43225e
push dword [ebp - 0x33c]
call fcn.0045d801
add esp, 4
mov ecx, dword [ebx + 0xac]
mov ecx, dword [ecx + 0x158]
call fcn.00434c50
mov eax, dword [ebx]
test eax, eax
je 0x432315
push 0x20
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004555d3
mov esp, ebp
pop ebp
ret
call fcn.0043c8a0
int3
Function at 0x4324d0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x4b7014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x432550
push 0
push 0xff
push 0x4bba88
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0x30
test eax, eax
mov edx, 0x4bba88
mov ecx, str.Undefined_Error
push str.Error
cmovne ecx, edx
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004555d3
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
mov eax, 2
push esi
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x124]
push eax
push 0x8004667e
push edi
mov dword [ebp - 0x124], 1
call esi
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x11c], edi
push eax
push edi
mov dword [ebp - 0x120], 1
call dword [sym.imp.WS2_32.dll_connect]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x432662
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 2
push eax
push 0
lea eax, [ebp - 0x120]
mov dword [ebp - 0x128], 0
push eax
push 0
push 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x432662
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], 0
push eax
push 0x8004667e
push edi
call esi
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 0x124]
push 4
push eax
push 0x1002
push 0xffff
push edi
mov dword [ebp - 0x124], 0x40000
call esi
push 4
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x7d0
push eax
push 0x1006
push 0xffff
push edi
call esi
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004555d3
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
xor ecx, ebp
pop esi
call fcn.004555d3
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
test esi, esi
jle 0x4326c2
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 8]
push 0
push esi
add eax, edi
push eax
push dword [ebp + 0x10]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x4326ce
test eax, eax
jne 0x4326b6
push 1
call ebx
jmp 0x4326be
cmp eax, esi
je 0x4326c2
add edi, eax
sub esi, eax
test esi, esi
jg 0x432695
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
Function at 0x4326e0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b7014]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push dword [ebp + 8]
mov eax, 2
mov dword [ebp - 0x14], 0
mov esi, ecx
mov word [ebp - 0x18], ax
call dword [sym.imp.WS2_32.dll_htons]
push 6
push 1
push 2
mov word [ebp - 0x16], ax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x432762
push 0
push 0xff
push 0x4bba88
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
mov ecx, str.Undefined_Error
push 0x30
mov edx, 0x4bba88
cmovne ecx, edx
push str.Could_not_create_socket
push ecx
jmp 0x43280c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 1
push ecx
push 0x8004667e
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x4327b9
push 0
push 0xff
push 0x4bba88
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
mov ecx, str.Undefined_Error
push 0x30
mov edx, 0x4bba88
cmovne ecx, edx
push str.ioCtlSocket_failed
push ecx
jmp 0x43280c
push 0x10
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x4327ef
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x30
cmp eax, 0x2740
jne 0x4327e8
push str.Error
push str.Address_already_is_use__try_changing_port_number
jmp 0x43280c
push str.Could_not_bind_to_socket
jmp 0x432806
push 4
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x43283d
push 0x30
push str.Could_not_listen_on_socket
call fcn.00435420
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esi + 4]
cmp ecx, 0xffffffff
je 0x43282a
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004555d3
mov esp, ebp
pop ebp
ret 4
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.004555d3
mov esp, ebp
pop ebp
ret 4

Function at 0x432860
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x4b7014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x198]
push eax
push 0x202
mov dword [esi + 4], 0xffffffff
mov dword [esi], 0xffffffff
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4328be
push 0x30
push str.Error
push str.Could_not_find_a_usable_WinSock_DLL
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004555d3
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x198]
cmp al, 2
jne 0x4328cf
shr eax, 8
cmp al, 2
je 0x4328e9
push 0x30
push str.Error
push str.Could_not_find_a_usable_WinSock_DLL_v2.2
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004555d3
mov esp, ebp
pop ebp
ret
Function at 0x435550
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4b7014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x40
lea eax, [ebp - 0x44]
mov dword [ebp - 0x48], edx
push 0
push eax
mov ebx, ecx
call fcn.004581b0
push 0x208
push 0
push 0x4bb858
call fcn.004581b0
add esp, 0x18
push 0x208
push 0x4bb858
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4355eb
push eax
push 0xff
push 0x4bba88
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0x30
test eax, eax
mov edx, 0x4bba88
mov ecx, str.Undefined_Error
push str.Error
cmovne ecx, edx
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004555d3
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x44]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4355f0
mov eax, dword [str._reload]
push esi
push edi
mov dword [ecx], eax
lea edi, [ebp - 0x44]
mov eax, dword [0x4b05e4]
dec edi
mov dword [ecx + 4], eax
nop
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x435610
mov ax, word [0x4b060c]
mov esi, ebx
mov word [edi], ax
mov al, byte [ebx]
inc ebx
test al, al
jne 0x435625
lea edi, [ebp - 0x44]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x435632
mov ecx, ebx
lea eax, [ebp - 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 1
push 0
mov ecx, ebx
and ecx, 3
cmp dword [ebp - 0x48], 0
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, str.open
mov eax, str.runas
push 0x4bb858
cmove eax, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004555d3
mov esp, ebp
pop ebp
ret
Function at 0x435ba0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
push 0
push 0
push 0xf3
push dword [0x4b9ac4]
mov edi, ecx
mov dword [ebp - 4], edx
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call esi
push 0
push 1
push 0xf3
push dword [ebp - 4]
push edi
call ebx
push eax
call esi
mov eax, dword [ebp + 8]
lea eax, [eax + eax*2]
shl eax, 5
add eax, 0x4ba188
push eax
push 0x421
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp - 4]
mov dword [0x4b9ac4], eax
cmp eax, 0x43d
jne 0x435c7a
push 0
push 0x43f
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 5
push 0x447
push edi
call ebx
push eax
call esi
push 5
push 0x435
push edi
call ebx
push eax
call esi
push 0
push 0x43f
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push 1
push 0x440
push edi
call ebx
push eax
call esi
push 1
push 0x442
push edi
call ebx
push eax
call esi
push 1
push 0x441
push edi
call ebx
push eax
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push 0x43f
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 0
push 0x447
push edi
call ebx
push eax
call esi
push 0
push 0x435
push edi
call ebx
push eax
call esi
xor ebx, ebx
cmp dword [ebp - 4], 0x43c
sete bl
push ebx
push 0x43f
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push ebx
push 0x442
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x441
push edi
call ebx
push eax
call esi
push 1
push 0x440
push edi
call ebx
push eax
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x435d00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, edx
push eax
mov ebx, ecx
mov dword [ebp - 4], eax
push 0x3f8
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push dword [ebp - 4]
push 0x3fb
push ebx
call edi
push eax
call esi
push dword [ebp - 4]
push 0x3fa
push ebx
call edi
push eax
call esi
push dword [ebp - 4]
push 0x3f9
push ebx
call edi
push eax
call esi
push dword [ebp - 4]
push 0x3f7
push ebx
call edi
push eax
call esi
push dword [ebp - 4]
push 0x3f5
push ebx
call edi
push eax
call esi
push dword [ebp - 4]
push 0x42d
push ebx
call edi
push eax
call esi
push dword [ebp - 4]
push 0x413
push ebx
call edi
push eax
call esi
cmp dword [ebp - 4], 0
pop edi
pop esi
pop ebx
jne 0x435d9f
push 0
push dword [0x4ba150]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x435db0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, dword [0x4ba84c]
lea ebx, [ecx*4 + 0xac]
mov eax, dword [ebx + esi]
cmp dword [eax + 0x138], 0
jne 0x435dd9
cmp dword [eax + 0x134], 0
jne 0x435dd9
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
je 0x435f56
mov ecx, dword [esi + 0xac]
xor edx, edx
cmp dword [ecx + 0x14], edx
setne dl
mov eax, edx
or eax, 2
cmp dword [ecx + 0x10], 0
cmove eax, edx
test eax, eax
je 0x435e1e
mov ecx, dword [ebx + esi]
xor edx, edx
cmp dword [ecx + 0x14], edx
setne dl
mov eax, edx
or eax, 2
cmp dword [ecx + 0x10], 0
cmove eax, edx
test eax, eax
je 0x435f56
push 0x100
push dword [0x4b99d8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x435e4c
push 0x30
push str.Error
push str.Error_getting_audio_sync_lock
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x435f56
push 0x100
push dword [0x4b99fc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x435e86
push dword [0x4b99d8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0x30
push str.Error
push str.Error_getting_video_sync_lock
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x435f56
mov edx, dword [ebx + esi]
lea ecx, [esi + 0x14]
mov eax, dword [esi + 0xac]
mov dword [ebx + esi], eax
mov dword [esi + 0xac], edx
mov eax, dword [edx + 0x158]
lea edx, [esi + 0xc4]
mov dword [eax], ecx
lea ecx, [esi + 0xb8]
mov eax, dword [esi + 0xac]
mov eax, dword [eax + 0x158]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0xac]
mov eax, dword [eax + 0x158]
mov dword [eax + 0x8b4], 1
mov eax, dword [esi + 0xac]
mov eax, dword [eax + 0x158]
mov dword [eax + 0x8b8], 1
lea eax, [esi + 0xb0]
mov esi, 2
mov ecx, dword [eax]
lea eax, [eax + 4]
mov ecx, dword [ecx + 0x158]
mov dword [ecx], 0
mov ecx, dword [eax - 4]
mov ecx, dword [ecx + 0x158]
mov dword [ecx + 4], edx
add edx, 0xc
mov ecx, dword [eax - 4]
mov ecx, dword [ecx + 0x158]
mov dword [ecx + 0x8b4], 1
mov ecx, dword [eax - 4]
mov ecx, dword [ecx + 0x158]
mov dword [ecx + 0x8b8], 1
sub esi, 1
jne 0x435ef5
push dword [0x4b99d8]
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call esi
push dword [0x4b99fc]
call esi
push 0
push dword [0x4ba150]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x403
push dword [0x4b9a44]
call dword [sym.imp.USER32.dll_PostMessageA]
pop esi
mov eax, 1
pop ebx
ret