joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425280
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x18]
mov esi, ecx
cmp ebx, 0xf
jne 0x4252b8
mov eax, 1
mov dword [esi + 0xc8], eax
mov dword [edi], 0
cmp dword [esi + 0xc8], 0
je 0x425369
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
cmp ebx, 2
jne 0x42530a
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
push ecx
mov dword [esi + 0xc8], 1
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x4252ef
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4252ef
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi], 0
cmp dword [esi + 0xc8], 0
je 0x42535d
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x14
cmp ebx, 0x47
jne 0x42533d
mov edx, dword [ebp + 0x14]
push edx
mov dword [esi + 0xc8], 1
call fcn.00425080
mov dword [edi], 0
cmp dword [esi + 0xc8], 0
je 0x425369
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x14
cmp ebx, 0x18
jne 0x425360
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
mov ecx, esi
mov dword [esi + 0xc8], 1
call fcn.00425190
jmp 0x425322
mov ebx, dword [ebp + 0xc]
cmp dword [esi + 0xc8], 0
jne 0x4252fe
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edi
push edx
push eax
push ebx
push ecx
mov ecx, esi
call fcn.004235e0
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x429650
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push esi
mov esi, ecx
jne 0x429831
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x24]
cmp eax, 0x14
jne 0x42967e
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
mov eax, 1
pop esi
pop ebp
ret 0x18
cmp eax, 0xf
jne 0x4296a5
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x10]
push eax
push edx
push 0xf
call fcn.00429570
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop esi
pop ebp
ret 0x18
cmp eax, 0x318
jne 0x4296d1
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x10]
push eax
push edx
push 0x318
call fcn.00429570
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop esi
pop ebp
ret 0x18
cmp eax, 5
jne 0x4296fb
mov eax, dword [ebp + 0x14]
movsx edx, ax
shr eax, 0x10
cwde
push eax
push edx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00428f30
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
xor eax, eax
pop esi
pop ebp
ret 0x18
cmp eax, 1
je 0x429770
cmp eax, 2
jne 0x429729
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x1c]
push edx
push eax
push ecx
push 2
mov ecx, esi
call fcn.00428d80
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov eax, 1
pop esi
pop ebp
ret 0x18
cmp eax, 0x201
jne 0x429757
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 0x1c]
push eax
push ecx
push edx
push 0x201
mov ecx, esi
call fcn.00428dd0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop esi
pop ebp
ret 0x18
cmp eax, 0x204
jne 0x429783
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
or eax, 0xffffffff
mov dword [esi + 0x64], eax
mov dword [esi + 0x6c], eax
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 1
mov eax, 1
pop esi
pop ebp
ret 0x18
cmp eax, 0x200
jne 0x4297b1
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x1c]
push edx
push eax
push ecx
push 0x200
mov ecx, esi
call fcn.00428e60
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov eax, 1
pop esi
pop ebp
ret 0x18
cmp eax, 0x1c
jne 0x4297db
cmp dword [ebp + 0x10], 0
jne 0x4297c8
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 1
mov eax, 1
pop esi
pop ebp
ret 0x18
cmp eax, 8
jne 0x4297fc
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
xor eax, eax
pop esi
pop ebp
ret 0x18
cmp eax, 0x20a
jne 0x429831
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0x1c]
push ecx
push edx
push eax
push 0x20a
mov ecx, esi
mov dword [ebp + 0x1c], 1
call fcn.00428ec0
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4296c7
xor eax, eax
pop esi
pop ebp
ret 0x18
Function at 0x429f90
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov byte [esi + 0xf0], 0
mov eax, dword [esi + 0x138]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429ff2
cmp dword [esi + 0x170], 0
push 0
je 0x429fdb
mov ecx, dword [esi + 0x174]
mov edx, dword [esi + 0x138]
push ecx
push 0x400
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x158], 0
pop esi
ret
mov eax, dword [esi + 0x138]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x158], 0
pop esi
ret

Function at 0x42a4f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x466eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
mov edi, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42a590
push eax
push ecx
mov eax, esp
push 0
push 0
push 0
push ecx
mov dword [eax], 0
mov eax, esp
push edi
mov ecx, esi
mov dword [eax], 0
call fcn.0042a480
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
lea ecx, [esi + 0x28]
push 0x457554
call fcn.00409ef0
push 0x5c
lea edx, [ebp - 0x60]
push 0
push edx
call fcn.004391a0
push 0x4574bc
lea eax, [ebp - 0x44]
push 0x20
push eax
mov dword [ebp - 0x60], 0xc
mov dword [ebp - 0x50], 0x190
mov byte [ebp - 0x4b], 0
call fcn.004395f9
add esp, 0x18
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esi + 0x2c], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00438fc8
mov esp, ebp
pop ebp
ret 4
Function at 0x42c5a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x42c78f
cmp dword [esi + 0xe4], 0
jne 0x42c78f
test byte [esi + 0x178], 1
push ebx
push edi
je 0x42c761
mov edx, dword [esi + 0x1c]
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edx
mov edx, edi
sub edx, ebx
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
add ecx, 2
add eax, eax
mov dword [ebp - 0x18], ecx
add eax, eax
mov ecx, 2
sub ecx, eax
add dword [ebp - 0x10], ecx
add ebx, 2
sub edi, 2
cmp dword [esi + 0xe8], 0
mov dword [ebp - 4], 0x500100c0
je 0x42c627
mov dword [ebp - 4], 0x500100e0
mov ecx, esi
call fcn.0042c4f0
test al, al
je 0x42c78d
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x18]
push esi
push 0x400000
push edx
push eax
mov eax, dword [ebp - 0x10]
sub edi, ebx
push edi
sub eax, ecx
push eax
push ebx
push ecx
mov ecx, dword [ebp - 4]
push ecx
push 0
push str.BkCombo
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0xe4], eax
test eax, eax
jne 0x42c67c
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
test byte [esi + 0x178], 8
je 0x42c68c
mov byte [esi + 0xf8], 1
movzx edx, word [esi + 0xdc]
push 1
push edx
call fcn.004214d0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 4
push eax
mov eax, dword [esi + 0xe4]
push 0x30
push eax
call edi
mov ecx, dword [esi + 0xe4]
push 0
push 0x64
push 0xc5
push ecx
call edi
cmp dword [esi + 0xe8], 0
je 0x42c6e3
movzx edx, word [esi + 0xec]
mov eax, dword [esi + 0xe4]
push 0
push edx
push 0xcc
push eax
call edi
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0xe4]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0xe4]
push 0
push 0
push 0xb9
push eax
call edi
mov ecx, dword [esi + 0xe4]
push 0
push 3
push 0xd3
push ecx
call edi
movzx edx, byte [esi + 0xee]
mov eax, dword [esi + 0xe4]
push edx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
movzx ecx, byte [esi + 0xf8]
mov edx, dword [esi + 0xe4]
push 0
push ecx
push 0xcf
push edx
call edi
mov eax, dword [esi + 0xe4]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xe4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
test byte [esi + 0x178], 2
je 0x42c78d
mov edx, dword [esi + 0xc]
push edx
lea ecx, [esi + 0x134]
call fcn.0042a4f0
mov dword [esi + 0x170], 1
mov dword [esi + 0x174], 0x1f4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42d0e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x466eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xe4]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0043aa40
mov ebx, esp
test ebx, ebx
je 0x42d151
mov ecx, dword [esi + 0xe4]
push edi
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, ebx
lea ecx, [esi + 0x6c]
lea edi, [eax + 2]
jmp 0x42d130
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42d130
sub eax, edi
sar eax, 1
push eax
push ebx
call fcn.00409ef0
lea edx, [esi + 0x14]
push edx
mov ecx, esi
call fcn.00425c90
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438fc8
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42d4e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x42d64e
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x20]
push edi
mov edi, dword [esi + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
add eax, 2
add ecx, 2
sub edi, 2
sub ebx, 2
cmp dword [esi + 0xe8], 0
mov dword [ebp - 4], 0x500100c0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
je 0x42d530
mov dword [ebp - 4], 0x500100e0
mov ecx, esi
call fcn.0042d430
test al, al
je 0x42d64c
mov ecx, dword [ebp - 8]
mov edx, dword [esi + 0xc]
mov eax, dword [ebp - 0x18]
push esi
push 0x400000
push ecx
mov ecx, dword [ebp - 0x14]
push edx
sub ebx, ecx
push ebx
sub edi, eax
push edi
push ecx
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push 0x4575a0
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0xe4], eax
test eax, eax
jne 0x42d585
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
movzx ecx, word [esi + 0xe0]
push 1
push ecx
call fcn.004214d0
mov edx, dword [esi + 0xe4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 4
push eax
push 0x30
push edx
call edi
mov eax, dword [esi + 0xe4]
push 0
push 0x64
push 0xc5
push eax
call edi
cmp dword [esi + 0xe8], 0
je 0x42d5dc
movzx ecx, word [esi + 0xec]
mov edx, dword [esi + 0xe4]
push 0
push ecx
push 0xcc
push edx
call edi
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0xe4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0xe4]
push 0
push 0
push 0xb9
push edx
call edi
mov eax, dword [esi + 0xe4]
push 0
push 3
push 0xd3
push eax
call edi
movzx ecx, byte [esi + 0xee]
mov edx, dword [esi + 0xe4]
push ecx
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0xfc]
mov ecx, dword [esi + 0xe4]
push 0
push eax
push 0xcf
push ecx
call edi
mov edx, dword [esi + 0xe4]
push 4
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430230
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov eax, dword [0x466eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x170]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x168]
push ecx
lea edx, [ebp - 0x16c]
push edx
push eax
mov ecx, esi
call fcn.00425fd0
test eax, eax
je 0x43029f
mov esi, dword [eax + 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43028c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438fc8
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x430329
push 0x15c
lea edx, [ebp - 0x160]
push 0
push edx
mov dword [ebp - 0x164], 0
call fcn.004391a0
mov ecx, dword [ebp + 8]
add esp, 0xc
push 0x300
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x430329
cmp dword [ebp - 0x164], 0
je 0x430329
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.0042ded0
mov ecx, dword [ebp - 0x164]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x164]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x430280
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430348
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00438fc8
mov esp, ebp
pop ebp
ret 4
Function at 0x430360
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov eax, dword [0x466eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea esi, [ecx + 0x30]
lea eax, [ebp - 0x170]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x168]
push ecx
lea edx, [ebp - 0x16c]
push edx
push eax
mov ecx, esi
call fcn.00425fd0
test eax, eax
je 0x4303d0
mov esi, dword [eax + 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4303bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438fc8
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x43045a
push 0x15c
lea edx, [ebp - 0x160]
push 0
push edx
mov dword [ebp - 0x164], 0
call fcn.004391a0
mov ecx, dword [ebp + 8]
add esp, 0xc
push 0x301
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x43045a
cmp dword [ebp - 0x164], 0
je 0x43045a
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.0042ded0
mov ecx, dword [ebp - 0x164]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x164]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4303b1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430479
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00438fc8
mov esp, ebp
pop ebp
ret 4

Function at 0x430490
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0xd0]
push edi
test eax, eax
jne 0x430501
mov eax, dword [esi + 0xcc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x430527
mov eax, dword [esi + 0xcc]
push ecx
sub eax, 0x10
cmp dword [esi + 0xd4], 0
mov edi, esp
push eax
je 0x4304e4
call fcn.00419470
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00426700
mov ecx, eax
call fcn.00430360
jmp 0x4304fd
call fcn.00419470
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00426700
mov ecx, eax
call fcn.00430230
test eax, eax
je 0x430527
mov edx, dword [esi + 0x20]
sub edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
push 3
push 0
push 0
push edx
mov edx, dword [esi + 0x1c]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x18]
push eax
push ecx
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_DrawIconEx]
pop edi
pop esi
pop ebp
ret 4
Function at 0x432bd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [edi + 0x2fc], ebx
je 0x432bf6
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi + 0x2fc], ebx
mov eax, dword [edi + 0x2f0]
cmp eax, ebx
je 0x432cde
push esi
push eax
call fcn.00421ef0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x432c8e
push 2
push ebx
push esi
mov ecx, edi
call fcn.00432760
mov eax, dword [edi + 0x2f0]
cmp eax, dword [edi + 0x2ec]
jne 0x432c8e
mov edx, dword [esi]
mov edx, dword [edx + 0x38]
mov dword [esi + 0xc8], ebx
movzx ecx, word [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp + 8]
push ecx
push 0x202
push ebx
mov ecx, esi
mov dword [ebp - 0xc], ebx
call edx
mov eax, dword [esi + 0x84]
cmp eax, ebx
je 0x432c7d
cmp word [eax], bx
je 0x432c7d
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x432c8e
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x432c8e
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
mov dword [edi + 0x2f0], ebx
cmp dword [ebp - 4], ebx
je 0x432cdd
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edx, dword [esi]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [edi + 4]
push ecx
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
push edx
push ecx
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x433c90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x433cea
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x433ce0
mov eax, dword [ebp + 8]
cmp eax, 0x1b
jne 0x433cc8
mov ecx, dword [esi + 4]
push 0
push 2
push 0x111
push ecx
jmp 0x433cda
cmp eax, 0xd
jne 0x433ce0
mov edx, dword [esi + 4]
push 0
push 1
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x388], 0
pop esi
pop ebp
ret 0xc
Function at 0x4347e0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x466eb0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004391a0
push str.ANDROID_SDK_HOME
call fcn.0043b138
add esp, 0x10
test eax, eax
je 0x434836
push eax
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.004395f9
add esp, 0xc
jmp 0x434865
lea eax, [ebp - 0x218]
push eax
push 0x28
push 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [ebp - 0x218]
lea ecx, [ebp - 0x20c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push str..android
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0043b028
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43489e
lea edx, [ebp - 0x20c]
push edx
call fcn.0040e6b0
add esp, 4
push str._adb_usb.ini
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0043b028
add esp, 0xc
lea ecx, [ebp - 0x214]
call fcn.0040da50
push 0
push 1
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x214]
call fcn.0040da60
test al, al
je 0x434937
push str.0x22D9
lea ecx, [ebp - 0x214]
call fcn.0040dc50
push str.0x109B
lea ecx, [ebp - 0x214]
call fcn.0040dc50
push str.0x267A
lea ecx, [ebp - 0x214]
call fcn.0040dc50
push str.0x18D1
lea ecx, [ebp - 0x214]
call fcn.0040dc50
push 0x4579d0
lea ecx, [ebp - 0x214]
call fcn.0040dc50
lea ecx, [ebp - 0x214]
call fcn.0040dcc0
lea ecx, [ebp - 0x214]
call fcn.0040dcf0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438fc8
mov esp, ebp
pop ebp
ret

Function at 0x434d10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
mov eax, dword [ebx]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
test esi, esi
jns 0x434d32
push 0x80070057
call fcn.00409050
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x434d50
push esi
mov ecx, edi
call fcn.00409fa0
mov eax, dword [edi]
push esi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x434d77
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x434d7b
push ecx
push eax
call fcn.0043b1b2
add esp, 8
test eax, eax
js 0x434d28
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x434d28
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
pop edi
mov word [ecx + eax*2], dx
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x434e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x466eb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
lea ecx, [ebp - 0x210]
push ecx
push 0x20019
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434ef1
mov ecx, dword [ebp - 0x210]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x214]
push edx
push eax
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x218]
push eax
push 0
push esi
push ecx
mov dword [ebp - 0x218], 1
call edi
test eax, eax
jne 0x434ee4
cmp dword [ebp - 0x214], 0x208
jae 0x434ee4
lea edx, [ebp - 0x214]
push edx
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0
push esi
push edx
call edi
lea eax, [ebp - 0x20c]
push eax
mov ecx, ebx
call fcn.00409cb0
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438fc8
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00438fc8
mov esp, ebp
pop ebp
ret

Function at 0x434f10
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x466eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0
push 0x26
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Shendu_
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0040dd90
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434f60
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
mov ecx, esi
call fcn.00409ef0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00438fc8
mov esp, ebp
pop ebp
ret