Function at 0x437336
Capabilities:
Create process on windows
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x55b18c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, dword [0x5688d4]
mov dword [ebp - 0x138], edi
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x43713a
cmp dword [eax + 8], 0
jle 0x43713a
mov eax, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
je 0x43713a
mov eax, dword [eax + 0xc]
test eax, eax
je 0x43713a
mov eax, dword [eax + 8]
jmp 0x43713c
xor eax, eax
mov dword [ebp - 0x134], eax
mov eax, dword [ecx + 0x44]
dec eax
mov dword [0x5ba6bc], eax
mov eax, dword [ecx + 0x40]
dec eax
mov dword [0x5ba6c0], eax
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x44]
test eax, eax
jne 0x437162
xor ecx, ecx
jmp 0x437165
mov ecx, dword [eax + 8]
cmp edx, ecx
jge 0x437177
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x437177
mov eax, dword [eax]
jmp 0x437179
xor eax, eax
push edi
mov dword [0x5ba6c4], eax
mov word [0x5ba6c8], si
mov dword [0x5ba6b0], edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push 0x5ba6b0
push eax
mov dword [0x5ba6b4], eax
mov eax, dword [0x5688d4]
push 0x4e
mov dword [0x5ba6b8], 6
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esi - 0x21]
cmp ecx, 7
ja case.0x4371ce.35
mov eax, dword [0x5688d4]
mov dword [ebp - 0x13c], eax
jmp dword [ecx*4 + 0x437844]
mov eax, dword [ebp - 0x134]
xorps xmm0, xmm0
movups xmmword [ebp - 0x120], xmm0
sub eax, 1
je case.default.0x437505
cmp esi, 0x22
je 0x4371fd
mov ecx, 1
cmp esi, 0x28
jne 0x4371ff
mov ecx, eax
mov eax, dword [0x5688d4]
cmp dword [eax + 0x40], ecx
je case.default.0x437505
lea eax, [ebp - 0x120]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [0x5688d4]
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x138], ecx
sub eax, dword [ecx + 0x4c]
sub eax, dword [ecx + 0x3c]
cdq
idiv dword [ecx + 0x28]
mov edx, eax
cmp esi, 0x22
je 0x43726b
cmp esi, 0x28
je 0x43726b
mov eax, dword [ebp - 0x138]
cmp esi, 0x21
mov ecx, 1
cmove ecx, edx
sub dword [eax + 0x40], ecx
mov eax, dword [0x5688d4]
cmp dword [eax + 0x40], 1
jge 0x4372c8
mov dword [eax + 0x40], 1
jmp 0x4372cf
cmp esi, 0x22
mov eax, 1
cmove eax, edx
add dword [ecx + 0x40], eax
mov edx, dword [0x5688d4]
mov eax, dword [ebp - 0x134]
dec eax
cmp dword [edx + 0x40], eax
jle 0x4372c8
mov dword [edx + 0x40], eax
jmp 0x4372cf
cmp dword [eax + 0x70], 1
jne case.0x4371ce.37
cmp dword [eax + 0x74], 0
je case.0x4371ce.37
mov dword [eax + 0x74], 0
jmp 0x4372cf
mov ecx, dword [eax + 0x44]
xor edx, edx
cmp esi, 0x27
sete dl
call fcn.00434bb0
mov ecx, eax
test ecx, ecx
je case.default.0x437505
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x44], ecx
mov ecx, edi
call fcn.004360a0
mov edx, dword [0x5688d4]
mov ecx, edi
push dword [edx + 0x40]
mov edx, dword [edx + 0x44]
call fcn.00435b50
mov edx, dword [0x5688d4]
add esp, 4
mov ecx, edi
push dword [edx + 0x40]
mov edx, dword [edx + 0x44]
call fcn.00435c90
add esp, 4
lea eax, [ebp - 0x130]
xorps xmm0, xmm0
movups xmmword [ebp - 0x130], xmm0
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d20a0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp esi, 0x70
jb 0x437347
cmp esi, 0x87
jbe case.default.0x437505
cmp esi, 9
je case.default.0x437505
cmp esi, 0xd
je case.default.0x437505
cmp esi, 0x12
je case.default.0x437505
cmp esi, 0x13
je case.default.0x437505
cmp esi, 0x14
je case.default.0x437505
cmp esi, 0x2d
je case.default.0x437505
cmp esi, 0x90
je case.default.0x437505
cmp esi, 0x5b
je case.default.0x437505
cmp esi, 0x5c
je case.default.0x437505
cmp esi, 0x5d
je case.default.0x437505
mov eax, dword [0x5688d4]
cmp dword [eax + 0x90], 0
je case.default.0x437505
cmp dword [eax + 0x70], 1
jne 0x4373c6
cmp dword [eax + 0x74], 0
jne case.default.0x437505
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x40]
cmp edx, 0xffffffff
jle case.default.0x437505
cmp ecx, 0xffffffff
jle case.default.0x437505
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4373ed
mov dword [ebp - 0x134], eax
jmp 0x4373f6
mov edi, dword [eax + 8]
mov dword [ebp - 0x134], edi
cmp edx, dword [ebp - 0x134]
jge case.default.0x437505
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je case.default.0x437505
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x43741f
mov dword [ebp - 0x134], eax
jmp 0x437428
mov edi, dword [eax + 8]
mov dword [ebp - 0x134], edi
mov edi, dword [ebp - 0x138]
cmp ecx, dword [ebp - 0x134]
jge 0x43743e
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
jmp 0x437440
xor eax, eax
mov dword [ebp - 0x134], eax
test eax, eax
je case.default.0x437505
cmp dword [eax + 0xc], 1
je case.default.0x437505
lea eax, [ebp - 0x120]
xorps xmm0, xmm0
push eax
push ecx
mov ecx, edi
movaps xmmword [ebp - 0x120], xmm0
call fcn.00434c40
push 0x100
lea eax, [ebp - 0x110]
mov dword [ebp - 0xc], 0
push 0
push eax
mov byte [ebp - 8], 0
call fcn.004db730
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
push dword [ebx + 0x10]
push esi
call dword [sym.imp.USER32.dll_ToAscii]
xor ecx, ecx
test eax, eax
cmovns ecx, eax
cmp ecx, 5
jge 0x4374cd
jae 0x43783e
mov byte [ebp + ecx - 0xc], 0
mov eax, dword [0x5688d4]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x44]
test ecx, ecx
jne 0x4374e0
xor eax, eax
jmp 0x4374e3
mov eax, dword [ecx + 8]
cmp edx, eax
jge case.default.0x437505
mov eax, dword [ecx + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je case.default.0x437505
mov eax, dword [eax]
dec eax
cmp eax, 5
ja case.default.0x437505
jmp dword [eax*4 + 0x437864]
mov ecx, dword [ebx + 0x10]
and ecx, 0x2000
je 0x437521
mov eax, dword [ebp - 0x134]
mov edx, dword [eax]
jmp 0x437524
lea edx, [ebp - 0xc]
movups xmm0, xmmword [ebp - 0x120]
sub esp, 0x10
mov eax, esp
push ecx
mov ecx, edi
movups xmmword [eax], xmm0
call fcn.00436ce0
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d20a0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x134]
mov esi, dword [eax]
test ecx, ecx
jne 0x437561
xor eax, eax
jmp 0x437564
mov eax, dword [ecx + 8]
cmp edx, eax
jge 0x437577
mov eax, dword [ecx + 4]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x437577
mov edx, dword [edx + 8]
jmp 0x437579
xor edx, edx
movups xmm0, xmmword [ebp - 0x120]
sub esp, 0x10
mov ecx, edi
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.00436ec0
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d20a0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x134]
movaps xmm0, xmmword [ebp - 0x120]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [eax]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x120]
push eax
movaps xmmword [ebp - 0x120], xmm0
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [0x5688d4]
cmp dword [eax + 8], 0
jne 0x437681
push 0
push dword [eax]
push 0x7d3
push edi
push closesocket
push closesocket
push closesocket
push closesocket
push 0x50000000
push 0x537060
push str.Button
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0x13c], eax
test eax, eax
jne 0x437625
xor edi, edi
jmp 0x437679
push 0x53706c
push 0x53706c
push eax
call dword [sym.imp.UxTheme.dll_SetWindowTheme]
push 0
push 0
push 0
push 0x31
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [ebp - 0x13c]
push eax
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push str.Wprc
push edi
call dword [sym.imp.USER32.dll_SetPropA]
push 0x436520
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [0x5688d4]
mov dword [eax + 8], edi
mov eax, dword [ebp - 0x114]
mov edx, dword [ebp - 0x11c]
sub eax, edx
mov ecx, dword [ebp - 0x120]
push 1
push eax
mov eax, dword [ebp - 0x118]
sub eax, ecx
push eax
mov eax, dword [0x5688d4]
push edx
push ecx
push dword [eax + 8]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x5688d4]
push dword [ebp - 0x138]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x5688d4]
push 5
push dword [eax + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5688d4]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x10]
movzx ecx, ax
movzx eax, word [ebx + 0xc]
shl ecx, 0x10
or ecx, eax
mov eax, dword [0x5688d4]
push ecx
push esi
push 0x100
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d20a0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [ebp - 0x134]
push 0x537040
push dword [esi]
call fcn.004e657e
mov ecx, dword [esi]
add esp, 8
push ecx
test eax, eax
jne 0x4377a0
call fcn.004e4d39
add esp, 4
xor ecx, ecx
inc ecx
cmp byte [ecx + 0x53705c], 0
jne 0x437740
xor eax, eax
add ecx, 1
push 1
setb al
neg eax
or eax, ecx
push eax
call fcn.004de5ef
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x43777a
push 1
push 1
call fcn.004de5ef
add esp, 8
mov dword [esi], eax
jmp case.0x437505.6
xor eax, eax
nop dword [eax]
inc eax
cmp byte [eax + 0x53705c], 0
jne 0x437780
push eax
push 0x53705c
push ecx
call fcn.004db1b0
add esp, 0xc
mov dword [esi], eax
jmp case.0x437505.6
call fcn.004e4d39
add esp, 4
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + 0x537040], 0
jne 0x4377b0
xor eax, eax
add ecx, 1
push 1
setb al
neg eax
or eax, ecx
push eax
call fcn.004de5ef
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x437767
xor eax, eax
nop dword [eax]
inc eax
cmp byte [eax + 0x537040], 0
jne 0x4377e0
push eax
push 0x537040
push ecx
call fcn.004db1b0
add esp, 0xc
mov dword [esi], eax
jmp case.0x437505.6
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 4]
cmp byte [eax], 0
je case.0x437505.6
cmp esi, 0x20
jne case.0x437505.6
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, edi
call fcn.00436260
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d20a0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004d2744
nop
aad 0x71
inc ebx
add ch, dl
jno 0x43788e
add byte [esi], dh
jae 0x437892
add byte [esi], dh
jae 0x437896
add byte [ebp - 0x2affbc8e], ah
jno 0x43789e
add byte [eax - 0x2affbc8e], dl
jno 0x4378a6
add byte [esi*2 + 0x75510043], cl
inc ebx
add byte [esi + 0x1a004375], ah
ja 0x4378b6
add ch, bh
ja 0x4378ba
add byte [eax + edi*2], ah
inc ebx
add ah, cl
int3
add byte [edi], cl
test byte [ecx + 1], ah
add byte [eax], al
add dword [eax], eax
add byte [ebx + 0x1d7401ea], al
ljmp 0x1ea:0x831d7401
test dword [esi + 0x39000002], eax
push ebp
or al, 0xf
test dword [ebp + 2], edi
add byte [eax], al
add al, 0xf
test dword [eax + 2], ebp
add byte [eax], al