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

Disassembly:
push 0x50
mov eax, 0x49ee48
call fcn.00482676
xor esi, esi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x24], esi
call fcn.00463ff6
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
call fcn.00462b71
push eax
lea ecx, [ebp - 0x18]
call fcn.0040176f
mov byte [ebp - 4], 2
call fcn.00462b71
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040176f
mov byte [ebp - 4], 3
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x219c]
cmp dword [eax], esi
je 0x412b89
cmp dword [ebx + 0x2180], esi
mov dword [eax], esi
je 0x412b89
call fcn.00462b71
push eax
lea ecx, [ebp - 0x20]
call fcn.0040176f
lea eax, [ebp - 0x4c]
push 0x4a87ac
push eax
mov byte [ebp - 4], 4
call fcn.00457593
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x44]
push str.ResumeWebPage
push eax
mov byte [ebp - 4], 5
call fcn.00457593
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x3c]
push str.ToGo
push eax
mov byte [ebp - 4], 6
call fcn.00457593
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 - 0x30]
push eax
call fcn.00440dc1
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.004018cc
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401755
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00401755
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00401755
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00401755
cmp dword [0x4cc13c], 0
jne 0x412a7c
lea ecx, [ebp - 0x20]
call fcn.00456b20
test eax, eax
je 0x412b11
lea eax, [ebp - 0x30]
push 0x4a87ac
push eax
call fcn.00457593
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x3c]
push str.StartWebPage
push eax
mov byte [ebp - 4], 9
call fcn.00457593
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x44]
push str.ToGo
push eax
mov byte [ebp - 4], 0xa
call fcn.00457593
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 - 0x4c]
push eax
call fcn.00440dc1
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.004018cc
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00401755
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00401755
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00401755
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401755
lea ecx, [ebp - 0x20]
call fcn.00456b20
test eax, eax
jne 0x412b71
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4c]
push eax
mov esi, ebx
call fcn.004154bc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.004018cc
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00401755
lea ecx, [ebp - 0x20]
call fcn.00456b20
test eax, eax
jne 0x412b71
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x2180]
call fcn.0043f064
and dword [ebx + 0x2194], 0
and dword [ebx + 0x2198], 0
mov esi, ebx
call fcn.00419bd2
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401755
xor esi, esi
cmp dword [ebx + 0x1f94], esi
je 0x412bb8
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401755
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401755
or dword [ebp - 4], 0xffffffff
call fcn.0046400c
call fcn.0048271b
ret 4
xor edi, edi
cmp dword [ebx + 0x1f88], esi
je 0x412e67
cmp edi, 0x28
jge 0x412be9
lea esi, [ebx + edi*4 + 0x1eb4]
mov eax, dword [esi]
call fcn.00450181
test eax, eax
je 0x412be6
mov ecx, dword [esi]
push 1
call fcn.0043adec
inc edi
jmp 0x412bc6
mov edi, dword [ebx + 0x1f6c]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebx + 0x1fa4], 1
call fcn.0040cddf
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xe
call fcn.00459640
pop ecx
pop ecx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00401755
mov edi, dword [ebx + 0x1f6c]
lea eax, [ebp + 8]
push eax
call fcn.0040d95b
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.00456b20
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401755
test esi, esi
je 0x412cec
lea eax, [ebp - 0x30]
push 0x4a87ac
push eax
call fcn.00457593
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x3c]
push str.CommandLine
push eax
mov byte [ebp - 4], 0x12
call fcn.00457593
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x44]
push str.ToGoData
push eax
mov byte [ebp - 4], 0x13
call fcn.00457593
pop ecx
pop ecx
mov byte [ebp - 4], 0x14
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 + 8]
push eax
call fcn.00440dc1
mov byte [ebp - 4], 0x15
mov edi, dword [ebx + 0x1f6c]
push eax
call fcn.0040c9ef
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401755
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00401755
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00401755
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401755
mov edi, dword [ebx + 0x1f6c]
lea eax, [ebp - 0x44]
push eax
call fcn.0040d95b
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.00456b20
test eax, eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x44]
sete byte [ebp + 0xb]
add ecx, 0xfffffff0
call fcn.00401755
cmp byte [ebp + 0xb], 0
je 0x412ddf
push 0
push 0x20
lea ecx, [ebp - 0x20]
call fcn.004068d8
test eax, eax
jle 0x412d93
push 0
push 0x22
lea ecx, [ebp - 0x20]
call fcn.004068d8
cmp eax, 0xffffffff
jne 0x412d93
mov esi, 0x4aa2d8
lea eax, [ebp - 0x44]
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.00404afb
pop ecx
pop ecx
push esi
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0x17
call fcn.0040145d
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x18
call fcn.004018cc
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401755
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00401755
mov edi, dword [ebx + 0x1f6c]
lea eax, [ebp - 0x44]
push eax
call fcn.0040d95b
lea ecx, [ebp + 8]
push 0x4a908c
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.00404afb
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1a
call fcn.0040157b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401755
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00401755
push ebx
call fcn.0041351a
test eax, eax
jne 0x412e5b
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx eax, ax
mov cl, al
and cl, 0x80
cmp cl, 0x80
je 0x412e03
test ax, ax
jns 0x412e53
mov edi, dword [ebx + 0x1f6c]
lea eax, [ebp - 0x44]
push eax
call fcn.0040cddf
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0x1b
call fcn.00455855
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0x1c
call fcn.00452a39
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401755
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00401755
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401755
jmp 0x412b91
lea ecx, [ebp - 0x20]
call fcn.00452a39
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x154]
jmp 0x412e43
cmp dword [ebx + 0x1fa4], esi
jne 0x41311f
cmp edi, 0x28
jge 0x412e98
lea esi, [ebx + edi*4 + 0x1eb4]
mov eax, dword [esi]
call fcn.00450181
test eax, eax
je 0x412e93
mov ecx, dword [esi]
push 1
call fcn.0043adec
inc edi
xor esi, esi
jmp 0x412e73
mov ecx, dword [ebx + 0x1f68]
cmp ecx, esi
je 0x412ecd
push 1
call fcn.0043adec
mov eax, dword [ebx + 0x1f68]
call fcn.0045a390
cmp dword [0x4cc224], esi
je 0x412ec7
mov eax, dword [ebx + 0x1f68]
call fcn.00416f09
mov dword [ebx + 0x1f68], esi
xor edi, edi
push edi
push edi
mov esi, ebx
call fcn.00416cc3
push 0x3e8
mov ecx, ebx
call fcn.00414653
fldz
mov eax, ebx
fstp qword [ebx + 0x22e0]
mov dword [ebx + 0x1fa4], 1
call fcn.00417792
push eax
call fcn.0041f44b
cmp dword [ebx + 0x1f94], edi
jne 0x412b91
mov eax, dword [ebx + 0x1f6c]
mov eax, dword [eax + 0x1b04]
cmp eax, edi
jle 0x412feb
fldz
mov dword [ebp - 0x24], 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.00417599
lea eax, [ebp - 0x48]
push eax
mov eax, ebx
push eax
mov ebx, edi
call fcn.00417b0e
lea ebx, [ebp - 0x24]
mov ecx, esi
call fcn.00417d56
mov esi, dword [ebp - 0x24]
test esi, esi
jle 0x412f97
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.00483600
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
fild qword [ebp - 0x50]
fmul qword [0x4afe68]
fstp qword [ebp - 0x38]
lea eax, [ebp - 0x4c]
push 0x3dc
push eax
call fcn.004575ec
pop ecx
pop ecx
push 0x3c
mov byte [ebp - 4], 0x1d
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.00401a40
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4c]
add esp, 0x1c
add ecx, 0xfffffff0
call fcn.00401755
jmp 0x412ff3
lea ecx, [ebp - 0x18]
call fcn.00401984
mov esi, dword [ebp + 8]
lea ebx, [ebp - 0x18]
call fcn.0041ec9e
xor edi, edi
cmp dword [esi + 0x1f94], edi
jne 0x412b91
cmp dword [esi + 0x1f88], edi
je 0x413018
push 1
jmp 0x41307f
mov eax, dword [esi + 0x1eb4]
cmp dword [eax + 0x108], edi
je 0x413071
cmp dword [esi + 0x21a0], edi
jne 0x41305a
lea eax, [ebp + 8]
push 0x94
push eax
call fcn.004575ec
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1e
call fcn.004018cc
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401755
lea ebx, [ebp - 0x18]
call fcn.0041eee4
push 7
push 0xffffffffffffff9d
mov ecx, esi
call fcn.0041a3b8
xor edi, edi
jmp 0x413088
cmp dword [esi + 0x21d0], edi
je 0x41307d
push 2
jmp 0x41307f
push 6
push 0xffffffffffffff9d
mov ecx, esi
call fcn.0041a3b8
mov eax, dword [esi + 0x1f6c]
mov dword [esi + 0x21d0], edi
cmp dword [eax + 0x30], edi
je 0x4130a1
push dword [0x4cc1b4]
jmp 0x4130b7
cmp dword [0x4c8f60], edi
je 0x4130b1
push dword [0x4cc1a0]
jmp 0x4130b7
push dword [0x4cc198]
lea edi, [esi + 0x1e58]
mov eax, edi
call fcn.00417137
push 1
mov ebx, esi
call fcn.004122ed
xor eax, eax
cmp dword [esi + 0x2380], eax
je 0x413113
cmp dword [esi + 0x1f94], eax
jne 0x4130ff
mov ecx, dword [esi + 0x1f6c]
cmp dword [ecx + 0x30], eax
mov eax, edi
je 0x4130f4
push dword [0x4cc1b8]
jmp 0x4130fa
push dword [0x4cc198]
call fcn.00417137
mov esi, dword [esi + 0x2380]
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x412b91
mov ecx, esi
call fcn.00414258
jmp 0x412b91
push edi
push 1
mov esi, ebx
call fcn.00416cc3
mov eax, dword [ebx + 0x1f6c]
mov dword [ebx + 0x1fa4], edi
mov dword [eax + 0xf8], edi
cmp dword [ebx + 0x1f94], edi
jne 0x412b91
push edi
push 0xffffffffffffff9d
mov ecx, ebx
call fcn.0041a3b8
mov edi, dword [ebx + 0x1f6c]
lea eax, [ebp - 0x4c]
push eax
call fcn.0040d655
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1f
call fcn.004018cc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00401755
lea eax, [ebp - 0x4c]
push 0xea
push eax
call fcn.004575ec
mov edi, dword [ebp - 0x18]
pop ecx
pop ecx
push dword [eax]
push edi
call fcn.0047da13
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.00401755
cmp byte [ebp - 0x11], 0
je 0x4131c0
cmp dword [ebx + 0x1f94], 0
jne 0x4131d3
push 0
jmp 0x4131cb
cmp dword [ebx + 0x1f94], 0
jne 0x4131d3
push 2
call fcn.004122ed
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x2380]
test eax, eax
je 0x4131f9
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401755
lea ecx, [edi - 0x10]
jmp 0x412ba2
mov esi, dword [ebx + 0x1f6c]
call fcn.0040c7e6
mov ecx, ebx
call fcn.00414258
xor ecx, ecx
cmp dword [ebx + 0x1f94], ecx
jne 0x4131e6
mov eax, dword [ebx + 0x1f6c]
cmp dword [eax + 0x30], ecx
mov dword [ebp - 0x30], ecx
jne 0x4133ca
push eax
call fcn.0040db7a
test eax, eax
jne 0x4133ca
and dword [ebp - 0x20], eax
and dword [ebp + 8], eax
mov ecx, dword [ebx + 0x1f6c]
mov eax, ecx
call fcn.0040dca8
test eax, eax
je 0x413256
mov eax, ecx
call fcn.0040dcdf
mov dword [ebp + 8], eax
xor edi, edi
cmp edi, 0x28
jge 0x41330d
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x20], eax
jl 0x4132b6
test eax, eax
jle 0x4132b6
lea esi, [ebx + edi*4 + 0x1eb4]
mov eax, dword [esi]
call fcn.00450181
test eax, eax
je 0x413307
mov ecx, dword [esi]
push 1
call fcn.0043adec
cmp dword [0x4cc224], 0
je 0x41329c
mov eax, dword [esi]
call fcn.00416f09
and dword [esi], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x1f6c]
call fcn.0040c141
mov dword [ebp - 0x30], 1
jmp 0x413307
lea esi, [ebx + edi*4 + 0x1eb4]
mov eax, dword [esi]
call fcn.00450181
test eax, eax
je 0x413307
mov ecx, dword [esi]
push 1
call fcn.0043adec
mov eax, dword [esi]
and dword [eax + 0x124], 0
mov ecx, dword [ebx + 0x1f6c]
mov eax, ecx
call fcn.0040dca8
test eax, eax
je 0x4132fd
cmp dword [ecx + 0x1318], 1
jne 0x4132fd
mov ecx, dword [esi]
push 0
call fcn.004351db
mov ecx, dword [esi]
call fcn.00438457
inc dword [ebp - 0x20]
inc edi
jmp 0x413258
cmp dword [ebp - 0x30], 0
je 0x4133ca
push dword [ebx + 0x1f7c]
lea eax, [ebp - 0x44]
push eax
call fcn.00457830
pop ecx
pop ecx
lea ecx, [ebp - 0x4c]
push str.GR_OtherGRI
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x20
call fcn.00404afb
pop ecx
pop ecx
push 0
mov byte [ebp - 4], 0x21
mov eax, dword [eax]
push eax
push 1
push 1
lea ecx, [ebp - 0x40]
call fcn.00466de8
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00401755
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00401755
push 1
lea eax, [ebp - 0x40]
push eax
lea esi, [ebp - 0x38]
call fcn.004489ad
and dword [ebp + 8], 0
mov eax, dword [ebp + 8]
cmp eax, 0x28
jge 0x4133b6
lea eax, [ebx + eax*4 + 0x1eb4]
cmp dword [eax], 0
je 0x4133b1
xor esi, esi
xor edi, edi
cmp esi, 0x28
jge 0x4133b1
mov ecx, dword [eax]
mov edx, dword [ebx + esi*4 + 0x1eb4]
cmp ecx, edx
je 0x4133ae
mov dword [ecx + edi*4 + 0x68], edx
inc edi
inc esi
jmp 0x413397
inc dword [ebp + 8]
jmp 0x41337f
lea ecx, [ebp - 0x38]
call fcn.00448a35
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00466e33
cmp dword [ebx + 0x2180], 0
je 0x412b91
lea eax, [ebp - 0x3c]
push 0x4a87ac
push eax
call fcn.00457593
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x44]
push str.ResumeWebPage
push eax
mov byte [ebp - 4], 0x25
call fcn.00457593
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x4c]
push str.ToGo
push eax
mov byte [ebp - 4], 0x26
call fcn.00457593
pop ecx
pop ecx
mov byte [ebp - 4], 0x27
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.00440dc1
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00401755
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00401755
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00401755
lea ecx, [ebp - 0x20]
call fcn.00456b20
test eax, eax
jne 0x41348c
mov ecx, dword [ebx + 0x1f6c]
lea eax, [ebp - 0x30]
push eax
call fcn.0040ce5b
push str.getright
mov byte [ebp - 4], 0x2c
or dword [ebp - 0x24], 1
push eax
call fcn.0045663a
test eax, eax
pop ecx
pop ecx
mov byte [ebp + 0xb], 1
jne 0x413490
mov byte [ebp + 0xb], 0
mov dword [ebp - 4], 0x2b
test byte [ebp - 0x24], 1
je 0x4134a8
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401755
cmp byte [ebp + 0xb], 0
je 0x413502
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push eax
mov esi, ebx
call fcn.004154bc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x2d
call fcn.004018cc
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401755
lea ecx, [ebp - 0x20]
call fcn.00456b20
test eax, eax
jne 0x413502
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x2180]
call fcn.0043f064
and dword [ebx + 0x2194], 0
and dword [ebx + 0x2198], 0
mov esi, ebx
call fcn.00419bd2
jmp 0x412e43