Function at 0x412d78
Capabilities:
Log keystrokes via polling
Resume thread
Suspend thread

Disassembly:
push 0x50
mov eax, 0x4ab657
call fcn.0048e205
xor esi, esi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x24], esi
call fcn.0046fe4a
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
call fcn.0046e7df
push eax
lea ecx, [ebp - 0x18]
call fcn.00401764
mov byte [ebp - 4], 2
call fcn.0046e7df
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401764
mov byte [ebp - 4], 3
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x219c]
cmp dword [eax], esi
je 0x412fa8
cmp dword [ebx + 0x2180], esi
mov dword [eax], esi
je 0x412fa8
call fcn.0046e7df
push eax
lea ecx, [ebp - 0x20]
call fcn.00401764
lea eax, [ebp - 0x44]
push 0x4b578c
push eax
mov byte [ebp - 4], 4
call fcn.00461ac5
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x3c]
push str.ResumeWebPage
push eax
mov byte [ebp - 4], 5
call fcn.00461ac5
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x30]
push str.ToGo
push eax
mov byte [ebp - 4], 6
call fcn.00461ac5
pop ecx
pop ecx
mov byte [ebp - 4], 7
mov ecx, dword [esi]
mov edx, dword [edi]
mov eax, dword [eax]
mov edi, dword [ebx + 0x1f70]
push ecx
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044a695
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.004018c1
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.0040174a
cmp dword [0x4db17c], 0
jne 0x412e9b
lea ecx, [ebp - 0x20]
call fcn.00461052
test eax, eax
je 0x412f30
lea eax, [ebp - 0x28]
push 0x4b578c
push eax
call fcn.00461ac5
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x30]
push str.StartWebPage
push eax
mov byte [ebp - 4], 9
call fcn.00461ac5
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x3c]
push str.ToGo
push eax
mov byte [ebp - 4], 0xa
call fcn.00461ac5
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [edi]
mov edx, dword [esi]
mov eax, dword [eax]
mov edi, dword [ebx + 0x1f70]
push ecx
push edx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0044a695
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.004018c1
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040174a
lea ecx, [ebp - 0x20]
call fcn.00461052
test eax, eax
jne 0x412f90
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x44]
push eax
mov esi, ebx
call fcn.00415901
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.004018c1
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.0040174a
lea ecx, [ebp - 0x20]
call fcn.00461052
test eax, eax
jne 0x412f90
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x2180]
call fcn.004488cd
and dword [ebx + 0x2194], 0
and dword [ebx + 0x2198], 0
mov ecx, ebx
call fcn.0041a1aa
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
xor esi, esi
cmp dword [ebx + 0x1f94], esi
je 0x412fd7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
or dword [ebp - 4], 0xffffffff
call fcn.0046fe60
call fcn.0048e2aa
ret 4
cmp dword [ebx + 0x1f88], esi
je 0x4132a4
cmp esi, 0x28
jge 0x413006
lea edi, [ebx + esi*4 + 0x1eb4]
mov eax, dword [edi]
call fcn.00459eff
test eax, eax
je 0x413003
mov ecx, dword [edi]
push 1
call fcn.00444051
inc esi
jmp 0x412fe3
mov edi, dword [ebx + 0x1f6c]
lea eax, [ebp + 8]
push eax
mov dword [ebx + 0x1fa4], 1
call fcn.0040d254
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xe
call fcn.00463ebf
pop ecx
pop ecx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [ebp - 0x30]
push 0x4b578c
push eax
call fcn.00461ac5
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x3c]
push str.CommandLine
push eax
mov byte [ebp - 4], 0x11
call fcn.00461ac5
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x44]
push str.ToGoData
push eax
mov byte [ebp - 4], 0x12
call fcn.00461ac5
pop ecx
pop ecx
mov byte [ebp - 4], 0x13
mov ecx, dword [esi]
mov edx, dword [edi]
mov eax, dword [eax]
mov edi, dword [ebx + 0x1f70]
push ecx
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044a695
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.0040174a
mov edi, dword [ebx + 0x1f6c]
lea eax, [ebp - 0x4c]
push eax
call fcn.0040ddd3
mov byte [ebp - 4], 0x18
or dword [ebp - 0x24], 1
mov ecx, eax
call fcn.00461052
test eax, eax
jne 0x4130ed
lea ecx, [ebp - 0x28]
call fcn.00461052
test eax, eax
mov byte [ebp + 0xb], 0
jne 0x4130f1
mov byte [ebp + 0xb], 1
mov dword [ebp - 4], 0x17
test byte [ebp - 0x24], 1
je 0x413109
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.0040174a
cmp byte [ebp + 0xb], 0
je 0x41311e
mov edi, dword [ebx + 0x1f6c]
lea eax, [ebp - 0x28]
push eax
call fcn.0040cd6c
mov edi, dword [ebx + 0x1f6c]
lea eax, [ebp - 0x4c]
push eax
call fcn.0040ddd3
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.00461052
test eax, eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x4c]
sete byte [ebp + 0xb]
add ecx, 0xfffffff0
call fcn.0040174a
cmp byte [ebp + 0xb], 0
je 0x413211
push 0
push 0x20
lea ecx, [ebp - 0x20]
call fcn.00406b8e
test eax, eax
jle 0x4131c5
push 0
push 0x22
lea ecx, [ebp - 0x20]
call fcn.00406b8e
cmp eax, 0xffffffff
jne 0x4131c5
mov esi, 0x4b72f0
lea eax, [ebp - 0x4c]
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.00404dd4
pop ecx
pop ecx
push esi
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0x1a
call fcn.0040145d
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1b
call fcn.004018c1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.0040174a
mov edi, dword [ebx + 0x1f6c]
lea eax, [ebp - 0x4c]
push eax
call fcn.0040ddd3
lea ecx, [ebp + 8]
push 0x4b606c
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1c
call fcn.00404dd4
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1d
call fcn.0040157b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.0040174a
push ebx
call fcn.0041395f
test eax, eax
jne 0x413298
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx eax, ax
mov cl, al
and cl, 0x80
cmp cl, 0x80
je 0x413235
test ax, ax
jns 0x413290
mov edi, dword [ebx + 0x1f6c]
lea eax, [ebp - 0x4c]
push eax
call fcn.0040d254
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0x1e
call fcn.0045fd54
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.0045ce97
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
jmp 0x412fb0
lea ecx, [ebp - 0x20]
call fcn.0045ce97
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x154]
jmp 0x413275
cmp dword [ebx + 0x1fa4], esi
jne 0x413562
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x28]
cmp eax, 0x28
jge 0x4132db
lea edi, [ebx + eax*4 + 0x1eb4]
mov eax, dword [edi]
call fcn.00459eff
test eax, eax
je 0x4132d6
mov ecx, dword [edi]
push 1
call fcn.00444051
inc dword [ebp - 0x28]
jmp 0x4132b3
mov ecx, dword [ebx + 0x1f68]
cmp ecx, esi
je 0x413310
push 1
call fcn.00444051
mov eax, dword [ebx + 0x1f68]
call fcn.00465ebd
cmp dword [0x4db280], esi
je 0x41330a
mov eax, dword [ebx + 0x1f68]
call fcn.00417357
mov dword [ebx + 0x1f68], esi
xor edi, edi
push edi
push edi
mov esi, ebx
call fcn.00417109
push 0x3e8
mov ecx, ebx
call fcn.00414a98
fldz
mov eax, ebx
fstp qword [ebx + 0x22e0]
mov dword [ebx + 0x1fa4], 1
call fcn.00417be6
push eax
call fcn.0042022a
cmp dword [ebx + 0x1f94], edi
jne 0x412fb0
mov eax, dword [ebx + 0x1f6c]
mov eax, dword [eax + 0x1b0c]
cmp eax, edi
jle 0x41342e
fldz
mov dword [ebp - 0x28], eax
xor eax, eax
fstp qword [ebp - 0x38]
push ebx
lea edi, [ebp - 0x50]
lea edx, [ebp - 0x48]
lea ebx, [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
call fcn.004179ed
lea eax, [ebp - 0x48]
push eax
mov eax, ebx
push eax
mov ebx, edi
call fcn.00417f62
lea ebx, [ebp - 0x28]
mov ecx, esi
call fcn.004181aa
mov esi, dword [ebp - 0x28]
test esi, esi
jle 0x4133da
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
adc edi, dword [ebp - 0x44]
mov eax, esi
cdq
push edx
push eax
push edi
push ecx
call fcn.0048f110
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
fild qword [ebp - 0x50]
fmul qword [0x4bd840]
fstp qword [ebp - 0x38]
lea eax, [ebp - 0x4c]
push 0x3dc
push eax
call fcn.00461b1e
pop ecx
pop ecx
push 0x3c
mov byte [ebp - 4], 0x20
fld qword [ebp - 0x38]
mov ecx, dword [eax]
pop edi
mov eax, esi
cdq
idiv edi
push ecx
push ecx
fstp qword [esp]
push edx
cdq
idiv edi
mov eax, esi
mov esi, 0xe10
push edx
cdq
idiv esi
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
call fcn.00401a35
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4c]
add esp, 0x1c
add ecx, 0xfffffff0
call fcn.0040174a
jmp 0x413436
lea ecx, [ebp - 0x18]
call fcn.00401979
mov esi, dword [ebp + 8]
lea ebx, [ebp - 0x18]
call fcn.0041fa7d
xor edi, edi
cmp dword [esi + 0x1f94], edi
jne 0x412fb0
cmp dword [esi + 0x1f88], edi
je 0x41345b
push 1
jmp 0x4134c2
mov eax, dword [esi + 0x1eb4]
cmp dword [eax + 0x108], edi
je 0x4134b4
cmp dword [esi + 0x21a0], edi
jne 0x41349d
lea eax, [ebp + 8]
push 0x94
push eax
call fcn.00461b1e
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x21
call fcn.004018c1
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040174a
lea ebx, [ebp - 0x18]
call fcn.0041fcc3
push 7
push 0xffffffffffffff9d
mov ecx, esi
call fcn.0041a9bc
xor edi, edi
jmp 0x4134cb
cmp dword [esi + 0x21d0], edi
je 0x4134c0
push 2
jmp 0x4134c2
push 6
push 0xffffffffffffff9d
mov ecx, esi
call fcn.0041a9bc
mov eax, dword [esi + 0x1f6c]
mov dword [esi + 0x21d0], edi
cmp dword [eax + 0x34], edi
je 0x4134e4
push dword [0x4db210]
jmp 0x4134fa
cmp dword [0x4d7f70], edi
je 0x4134f4
push dword [0x4db1e8]
jmp 0x4134fa
push dword [0x4db1e0]
lea edi, [esi + 0x1e58]
mov eax, edi
call fcn.0041758b
push 1
mov ebx, esi
call fcn.0041270c
xor eax, eax
cmp dword [esi + 0x2380], eax
je 0x413556
cmp dword [esi + 0x1f94], eax
jne 0x413542
mov ecx, dword [esi + 0x1f6c]
cmp dword [ecx + 0x34], eax
mov eax, edi
je 0x413537
push dword [0x4db214]
jmp 0x41353d
push dword [0x4db1e0]
call fcn.0041758b
mov esi, dword [esi + 0x2380]
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x412fb0
mov ecx, esi
call fcn.0041469d
jmp 0x412fb0
xor edi, edi
push edi
push 1
mov esi, ebx
call fcn.00417109
mov eax, dword [ebx + 0x1f6c]
mov dword [ebx + 0x1fa4], edi
mov dword [eax + 0x100], edi
cmp dword [ebx + 0x1f94], edi
jne 0x412fb0
push edi
push 0xffffffffffffff9d
mov ecx, ebx
call fcn.0041a9bc
mov edi, dword [ebx + 0x1f6c]
lea eax, [ebp - 0x4c]
push eax
call fcn.0040dacd
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x22
call fcn.004018c1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [ebp - 0x4c]
push 0xea
push eax
call fcn.00461b1e
mov edi, dword [ebp - 0x18]
pop ecx
pop ecx
push dword [eax]
push edi
call fcn.00489523
neg eax
pop ecx
sbb al, al
pop ecx
mov ecx, dword [ebp - 0x4c]
inc al
add ecx, 0xfffffff0
mov byte [ebp - 0x11], al
call fcn.0040174a
cmp byte [ebp - 0x11], 0
je 0x413605
cmp dword [ebx + 0x1f94], 0
jne 0x413618
push 0
jmp 0x413610
cmp dword [ebx + 0x1f94], 0
jne 0x413618
push 2
call fcn.0041270c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x2380]
test eax, eax
je 0x41363e
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
lea ecx, [edi - 0x10]
jmp 0x412fc1
mov esi, dword [ebx + 0x1f6c]
call fcn.0040cb63
mov ecx, ebx
call fcn.0041469d
xor esi, esi
cmp dword [ebx + 0x1f94], esi
jne 0x41362b
mov eax, dword [ebx + 0x1f6c]
cmp dword [eax + 0x34], esi
mov dword [ebp - 0x20], esi
jne 0x41380f
push eax
call fcn.0040dff2
cmp eax, esi
jne 0x41380f
mov ecx, dword [ebx + 0x1f6c]
mov eax, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp + 8], esi
call fcn.0040e120
test eax, eax
je 0x41369b
mov eax, ecx
call fcn.0040e157
mov dword [ebp + 8], eax
xor edi, edi
cmp edi, 0x28
jge 0x413752
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x28], eax
jl 0x4136fb
test eax, eax
jle 0x4136fb
lea esi, [ebx + edi*4 + 0x1eb4]
mov eax, dword [esi]
call fcn.00459eff
test eax, eax
je 0x41374c
mov ecx, dword [esi]
push 1
call fcn.00444051
cmp dword [0x4db280], 0
je 0x4136e1
mov eax, dword [esi]
call fcn.00417357
and dword [esi], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x1f6c]
call fcn.0040c4be
mov dword [ebp - 0x20], 1
jmp 0x41374c
lea esi, [ebx + edi*4 + 0x1eb4]
mov eax, dword [esi]
call fcn.00459eff
test eax, eax
je 0x41374c
mov ecx, dword [esi]
push 1
call fcn.00444051
mov eax, dword [esi]
and dword [eax + 0x124], 0
mov ecx, dword [ebx + 0x1f6c]
mov eax, ecx
call fcn.0040e120
test eax, eax
je 0x413742
cmp dword [ecx + 0x1320], 1
jne 0x413742
mov ecx, dword [esi]
push 0
call fcn.0043e125
mov ecx, dword [esi]
call fcn.004413a1
inc dword [ebp - 0x28]
inc edi
jmp 0x41369d
cmp dword [ebp - 0x20], 0
je 0x41380f
push dword [ebx + 0x1f7c]
lea eax, [ebp - 0x44]
push eax
call fcn.00461d62
pop ecx
pop ecx
lea ecx, [ebp - 0x4c]
push str.GR_OtherGRI
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x23
call fcn.00404dd4
pop ecx
pop ecx
push 0
mov byte [ebp - 4], 0x24
mov eax, dword [eax]
push eax
push 1
push 1
lea ecx, [ebp - 0x40]
call fcn.004728af
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.0040174a
push 1
lea eax, [ebp - 0x40]
push eax
lea esi, [ebp - 0x38]
call fcn.00452256
and dword [ebp + 8], 0
mov eax, dword [ebp + 8]
cmp eax, 0x28
jge 0x4137fb
lea eax, [ebx + eax*4 + 0x1eb4]
cmp dword [eax], 0
je 0x4137f6
xor esi, esi
xor edi, edi
cmp esi, 0x28
jge 0x4137f6
mov ecx, dword [eax]
mov edx, dword [ebx + esi*4 + 0x1eb4]
cmp ecx, edx
je 0x4137f3
mov dword [ecx + edi*4 + 0x68], edx
inc edi
inc esi
jmp 0x4137dc
inc dword [ebp + 8]
jmp 0x4137c4
lea ecx, [ebp - 0x38]
call fcn.004522de
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.004728fa
cmp dword [ebx + 0x2180], 0
je 0x412fb0
lea eax, [ebp - 0x3c]
push 0x4b578c
push eax
call fcn.00461ac5
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x44]
push str.ResumeWebPage
push eax
mov byte [ebp - 4], 0x28
call fcn.00461ac5
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x4c]
push str.ToGo
push eax
mov byte [ebp - 4], 0x29
call fcn.00461ac5
pop ecx
pop ecx
mov byte [ebp - 4], 0x2a
mov ecx, dword [edi]
mov edx, dword [esi]
mov eax, dword [eax]
mov edi, dword [ebx + 0x1f70]
push ecx
push edx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0044a695
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], 0x2e
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
lea ecx, [ebp - 0x20]
call fcn.00461052
test eax, eax
jne 0x4138d1
mov ecx, dword [ebx + 0x1f6c]
lea eax, [ebp - 0x30]
push eax
call fcn.0040d2d0
push str.getright
mov byte [ebp - 4], 0x2f
or dword [ebp - 0x24], 2
push eax
call fcn.00460b6c
test eax, eax
pop ecx
pop ecx
mov byte [ebp + 0xb], 1
jne 0x4138d5
mov byte [ebp + 0xb], 0
mov dword [ebp - 4], 0x2e
test byte [ebp - 0x24], 2
je 0x4138ed
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.0040174a
cmp byte [ebp + 0xb], 0
je 0x413947
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push eax
mov esi, ebx
call fcn.00415901
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x30
call fcn.004018c1
mov byte [ebp - 4], 0x2e
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040174a
lea ecx, [ebp - 0x20]
call fcn.00461052
test eax, eax
jne 0x413947
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x2180]
call fcn.004488cd
and dword [ebx + 0x2194], 0
and dword [ebx + 0x2198], 0
mov ecx, ebx
call fcn.0041a1aa
jmp 0x413280