Function at 0x421718
Capabilities:
Get common file path
Log keystrokes via polling
Query environment variable

Disassembly:
push ebp
mov eax, 0x41bc
lea ebp, [esp - 0x74]
call fcn.00480210
push ebx
push esi
mov dword [ebp + 0x50], ecx
push edi
lea ecx, [ebp + 0x7c]
call fcn.0040bc51
and dword [ebp + 0x5c], 0
and dword [ebp + 0x58], 0
xor bl, bl
mov dword [ebp + 0x64], 1
mov byte [ebp + 0x72], 0
mov byte [ebp + 0x57], bl
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov ecx, dword [ebp + 0x7c]
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x3c], 0x3e8
mov ax, word [ecx]
cmp ax, 0x2d
mov byte [ebp + 0x6c], bl
mov byte [ebp + 0x73], bl
mov dl, 0x2a
jne 0x421773
mov dl, al
movsx esi, dl
movzx eax, ax
cmp esi, eax
jne 0x421ad6
push pe_nt_image_headers32
pop edi
lea edx, [ecx + 2]
xor eax, eax
mov ax, word [edx]
cmp ax, 0x3d
je 0x421903
push eax
call fcn.004103b8
add esp, 4
test al, al
jne 0x421903
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x498238
mov dword [ebp + 0x7c], edx
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x4217ca
mov byte [ebp + 0x73], 1
jmp 0x4218f5
push 8
lea eax, [ebp + 0x7c]
push eax
push 0x49822c
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x4217ea
mov byte [ebp + 0x57], 1
jmp 0x4218f5
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x498228
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x42180a
mov byte [ebp + 0x6c], 1
jmp 0x4218f5
push 4
lea eax, [ebp + 0x7c]
push eax
push 0x498220
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x42182a
mov byte [ebp + 0x6c], 0x41
jmp 0x4218f5
push 6
lea eax, [ebp + 0x7c]
push eax
push 0x498218
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x42184a
mov byte [ebp + 0x6c], 0x10
jmp 0x4218f5
push 7
lea eax, [ebp + 0x7c]
push eax
push 0x498210
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x42186a
mov byte [ebp + 0x6c], 0x50
jmp 0x4218f5
push 4
lea eax, [ebp + 0x7c]
push eax
push 0x498208
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x42188a
mov dword [ebp + 0x5c], 0x10000
jmp 0x4218f5
push 7
lea eax, [ebp + 0x7c]
push eax
push 0x498200
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x4218a5
mov bl, 1
jmp 0x4218f5
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x497f90
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x4218c1
mov dword [ebp + 0x58], edi
jmp 0x4218f5
push 4
push dword [ebp + 0x7c]
push 0x4981f8
call fcn.004318b1
add esp, 0xc
test al, al
je 0x4218eb
add dword [ebp + 0x7c], 8
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.00438b8e
pop ecx
jmp 0x4218f4
lea eax, [ebp + 0x7c]
push eax
call fcn.0040459d
pop ecx
mov ecx, dword [ebp + 0x7c]
movzx eax, word [ecx]
cmp esi, eax
je 0x421784
cmp byte [ebp + 0x6c], 0
je 0x421a20
push 0x4ad684
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push 0x497620
call fcn.0040c00c
mov ebx, dword [ebp + 0x6c]
and ebx, edi
push ebx
mov dword [ebp + 0x68], eax
call fcn.0040e466
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
pop ecx
pop ecx
push dword [ebp + 0x7c]
mov dword [ebp + 0x58], eax
call edi
mov esi, eax
add esi, 0x10
lea eax, [esi + 0x65]
push eax
lea ecx, [ebp + 0x64]
call fcn.00435d80
mov eax, dword [ebp + 0x64]
and word [eax], 0
test byte [ebp + 0x6c], 0x10
jne 0x421972
push dword [ebp + 0x20]
push 0x4981cc
push dword [ebp + 0x64]
call dword [sym.imp.USER32.DLL_wsprintfW]
add esp, 0xc
push dword [ebp + 0x64]
call edi
mov ecx, dword [ebp + 0x64]
inc esi
push esi
push dword [ebp + 0x7c]
lea eax, [ecx + eax*2]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpynW]
mov esi, dword [ebp + 0x64]
push esi
call edi
shl eax, 1
push eax
push esi
push 1
push 0x4981b0
push 0x497550
push 0x80000002
call fcn.00431794
add esp, 0x18
cmp dword [ebp + 0x58], 0
jne 0x4219c4
push ebx
push dword [ebp + 0x50]
call fcn.004156b9
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
je 0x4219f4
push 0
push 0x895440
push 0x312
push dword [ebp + 0x58]
call dword [sym.imp.USER32.DLL_SendMessageW]
lea ecx, [ebp + 0x64]
mov esi, eax
call fcn.0043092f
cmp dword [ebp + 0x68], 0
je 0x421a0e
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
jmp 0x421a0e
lea ecx, [ebp + 0x64]
call fcn.0043092f
cmp dword [ebp + 0x68], 0
je 0x421a0b
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
xor esi, esi
inc esi
push 0x4ad684
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, esi
jmp 0x42220b
test bl, bl
je 0x421ad6
lea ecx, [ebp + 0x58]
mov dword [ebp + 0x5c], 0x4977e0
call fcn.00435d62
mov eax, dword [ebp + 0x7c]
xor esi, esi
cmp word [eax], si
je 0x421a59
push 0x2c
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.004386e6
mov eax, dword [ebp + 0x58]
add esp, 0xc
mov dword [ebp + 0x5c], eax
push 0x3f
xor eax, eax
mov byte [ebp - 0x144], 0
pop ecx
lea edi, [ebp - 0x143]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.USER32.DLL_GetKeyboardState]
mov word [ebp - 0x4148], si
lea edi, [ebp - 0x4148]
movzx eax, byte [ebp + esi - 0x144]
push eax
push 0x4981a0
push edi
call dword [sym.imp.USER32.DLL_wsprintfW]
add esp, 0xc
inc esi
add edi, 0xa
cmp esi, 0x100
jl 0x421a8a
mov ecx, dword [ebp + 0x50]
lea eax, [ebp - 0x4148]
push eax
push dword [ebp + 0x5c]
xor ebx, ebx
mov word [ebp - 0x374a], bx
call fcn.00435749
lea ecx, [ebp + 0x58]
call fcn.0043092f
jmp 0x4221d3
fld qword [0x498198]
mov esi, 0x80000000
fstp qword [ebp + 0x18]
mov dword [ebp + 0x60], esi
cmp word [ecx], 0x2d
jne 0x421b15
lea eax, [ecx + 2]
mov dx, word [eax]
or dx, 0x20
cmp dx, 0x63
je 0x421b15
cmp dx, 0x64
je 0x421b15
lea ecx, [ebp + 0x7c]
mov dword [ebp + 0x7c], eax
mov byte [ebp + 0x72], 1
call fcn.0040bc51
mov ecx, dword [ebp + 0x7c]
cmp word [ecx], 0x3d
jne 0x421b24
mov bl, byte [ecx]
inc ecx
inc ecx
mov dword [ebp + 0x7c], ecx
jmp 0x421b26
xor bl, bl
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.004103b8
add esp, 4
test al, al
je 0x421b5b
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x34]
push eax
mov dword [ebp + 0x34], ecx
call fcn.00438b8e
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.00438963
mov ecx, dword [ebp + 0x7c]
add esp, 0x10
cmp word [ecx], 0x2a
je 0x421d1b
cmp dword [ebp + 0x60], esi
jne 0x421b7e
fld qword [ebp + 0x18]
fcomp qword [0x498190]
fnstsw ax
test ah, 1
jne 0x421d1b
xor edi, edi
lea ecx, [ebp + 0x68]
mov word [ebp - 0x42], di
mov word [ebp - 0x44], di
mov dword [ebp + 0x6c], 0x4977e0
call fcn.00435d62
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x2c
jne 0x421bc1
add dword [ebp + 0x7c], 2
push 0x2c
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.004386e6
mov eax, dword [ebp + 0x68]
add esp, 0xc
cmp word [eax], di
je 0x421bc1
mov dword [ebp + 0x6c], eax
cmp byte [ebp + 0x72], 0
mov esi, dword [ebp + 0x60]
jne 0x421c55
cmp esi, edi
jne 0x421be4
fld qword [ebp + 0x18]
fcomp qword [0x498190]
fnstsw ax
test ah, 0x41
jnp 0x421c50
cmp esi, edi
jl 0x421cf8
test bl, bl
je 0x421c19
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x60], 0x80000000
cmp word [eax], bx
jne 0x421cfb
lea ecx, [ebp + 0x68]
call fcn.0043092f
xor eax, eax
jmp 0x42220b
cmp esi, edi
jg 0x421c3d
fld qword [ebp + 0x18]
fcomp qword [0x498190]
fnstsw ax
test ah, 0x41
jne 0x421c3d
fld qword [ebp + 0x18]
fmul qword [0x498188]
call fcn.00480544
jmp 0x421c3f
xor eax, eax
mov ecx, dword [ebp + 0x50]
push eax
push esi
call fcn.0040d358
mov ebx, eax
jmp 0x421cef
push 2
pop eax
jmp 0x421c58
xor eax, eax
inc eax
or eax, dword [ebp + 0x5c]
push eax
push esi
call fcn.0041895b
cmp byte [ebp + 0x73], 0
pop ecx
pop ecx
mov ebx, eax
jne 0x421c79
cmp ebx, 0x60
jl 0x421c79
cmp ebx, 0x69
jg 0x421c79
sub ebx, 0x30
test ebx, ebx
mov esi, dword [sym.imp.USER32.DLL_wsprintfW]
mov edi, 0x4952f4
jle 0x421c98
push ebx
lea eax, [ebp - 0x44]
push edi
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x44]
jmp 0x421c9d
mov eax, 0x49817c
mov ecx, dword [ebp + 0x50]
push eax
push 0x49815c
call fcn.00435749
test ebx, ebx
jle 0x421ce0
cmp ebx, 0x41
jl 0x421cb9
cmp ebx, 0x5a
jle 0x421cc6
push ebx
call fcn.004103b8
add esp, 4
test al, al
je 0x421cd5
and word [ebp - 0x42], 0
movsx ax, bl
mov word [ebp - 0x44], ax
jmp 0x421ce0
push ebx
lea eax, [ebp - 0x44]
push edi
push eax
call esi
add esp, 0xc
mov ecx, dword [ebp + 0x50]
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x6c]
call fcn.00435749
mov dword [ebp + 0x60], 0x80000000
jmp 0x421cfb
mov ebx, dword [ebp + 0x64]
lea ecx, [ebp + 0x7c]
call fcn.0040bc51
lea ecx, [ebp + 0x68]
mov dword [ebp + 0x60], 0x80000000
mov byte [ebp + 0x72], 0
call fcn.0043092f
mov ecx, dword [ebp + 0x7c]
jmp 0x421d1e
mov ebx, dword [ebp + 0x64]
xor edi, edi
cmp word [ecx], di
je 0x4221d5
mov dword [ebp + 0x44], edi
xor bl, bl
or esi, 0xffffffff
cmp word [ecx], 0x2a
jne 0x421d50
mov eax, dword [ebp + 0x20]
inc ecx
xor esi, esi
inc ecx
inc esi
mov dword [ebp + 0x44], eax
jmp 0x421d47
inc esi
inc ecx
inc ecx
mov dword [ebp + 0x7c], ecx
cmp word [ecx], 0x2a
je 0x421d44
cmp esi, edi
jle 0x421da8
mov ax, word [ecx]
cmp ax, 0x2d
jne 0x421d67
inc ecx
inc ecx
mov dword [ebp + 0x7c], ecx
mov dword [ebp + 0x44], edi
jmp 0x421da8
cmp ax, 0x3d
jne 0x421d74
inc ecx
inc ecx
mov dword [ebp + 0x7c], ecx
mov bl, 1
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.004103b8
add esp, 4
test al, al
je 0x421d96
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.00438b8e
pop ecx
pop ecx
dec esi
cmp esi, edi
jle 0x421da8
push esi
push dword [ebp + 0x44]
call fcn.0040ed3d
pop ecx
pop ecx
mov dword [ebp + 0x44], eax
or dword [ebp + 0x30], 0xffffffff
lea ecx, [ebp + 0x7c]
call fcn.0040bc51
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x3d
jne 0x421dc9
mov cl, byte [eax]
inc eax
inc eax
mov byte [ebp + 0x73], cl
mov dword [ebp + 0x7c], eax
jmp 0x421dcd
mov byte [ebp + 0x73], 0
movzx eax, word [eax]
push eax
call fcn.004103b8
add esp, 4
test al, al
je 0x421dec
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.00438b8e
pop ecx
pop ecx
cmp dword [ebp + 0x44], edi
mov dword [ebp + 0x40], edi
mov dword [ebp + 0x64], edi
je 0x421e22
test bl, bl
push dword [ebp + 0x44]
push edi
push 0x100000
je 0x421e0c
call dword [sym.imp.KERNEL32.DLL_OpenThread]
jmp 0x421e12
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
cmp eax, edi
mov dword [ebp + 0x40], eax
jne 0x421e22
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp + 0x64], eax
push 0x209
lea ecx, [ebp + 0x4c]
call fcn.00435d80
mov eax, dword [ebp + 0x4c]
mov word [eax], di
push dword [ebp + 0x4c]
mov esi, 0x208
push esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
lea eax, [ebp + 0x4c]
push eax
lea ecx, [ebp + 0x38]
call fcn.00440414
push 0x5c
push dword [ebp + 0x38]
call dword [sym.imp.SHLWAPI.DLL_StrChrW]
mov eax, dword [ebp + 0x4c]
push esi
mov word [eax], di
push dword [ebp + 0x4c]
push 0x4960b4
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
push dword [ebp + 0x38]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea ecx, [ebp + 0x7c]
call fcn.0040bc51
lea ecx, [ebp + 0x24]
call fcn.00435fd2
mov eax, dword [ebp + 0x7c]
cmp word [eax], di
mov dword [ebp + 0x34], edi
je 0x421fc8
push 4
pop ebx
cmp byte [0x4ab290], 0
jle 0x421fc8
push 7
lea eax, [ebp + 0x7c]
push eax
push 0x498154
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x421edf
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.00438b8e
cmp dword [ebp + 0x3c], edi
pop ecx
pop ecx
jge 0x421fb4
mov dword [ebp + 0x3c], edi
jmp 0x421fb4
push ebx
lea eax, [ebp + 0x7c]
push eax
push 0x49814c
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x421f94
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x48], eax
push 1
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x48]
push eax
mov dword [ebp + 0x5c], edi
call fcn.00416853
add esp, 0xc
lea ecx, [ebp + 0x68]
mov dword [ebp + 0x7c], eax
call fcn.00435d62
lea ecx, [ebp + 0x6c]
call fcn.00435d62
push dword [ebp + 0x5c]
lea ecx, [ebp + 0x6c]
push dword [ebp + 0x48]
call fcn.00435e88
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x6c]
call fcn.0040f20d
pop ecx
pop ecx
lea ecx, [ebp + 0x6c]
call fcn.0043092f
cmp dword [ebp + 0x5c], edi
jle 0x421f82
push ebx
call fcn.00480078
cmp eax, edi
pop ecx
je 0x421f67
mov ecx, dword [ebp + 0x68]
mov dword [eax], ecx
mov dword [ebp + 0x68], edi
mov esi, eax
jmp 0x421f69
xor esi, esi
push ebx
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 0x2c]
call fcn.00435f95
add esp, 0x10
mov dword [eax], esi
inc dword [ebp + 0x2c]
lea ecx, [ebp + 0x7c]
call fcn.0040bc51
lea ecx, [ebp + 0x68]
call fcn.0043092f
jmp 0x421fb4
push ebx
lea eax, [ebp + 0x7c]
push eax
push 0x498144
call fcn.00437ad0
add esp, 0xc
test al, al
jne 0x421fc2
lea eax, [ebp + 0x7c]
push eax
call fcn.0040459d
pop ecx
mov eax, dword [ebp + 0x7c]
cmp word [eax], di
jne 0x421e9b
jmp 0x421fc8
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x34], eax
cmp byte [ebp + 0x72], 0
je 0x421fd1
neg dword [ebp + 0x60]
cmp dword [ebp + 0x58], edi
jne 0x421fe4
cmp dword [ebp + 0x40], edi
je 0x421fe4
push dword [ebp + 0x4c]
call fcn.0040e0a2
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, eax
add esi, dword [ebp + 0x60]
cmp dword [ebp + 0x40], edi
je 0x42209f
cmp byte [0x4ab290], 0
jle 0x42209f
mov ebx, 0x3e8
cmp dword [ebp + 0x60], 0
je 0x42209f
mov edi, ebx
jle 0x42202d
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, esi
sub ecx, eax
mov dword [ebp + 0x60], ecx
js 0x42209f
cmp ecx, ebx
jge 0x42202d
mov edi, ecx
push 0x4ff
push edi
push 0
lea eax, [ebp + 0x40]
push eax
push 1
call dword [sym.imp.USER32.DLL_MsgWaitForMultipleObjects]
test eax, eax
je 0x42209f
cmp byte [0x4ab290], 0
mov dword [ebp + 0x48], 0x64
jle 0x42209f
xor edi, edi
push 1
push edi
push edi
push edi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USER32.DLL_PeekMessageW]
test eax, eax
je 0x422092
dec dword [ebp + 0x48]
je 0x422092
cmp dword [ebp], 0x12
je 0x422092
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USER32.DLL_TranslateMessage]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USER32.DLL_DispatchMessageW]
cmp byte [0x4ab290], 0
jg 0x422057
cmp byte [0x4ab290], 0
jg 0x42200a
xor ebx, ebx
cmp dword [ebp + 0x30], ebx
jl 0x4220c2
cmp byte [ebp + 0x73], bl
je 0x4220b6
push dword [ebp + 0x30]
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x4220c2
mov ecx, dword [ebp + 0x50]
push ebx
push dword [ebp + 0x30]
call fcn.0040d358
cmp dword [ebp + 0x2c], ebx
jle 0x422182
cmp byte [0x4ab290], 0
jle 0x422182
cmp dword [ebp + 0x58], ebx
jne 0x4220e6
push dword [ebp + 0x4c]
call fcn.0040e0a2
pop ecx
cmp dword [ebp + 0x2c], ebx
mov eax, dword [ebp + 0x24]
mov dword [ebp + 0x68], eax
jle 0x422182
cmp byte [0x4ab290], 0
jle 0x422182
mov eax, dword [ebp + 0x2c]
xor edi, edi
cmp eax, ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x6c], eax
jle 0x422182
cmp byte [0x4ab290], 0
jle 0x422167
mov eax, dword [ebp + 0x68]
lea esi, [eax + edi*4]
mov eax, dword [esi]
cmp eax, ebx
je 0x422161
push ebx
push dword [eax]
call fcn.00412e6d
mov eax, dword [esi]
push dword [eax]
call fcn.0047f6a7
add esp, 0xc
test eax, eax
jne 0x42215b
mov eax, dword [esi]
cmp eax, ebx
mov dword [ebp + 0x48], eax
je 0x422157
mov ecx, eax
call fcn.0043092f
push dword [ebp + 0x48]
call fcn.0047feb4
pop ecx
mov dword [esi], ebx
jmp 0x422161
lea eax, [edi + 1]
mov dword [ebp + 0x5c], eax
inc edi
cmp edi, dword [ebp + 0x6c]
jl 0x422111
mov esi, dword [ebp + 0x5c]
cmp esi, ebx
jle 0x422182
mov ecx, dword [ebp + 0x50]
push ebx
push dword [ebp + 0x3c]
call fcn.0040d358
mov dword [ebp + 0x2c], esi
jmp 0x4220f5
cmp dword [ebp + 0x58], ebx
jne 0x422195
cmp dword [ebp + 0x40], ebx
je 0x422195
push dword [ebp + 0x38]
call fcn.0040e0a2
pop ecx
mov eax, dword [ebp + 0x34]
cmp eax, ebx
je 0x4221b0
cmp word [eax], bx
je 0x4221b0
mov ecx, dword [ebp + 0x50]
push ebx
push ebx
push ebx
push eax
call fcn.00426546
mov dword [ebp + 0x64], eax
lea ecx, [ebp + 0x24]
call fcn.0044ab53
lea ecx, [ebp + 0x38]
call fcn.0043092f
lea ecx, [ebp + 0x4c]
call fcn.0043092f
lea ecx, [ebp + 0x40]
call fcn.00402b27
mov ebx, dword [ebp + 0x64]
xor edi, edi
cmp byte [ebp + 0x57], 0
je 0x422200
push 0x495498
call fcn.0040eb21
test eax, eax
pop ecx
jne 0x4221f9
push 0x49548c
push dword [ebp + 0x50]
call fcn.0040ec17
pop ecx
pop ecx
push edi
call fcn.0040d5a0
pop ecx
mov ecx, dword [ebp + 0x50]
push edi
call fcn.00447ee8
mov eax, ebx
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4